/* ─── HAMBURGO — Order System Additions v4.0 ─── */
/* Append this to main.css or enqueue separately */

/* ══ Order Confirmation Screen ══════════════════════════════════ */
.order-confirmation-screen {
  position: fixed; inset: 0; z-index: 99999;
  display: none; align-items: center; justify-content: center;
  background: rgba(10,10,15,.92); backdrop-filter: blur(10px);
  padding: 20px;
}

.order-confirmation-box {
  background: #1a1d27; border: 1px solid #2e3347;
  border-radius: 20px; padding: 40px 32px;
  max-width: 480px; width: 100%; text-align: center;
  animation: confSlideIn .4s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes confSlideIn {
  from { opacity:0; transform:scale(.85) translateY(20px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}

.order-conf-icon { font-size: 64px; margin-bottom: 12px; animation: confBounce .6s .2s both; }
@keyframes confBounce { from{transform:scale(0)} 70%{transform:scale(1.15)} to{transform:scale(1)} }

.order-conf-title { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 10px; }
.order-conf-number { font-size: 13px; color: #8892a4; margin-bottom: 16px; }
.order-conf-number strong { color: #f4b400; font-family: monospace; font-size: 16px; }
.order-conf-msg { color: #a0aab8; font-size: 15px; line-height: 1.6; margin: 0 0 24px; }

.order-conf-steps {
  display: flex; justify-content: center; gap: 6px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.conf-step {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 10px;
  border: 1px solid #2e3347; background: #252836;
  font-size: 11px; color: #8892a4; min-width: 72px;
}
.conf-step span { font-size: 22px; }
.conf-step.active { border-color: #f4b400; background: rgba(244,180,0,.1); color: #f4b400; }
.conf-step small { font-weight: 600; }

/* ══ Checkout Modal Improvements ════════════════════════════════ */
#orderModal .modal-content {
  max-width: 560px;
}

/* Cart summary inside checkout */
.checkout-items-list { margin-bottom: 20px; }
.checkout-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}
.checkout-item-qty { background: #f4b400; color: #000; font-weight: 800; font-size: 12px; padding: 2px 7px; border-radius: 20px; flex-shrink: 0; }
.checkout-item-name { flex: 1; color: #e2e8f0; }
.checkout-item-price { font-weight: 700; color: #fff; }
.checkout-total-line { display: flex; justify-content: space-between; padding: 12px 0 4px; font-size: 15px; color: #fff; border-top: 2px solid rgba(244,180,0,.4); margin-top: 4px; }
.checkout-total-line strong { font-size: 20px; color: #f4b400; }
.checkout-bs-line { text-align: right; font-size: 12px; color: #8892a4; margin-top: 4px; }

/* Payment method selector */
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.payment-option {
  display: flex; align-items: center; gap: 10px;
  border: 2px solid rgba(255,255,255,.1); border-radius: 10px;
  padding: 12px 14px; cursor: pointer; transition: all .2s;
}
.payment-option:has(input:checked) { border-color: #f4b400; background: rgba(244,180,0,.08); }
.payment-option input { display: none; }
.payment-option-icon { font-size: 22px; }
.payment-option-label { font-size: 13px; font-weight: 600; color: #e2e8f0; }
@supports not selector(:has(*)) {
  /* Fallback for browsers without :has() */
  .payment-option input:checked ~ .payment-option-label { color: #f4b400; }
}

/* ══ Cart item animation enhancement ════════════════════════════ */
.cart-item { animation: cartItemIn .25s ease; }
@keyframes cartItemIn { from { opacity:0; transform:translateX(10px); } to { opacity:1; transform:translateX(0); } }

/* ══ Floating cart button improvement ═══════════════════════════ */
#cartToggle.has-items { animation: cartPulse 2s ease-in-out infinite; }
@keyframes cartPulse { 0%,100%{box-shadow:0 0 0 0 rgba(244,180,0,.4)} 50%{box-shadow:0 0 0 8px rgba(244,180,0,0)} }
