/* Pages, footer, modes, themes and features — loaded right after site.css (split only to keep files small; order matters). */
/* ---------- 7. Pages ---------- */
.page-hero { padding-block: clamp(36px, 7vw, 88px) clamp(20px, 3vw, 32px); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 360px; z-index: -1; background: radial-gradient(50% 80% at 85% 0%, rgba(var(--c-primary-rgb), .28), transparent 70%); pointer-events: none; }
.page-hero-tight { padding-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--c-faint); margin-bottom: var(--s-4); }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.page-404 { min-height: 60svh; display: flex; align-items: center; }

/* Menu tools: sticky search + category rail */
.menu-tools { position: sticky; top: var(--header-h); z-index: 30; background: rgba(var(--c-bg-rgb), .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--c-line); }
.menu-tools-inner { display: grid; gap: var(--s-3); padding-block: var(--s-3); }
@media (min-width: 860px) { .menu-tools-inner { grid-template-columns: minmax(260px, 380px) 1fr; align-items: center; } }
.search-field { position: relative; display: block; }
.search-field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--c-faint); pointer-events: none; }
.search-field input[type="search"] { padding-left: 46px; min-height: 46px; border-radius: var(--r-pill); }
.cat-rail { border-top: 1px solid var(--c-line); }
.cat-rail ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-block: 6px; scroll-behavior: smooth; }
.cat-rail ul::-webkit-scrollbar { display: none; }
.cat-rail a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); white-space: nowrap; text-decoration: none; color: var(--c-muted); font-weight: 500; font-size: .92rem; transition: color var(--t-med), background-color var(--t-med); }
.cat-rail a .mono { font-size: .72rem; }
.cat-rail a:hover { color: var(--c-ink); }
.cat-rail a.is-active, .cat-rail a[aria-current="page"] { color: var(--c-on-accent); background: var(--c-accent); }
.cat-rail a.is-active .muted, .cat-rail a[aria-current="page"] .muted { color: inherit; opacity: .7; }
.menu-notices { display: grid; gap: var(--s-3); padding-top: var(--s-5); }
.menu-notices:empty { display: none; }
.menu-group { padding-block: var(--s-6) var(--s-4); scroll-margin-top: calc(var(--header-h) + 120px); }
.menu-group-head { margin-bottom: var(--s-4); }
.menu-group-head h2 a { text-decoration: none; }
.menu-group-head .mono { font-size: .9rem; font-weight: 400; }
.menu-body { padding-bottom: var(--s-8); }

/* Cart drawer / sheets */
.drawer { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity var(--t-med) var(--ease-out); }
.drawer-panel {
  position: relative; display: flex; flex-direction: column; width: min(440px, 100%); height: 100%;
  background: rgba(var(--c-surface-rgb), .94); border-radius: 0; border-width: 0 0 0 1px; outline: none;
  transform: translateX(100%); transition: transform 300ms var(--ease-out);
}
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--c-line); }
.drawer-head h2, .drawer-head .eyebrow { margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: var(--s-4) var(--s-5); overscroll-behavior: contain; }
.drawer-foot { padding: var(--s-4) var(--s-5) calc(var(--s-4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); display: grid; gap: var(--s-3); }
.drawer-foot p { margin: 0; }
@media (max-width: 719px) {
  .drawer { align-items: flex-end; }
  .drawer-panel { width: 100%; height: auto; max-height: 88svh; border-radius: var(--r-xl) var(--r-xl) 0 0; border-width: 1px 0 0; transform: translateY(100%); }
  .drawer-panel::before { content: ""; width: 40px; height: 4px; border-radius: 4px; background: var(--c-line-2); margin: 10px auto 0; flex: none; }
}
.sheet .drawer-panel { max-width: 440px; }
.cart-empty { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-7) 0; text-align: center; color: var(--c-muted); }
.cart-lines { display: grid; gap: var(--s-3); }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.cart-line-name { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.cart-line-name .food-mark { margin-top: 4px; }
.cart-line-var { font-size: .82rem; color: var(--c-faint); }
.cart-line-price { text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line-2); border-radius: var(--r-pill); }
.qty button { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; border-radius: var(--r-pill); }
.qty button:hover { background: rgba(var(--c-ink-rgb), .08); }
.qty output { min-width: 28px; text-align: center; font-family: var(--f-mono); }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.size-options { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.size-opt { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 56px; padding: 0 var(--s-4); border: 1px solid var(--c-line-2); border-radius: var(--r-md); cursor: pointer; transition: border-color var(--t-med), background-color var(--t-med); }
.size-opt:has(input:checked) { border-color: var(--c-accent); background: rgba(var(--c-accent-rgb), .08); }
.size-opt input { accent-color: var(--c-accent); width: 18px; height: 18px; }
.size-opt span:first-of-type { flex: 1; font-weight: 600; }

/* Sticky mobile cart bar */
.cart-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70;
  display: flex; align-items: center; gap: var(--s-3); min-height: 60px; padding: 0 var(--s-4) 0 var(--s-5);
  border-radius: var(--r-pill); background: var(--c-primary); color: var(--c-on-primary); text-decoration: none; box-shadow: var(--glow);
  transform: translateY(0); transition: transform var(--t-med) var(--ease-out), opacity var(--t-med);
}
.cart-bar:hover { color: var(--c-on-primary); }
.cart-bar-count { font-size: .82rem; opacity: .85; }
.cart-bar-total { font-weight: 600; }
.cart-bar-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
body.has-cart-bar main { padding-bottom: 92px; }
body.has-cart-bar .site-footer { padding-bottom: 92px; }
@media (min-width: 960px) { .cart-bar { display: none !important; } body.has-cart-bar main, body.has-cart-bar .site-footer { padding-bottom: 0; } }
.is-checkout .cart-bar, .is-track .cart-bar { display: none !important; }

.toast { position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 95; transform: translateX(-50%); padding: 12px 18px; border-radius: var(--r-pill); background: var(--c-ink); color: var(--c-bg); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
.toast.is-in { animation: toast-in 260ms var(--ease-out); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (min-width: 960px) { .toast { bottom: 28px; } }

/* Checkout */
.checkout-grid { display: grid; gap: var(--s-5); align-items: start; }
@media (min-width: 1000px) { .checkout-grid { grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr); } .summary { position: sticky; top: calc(var(--header-h) + 16px); } }
.checkout-form { display: grid; gap: var(--s-4); }
.card-step { border: 1px solid var(--glass-line); margin: 0; min-width: 0; }
.card-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: var(--s-4); }
.card-step legend + * { clear: both; }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(var(--c-primary-rgb), .18); color: var(--c-accent); font-size: .75rem; }
.segmented { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--s-2); margin-bottom: var(--s-3); }
.seg input, .pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; border-radius: var(--r-md); border: 1px solid var(--c-line-2); font-weight: 600; cursor: pointer; transition: border-color var(--t-med), background-color var(--t-med); }
.seg input:checked + span { border-color: var(--c-accent); background: rgba(var(--c-accent-rgb), .1); color: var(--c-accent); }
.seg input:focus-visible + span, .pay-option input:focus-visible + .pay-card { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.pay-options { display: grid; gap: var(--s-2); }
.pay-card { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); border-radius: var(--r-md); border: 1px solid var(--c-line-2); cursor: pointer; transition: border-color var(--t-med), background-color var(--t-med); }
.pay-card > span { display: grid; gap: 2px; }
.pay-card .icon { width: 28px; height: 28px; color: var(--c-accent); }
.pay-option input:checked + .pay-card { border-color: var(--c-accent); background: rgba(var(--c-accent-rgb), .08); }
.summary h2 { margin-bottom: var(--s-3); }
.sum-lines { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); max-height: 320px; overflow-y: auto; }
.sum-line { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3); align-items: start; font-size: .94rem; }
.sum-line .mono { white-space: nowrap; }
.sum-line .q { color: var(--c-faint); }
.coupon-row { display: flex; gap: var(--s-2); margin: var(--s-3) 0 var(--s-2); }
.coupon-row input { min-height: 44px; text-transform: uppercase; }
.totals { margin: var(--s-4) 0 var(--s-3); display: grid; gap: 8px; font-size: .95rem; }
.totals > div { display: flex; justify-content: space-between; }
.totals dt { color: var(--c-muted); font-family: var(--f-body); }
.totals dd { margin: 0; }
.total-row { padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--c-line-2); font-size: 1.2rem; font-weight: 600; }
.total-row dt { color: var(--c-ink) !important; }
.summary .btn-lg { margin-top: var(--s-2); }
/* optional bits folded away (cooking notes, coupon) */
.opt-field { margin: var(--s-2) 0; }
.opt-field > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--c-accent); list-style: none; }
.opt-field > summary::-webkit-details-marker { display: none; }
.opt-field > summary::before { content: '+'; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid currentColor; font-size: .85rem; line-height: 1; }
.opt-field[open] > summary::before { content: '−'; }
.opt-field[open] > summary { margin-bottom: var(--s-2); }
[data-scheme="light"] .opt-field > summary { color: var(--c-ink); }
.remember-row { margin-top: var(--s-2); }
.remembered-note { margin: 0 0 var(--s-3); }
/* phones: total + Place order stay in reach while the summary is further down */
.checkout-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 70;
  display: flex; align-items: center; gap: var(--s-3); padding: 8px 8px 8px var(--s-5); min-height: 60px;
  border-radius: var(--r-pill); background: var(--glass-bg-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.checkout-bar[hidden] { display: none; }
.checkout-bar-total { display: grid; line-height: 1.2; }
.checkout-bar-total strong { font-size: 1.1rem; }
.checkout-bar .btn { margin-left: auto; min-height: 48px; }
@media (min-width: 720px) { .checkout-bar { left: 50%; right: auto; width: min(680px, calc(100vw - 24px)); transform: translateX(-50%); } }
.is-checkout main { padding-bottom: 92px; }
@media (min-width: 1000px) { .layout-classic .checkout-bar { display: none !important; } .layout-classic .is-checkout main { padding-bottom: 0; } }
/* Order again (menu and home) */
.last-order { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-4); padding: var(--s-4) var(--s-5); margin: var(--s-4) 0; border: 1px solid var(--glass-line); }
.last-order[hidden] { display: none; }
.last-order-text { display: grid; gap: 2px; flex: 1 1 220px; min-width: 0; }
.last-order-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.last-order .btn { gap: 8px; }
.last-order-home { margin-top: calc(var(--s-5) * -1); position: relative; z-index: 2; }
.last-order-home:has(.last-order[hidden]) { display: none; }

/* Tracking */
.track-grid { display: grid; gap: var(--s-4); max-width: 760px; }
.track-status { display: flex; gap: var(--s-4); align-items: center; margin-bottom: var(--s-5); }
.track-status p { margin: 0; }
.pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 0 rgba(var(--c-accent-rgb), .6); animation: ring 1.8s var(--ease-out) infinite; flex: none; }
.pulse.is-done { background: var(--c-ok); animation: none; }
.pulse.is-bad { background: var(--c-err); animation: none; }
@keyframes ring { to { box-shadow: 0 0 0 16px rgba(var(--c-accent-rgb), 0); } }
.track-steps { display: grid; gap: 0; counter-reset: step; }
.track-steps li { position: relative; padding: 0 0 var(--s-5) 40px; color: var(--c-faint); counter-increment: step; }
.track-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--c-line-2); display: grid; place-items: center; font: 500 .72rem var(--f-mono); }
.track-steps li::after { content: ""; position: absolute; left: 12.5px; top: 28px; bottom: 4px; width: 1px; background: var(--c-line-2); }
.track-steps li:last-child::after { display: none; }
.track-steps li.is-done { color: var(--c-ink); }
.track-steps li.is-done::before { content: "✓"; background: var(--c-ok); border-color: var(--c-ok); color: #052e1c; }
.track-steps li.is-current { color: var(--c-accent); font-weight: 600; }
.track-steps li.is-current::before { border-color: var(--c-accent); }
.upi-qr { display: grid; place-items: center; background: #fff; border-radius: var(--r-md); padding: 14px; width: min(240px, 100%); aspect-ratio: 1; margin: var(--s-3) 0; }
.upi-qr svg { width: 100%; height: 100%; }
.upi-card .btn { margin-top: var(--s-2); }

/* Contact */
.contact-grid { display: grid; gap: var(--s-4); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; } .field-row { grid-template-columns: 1fr 1fr; } }
.contact-list { display: grid; gap: 4px; margin: var(--s-3) 0; }
.contact-list a { display: inline-flex; gap: 10px; align-items: center; min-height: 40px; text-decoration: none; color: var(--c-muted); }
.contact-list a:hover { color: var(--c-accent); }
.contact-list-lg a { font-size: 1.1rem; color: var(--c-ink); }
.contact-list .icon { color: var(--c-accent); }

/* ---------- 8. Footer ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--c-line); padding-top: var(--s-8); background: linear-gradient(180deg, transparent, rgba(var(--c-primary-rgb), .05)); }
.footer-grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; padding-bottom: var(--s-7); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-brand .brand { margin-bottom: var(--s-4); }
.footer-h { font: 500 .75rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c-faint); margin-bottom: var(--s-4); }
.footer-col ul { display: grid; gap: 2px; }
.footer-col a { display: inline-flex; min-height: 36px; align-items: center; color: var(--c-muted); text-decoration: none; }
.footer-col a:hover { color: var(--c-accent); }
.footer-col address { font-style: normal; margin-bottom: var(--s-3); }
.socials { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.hours-details summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; color: var(--c-muted); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-5); border-top: 1px solid var(--c-line); }
.footer-base p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.footer-legal a { color: var(--c-muted); font-size: .875rem; text-decoration: none; }

/* ---------- 9. Experience modes ---------- */
/* Full 3D story: one fixed scene, sections become chapters with glass cards on the left. */
.mode-onepage3d .is-home .scene-stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.mode-onepage3d .is-home .site-header { background: transparent; }
.mode-onepage3d .is-home .site-header.is-scrolled { background: rgba(var(--c-bg-rgb), .55); }
.mode-onepage3d .is-home main::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(var(--c-bg-rgb), .78) 0%, rgba(var(--c-bg-rgb), .2) 55%, transparent 80%); }
.chapter { position: relative; z-index: 1; min-height: 100svh; display: flex; align-items: center; }
.chapter > .wrap { width: 100%; }
.chapter .glass-card, .chapter-hero .hero-copy { max-width: 600px; }
.chapter .dish-grid { margin-top: var(--s-4); }
.chapter .dish-card { background: rgba(var(--c-surface-rgb), .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.chapter.section-why .why-grid, .chapter.section-faq .faq-grid, .chapter .experience-grid { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .chapter.section-why .claims { max-width: 760px; }
  .chapter .experience-media { max-width: 760px; }
}
.chapter-hero { min-height: 100svh; }
.chapter-hero .hero-copy.glass-card { background: rgba(var(--c-bg-rgb), .25); }
.story-progress { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 20; display: none; flex-direction: column; gap: 10px; }
.story-progress li { width: 6px; height: 6px; border-radius: 50%; background: var(--c-line-2); transition: transform var(--t-med) var(--ease-out), background-color var(--t-med); }
.story-progress li.is-active { background: var(--c-accent); transform: scale(1.6); }
@media (min-width: 900px) { .story-progress { display: flex; } }
@media (max-width: 899px) {
  .mode-onepage3d .is-home main::before { background: linear-gradient(0deg, rgba(var(--c-bg-rgb), .85) 20%, rgba(var(--c-bg-rgb), .35) 100%); }
  .chapter { min-height: auto; padding-block: var(--s-8); }
  .chapter-hero { min-height: 92svh; }
}

/* ---------- 10. Motion ---------- */
[data-reveal], [data-reveal-group] > * { opacity: 1; }
.js-reveal [data-reveal]:not(.is-in), .js-reveal [data-reveal-group]:not(.is-in) > * { opacity: 0; transform: translateY(18px); }
.js-reveal [data-reveal].is-in, .js-reveal [data-reveal-group].is-in > * { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js-reveal [data-reveal-group].is-in > *:nth-child(2) { transition-delay: 60ms; }
.js-reveal [data-reveal-group].is-in > *:nth-child(3) { transition-delay: 120ms; }
.js-reveal [data-reveal-group].is-in > *:nth-child(4) { transition-delay: 180ms; }
.js-reveal [data-reveal-group].is-in > *:nth-child(n+5) { transition-delay: 220ms; }

/* ---------- Light colour themes (data-scheme is derived from the background colour) ---------- */
[data-scheme="light"] {
  --c-muted: rgba(var(--c-ink-rgb), .74);
  --c-faint: rgba(var(--c-ink-rgb), .64);
  --c-line: rgba(var(--c-ink-rgb), .12);
  --c-line-2: rgba(var(--c-ink-rgb), .22);
  --c-ok: #047857; --c-warn: #9A5B00; --c-err: #C81E1E;
  --glass-bg: rgba(255, 255, 255, .62);
  --glass-bg-strong: rgba(var(--c-surface-rgb), .86);
  --glass-line: rgba(var(--c-ink-rgb), .10);
  --shadow-lg: 0 24px 60px -28px rgba(40, 25, 10, .35);
  --glow: 0 0 0 1px rgba(var(--c-primary-rgb), .5), 0 10px 30px -10px rgba(var(--c-primary-rgb), .55);
}
[data-scheme="light"] .drawer-scrim { background: rgba(20, 14, 8, .45); }
[data-scheme="light"] .dish-placeholder { background: radial-gradient(80% 90% at 80% 10%, rgba(var(--c-primary-rgb), .28), transparent 60%), radial-gradient(60% 60% at 10% 100%, rgba(var(--c-accent-rgb), .22), transparent 70%), color-mix(in srgb, var(--c-bg) 94%, var(--c-ink)); }
[data-scheme="light"] .dish-placeholder span { color: rgba(var(--c-ink-rgb), .10); }
/* on light themes the accent is a mid tone: chosen chips and step numbers use the ink colour for readable text */
[data-scheme="light"] .step-no, [data-scheme="light"] .seg input:checked + span, [data-scheme="light"] .day-pick input:checked + span,
[data-scheme="light"] .sum-when, [data-scheme="light"] .dish-custom { color: var(--c-ink); }

/* AI dish photos are labelled */
.ai-label { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: var(--r-pill); background: rgba(0, 0, 0, .62); color: #fff; font: 600 .66rem/1.3 var(--f-body); letter-spacing: .02em; pointer-events: auto; cursor: help; }
.layout-express .ai-label { right: 3px; bottom: 3px; padding: 2px 5px; font-size: .56rem; }
.layout-express .dish-media .badge + .ai-label, .layout-express .dish-media .ai-label:has(+ .badge) { bottom: 22px; }

/* ---------- Express layout (Appearance → Layout): compact list menu, one-column checkout ---------- */
.layout-express .dish-grid { grid-template-columns: 1fr; gap: 0; }
@media (min-width: 900px) { .layout-express .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-6); } }
.layout-express .dish-card {
  flex-direction: row-reverse; align-items: flex-start; gap: var(--s-4); padding: var(--s-4) 0; border: 0; border-bottom: 1px solid var(--c-line);
  border-radius: 0; background: none; overflow: visible; contain-intrinsic-size: 340px 120px;
}
@media (hover: hover) { .layout-express .dish-card:hover { transform: none; box-shadow: none; border-color: var(--c-line); } .layout-express .dish-card:hover .dish-media img { transform: none; } }
.layout-express .dish-media { flex: none; width: 92px; aspect-ratio: 1; border-radius: var(--r-md); }
.layout-express .dish-placeholder span { font-size: 2.4rem; }
.layout-express .badge { top: auto; bottom: 4px; left: 4px; padding: 3px 6px; font-size: .58rem; letter-spacing: .03em; }
.layout-express .dish-body { padding: 0; gap: 4px; min-width: 0; }
.layout-express .dish-name { font-size: 1rem; }
.layout-express .dish-desc { -webkit-line-clamp: 1; font-size: .86rem; }
.layout-express .dish-review { display: none; }
.layout-express .dish-specs { font-size: .7rem; max-height: 1.4em; overflow: hidden; }
.layout-express .dish-foot { padding-top: 4px; }
.layout-express .price { font-size: 1rem; }
.layout-express .btn-add { min-height: 40px; padding: 0 14px 0 10px; }
.layout-express .btn-add[data-in-cart]:not([data-in-cart=""])::after { content: attr(data-in-cart); display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 5px; border-radius: 10px; background: var(--c-on-accent); color: var(--c-accent); font: 700 .7rem/1 var(--f-mono); }
.row-qty { background: var(--c-accent); color: var(--c-on-accent); border-color: transparent; }
.row-qty button { color: inherit; font-size: 1.2rem; font-weight: 700; }
.row-qty button:hover { background: rgba(0, 0, 0, .1); }
.row-qty output { font-weight: 700; }
.layout-express .menu-group { padding-block: var(--s-5) var(--s-2); }
.layout-express .page-hero-menu { padding-block: clamp(20px, 4vw, 40px) var(--s-3); }
.layout-express .page-hero-menu .lead-sm { display: none; }
/* the cart bar stays on every screen size */
@media (min-width: 960px) {
  html.layout-express body:not(.is-checkout):not(.is-track) .cart-bar:not([hidden]) { display: flex !important; left: 50%; right: auto; width: min(520px, calc(100vw - 24px)); transform: translateX(-50%); }
  html.layout-express body.has-cart-bar main, html.layout-express body.has-cart-bar .site-footer { padding-bottom: 92px; }
}
/* checkout: one column, items folded at the top, remembered details as one card */
.layout-express .checkout-grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 680px; margin-inline: auto; }
.layout-express .summary { position: static !important; }
.layout-express .summary .sum-lines, .layout-express .summary #sum-title { display: none; }
.layout-express .page-hero-tight .display-sm { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.items-peek { padding: var(--s-3) var(--s-5); border: 1px solid var(--glass-line); }
.items-peek > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 44px; cursor: pointer; font-weight: 600; list-style: none; }
.items-peek > summary::-webkit-details-marker { display: none; }
.items-peek[open] > summary .small::after { content: ' ▴'; }
.items-peek > summary .small::after { content: ' ▾'; }
.items-peek .sum-lines { margin: var(--s-2) 0 var(--s-3); }
.me-card { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-2); border-radius: var(--r-md); border: 1px solid var(--c-line-2); background: rgba(var(--c-ink-rgb), .03); }
.me-card[hidden] { display: none; }
.me-card-text { flex: 1; min-width: 0; line-height: 1.4; overflow-wrap: anywhere; }
.card-step.is-compact > .field, .card-step.is-compact > .remembered-note { display: none; }
.layout-express .pay-options { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.layout-express .pay-card { padding: var(--s-3) var(--s-4); }
.layout-express .pay-card .small { display: none; }

/* Admin draft preview marker */
.preview-pill { position: fixed; left: 12px; bottom: 12px; z-index: 300; padding: 6px 12px; border-radius: var(--r-pill); background: #111; color: #FFC20E; font: 600 .72rem/1.3 var(--f-mono); letter-spacing: .04em; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-reveal [data-reveal]:not(.is-in), .js-reveal [data-reveal-group]:not(.is-in) > * { opacity: 1; transform: none; }
  .btn-glow::after { animation: none; opacity: .5; }
  .orb { animation: none; }
}

/* ---------- Live POS connection: sold out, reviews, languages, branches, tracking ---------- */
.badge-soldout { background: var(--c-ink); color: var(--c-bg); }
.dish-card.is-soldout .dish-media img, .dish-card.is-soldout .dish-placeholder { filter: grayscale(1); opacity: .55; }
.dish-card.is-soldout .dish-name, .dish-card.is-soldout .price { color: var(--c-muted); }
.btn-add[disabled] { --btn-bg: transparent; --btn-fg: var(--c-muted); border: 1px solid var(--c-line-2); cursor: not-allowed; filter: none; }
.dish-review { margin: 0; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-review-stars { color: var(--c-accent); letter-spacing: .05em; }
.lang-switch { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-4); }
.branch-list { display: grid; gap: var(--s-3); margin: 0 0 var(--s-5); padding: 0; list-style: none; }
.reviews-sub { margin-top: var(--s-6); }
.cart-nudge { margin: 0 0 var(--s-2); padding: 8px 12px; border-radius: var(--r-md, 10px); background: rgba(var(--c-ink-rgb), .06); color: var(--c-ink); font-weight: 600; }
.cart-nudge.is-done { color: var(--c-ok); }
.track-steps li time { margin-left: 6px; }
.track-steps li.is-bad { color: var(--c-err); font-weight: 600; }
.track-steps li.is-bad::before { content: "✕"; border-color: var(--c-err); color: var(--c-err); }
.track-items { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.rate-card { display: grid; gap: var(--s-3); }
.rate-dish { border: 0; padding: 0; margin: 0 0 var(--s-3); display: grid; gap: 6px; }
.rate-dish legend { font-weight: 600; padding: 0; margin-bottom: 4px; }
.rate-dish textarea { width: 100%; }
.stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 1.9rem; line-height: 1; padding: 4px 3px; min-width: 44px; min-height: 44px; display: grid; place-items: center; color: var(--c-line-2); cursor: pointer; transition: color .12s ease-out, transform .12s ease-out; }
.stars-input label:hover, .stars-input label:hover ~ label, .stars-input input:checked ~ label { color: var(--c-accent); }
.stars-input input:focus-visible + label { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .stars-input label { transition: none; } }

/* ---------- Customers: sign in, points, past orders, offers ---------- */
.account-btn.is-in { color: var(--c-accent); }
.account-grid { display: grid; gap: var(--s-4); max-width: 760px; }
.signin-card { max-width: 440px; display: grid; gap: var(--s-3); }
.signin-card form { display: grid; gap: var(--s-3); }
.code-input { font-size: 1.5rem; letter-spacing: .4em; text-align: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--c-accent); text-decoration: underline; cursor: pointer; font: inherit; min-height: 24px; }
.points-card { display: grid; gap: var(--s-2); justify-items: start; }
.points-card p { margin: 0; }
.points-big { font-size: clamp(2.6rem, 9vw, 4rem); line-height: 1; font-weight: 700; color: var(--c-accent); }
.points-history { width: 100%; margin-top: var(--s-3); }
.points-history ul { list-style: none; padding: 0; margin: var(--s-2) 0 0; display: grid; gap: 6px; }
.points-history .is-plus { color: var(--c-ok); }
.points-history .is-minus { color: var(--c-err); }
.past-orders { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.past-order { padding-bottom: var(--s-3); border-bottom: 1px solid var(--c-line); }
.past-order:last-child { border-bottom: 0; padding-bottom: 0; }
.past-order p { margin: 4px 0; }
.past-order-head { display: flex; justify-content: space-between; gap: var(--s-3); }
.account-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.account-foot p { margin: 0; }
.offer-grid { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.offer-card { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; }
.offer-card > .btn { grid-column: 1 / -1; justify-self: start; }
.offer-card h2, .offer-card p { margin: 0 0 4px; }
.offer-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--c-ink-rgb), .06); color: var(--c-accent); }
.offer-code { padding: 2px 8px; border: 1px dashed var(--c-line-2); border-radius: 6px; color: var(--c-ink); }
.offers-points { display: flex; align-items: center; gap: 6px; }
.points-row { display: flex; gap: 10px; align-items: flex-start; margin: var(--s-2) 0; padding: 10px 12px; border: 1px solid var(--c-line-2); border-radius: 10px; cursor: pointer; }
.points-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--c-accent); }
.points-signin { margin: var(--s-2) 0; }
.signed-in-note { margin: 0 0 var(--s-3); }

/* ---------- Light / dark / system switch ---------- */
.mode-btn .mode-ic { display: none; line-height: 0; }
html[data-mode="system"] .mode-ic-system, html[data-mode="light"] .mode-ic-light, html[data-mode="dark"] .mode-ic-dark,
html:not([data-mode]) .mode-ic-system { display: inline-flex; }

/* ── Wave 3: dish choices, order for later, branches, meal plans ── */
.dish-options { display: grid; gap: var(--s-5); }
.opt-legend { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); width: 100%; margin-bottom: var(--s-2); font-weight: 700; }
.opt-hint { font-weight: 500; font-size: .82rem; color: var(--c-muted); }
.size-opt:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.dish-custom { color: var(--c-accent); }
.cart-line-var { font-size: .82rem; color: var(--c-muted); }
.when-pick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.when-pick .field-error { grid-column: 1 / -1; }
.when-pick select { width: 100%; }
.seg input:disabled + span { opacity: .45; cursor: not-allowed; }
.sum-when, .sum-branch { margin: 0 0 var(--s-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sum-when { font-weight: 600; color: var(--c-accent); }
.branch-switch .muted { display: inline-flex; align-items: center; gap: 6px; }
.branch-switch svg, .sum-branch svg { width: 16px; height: 16px; }
.plans-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--s-5); align-items: start; }
.plan-card { display: grid; gap: var(--s-4); padding: var(--s-5); }
.plan-card header p { margin: var(--s-2) 0 0; }
.plan-step { border: 0; margin: 0; padding: 0; }
.plan-step .segmented { margin-bottom: 0; }
.plan-menu dl { display: grid; gap: 4px; margin: var(--s-2) 0 0; }
.plan-menu dl div { display: grid; grid-template-columns: 3.2em 1fr; gap: var(--s-2); }
.plan-menu dt { font-weight: 700; }
.plan-menu dd { margin: 0; }
.day-picks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day-pick input { position: absolute; opacity: 0; pointer-events: none; }
.day-pick span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: var(--r-md); border: 1px solid var(--c-line-2); font-weight: 600; font-size: .85rem; cursor: pointer; }
.day-pick input:checked + span { border-color: var(--c-accent); background: rgba(var(--c-accent-rgb), .12); color: var(--c-accent); }
.day-pick input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.day-pick.is-off span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.plan-start input { width: 100%; }
.plan-card .size-opt { padding-block: 10px; }
.plan-card .size-opt .small { display: block; font-weight: 500; margin-top: 2px; }
.plans-card .past-order-head .mono { white-space: nowrap; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 var(--s-4); cursor: pointer; }
.check-row input { accent-color: var(--c-accent); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.check-row svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; }

@media print {
  .site-header, .site-footer, .cart-bar, .drawer, .scene-stage, .hero-scene { display: none !important; }
  body { background: #fff; color: #000; }
}
