/* Ozkan's Grill — ordering app styles (builds on styles.css tokens) */

.order-app { background: var(--ink); min-height: 100vh; min-height: 100svh; padding-bottom: 90px; }

.order-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; background: rgba(10,10,10,.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.order-header .back { font-size: 1.3rem; color: var(--muted-on-ink); padding: 4px 8px; }
.order-header .order-sub { margin-left: auto; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-on-ink); }
.my-orders-btn {
  background: transparent; border: 1px solid var(--line-strong); border-radius: 20px;
  color: var(--cream); font-size: .78rem; padding: 6px 12px; white-space: nowrap; flex: 0 0 auto;
  min-height: 44px;
}
@media (max-width: 480px) {
  .order-header { gap: 8px; }
  .order-header .order-sub { display: none; }
  .my-orders-btn { font-size: .72rem; padding: 6px 10px; margin-left: auto; }
}

.install-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; background: rgba(244,124,32,.12);
  border-bottom: 1px solid rgba(244,124,32,.3); font-size: .9rem; color: var(--price);
}
.install-bar span { flex: 1; min-width: 180px; }
.install-x { background: none; border: none; color: var(--muted-on-ink); font-size: 1rem; padding: 4px 8px; }
.notice {
  background: rgba(244,124,32,.12); color: var(--price);
  padding: 10px 18px; font-size: .9rem; text-align: center;
}
.closed-banner {
  background: #3a1212; color: #ffd9d9; padding: 12px 18px; text-align: center; font-size: .95rem;
}
.closed-banner a { color: #fff; text-decoration: underline; }
/* Pre-order mode is an invitation, not a refusal — amber, not red, with the
   badge on its own line so "closed" can't be mistaken for "no ordering". */
.closed-banner.preorder-mode { background: #4a3a12; color: #ffe9b8; }
.closed-banner.preorder-mode a { color: #fff; }
.preorder-badge { display: block; margin-bottom: 4px; letter-spacing: .08em; color: var(--gold-bright, #e8c15a); }
.pause-resume-line { margin-top: 4px; }
.pause-countdown { font-weight: 700; font-variant-numeric: tabular-nums; }
.pause-preorder-note { margin-top: 6px; font-size: .85rem; opacity: .9; }

.info-toggle {
  display: block; width: 100%; padding: 10px 18px; text-align: center;
  background: rgba(255,255,255,.05); color: var(--muted-on-ink); font-size: .82rem;
  border: none; border-bottom: 1px solid var(--line);
}
.info-toggle:hover { color: var(--gold-bright); }
/* Live right-now availability strip (fed by /api/ordering-status every 30s) —
   open/partial/closed are real status colours, not decorative gold, so they
   keep their own green/amber/red rather than following the fire remap. */
.live-status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 18px; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cream);
  background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line);
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--muted-on-ink); }
.live-status.open .live-dot { background: #58a86e; box-shadow: 0 0 6px rgba(88,168,110,.8); }
.live-status.open { color: #7dc492; }
.live-status.partial .live-dot { background: var(--gold-bright, #ffb547); box-shadow: 0 0 6px rgba(255,181,71,.7); }
.live-status.partial { color: var(--gold-bright, #ffb547); }
.live-status.closed .live-dot { background: #d06a5a; box-shadow: 0 0 6px rgba(208,106,90,.7); }
.live-status.closed { color: #dd8b7d; }
.info-panel { padding: 14px 20px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line); }
.info-panel h4 { color: var(--gold-bright); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin: 12px 0 6px; }
.info-panel h4:first-child { margin-top: 0; }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--cream); font-size: .88rem; }
.info-row span:first-child { color: var(--muted-on-ink); }

.order-info { max-width: 640px; margin: 0 auto; padding: 8px 20px 40px; }
.order-info h2 { font-family: var(--font-display); color: var(--cream); font-size: 1.4rem; font-weight: 400; margin-bottom: 10px; }
.order-info h3 { color: var(--gold-bright); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin: 22px 0 6px; }
.order-info p { color: var(--muted-on-ink); line-height: 1.6; margin: 0; }
.order-info a { color: var(--gold-bright); }
.order-info .hours-box {
  white-space: pre-line; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 14px 18px; background: rgba(255,255,255,.03); color: var(--text-on-ink); margin-top: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold-bright); color: #111; padding: 10px 16px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.info-note { color: var(--muted-on-ink); font-size: .82rem; margin-top: 8px; }

.cat-strip {
  position: -webkit-sticky; position: sticky; top: 57px; z-index: 25;
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px;
  background: var(--ink); border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
/* Category pills — same inactive/active pattern as the homepage menu tabs. */
.cat-strip button {
  flex: 0 0 auto; padding: 8px 18px; border-radius: 999px; font-size: .86rem;
  min-height: 44px; /* thumb-sized touch target on phones */
  background: transparent; color: var(--text-muted); border: 1px solid var(--line-strong);
  transition: all .2s;
}
.cat-strip button.active { background: var(--fire-grad-h); border-color: transparent; color: #111; font-weight: 700; }

/* Category-strip skeleton — same box as a real pill (border, radius,
   min-height) so the strip doesn't grow once renderCategories() swaps these
   for real buttons. Widths vary so the row doesn't read as a repeated tile. */
.skel-pill {
  flex: 0 0 auto; width: 84px; min-height: 44px; border-radius: 999px;
  background: var(--ink-soft); border: 1px solid var(--line);
}
.skel-pill:nth-child(2) { width: 104px; }
.skel-pill:nth-child(3) { width: 72px; }
.skel-pill:nth-child(4) { width: 92px; }

.order-main { max-width: 720px; margin: 0 auto; padding: 10px 16px 40px; }
.order-main .loading { text-align: center; color: var(--muted-on-ink); padding: 60px 0; }

/* Menu-loading skeleton — see the HTML comment in order/index.html for why
   this exists (it's the fix for a measured CLS of 0.63 on mobile). Row
   dimensions echo .oi/.oi-photo-wrap/.oi-name/.oi-desc/.oi-price below so the
   skeleton's height is close to a real row's, not just a generic block. */
.menu-skeleton { padding-top: 6px; }
.mskel-title {
  width: 46%; max-width: 220px; height: 27px; margin: 30px 4px 12px;
  border-radius: 6px; background: var(--ink-soft);
}
.mskel-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 4px 24px; border-bottom: 1px solid var(--line);
}
.mskel-photo { flex: 0 0 auto; width: 116px; height: 116px; border-radius: 12px; background: var(--ink-soft); }
.mskel-lines { flex: 1; min-width: 0; display: grid; gap: 10px; }
.mskel-bar { height: 14px; border-radius: 4px; background: var(--ink-soft); }
.mskel-bar-name { width: 62%; height: 18px; }
.mskel-bar-desc { width: 88%; }
.mskel-bar-price { width: 28%; margin-top: 4px; }
.mskel-title, .mskel-photo, .mskel-bar { animation: skel-pulse 1.6s ease-in-out infinite; }
.mskel-row:nth-child(3) .mskel-photo, .mskel-row:nth-child(3) .mskel-bar { animation-delay: .15s; }
.mskel-row:nth-child(4) .mskel-photo, .mskel-row:nth-child(4) .mskel-bar { animation-delay: .3s; }
.mskel-row:nth-child(5) .mskel-photo, .mskel-row:nth-child(5) .mskel-bar { animation-delay: .45s; }
@keyframes skel-pulse { 0%, 100% { opacity: .5; } 50% { opacity: .85; } }
@media (prefers-reduced-motion: reduce) {
  .mskel-title, .mskel-photo, .mskel-bar { animation: none; opacity: .65; }
}

/* Category heading — Ultra, with a small rotated fire-gradient "ember"
   square instead of the old italic serif. */
.cat-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.35rem; color: #fff; letter-spacing: .01em;
  margin: 30px 4px 12px; padding-left: 20px; position: relative;
}
.cat-title::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 10px; height: 10px; background: var(--fire-grad);
  transform: translateY(-50%) rotate(45deg);
}
/* Item card — background/border/radius per the menu-card treatment. */
.oi {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; margin-bottom: 12px;
  background: var(--char); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s;
}
.oi:hover { border-color: var(--line-strong); }
.oi.unavailable { opacity: .45; }
.oi-photo-wrap { flex: 0 0 auto; position: relative; width: 116px; height: 116px; }
.oi-photo {
  width: 116px; height: 116px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line);
  display: block;
}
.oi.unavailable .oi-photo { filter: grayscale(1); }
.oi-info { flex: 1; min-width: 0; }
.oi-name { font-family: var(--font-body); font-weight: 700; color: #fff; font-size: 1.32rem; }
.oi-desc { font-size: 1.02rem; color: var(--muted-on-ink); font-weight: 300; margin-top: 3px; }
.oi-allergens { font-size: .86rem; color: var(--muted-on-ink); font-weight: 300; margin-top: 3px; font-style: italic; }
.oi-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.oi-price { color: var(--price); font-weight: 700; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
/* Base .tag (styles.css) is already a neutral chrome-outline chip that clears
   4.5:1 on both --char and --ink, so the dietary tags need no per-app override
   here any more — just the smaller size this app uses. */
.oi .tag { font-size: .78rem; padding: 3px 9px; }
/* Add/adjust quantity. Default: a normal flex-row control, for dishes with
   no photo to anchor to. Inside .oi-photo-wrap it's repositioned to a
   compact pill hanging off the bottom edge of the photo instead — frees the
   full row width for the (now larger) name and description. */
/* Quantity steppers — chrome outline, not gold. */
.oi-add, .oi-stepper {
  flex: 0 0 auto; display: flex; align-items: center; gap: 1px;
  background: var(--ink-soft); border: 1px solid var(--chrome-dim); border-radius: 999px;
  padding: 2px; box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.oi-photo-wrap .oi-add, .oi-photo-wrap .oi-stepper {
  position: absolute; right: 8px; bottom: -14px;
}
.oi-add {
  width: 44px; height: 44px; justify-content: center;
  color: var(--chrome); font-size: 1.2rem; line-height: 1; transition: all .15s;
}
.oi-add:hover { background: var(--chrome-grad); color: #111; }
.oi-qty {
  min-width: 22px; text-align: center;
  color: var(--chrome); font-weight: 600; font-size: .96rem;
}
.oi-step-btn {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  border: none; background: transparent; color: var(--chrome);
  font-size: 1.15rem; line-height: 1; transition: all .15s;
}
.oi-step-btn:hover { background: var(--chrome-grad); color: #111; }
.oi-photo { cursor: zoom-in; }

/* Photo lightbox: tap a dish photo to see it full size. */
.photo-lightbox {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 80; background: rgba(0,0,0,.9);
  display: flex; align-items: center; justify-content: center; padding: 40px 20px;
}
.photo-lightbox img {
  max-width: min(560px, 100%); max-height: 100%; object-fit: contain;
  border-radius: 12px; cursor: default;
}
.photo-lightbox-close {
  position: fixed; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10,10,10,.85); border: 1px solid var(--chrome-dim);
  color: var(--cream); font-size: 1.8rem; line-height: 1;
}

/* Cart bar / checkout primary action — fire gradient. */
.cart-bar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  width: min(680px, calc(100% - 32px));
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 24px; border-radius: 16px; border: none;
  background: var(--fire-grad-h);
  color: #111; font-size: 1rem; font-weight: 700;
  box-shadow: 0 12px 40px rgba(0,0,0,.5); z-index: 35;
}

/* Sheets */
.sheet-backdrop {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 60; background: rgba(0,0,0,.6);
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet {
  width: min(560px, 100%); max-height: 88vh; max-height: 88svh; overflow-y: auto;
  background: var(--char); border-radius: 20px 20px 0 0;
  padding: 26px 22px 30px; border-top: 1px solid var(--line-strong);
}
.sheet h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--cream); margin-bottom: 18px; }
.sheet-cancel { width: 100%; margin-top: 14px; }

/* iOS install guide (sheet). The three steps take turns "lighting up" on a
   9s loop — same show-where-and-what language as the hub's guided tours —
   and the bouncing ⬇ under them points at Safari's real Share button in the
   toolbar directly below the sheet. */
.install-guide .ig-steps { list-style: none; display: grid; gap: 8px; margin: 0 0 6px; padding: 0; }
.install-guide .ig-step {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px;
  border: 1px solid transparent; border-radius: 12px;
  animation: ig-glow 9s infinite;
}
.install-guide .ig-step:nth-child(2) { animation-delay: 3s; }
.install-guide .ig-step:nth-child(3) { animation-delay: 6s; }
.install-guide .ig-icon {
  flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(255,181,71,.4); border-radius: 12px; color: var(--gold-bright);
  background: rgba(255,181,71,.08);
}
.install-guide .ig-icon-app { font-weight: 700; font-size: .95rem; letter-spacing: .5px; }
.install-guide .ig-text { color: var(--cream); font-size: .95rem; line-height: 1.45; }
.install-guide .ig-text small { display: block; color: var(--muted-on-ink); font-size: .82rem; }
.install-guide .ig-down {
  text-align: center; font-size: 30px; line-height: 1; margin-top: 4px;
  animation: ig-bounce 1s ease-in-out infinite;
}
.install-guide .ig-hint { text-align: center; color: var(--muted-on-ink); font-size: .82rem; margin: 4px 0 0; }
@keyframes ig-glow {
  0%, 28% { border-color: var(--gold-bright); background: rgba(255,181,71,.1); }
  33%, 100% { border-color: transparent; background: transparent; }
}
@keyframes ig-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}
@media (prefers-reduced-motion: reduce) {
  .install-guide .ig-step, .install-guide .ig-down { animation: none; }
  .install-guide .ig-step { border-color: rgba(255,181,71,.35); }
}

.variant-options { display: grid; gap: 10px; }
.variant-options button {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 18px;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.15);
  background: transparent; color: var(--cream); font-size: .96rem; text-align: left;
}
.variant-options button:hover { border-color: var(--gold-bright); }
.voption-main { display: flex; justify-content: space-between; width: 100%; }
.variant-options .vprice { color: var(--price); font-weight: 700; font-variant-numeric: tabular-nums; }
.voption-allergens { font-size: .8rem; color: var(--muted-on-ink); font-style: italic; }

/* My orders */
.myorders-note { color: var(--muted-on-ink); font-size: .8rem; margin: -8px 0 16px; }
.myorders-list { display: grid; gap: 12px; margin-bottom: 4px; }
.myorder-row {
  border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 14px 16px;
  display: grid; gap: 10px;
}
.myorder-ref { color: var(--cream); font-weight: 600; }
.myorder-date { color: var(--muted-on-ink); font-weight: 400; font-size: .8rem; margin-left: 8px; }
.myorder-items { color: var(--muted-on-ink); font-size: .85rem; margin-top: 2px; }
.myorder-total { color: var(--price); font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.myorder-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.myorder-actions .btn { flex: 1; min-width: 90px; }
.myorders-empty { color: var(--muted-on-ink); text-align: center; padding: 20px 0; }

/* Basket */
.basket-lines { display: grid; gap: 12px; margin-bottom: 16px; }
.bline { display: flex; align-items: center; gap: 12px; }
.bline-info { flex: 1; min-width: 0; }
.bline-name { color: var(--cream); font-size: .95rem; }
.bline-variant { color: var(--muted-on-ink); font-size: .8rem; }
.bline-price {
  color: var(--price); font-weight: 700; font-size: .9rem; white-space: nowrap;
  flex: 0 0 68px; text-align: right; font-variant-numeric: tabular-nums;
}
.bline-qty { display: flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 112px; }
.bline-qty span { min-width: 14px; text-align: center; }
.bline-qty button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--chrome-dim);
  background: transparent; color: var(--cream); font-size: 1rem; line-height: 1; flex: 0 0 auto;
}
.bag-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 2px; border-top: 1px dashed rgba(255,255,255,.15);
}
.bag-info { display: grid; gap: 2px; }
.bag-info span { color: var(--cream); font-size: .95rem; }
.bag-info small { color: var(--muted-on-ink); font-size: .76rem; }
#bagCount { color: var(--muted-on-ink); font-size: .9rem; }
.basket-total-row, .basket-fee-row {
  display: flex; justify-content: space-between; padding: 14px 2px;
  border-top: 1px solid var(--line); color: var(--cream); font-size: 1.05rem;
}
.basket-fee-row { border-top: none; padding-top: 0; color: var(--muted-on-ink); font-size: .88rem; }

.checkout-form { display: grid; gap: 14px; margin-top: 10px; }
.checkout-form label { display: grid; gap: 6px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-on-ink); }
/* Inputs sit on the char panel (#161616), not full black, so their border
   reads against the sheet's own char background. */
.checkout-form input, .checkout-form textarea, .checkout-form select {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--char); color: #fff; font-family: inherit;
  /* 16px, not .95rem (15.2px): iOS Safari auto-zooms the page on focus for
     any input under 16px — a checkout form is exactly where that costs a
     real order (found while fixing the same bug on tomekktattoo.co.uk,
     2026-09-05). */
  font-size: 1rem;
}
.checkout-form input:focus, .checkout-form textarea:focus, .checkout-form select:focus {
  outline: none; border-color: var(--fire-orange);
}
.checkout-form input::placeholder, .checkout-form textarea::placeholder { color: var(--text-dim); }
.type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.type-toggle button {
  padding: 12px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted-on-ink); font-size: .92rem; letter-spacing: .06em;
}
.type-toggle button.active { background: var(--fire-grad-h); border-color: transparent; color: #111; font-weight: 700; }
.type-toggle button.unavailable { opacity: .5; }
.delivery-note { font-size: .82rem; color: var(--muted-on-ink); }
.delivery-unavailable-note { font-size: .82rem; color: var(--muted-on-ink); margin: -4px 0 0; }
.delivery-time { font-size: .82rem; color: var(--gold-bright); }
.pay-choice { display: grid; gap: 8px; }
/* Scoped under .checkout-form so it outranks the generic
   `.checkout-form label` rule on specificity rather than with !important —
   a blanket `display: flex !important` here also beat the [hidden]
   attribute, so card-only mode marked the in-person option hidden but the
   browser kept rendering it. */
.checkout-form .pay-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  font-size: .92rem; text-transform: none; letter-spacing: 0;
  color: var(--cream); cursor: pointer;
}
.checkout-form .pay-option[hidden] { display: none; }
.pay-option.on { border-color: var(--fire-orange); background: rgba(244,124,32,.08); }
.pay-option input { accent-color: var(--fire-orange); }
.pay-note { font-size: .78rem; color: var(--muted-on-ink); line-height: 1.5; }
.form-error { color: #ff9d9d; font-size: .88rem; }
.place-btn { width: 100%; }
.place-btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Confirmation */
.confirm-screen {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 70; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 30px;
}
/* Smaller "medallion" crest (not the full grill-ring — that's reserved for
   the hero) — black fill so it blends with the logo's own black canvas. */
.confirm-screen .crest {
  width: 66px; height: 66px; border-radius: 50%; border: 1px solid var(--chrome-dim);
  display: grid; place-items: center; background: #0a0a0a; overflow: hidden; margin-bottom: 20px;
}
.confirm-screen .crest img { width: 100%; height: 100%; object-fit: cover; display: block; }
.confirm-screen h2 { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; color: var(--cream); }
.confirm-screen p { color: var(--muted-on-ink); margin-top: 8px; max-width: 420px; }
.ref-box {
  margin: 26px 0 10px; padding: 18px 34px; border-radius: 14px;
  border: 1px dashed var(--chrome-dim); color: var(--muted-on-ink); font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.ref-box strong { font-size: 1.9rem; color: var(--gold-bright); letter-spacing: .1em; }
/* Pot fills from accepted_at toward wait_estimate.max — the same deadline
   readyByText() counts down to, not a decorative loop. #etaPotFill's y/height
   are set from JS each poll; the transition just eases between polls. */
.eta-pot { width: 108px; height: 108px; margin: 2px auto 4px; }
.eta-pot[hidden] { display: none; }
#etaPotFill { transition: y .9s ease, height .9s ease; }
.eta-pot-puff { opacity: 0; transform-origin: center; }
.eta-pot.full .eta-pot-puff { animation: eta-puff-rise 2.6s ease-in-out infinite; }
.eta-pot.full .eta-pot-puff.p2 { animation-delay: .9s; }
@keyframes eta-puff-rise {
  0% { opacity: 0; transform: translateY(0) scale(.6); }
  35% { opacity: .6; }
  100% { opacity: 0; transform: translateY(-14px) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  #etaPotFill { transition: none; }
  .eta-pot.full .eta-pot-puff { animation: none; }
}
.confirm-status strong { color: var(--gold-bright); text-transform: capitalize; }
.confirm-delivery-time { color: var(--gold-bright); font-size: .88rem; margin-top: 10px; }
.confirm-actions { margin-top: 18px; }
.confirm-track { color: var(--muted-on-ink); font-size: .78rem; margin-top: 16px; line-height: 1.5; word-break: break-all; }
.confirm-track a { color: var(--gold-bright); }

.loyalty-box {
  margin-top: 18px; padding: 12px 20px; border-radius: 12px;
  border: 1px solid rgba(255,181,71,.35); color: var(--gold-bright); font-size: .88rem;
}
.review-box {
  margin-top: 20px; padding: 16px 20px; border-radius: 12px; max-width: 340px;
  border: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.review-box p { margin: 0; }
.review-stars { display: flex; gap: 6px; font-size: 1.6rem; }
.review-stars button { background: none; border: none; color: rgba(255,255,255,.3); cursor: pointer; padding: 0; line-height: 1; }
.review-stars button.on { color: var(--gold-bright); }
.review-box textarea {
  width: 100%; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.04); color: var(--cream); padding: 8px 10px; font: inherit; resize: vertical;
}
.review-sent { color: var(--gold-bright); font-size: .85rem; }
.review-error { color: #ff9d9d; font-size: .85rem; }

/* Old iOS Safari (< 14.1) ignores `gap` in flex containers — see the matching
   note in styles.css. These are the rows where items touching would actually
   look broken rather than merely tight. */
@supports not (inset: 0) {
  .order-header > * + * { margin-left: 16px; }
  .install-bar > * + * { margin-left: 12px; }
  .cat-strip > * + * { margin-left: 8px; }
  .oi > * + * { margin-left: 16px; }
  .oi-meta > * + * { margin-left: 8px; }
  .oi-add > * + *, .oi-stepper > * + * { margin-left: 1px; }
  .cart-bar > * + * { margin-left: 16px; }
  .info-row > * + * { margin-left: 12px; }
  .basket-line > * + * { margin-left: 10px; }
  .type-toggle > * + * { margin-left: 8px; }
}

/* Double-back-to-exit toast (installed PWA only) */
.exit-toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 12px);
  background: var(--card, #161616); color: var(--cream); border: 1px solid rgba(255,255,255,.25);
  padding: 12px 20px; border-radius: 999px; font-size: .95rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90;
}
.exit-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* "Sold out today" (pre-orderable for tomorrow) badge on the dark menu */
