/* Customer screen for Pretzel Girl: mascot + script wordmark up top,
   bilingual section heads, item names in Lobster with Arabic in Baloo Bhaijaan 2 beneath,
   prices in pretzel brown, thin gold rules and lots of open white space. */
body { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
main { max-width: 560px; margin: 0 auto; padding: 0 20px; }

.top { text-align: center; padding: 26px 20px 0; }
.brand-row { display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.top-mascot { width: auto; height: 132px; flex: 0 0 auto; margin-bottom: -4px; }
.wordmark { margin: 0 0 14px; line-height: 1; font-weight: 400; }
.wordmark .pg-word { display: inline-flex; flex-direction: column; align-items: flex-end; font-size: clamp(50px, 15vw, 64px); }
.wordmark .pg-word .girl { margin: -.18em .1em 0 0; }
.motto { font-family: var(--arabic); font-size: 24px; color: var(--oud); margin: 10px 0 0; line-height: 1.5; }
.motto::after { content: ""; display: block; width: 44px; height: 2px; margin: 10px auto 0; background: var(--sand); border-radius: 2px; }
.where { margin: 14px 0 0; font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.banner { max-width: 560px; margin: 14px auto 0; padding: 0 20px; }
.banner > * {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  border-radius: var(--radius); padding: 14px 16px; border: 0; background: var(--burgundy); color: var(--cream); font-weight: 500;
}
.banner .num { font-size: 22px; font-weight: 600; }
.banner .closed { background: var(--tint); color: var(--muted); box-shadow: none; font-size: 13px; justify-content: center; text-align: center; }

.notice {
  position: sticky; top: 8px; z-index: 30; max-width: 520px; margin: 10px auto 0; width: calc(100% - 40px);
  background: var(--wine); color: var(--cream); padding: 14px 16px; border-radius: var(--radius); font-weight: 500;
}
.notice ul { margin: 0; padding-left: 18px; }
.notice button { margin-top: 8px; background: none; border: 0; color: var(--cream); text-decoration: underline; font-weight: 600; padding: 4px 0; }

/* Menu rhythm */
.rule { border: 0; border-top: 1px solid var(--sand-light); margin: 0; }
.cols-head { display: flex; justify-content: flex-end; gap: 12px; padding: 12px 0; }
.cols-head span, .size-label { width: 64px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.size-label { display: block; margin-bottom: 4px; }

.burger { padding: 24px 0; border-top: 1px solid var(--sand-light); }
.sec-head + .burger, .sec-head + .line-row { border-top: 0; }
.burger-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; }
.burger-name { margin: 0; font-family: var(--script); font-weight: 600; font-size: 26px; line-height: 1.1; color: var(--burgundy); }
.burger-desc { margin: 10px 0 0; font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.5; max-width: 34ch; }
.sizes { display: flex; gap: 12px; }
.size { width: 64px; text-align: center; }
.size .price { display: block; font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--pg-brown); margin-bottom: 8px; white-space: nowrap; }
.price small { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.size .burger-svg { width: 50px; height: auto; display: block; margin: 0 auto; }
.size .burger-svg * { vector-effect: non-scaling-stroke; stroke-width: 2px; }
.size.out .burger-svg { opacity: .35; }
.size.out .price { opacity: 1; }
.burger .btn { margin-top: 20px; }
.burger.soldout .burger-name, .burger.soldout .burger-desc { color: var(--muted); }
.burger.soldout .burger-svg { opacity: .35; }
.badge { display: inline-block; margin-top: 18px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; background: var(--burgundy); color: var(--cream); padding: 6px 12px; border-radius: 999px; }

/* Single-line rows: desserts and light bites */
.line-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid var(--sand-light); }
.line-row h2 { margin: 0; font-family: var(--script); font-weight: 600; font-size: 24px; line-height: 1.15; }
.line-row .price { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--pg-brown); white-space: nowrap; }
.line-row.soldout h2 { color: var(--muted); }
.line-row .controls { display: flex; align-items: center; gap: 14px; }
.varieties { padding: 0 0 14px; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0; min-height: 64px; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item-name { font-weight: 600; }
.item-name.caps-name { font-family: var(--script); font-size: 22px; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.15; }
.item-sub { font-size: 13px; color: var(--muted); font-weight: 500; }
.item.soldout .item-name { color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--burgundy); color: var(--cream);
  font-size: 26px; font-weight: 600; line-height: 1; display: grid; place-items: center;
}
.stepper button.minus { background: var(--tint-2); color: var(--burgundy); }
.stepper button:disabled { background: var(--tint-2); color: var(--muted); }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; font-size: 18px; }
.add-pill { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: var(--burgundy); box-shadow: inset 0 0 0 1.5px var(--burgundy); font-weight: 600; }

.menu-foot { border-top: 1px solid var(--sand-light); padding: 28px 0 8px; text-align: center; }
.foot-mark { width: 30px; margin: 0 auto 6px; opacity: .9; }
.fineprint { font-size: 12px; line-height: 1.55; margin: 16px 0 0; color: var(--muted); text-align: center; }
.fineprint a { color: var(--burgundy); font-weight: 600; }

/* Cart bar */
.cartbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--cream) 70%, rgba(255, 255, 255, 0));
}
.cartbar .btn { max-width: 520px; margin: 0 auto; justify-content: space-between; min-height: 64px; font-size: 17px; }
.cartbar .count { background: var(--cream); color: var(--burgundy); border-radius: 999px; min-width: 32px; height: 32px; display: grid; place-items: center; font-weight: 600; padding: 0 8px; }

/* Sheet */
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--scrim); display: flex; align-items: flex-end; }
.sheet[hidden] { display: none; }
.sheet-panel {
  background: var(--cream); width: 100%; max-width: 600px; margin: 0 auto; max-height: 94vh; border-radius: 22px 22px 0 0;
  display: flex; flex-direction: column;
}
.sheet-panel.anim { animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: .6; } }
.sheet-scroll { overflow-y: auto; padding: 8px 20px 12px; -webkit-overflow-scrolling: touch; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 0 20px; }
.close-x { width: 48px; height: 48px; border: 0; background: none; font-size: 30px; color: var(--burgundy); }
.sheet-hero { display: grid; grid-template-columns: 1fr 72px; gap: 14px; align-items: center; padding-bottom: 6px; }
.sheet-hero h2 { font-family: var(--script); font-weight: 600; font-size: 30px; line-height: 1.1; margin: 0; }
.sheet-hero .burger-svg { width: 64px; }
.base { color: var(--muted); font-size: 14px; margin: 10px 0 0; line-height: 1.5; }
.allergen { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin: 18px 0 6px; }
.seg button {
  min-height: 56px; border-radius: var(--radius); border: 0; background: transparent; box-shadow: inset 0 0 0 2px var(--line-strong);
  font-weight: 600; color: var(--burgundy); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; padding: 8px 6px;
}
.seg button small { font-weight: 500; font-size: 13px; letter-spacing: .02em; opacity: .85; }
.seg button[aria-pressed="true"] { background: var(--burgundy); color: var(--cream); box-shadow: none; }
.seg button:disabled { color: var(--muted); text-decoration: line-through; }
.group-label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 22px 0 6px; }
.opt {
  display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left;
  min-height: 56px; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--burgundy);
}
.opt .tick { width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--burgundy); display: grid; place-items: center; color: var(--cream); font-weight: 600; }
.opt[aria-pressed="true"] .tick { background: var(--burgundy); }
.opt .opt-name { font-weight: 600; }
.opt.removed .opt-name { text-decoration: line-through; color: var(--muted); }
.opt .opt-meta { font-weight: 500; font-size: 14px; color: var(--muted); }
.opt:disabled { color: var(--muted); }
.opt:disabled .tick { box-shadow: inset 0 0 0 2px var(--muted); }
.sheet-foot { padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cream); }
.sheet-foot .row { display: flex; justify-content: center; margin-top: 4px; }

/* Checkout */
.page-head { display: flex; align-items: center; gap: 4px; padding: 10px 0 12px; border-bottom: 1px solid var(--sand-light); }
.page-head h2 { font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin: 0; }
.back { width: 48px; height: 48px; border: 0; background: none; font-size: 28px; color: var(--burgundy); margin-left: -12px; }
.line { padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-main { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; }
.line-title { font-family: var(--script); font-weight: 600; font-size: 19px; }
.line-title .sz { font-weight: 500; color: var(--muted); }
.line-price { font-weight: 600; }
.mods { list-style: none; margin: 4px 0 0; padding: 0; }
.mods li { font-weight: 500; font-size: 14px; color: var(--muted); }
.mods li span { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.line-actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.line-actions button { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--tint-2); color: var(--burgundy); font-weight: 600; font-size: 14px; }
.line .stepper { margin-top: 8px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 4px; font-weight: 600; font-size: 22px; border-top: 1px solid var(--line-strong); margin-top: -1px; }
.vat { font-size: 12px; color: var(--muted); margin: 0 0 6px; text-align: right; }
.fine { color: var(--muted); font-size: 13px; text-align: center; margin: 10px 0 0; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }
.pay-wrap { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: var(--cream); }

/* Status */
.status { text-align: center; padding: 8px 0 24px; }
.status .label { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-top: 8px; }
.pickup-no { font-family: var(--serif); font-weight: 600; font-size: clamp(60px, 22vw, 150px); line-height: 1; letter-spacing: -0.02em; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.status h2 { font-family: var(--serif); font-size: 26px; margin: 8px 0; font-weight: 600; }
.status p { margin: 6px 0; }
.status.ready { background: var(--majlis); color: var(--cream); border-radius: 22px; padding: 26px 12px 28px; margin-top: 12px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 22px 0 6px; list-style: none; padding: 0; }
.steps li { font-size: 13px; font-weight: 500; color: var(--muted); padding-top: 10px; border-top: 5px solid var(--tint-2); }
.steps li.done { color: var(--burgundy); border-color: var(--burgundy); }
.status.ready .steps li { color: var(--cream-muted); border-color: rgba(255, 255, 255, .3); }
.status.ready .steps li.done { color: var(--cream); border-color: var(--cream); }
.checking { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0 10px; }
.checking .spinner { width: 44px; height: 44px; border-width: 4px; }
.receipt { text-align: left; margin-top: 22px; border-top: 1px solid var(--sand-light); }
.receipt .line:last-of-type { border-bottom: 0; }
.status .actions { display: grid; gap: 10px; margin-top: 18px; }

/* Remove is destructive: outlined, not filled like Edit */
.line-actions button[data-del] { background: transparent; box-shadow: inset 0 0 0 1.5px var(--burgundy); }
.link { min-height: 44px; }
/* Cart count pulses when something is added (instead of a pop-up) */
.cartbar .count.pulse { animation: pulse .5s ease-out; }
@keyframes pulse { 40% { transform: scale(1.35); } }
/* Outside the menu, the logo steps back so the action has the space */
body:not([data-view="menu"]) .top-mascot { height: 84px; }
body:not([data-view="menu"]) .wordmark { margin-bottom: 8px; }
body:not([data-view="menu"]) .wordmark .pg-word { font-size: 42px; }
body:not([data-view="menu"]) .motto { display: none; }
body:not([data-view="menu"]) .where { display: none; }
body:not([data-view="menu"]) { padding-bottom: 24px; }
.banner > * + * { margin-top: 8px; }
.sheet-hero h2:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .spinner { border-right-color: currentColor; opacity: .5; } }


/* Arabic names: Baloo Bhaijaan 2, deep blue, sitting under the English name */
.name-ar { display: block; text-align: left; font-family: var(--arabic); font-size: 26px; line-height: 1.35; color: var(--oud); margin-top: 4px; }
.opt-name .name-ar { display: inline-block; font-family: var(--arabic-body); font-size: 15px; color: var(--muted); margin-left: 10px; }
.item .name-ar, .caps-name + .name-ar, .line-row .name-ar { font-size: 20px; margin-top: 2px; }

.seg.cups button { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.seg.cups .name-ar { text-align: center; font-family: var(--arabic-body); font-size: 15px; color: inherit; opacity: .85; }

/* Bilingual section heads, centred between little pretzel marks */
.sec-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 40px 0 8px; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--oud); }
.sec-head::before, .sec-head::after { content: ""; width: 18px; height: 18px; background: url("/static/brand/mark-palm.svg") center / contain no-repeat; opacity: .9; }
.sec-head .ar { font-family: var(--arabic); font-size: 26px; font-weight: 400; }
.sec-head .dot { color: var(--sand); }
/* Arabic size labels under the English ones */
.size-ar { display: block; font-family: var(--arabic-body); font-size: 13px; letter-spacing: 0; text-transform: none; margin-top: 1px; }
.seg-name { display: flex; flex-direction: column; align-items: center; font-weight: 600; }
.seg button .size-ar, .seg.sweet .name-ar { font-family: var(--arabic-body); font-size: 14px; font-weight: 400; text-align: center; color: inherit; opacity: .85; margin: 0; }
.seg.sweet button { display: flex; flex-direction: column; align-items: center; gap: 2px; }

/* Tags (House, Best Seller) and Arabic descriptions */
.tag-house { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--sand); font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.desc-ar { margin: 4px 0 0; font-family: var(--arabic-body); font-size: 14px; line-height: 1.6; color: var(--muted); text-align: left; }
.row-name { margin: 0; font-family: var(--script); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--burgundy); }
.line-row .burger-desc { margin-top: 6px; }
.line-row { align-items: start; }
.line-row .controls { padding-top: 2px; }

/* Arabic on order lines and status steps; wait cue */
.line-ar { display: block; font-family: var(--arabic-body); font-size: 15px; font-weight: 400; color: var(--muted); margin-top: 2px; text-align: left; }
.steps li span { display: block; font-family: var(--arabic-body); font-size: 12px; font-weight: 400; margin-top: 2px; }
.status .wait { font-family: var(--serif); font-weight: 600; font-size: 18px; margin: 14px 0 4px; }
.status .where-to { color: var(--muted); font-size: 14px; margin: 0; }

/* One calm "add" pattern for every product: an outlined pill on the right.
   Filled blue is kept for the cart bar and Pay only. */
.pick { display: block; margin: 14px 0 0 auto; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: var(--oud); box-shadow: inset 0 0 0 1.5px var(--oud); font-weight: 600; font-size: 15px; }
.pick:active { background: var(--tint-2); }
/* Sold out reads as a state, not a button */
.badge { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); letter-spacing: .08em; }
.burger .badge { display: block; width: max-content; margin: 14px 0 0 auto; }

.notice-ar { display: block; font-family: var(--arabic-body); font-size: 15px; margin-top: 2px; opacity: .92; }

/* One icon per item, centred under its prices */
.burger .side { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.burger .ill .burger-svg { width: 52px; height: auto; display: block; }
.burger.soldout .ill { opacity: .35; }
/* Keep each language of a section head on one line; wrap as whole halves only */
.sec-head { flex-wrap: wrap; row-gap: 2px; text-align: center; }
.sec-head .en, .sec-head .ar { white-space: nowrap; }
@media (max-width: 380px) { .sec-head { font-size: 20px; } .sec-head .ar { font-size: 23px; } }

/* Optional guest name on the order page */
.name-field { display: block; padding: 16px 0 6px; }
.name-field > span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.name-field small { font-size: 12px; font-weight: 400; }
.name-field input { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); color: var(--oud); }
.name-field input:focus { outline: 2px solid var(--oud); outline-offset: 1px; }

/* Platform credit: small and quiet, under the footer */
.powered { margin: 18px 0 0; font-size: 11px; letter-spacing: .06em; color: var(--muted); text-align: center; }
.powered a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.where-ar { display: block; font-family: var(--arabic-body); margin-top: 2px; }

/* Arabic half of a bilingual status line, on its own line */
.bi-ar { display: block; font-family: var(--arabic); margin-top: 2px; }
.status p .bi-ar, .status .wait .bi-ar { font-family: var(--arabic-body); }

/* Font consistency */
.banner .num { font-family: var(--serif); font-weight: 600; }   /* pickup number: same face everywhere a guest sees it */
.where { font-family: var(--sans); font-weight: 500; }           /* small-caps labels are Poppins */
.seg.cups .name-ar { font-weight: 400; font-size: 14px; }       /* match the size and sweetness chips */
.bi-ar { font-weight: 400; }                                    /* regular weight, like the rest of the customer Arabic */

/* Pretzel Girl skin */
/* Lobster ships in one weight: keep script names at 400 so nothing is faux-bolded */
.burger-name, .line-row h2, .row-name, .item-name.caps-name, .sheet-hero h2, .line-title { font-weight: 400; color: var(--pg-blue-deep); letter-spacing: .005em; }
.line-title .sz { font-family: var(--sans); font-size: 14px; }
/* Thin gold rules between menu rows */
.rule, .burger, .line-row, .menu-foot, .page-head, .receipt { border-color: var(--gold-line); }
.motto::after { background: var(--pg-gold); }
.sec-head { color: var(--pg-blue-deep); }
.sec-head .dot { color: var(--pg-gold); }
.tag-house { box-shadow: inset 0 0 0 1px var(--pg-gold); color: var(--pg-brown); background: #FFF8E6; }
.foot-mark { width: 76px; height: auto; opacity: 1; margin-bottom: 10px; }
/* Ready card: bright sky blue, white text */
.status.ready { background: var(--pg-blue); }
.cartbar .btn { box-shadow: 0 6px 18px rgba(21, 101, 192, .28); }
@media (max-width: 360px) { .top-mascot { height: 108px; } }

/* Product photos (illus.js picture()): card photo, sheet hero, dip thumbnails */
.ill .photo { display: block; width: 120px; height: 120px; object-fit: cover; border-radius: 14px; background: var(--pg-sky-50); box-shadow: 0 0 0 1px var(--gold-line); }
.burger .ill .burger-svg { width: 96px; height: auto; }   /* SVG fallback (cookies), close to photo size */
.burger .side { gap: 10px; }
.burger.soldout .ill .photo { filter: grayscale(.6); }
.sheet-hero { grid-template-columns: 1fr 140px; }
.sheet-hero .photo.hero { display: block; width: 140px; height: 140px; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 1px var(--gold-line); }
.sheet-hero .burger-svg { width: 110px; justify-self: center; }
.line-row.has-thumb { grid-template-columns: 52px minmax(0, 1fr) auto; }
.line-row .thumb { display: block; width: 52px; height: 52px; object-fit: cover; border-radius: 12px; box-shadow: 0 0 0 1px var(--gold-line); }
.line-row.soldout .thumb { filter: grayscale(.6); opacity: .6; }
@media (max-width: 380px) {
  .ill .photo { width: 104px; height: 104px; }
  .burger .ill .burger-svg { width: 84px; }
  .sheet-hero { grid-template-columns: 1fr 116px; }
  .sheet-hero .photo.hero { width: 116px; height: 116px; }
}

/* Cookie flavour picker in the option sheet */
.opt.pick-row { grid-template-columns: 1fr auto; cursor: default; }
.opt.pick-row .stepper button { width: 44px; height: 44px; font-size: 24px; }
.opt.pick-row.removed .opt-meta { text-decoration: none; }
.group-label .pick-count { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: #FFF8E6; box-shadow: inset 0 0 0 1px var(--pg-gold); color: var(--pg-brown); letter-spacing: .06em; text-transform: none; font-weight: 600; }
@media (max-width: 420px) { .where { letter-spacing: .14em; font-size: 11px; } }
/* Size chips: never push the sheet wider than the phone (4 cookie sizes) */
.seg { grid-auto-columns: minmax(0, 1fr); }
.seg button { min-width: 0; padding: 8px 4px; font-size: 15px; overflow-wrap: anywhere; }
.seg button small { font-size: 12px; }
.sheet-hero { grid-template-columns: minmax(0, 1fr) 140px; }
@media (max-width: 380px) { .sheet-hero { grid-template-columns: minmax(0, 1fr) 116px; } }
.opt.pick-row { grid-template-columns: minmax(0, 1fr) auto; }
/* Items with many sizes (cookies: 1/2/4/8) wrap their prices 2-up instead of
   pushing the page wider than the phone (which also made the sheet look
   shifted/clipped, because the layout viewport grew past 375px). */
.burger-row { grid-template-columns: minmax(0, 1fr) auto; }
.burger .side { max-width: 152px; }
.burger .sizes { flex-wrap: wrap; justify-content: center; row-gap: 12px; }

/* ---------- Phone fit: sizes follow the screen (iPhone SE 320px to Pro Max 430px, and landscape) ---------- */
main { padding: 0 clamp(14px, 5vw, 22px); }
.top { padding: clamp(14px, 3.5vh, 26px) 16px 0; }
.top-mascot { height: clamp(84px, 15vh, 132px); }
.wordmark .pg-word { font-size: clamp(42px, min(14vw, 7.5vh), 64px); }
.wordmark { margin-bottom: clamp(6px, 1.6vh, 14px); }
.motto { font-size: clamp(19px, 5.6vw, 24px); margin-top: clamp(4px, 1vh, 10px); }
.where { font-size: clamp(9.5px, 2.8vw, 12px); letter-spacing: clamp(.08em, .6vw, .24em); }
.ill .photo { width: clamp(96px, 28vw, 132px); height: clamp(96px, 28vw, 132px); }
.burger .ill .burger-svg { width: clamp(76px, 22vw, 100px); }
.sheet-hero .photo.hero { width: clamp(104px, 30vw, 150px); height: clamp(104px, 30vw, 150px); }
.size.from .size-label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: right; }
.size.from .size-ar { display: block; letter-spacing: 0; text-transform: none; }

/* Sticky section bar */
.sec-nav { position: sticky; top: 0; z-index: 15; margin: 18px calc(-1 * clamp(14px, 5vw, 22px)) 0; padding-top: env(safe-area-inset-top); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gold-line); }
.sec-nav-in { display: flex; gap: 8px; overflow-x: auto; padding: 10px clamp(14px, 5vw, 22px); scrollbar-width: none; scroll-snap-type: x proximity; }
.sec-nav-in::-webkit-scrollbar { display: none; }
.sec-nav button { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: baseline; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--pg-blue-deep); font: 600 clamp(12px, 3.4vw, 14px)/1 var(--sans); white-space: nowrap; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sec-nav button .ar { font: 400 clamp(13px, 3.6vw, 15px)/1 var(--arabic); color: inherit; opacity: .85; }
.sec-nav button.on { background: var(--pg-blue-deep); border-color: var(--pg-blue-deep); color: #fff; }
.sec-head[data-sec] { scroll-margin-top: calc(70px + env(safe-area-inset-top)); }
.sec-nav + .sec-head { margin-top: 22px; }

/* Bottom order bar stays on one line on small phones */
.cartbar { padding-left: clamp(12px, 4vw, 20px); padding-right: clamp(12px, 4vw, 20px); }
.cartbar .btn { font-size: clamp(14px, 4.3vw, 17px); min-height: clamp(54px, 7.5vh, 64px); gap: 10px; white-space: nowrap; }

/* Phone held sideways: short screen, so a compact header */
@media (max-height: 500px) and (orientation: landscape) {
  .top-mascot { height: 72px; }
  .wordmark .pg-word { font-size: 40px; }
  .motto, .where { display: none; }
  main { max-width: 640px; }
}

/* Short phones (iPhone SE, mini): smaller sheet header so choices show sooner */
@media (max-height: 700px) {
  .sheet-hero .photo.hero, .sheet-hero .burger-svg { width: 84px !important; height: 84px; }
  .sheet-hero .base { font-size: 14px; margin-top: 4px; }
  .sheet-hero .allergen { font-size: 11.5px; line-height: 1.35; }
  .sheet-hero h2 { font-size: 30px; }
}

/* Dipping sauces as add-ons: two across on phones, three on wider screens */
.sauce-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 8px; }
.sauce-grid .opt.sauce { margin: 0; min-height: 56px; padding: 8px 10px; align-items: center; }
.sauce-grid .opt.sauce .opt-name { font-size: 14px; line-height: 1.25; }
.sauce-grid .opt.sauce .name-ar { display: block; margin: 2px 0 0; font-size: 13px; text-align: start; }
.sauce-grid .opt.sauce .opt-meta { font-size: 12px; white-space: nowrap; }
.sauce-grid .opt.sauce .tick { width: 22px; height: 22px; flex: 0 0 22px; font-size: 13px; }
.sauce-grid .opt.sauce .opt-name { flex: 1; min-width: 0; }
.sauce-grid .opt.sauce .sauce-pic { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; object-fit: cover; }
.sauce-grid .opt.sauce[aria-pressed="true"] .sauce-pic { box-shadow: 0 0 0 2px var(--pg-blue-deep); }
.sauce-grid .opt.sauce { display: flex; justify-content: flex-start; gap: 8px; }
.sauce-grid .opt.sauce .opt-name, .sauce-grid .opt.sauce .name-ar { text-align: left; }

/* Low stock: counted products down to their last few */
.tag-low { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #FFF1E0; color: #8A3D00; font: 600 11px/1.4 var(--sans); white-space: nowrap; }
.tag-low [lang="ar"] { font-family: var(--arabic-body); }
