/* Storefront styles.
   A bright food-ordering look: soft grey page, white rounded cards, one warm amber
   for every action and a tomato red kept for offers and warnings. Photos do the
   selling; where a dish has no photo, a tinted tile with the section's icon stands in. */

:root {
    --bg: #f6f6f9;
    --surface: #ffffff;
    --ink: #1d2230;
    --ink-soft: #5b6275;
    --ink-faint: #8a90a0;
    --line: #e9eaf0;
    --line-strong: #c9ccd8;

    --brand: #ffb319;
    --brand-deep: #f59f00;
    --brand-wash: #fff4d8;
    --on-brand: #1d2230;

    --accent: #d92338;
    --accent-deep: #b3182b;
    --accent-wash: #fde8eb;

    --leaf: #1b7f45;
    --leaf-wash: #e2f5e9;
    --sky-wash: #e6f0ff;

    --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgb(29 34 48 / 0.05), 0 4px 12px rgb(29 34 48 / 0.05);
    --shadow-md: 0 2px 4px rgb(29 34 48 / 0.05), 0 12px 28px rgb(29 34 48 / 0.10);
    --shadow-lg: 0 24px 60px rgb(29 34 48 / 0.28);

    --head-height: 4.25rem;
    --cats-height: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-height) + var(--cats-height) + 1rem); }

body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
button, a, input, select, textarea, summary { touch-action: manipulation; }

h1, h2, h3 { font-family: var(--font); line-height: 1.15; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }

a { color: var(--accent-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 0.75rem; top: -4rem; z-index: 60; background: var(--ink); color: #fff; padding: 0.5rem 0.9rem; border-radius: var(--radius); }
.skip-link:focus { top: 0.75rem; color: #fff; }

.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.wrap-narrow { max-width: 40rem; }
.page-pad { padding-block: 1.75rem 3.5rem; }
.stack { display: grid; gap: 1.1rem; }

/* ---------- Header ---------- */

.site-head { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head-inner { display: flex; align-items: center; gap: 1rem 2rem; min-height: var(--head-height); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: none; border-radius: 0.8rem; background: var(--brand); color: var(--on-brand); }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-logo { display: block; height: 2.9rem; width: auto; max-width: 14rem; object-fit: contain; flex: none; }
.brand-logo-chip { height: 2.25rem; padding: 0.2rem; border-radius: 0.6rem; background: #fff; }
/* A logo with its own background sits straight on the dark footer; only a see-through logo gets a light plate, so dark lettering stays readable. */
.footer-logo { display: block; height: 3.5rem; width: auto; max-width: 14rem; object-fit: contain; margin-bottom: 1rem; border-radius: 0.5rem; }
.footer-logo.has-plate { padding: 0.4rem 0.6rem; background: #fff; border-radius: 0.75rem; }
.brand-logo-solid { height: 2.25rem; border-radius: 0.4rem; }

.site-nav { display: flex; gap: 0.25rem; margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.95rem; border-radius: 999px; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.site-nav a:hover { color: var(--ink); background: var(--bg); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--brand-wash); }

.site-tools { display: flex; align-items: center; gap: 0.75rem; }
.open-pill { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.25rem; padding: 0 0.85rem; border-radius: 999px; background: var(--bg); font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.open-dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--brand-deep); flex: none; }
.status-open .open-dot, .open-dot.status-open { background: var(--leaf); box-shadow: 0 0 0 4px rgb(27 127 69 / 0.16); }
.status-closed .open-dot, .status-paused .open-dot, .open-dot.status-closed, .open-dot.status-paused { background: var(--accent); }

.cart-btn { position: relative; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 0.9rem; background: var(--ink); color: #fff; transition: background-color 0.15s, transform 0.15s; }
.cart-btn:hover { color: #fff; background: #000; }
.cart-btn:active { transform: scale(0.96); }
.cart-count { position: absolute; top: -0.35rem; right: -0.35rem; min-width: 1.35rem; height: 1.35rem; padding: 0 0.3rem; display: grid; place-items: center; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 0.72rem; font-weight: 700; border: 2px solid #fff; font-variant-numeric: tabular-nums; }

.tabbar { display: none; }

/* ---------- Buttons ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0.55rem 1.3rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: 600 0.95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 6px 16px rgb(245 159 0 / 0.32); }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--on-brand); }
.btn-block { width: 100%; }
.btn-large { min-height: 3.4rem; padding-inline: 1.6rem; font-size: 1.02rem; border-radius: 14px; }
.btn-small { min-height: 2.5rem; padding: 0.35rem 0.95rem; font-size: 0.88rem; }
.btn-danger { border-color: var(--accent); color: var(--accent-deep); }
.btn-danger:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.btn[disabled]:hover { border-color: var(--line-strong); }
.btn-primary[disabled]:hover { background: var(--brand); border-color: var(--brand); }
.btn.is-busy { cursor: progress; opacity: 0.7; }

.btn-add { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 0.85rem; background: var(--brand); color: var(--on-brand); font: 600 0.88rem/1 var(--font); text-decoration: none; cursor: pointer; box-shadow: 0 4px 10px rgb(245 159 0 / 0.35); transition: background-color 0.15s, transform 0.15s; }
.btn-add:hover { background: var(--brand-deep); color: var(--on-brand); }
.btn-add:active { transform: scale(0.94); }
.btn-add-wide { width: auto; padding: 0 1rem; }
.btn-add[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* ---------- Home: hero ---------- */
/* A dark stage so the food photo is the brightest thing on the page: warm glows behind it,
   the headline's last words in amber, and the three promises on frosted cards along the bottom. */

.hero { position: relative; isolation: isolate; overflow: hidden; background: #12141c; color: #fff; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(38rem 30rem at 78% 42%, rgb(255 179 25 / 0.26), transparent 65%),
    radial-gradient(30rem 24rem at 96% 96%, rgb(217 35 56 / 0.34), transparent 70%),
    radial-gradient(34rem 26rem at -6% -10%, rgb(217 35 56 / 0.22), transparent 70%); }
.hero-glow::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 0%, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, transparent 100%); }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 2rem 3rem; padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.hero-copy { display: grid; gap: 1.3rem; justify-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--brand-wash); color: #6b4700; font-size: 0.85rem; font-weight: 600; }
.hero .eyebrow { background: rgb(255 255 255 / 0.1); color: #fff; border: 1px solid rgb(255 255 255 / 0.16); backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; max-width: 13ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 { padding-bottom: 0.12em; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.08em; height: 0.12em; border-radius: 999px; background: var(--accent); transform: rotate(-1deg); }
.hero-lead { font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem); color: rgb(255 255 255 / 0.78); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .btn-primary { box-shadow: 0 10px 30px rgb(255 179 25 / 0.35); }
.btn-ghost { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.35); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero :focus-visible { outline-color: #fff; }
.hero .hero-rating { color: rgb(255 255 255 / 0.75); }
.hero .hero-rating strong { color: #fff; }
.hero .stars { color: rgb(255 255 255 / 0.25); }

.hero-art { position: relative; aspect-ratio: 1; width: min(100%, 31rem); justify-self: center; display: grid; place-items: center; }
.hero-ring { position: absolute; inset: 1%; border-radius: 50%; border: 2px dashed rgb(255 255 255 / 0.28); animation: hero-spin 60s linear infinite; }
.hero-disc { position: absolute; inset: 9%; border-radius: 50%; background: conic-gradient(from 210deg, var(--brand), #ff7a18, var(--accent), var(--brand)); filter: blur(2px); box-shadow: 0 0 80px rgb(255 140 25 / 0.45); }
.hero-photo { position: relative; width: 76%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 0.5rem solid #12141c; box-shadow: 0 30px 60px rgb(0 0 0 / 0.55); animation: hero-float 7s ease-in-out infinite; }
.hero-photo-empty { display: grid; place-items: center; background: #1d202c; color: var(--brand); }
.hero-glyph { width: 42%; height: 42%; stroke-width: 1.1; }
@keyframes hero-spin { to { transform: rotate(360deg); } }
@keyframes hero-float { 50% { transform: translateY(-0.6rem); } }

.hero-sticker { position: absolute; left: 4%; top: 6%; display: grid; place-content: center; justify-items: center; width: 6.25rem; height: 6.25rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.1; transform: rotate(-12deg); box-shadow: 0 12px 28px rgb(217 35 56 / 0.5); outline: 2px dashed rgb(255 255 255 / 0.6); outline-offset: -0.5rem; }
.hero-sticker b { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hero-sticker-text b { font-size: 1.4rem; }

.hero-chip { position: absolute; display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.95rem 0.6rem 0.6rem; border-radius: 1rem; background: rgb(255 255 255 / 0.96); box-shadow: 0 14px 34px rgb(0 0 0 / 0.4); font-size: 0.8rem; color: var(--ink-soft); line-height: 1.3; max-width: 15rem; }
.hero-chip b { display: block; color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.hero-chip-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex: none; border-radius: 0.75rem; background: var(--brand-wash); color: var(--brand-deep); }
.hero-chip-dish { left: -3%; bottom: 9%; }
.hero-chip-time { right: -3%; top: 12%; }
.hero-chip-time .hero-chip-icon { background: var(--leaf-wash); color: var(--leaf); }

.hero-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem; padding-bottom: clamp(1.75rem, 4vw, 3rem); }
.hero-facts li { display: flex; align-items: center; gap: 0.9rem; padding: 0.95rem 1.1rem; border-radius: var(--radius-lg); background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.12); backdrop-filter: blur(8px); font-size: 0.88rem; color: rgb(255 255 255 / 0.72); line-height: 1.4; }
.hero-facts strong { display: block; color: #fff; font-weight: 600; font-size: 0.98rem; }
.hero-fact-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 0.85rem; background: var(--brand); color: var(--on-brand); }

/* ---------- Home: sections ---------- */

.band { padding-block: clamp(1.75rem, 4vw, 3rem); }
.band-tight { padding-block: 0.5rem 1rem; }
.band-soft { background: #fff; border-block: 1px solid var(--line); }
.band-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.band-head h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); }
.band-more { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; font-weight: 600; font-size: 0.92rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.band-more:hover { color: var(--accent-deep); }
.band-more .icon { width: 1rem; height: 1rem; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 1rem; }
.tile { display: grid; justify-items: center; gap: 0.3rem; padding: 1.35rem 0.75rem 1.15rem; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); text-align: center; text-decoration: none; border: 1.5px solid transparent; transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s; }
.tile:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--ink); }
.tile-icon { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; margin-bottom: 0.35rem; border-radius: 50%; background: var(--brand-wash); color: var(--brand-deep); }
.tile-icon .icon { width: 1.75rem; height: 1.75rem; }
.tile-name { font-weight: 600; line-height: 1.25; }
.tile-count { font-size: 0.82rem; color: var(--ink-soft); }

.promos { display: grid; gap: 1rem; }
.promos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.promos-3 { grid-template-columns: 1.3fr 1fr 1fr; }
.promo { position: relative; display: grid; align-content: start; gap: 0.4rem; min-height: 11rem; padding: 1.5rem 1.6rem; border-radius: var(--radius-lg); overflow: hidden; }
.promo::after { content: ""; position: absolute; right: -3.5rem; bottom: -4.5rem; width: 12rem; height: 12rem; border-radius: 50%; background: rgb(255 255 255 / 0.2); pointer-events: none; }
.promo-amber { background: var(--brand); color: var(--on-brand); }
.promo-green { background: #17783f; color: #fff; }
.promo-red { background: #a3162a; color: #fff; }
.promo-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 0.8rem; background: rgb(255 255 255 / 0.28); margin-bottom: 0.4rem; }
.promo-title { font-size: 1.35rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.promo-text { max-width: 34ch; }
.promo-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: auto; padding-top: 0.8rem; font-size: 0.9rem; font-weight: 600; }
.promo-foot a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; }
.promo-foot a:hover { background: #000; color: #fff; }
.promo-code code { font: 700 0.9rem/1 var(--font); letter-spacing: 0.04em; background: #fff; color: var(--ink); padding: 0.25rem 0.5rem; border-radius: 6px; border: 1.5px dashed var(--ink); }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: none; }
.how li { display: grid; gap: 0.45rem; align-content: start; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--bg); }
.how-no { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 0.85rem; background: var(--brand); color: var(--on-brand); font-weight: 700; margin-bottom: 0.4rem; }
.how h3 { font-size: 1.1rem; }
.how p { color: var(--ink-soft); font-size: 0.95rem; }

.visit { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
.visit-copy { display: grid; gap: 1rem; justify-items: start; }
.visit-copy h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.visit-about { color: var(--ink-soft); max-width: 58ch; }
.visit-facts { display: grid; gap: 0.75rem; }
.visit-facts li { display: flex; gap: 0.9rem; align-items: center; padding: 1rem 1.15rem; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.visit-facts .icon { width: 2.6rem; height: 2.6rem; padding: 0.65rem; border-radius: 0.8rem; background: var(--brand-wash); color: var(--brand-deep); }
.visit-facts strong { display: block; font-weight: 600; font-size: 0.82rem; color: var(--ink-soft); }
.visit-facts a { color: var(--ink); font-weight: 600; }

/* ---------- Order options bar: delivery or collection, when, group order ---------- */

.optbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.optbar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; padding-block: 0.85rem; }

.segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(6.5rem, 1fr); align-items: stretch; gap: 0; margin: 0; padding: 4px; border-radius: 999px; background: var(--bg); box-sizing: border-box; vertical-align: middle; }
/* Every browser default that could nudge the pill is reset: Safari gives buttons a margin and its own appearance. */
.segmented button { -webkit-appearance: none; appearance: none; box-sizing: border-box; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; width: 100%; min-height: 44px; padding: 4px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font: 600 0.95rem/1.15 var(--font); text-align: center; white-space: nowrap; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.segmented button span { display: block; line-height: 1.15; }
.segmented button small { display: block; font: 500 0.68rem/1 var(--font); text-transform: uppercase; letter-spacing: 0.05em; }
.segmented button:hover { color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); box-shadow: 0 2px 6px rgb(245 159 0 / 0.35); }

.picker { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.9rem; padding: 0.35rem 1.1rem; border: 1.5px solid var(--line-strong); border-radius: 2rem; background: var(--surface); font-weight: 600; font-size: 0.93rem; cursor: pointer; list-style: none; transition: border-color 0.15s; }
.pill::-webkit-details-marker { display: none; }
.pill::after { content: ""; width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.12rem) rotate(45deg); margin-left: 0.15rem; }
.picker[open] > .pill { border-color: var(--ink); }
.picker[open] > .pill::after { transform: translateY(0.1rem) rotate(-135deg); }
.pill:hover { border-color: var(--ink); }
.pill.is-on { background: var(--brand-wash); border-color: var(--brand-deep); }
.pill-label { font: 600 0.68rem/1 var(--font); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); }
.pill.is-on .pill-label { color: var(--ink); }

.picker-panel { position: absolute; z-index: 35; top: calc(100% + 0.5rem); left: 0; width: min(20rem, calc(100vw - 2rem)); padding: 1.15rem; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); font-size: 0.95rem; }
.picker-panel-wide { width: min(24rem, calc(100vw - 2rem)); }

.preorder-banner { background: var(--brand-wash); border-top: 1px solid #f4dfa0; font-weight: 600; color: #5a3d00; }
.preorder-banner .wrap { padding-block: 0.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.preorder-tag { display: inline-block; background: var(--ink); color: #fff; font: 600 0.68rem/1 var(--font); text-transform: uppercase; letter-spacing: 0.08em; padding: 0.42rem 0.6rem; border-radius: 999px; }

.offer-strip { background: var(--leaf-wash); color: #0f4a2c; border-bottom: 1px solid #c4e6d1; font-weight: 600; font-size: 0.92rem; }
.offer-strip .wrap { padding-block: 0.65rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem; }
.offer-strip span { display: inline-flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.offer-strip .icon { width: 1rem; height: 1rem; }
.offer-strip code { font: 700 0.85rem/1 var(--font); letter-spacing: 0.04em; background: #fff; padding: 0.2rem 0.45rem; border-radius: 6px; border: 1px dashed #0f4a2c; }

/* ---------- Section nav ---------- */

.cats { position: sticky; top: var(--head-height); z-index: 30; background: rgb(246 246 249 / 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.cats-inner { display: flex; gap: 0.5rem; overflow-x: auto; min-height: var(--cats-height); align-items: center; scrollbar-width: none; }
.cats-inner::-webkit-scrollbar { display: none; }
.cats a { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.9rem; padding: 0 1rem 0 0.35rem; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; text-decoration: none; white-space: nowrap; transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s; }
.cats-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--brand-wash); color: var(--brand-deep); transition: background-color 0.2s, color 0.2s; }
.cats a .icon { width: 1.1rem; height: 1.1rem; }
.cats a small { font-size: 0.72rem; font-weight: 600; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--bg); color: var(--ink-soft); }
.cats a:hover { color: var(--ink); border-color: var(--line-strong); }
.cats a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 6px 16px rgb(29 34 48 / 0.25); }
.cats a.is-current .cats-icon { background: var(--brand); color: var(--on-brand); }
.cats a.is-current small { background: rgb(255 255 255 / 0.16); color: #fff; }

/* ---------- Layout ---------- */

.shop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 23rem; gap: 2rem; align-items: start; padding-block: 1.75rem 3.5rem; }
.page-pad .shop-grid { padding-block: 0; }
.basket-col { position: sticky; top: calc(var(--head-height) + var(--cats-height) + 1.25rem); }
.page-pad .basket-col { top: calc(var(--head-height) + 1.25rem); }

.flashes { padding-top: 1.25rem; }
.notice { padding: 0.85rem 1.1rem; border-radius: var(--radius); font-weight: 500; margin-bottom: 1rem; display: flex; gap: 0.6rem; align-items: flex-start; }
.notice-success { background: var(--leaf-wash); color: #0f4a2c; }
.notice-error { background: var(--accent-wash); color: #7c1020; }
.flashes .notice:last-child { margin-bottom: 0; }

.page-title { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); margin-bottom: 1.25rem; }
.back { font-weight: 600; margin-bottom: 0.9rem; }
.back a { color: var(--ink); text-decoration: none; }
.back a:hover { text-decoration: underline; }
.back a::before { content: "← "; }

.sheet { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 1.85rem); box-shadow: var(--shadow-sm); }
.blank { background: var(--surface); border-radius: var(--radius-lg); padding: 2.5rem clamp(1.25rem, 4vw, 3rem); margin-block: 2rem 3rem; display: grid; gap: 0.75rem; box-shadow: var(--shadow-sm); }
.blank p { color: var(--ink-soft); max-width: 55ch; }

/* ---------- Dish cards ---------- */

.menu-section + .menu-section { margin-top: 2.75rem; }
.menu-section h2 { display: flex; align-items: center; gap: 0.7rem; font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem); margin-bottom: 1.1rem; }
.menu-section h2 small { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.6rem; letter-spacing: 0; }
.section-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.8rem; background: var(--brand-wash); color: var(--brand-deep); }

.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 1.1rem; }
.dishes-wide { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.dish { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.dish:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.dish-media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; color: var(--brand-deep); }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease-out; }
.dish:hover .dish-media img { transform: scale(1.04); }
.dish-glyph { width: 3.5rem; height: 3.5rem; stroke-width: 1.25; }
.tint-0 { background: var(--brand-wash); color: #b97700; }
.tint-1 { background: var(--accent-wash); color: var(--accent-deep); }
.tint-2 { background: var(--leaf-wash); color: var(--leaf); }
.tint-3 { background: var(--sky-wash); color: #2456b8; }
.dish-flag { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 600; }

.dish-body { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; padding: 1rem 1.1rem 1.1rem; min-width: 0; }
.dish-name { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; overflow-wrap: anywhere; }
.dish-name a { color: var(--ink); text-decoration: none; }
.dish-name a:hover { color: var(--accent-deep); }
.dish-desc { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.5rem; font-size: 0.78rem; color: var(--ink-soft); }
.tag { font: 600 0.7rem/1 var(--font); padding: 0.3rem 0.55rem; border-radius: 999px; background: var(--leaf-wash); color: #0f4a2c; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.6rem; }
.dish-price { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish-from { font-size: 0.72rem; font-weight: 500; color: var(--ink-soft); }
.leader { flex: 1; min-width: 0.75rem; }

.dish.is-sold-out .dish-name a, .dish.is-sold-out .dish-price, .dish.is-sold-out .dish-desc { color: var(--ink-faint); }
.dish.is-sold-out .dish-media { filter: grayscale(1); opacity: 0.65; }
.sold-out { display: inline-block; font: 600 0.75rem/1 var(--font); color: #7c1020; background: var(--accent-wash); padding: 0.45rem 0.7rem; border-radius: 999px; }

/* ---------- The order card ---------- */

.pad { position: relative; }
.pad-sheet { position: relative; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 1.35rem; display: grid; gap: 0.95rem; font-size: 0.93rem; }
.pad.is-fed .pad-sheet { animation: feed 0.22s ease-out; }
@keyframes feed { from { transform: translateY(-8px); opacity: 0.6; } to { transform: translateY(0); opacity: 1; } }

.pad-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); }
.pad-head span:first-child { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.pad-head span:last-child { font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--brand-wash); color: #6b4700; }
.pad-empty { color: var(--ink-soft); }

.pad-lines { display: grid; gap: 0.95rem; }
.pad-line { display: grid; gap: 0.3rem; }
.pad-line-top, .pad-total { display: flex; align-items: baseline; gap: 0.35rem; }
.pad-qty { flex: none; min-width: 2.1em; font-weight: 600; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.pad-name { font-weight: 600; overflow-wrap: anywhere; }
.pad-price { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.pad-options { padding-left: 2.45em; color: var(--ink-soft); font-size: 0.84rem; }
.pad-controls { display: flex; gap: 0.4rem; padding-left: 2.45em; }
.pad-step { min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.7rem; border: 1.5px solid var(--line); border-radius: 0.75rem; background: var(--surface); color: var(--ink); font: 600 0.85rem/1 var(--font); cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.pad-step:hover { border-color: var(--ink); }
.pad-step[disabled] { opacity: 0.4; cursor: not-allowed; }

.pad-person { font: 600 0.75rem/1 var(--font); color: var(--on-brand); background: var(--brand); justify-self: start; padding: 0.35rem 0.6rem; border-radius: 999px; margin-top: 0.2rem; }
.pad-sums { display: grid; gap: 0.35rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.pad-sum { display: flex; align-items: baseline; gap: 0.2rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.pad-sums .pad-total { padding-top: 0.2rem; border-top: 0; }
.pad-total { font-size: 1.15rem; font-weight: 700; padding-top: 0.9rem; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pad-note, .pad-closed { font-size: 0.88rem; color: var(--ink-soft); }
.pad-closed { color: var(--accent-deep); font-weight: 600; }
.pad-saving { color: var(--leaf); font-weight: 600; }
.pad-coupon { font-size: 0.92rem; }
.pad-coupon summary { cursor: pointer; color: var(--accent-deep); font-weight: 600; min-height: 2rem; }
.pad-coupon form { margin-top: 0.5rem; }
.pad-coupon input { text-transform: uppercase; min-width: 0; letter-spacing: 0.04em; }
.pad-coupon-on { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; font-size: 0.92rem; background: var(--leaf-wash); color: #0f4a2c; padding: 0.55rem 0.8rem; border-radius: var(--radius); }
.pad-link { border: 0; background: none; padding: 0.4rem 0; color: inherit; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.pad-postcode { display: grid; gap: 0.4rem; }
.pad-postcode label { font-size: 0.9rem; }
.pad-postcode-row { display: flex; gap: 0.4rem; }
.pad-postcode-row input { min-width: 0; text-transform: uppercase; }

.pad-large .pad-sheet { padding: clamp(1.4rem, 4vw, 2.1rem); font-size: 0.97rem; }
.pad-large .pad-head span:first-child { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.pad-large .pad-head span:last-child { background: none; color: var(--ink-soft); padding: 0; font-weight: 500; font-size: 0.85rem; }
.order-no { font-size: clamp(3.2rem, 2rem + 7vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.order-lead { font-size: 1.05rem; }
.order-status { display: grid; gap: 1rem; }
.order-status[data-status="ready"] .order-lead { background: var(--brand-wash); padding: 0.9rem 1.1rem; border-radius: var(--radius); }
.order-status.is-changed { animation: feed 0.22s ease-out; }
.pay-actions { display: grid; gap: 0.6rem; }
.order-keep { margin: 1.75rem 0 1rem; color: var(--ink-soft); font-size: 0.93rem; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem; font-size: 0.74rem; font-weight: 500; color: var(--ink-faint); }
.steps li { padding-top: 0.6rem; border-top: 5px solid var(--line); border-radius: 3px 3px 0 0; overflow-wrap: anywhere; }
.steps .is-done { border-top-color: var(--ink); color: var(--ink-soft); }
.steps .is-current { border-top-color: var(--brand-deep); color: var(--ink); font-weight: 600; }

/* ---------- Mobile checkout bar ---------- */

.order-bar { display: none; }

/* ---------- Item dialog and product page ---------- */

.item-dialog { width: min(36rem, calc(100vw - 2rem)); max-height: min(46rem, calc(100vh - 2rem)); padding: 1.5rem; border: 0; border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.item-dialog::backdrop { background: rgb(29 34 48 / 0.55); }
.dialog-close { position: sticky; top: 0; float: right; z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); cursor: pointer; margin: 0 0 -2.75rem; }
.dialog-close:hover { background: var(--bg); }
.dialog-loading { color: var(--ink-soft); padding: 2rem 0; }

.item { display: grid; gap: 1.1rem; }
.item-media { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; }
.item-photo { width: 100%; height: 100%; object-fit: cover; }
.item-glyph { width: 5rem; height: 5rem; stroke-width: 1.1; }
.item-info { display: grid; gap: 0.7rem; min-width: 0; }
.item-cat { display: inline-flex; align-items: center; gap: 0.45rem; justify-self: start; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--brand-wash); color: #6b4700; font-size: 0.8rem; font-weight: 600; }
.item-cat .icon { width: 1rem; height: 1rem; }
.item-name { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; }
.item-price { font-size: 1.5rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.item-desc { color: var(--ink-soft); max-width: 60ch; }
.item-allergens { display: grid; gap: 0.5rem; justify-items: start; }
.item-allergens p { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.7rem 0.95rem; border-radius: var(--radius); background: var(--bg); font-size: 0.88rem; color: var(--ink-soft); }
.item-allergens p .icon { color: var(--accent); margin-top: 0.1rem; }
.item-allergens strong { color: var(--ink); font-weight: 600; }
.item-form { display: grid; gap: 1.35rem; margin-top: 0.4rem; }

.choice { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 0.5rem; }
.choice legend { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0 0 0.6rem; font-weight: 700; }
.choice-rule { font: 600 0.7rem/1 var(--font); padding: 0.32rem 0.6rem; border-radius: 999px; background: var(--bg); color: var(--ink-soft); white-space: nowrap; }
.choice-row { display: flex; align-items: center; gap: 0.8rem; min-height: 3.1rem; padding: 0.45rem 0.95rem; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 500; transition: border-color 0.15s, background-color 0.15s; }
.choice-row:hover { border-color: var(--line-strong); }
.choice-row:has(input:checked) { border-color: var(--brand-deep); background: var(--brand-wash); }
.choice-row input { width: 1.3rem; height: 1.3rem; margin: 0; accent-color: var(--ink); flex: none; }
.choice-name { flex: 1; font-size: 0.95rem; }
.choice-price { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }

.item-foot { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; }
.item-submit { flex: 1 1 14rem; min-height: 3.25rem; font-size: 1rem; }
.field-qty { width: auto; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stepper button { display: grid; place-items: center; width: 3rem; height: 3.1rem; border: 0; background: none; color: var(--ink); cursor: pointer; transition: background-color 0.15s; }
.stepper button:hover { background: var(--bg); }
.stepper input[type="number"] { width: 3rem; min-height: 3.1rem; padding: 0; border: 0; border-radius: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.9rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.related { margin-top: 3rem; }

/* ---------- Forms ---------- */

.field { display: grid; gap: 0.4rem; min-width: 0; }
label { font-weight: 600; font-size: 0.92rem; }
.optional { font: 500 0.72rem/1 var(--font); color: var(--ink-soft); margin-left: 0.35rem; }

input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="password"], select, textarea { width: 100%; min-height: 3.1rem; padding: 0.6rem 0.9rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; transition: border-color 0.15s, box-shadow 0.15s; }
textarea { resize: vertical; min-height: 5.5rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 0; border-color: var(--brand-deep); box-shadow: 0 0 0 4px rgb(255 179 25 / 0.3); }

.field-hint { font-size: 0.86rem; color: var(--ink-soft); }
.field-error { font-size: 0.88rem; font-weight: 600; color: var(--accent-deep); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--accent); background: #fff8f9; }

.pay-note { background: var(--bg); border-radius: var(--radius); padding: 0.9rem 1.05rem; font-size: 0.93rem; }
.fieldset { border: 1.5px solid var(--line); border-radius: var(--radius-lg); margin: 0; padding: 1.1rem; min-width: 0; }
.fieldset legend { padding: 0 0.4rem; font-weight: 700; }
.field-postcode { max-width: 11rem; }
.field-postcode input { text-transform: uppercase; }
.postcode-row { display: flex; gap: 0.5rem; align-items: stretch; }
.postcode-row input { max-width: 11rem; text-transform: uppercase; }

.checkout-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.choice-card { display: grid; gap: 0.3rem; padding: 1.1rem 1.2rem; border: 1.5px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.choice-card:hover { border-color: var(--ink); color: var(--ink); }
.choice-card strong { font-size: 1.02rem; font-weight: 600; }
.choice-card span { font-size: 0.88rem; color: var(--ink-soft); }
.choice-card.is-selected { border-color: var(--brand-deep); box-shadow: 0 0 0 4px rgb(255 179 25 / 0.25); }

.order-type { border: 0; margin: 0; padding: 0; min-width: 0; }
.order-type legend { padding: 0; margin-bottom: 0.5rem; font-weight: 700; }
.order-type-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.order-type-option { position: relative; display: block; cursor: pointer; }
.order-type-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.order-type-option span { display: grid; gap: 0.1rem; min-height: 3.6rem; padding: 0.75rem 1rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); font-weight: 600; transition: border-color 0.15s, background-color 0.15s; }
.order-type-option small { font-size: 0.84rem; font-weight: 400; color: var(--ink-soft); }
.order-type-option input:checked + span { border-color: var(--brand-deep); background: var(--brand-wash); box-shadow: 0 0 0 4px rgb(255 179 25 / 0.22); }
.order-type-option input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.js [data-delivery-fields][data-collapsed] { display: none; }

.signin-nudge { margin: -0.5rem 0 1rem; color: var(--ink-soft); }

.page-head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.page-head-row .page-title { margin-bottom: 0; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.sheet-title { font-size: 1.2rem; }
.history { display: grid; gap: 1rem; }
.history-item { display: grid; gap: 0.35rem; padding: 0.95rem 0; border-top: 1px solid var(--line); }
.history-item:first-child { border-top: 0; padding-top: 0; }
.history-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.history-status { font: 600 0.72rem/1 var(--font); padding: 0.35rem 0.65rem; border-radius: 999px; background: var(--bg); color: var(--ink-soft); }
.history-collected { background: var(--leaf-wash); color: #0f4a2c; }
.history-cancelled { background: var(--accent-wash); color: #7c1020; }
.history-received, .history-preparing, .history-ready { background: var(--brand-wash); color: #6b4700; }
.history-meta, .history-items { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Toast ---------- */

.toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 70; transform: translateX(-50%); display: flex; align-items: center; gap: 0.9rem; width: max-content; max-width: calc(100vw - 2rem); padding: 0.55rem 0.6rem 0.55rem 1.25rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: 0.92rem; box-shadow: var(--shadow-lg); animation: toast-in 0.22s ease-out; }
.toast > span { padding-block: 0.3rem; }
.toast-action { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none; white-space: nowrap; }
.toast-action:hover { background: #fff; color: var(--ink); }
.toast-action .icon { width: 1rem; height: 1rem; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 0.75rem); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: #c5c9d6; font-size: 0.92rem; margin-top: 1rem; }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 2rem 3rem; padding-block: 2.75rem 3rem; }
.footer-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 0.75rem; }
.footer-line { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.45rem; }
.footer-line .icon { color: var(--brand); margin-top: 0.15rem; width: 1.1rem; height: 1.1rem; }
.footer-head { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 0.75rem; }
.footer-hours { margin: 0; display: grid; gap: 0.2rem; max-width: 17rem; }
.footer-hours div { display: flex; justify-content: space-between; gap: 1rem; }
.footer-hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.footer-hours .is-today { color: var(--brand); font-weight: 600; }
.footer-allergy { max-width: 52ch; }
.footer a { color: #fff; }
.footer :focus-visible { outline-color: var(--brand); }

/* ---------- Small screens ---------- */

@media (max-width: 64rem) {
    .promos-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .promos-3 .promo:first-child { grid-column: 1 / -1; }
}

@media (max-width: 60rem) {
    .shop-grid, .account-grid { grid-template-columns: minmax(0, 1fr); }
    .checkout-choice { grid-template-columns: minmax(0, 1fr); }
    .basket-col { position: static; scroll-margin-top: calc(var(--head-height) + var(--cats-height) + 1rem); }
    .page-pad .basket-col { top: auto; }

    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-art { order: -1; width: min(78%, 22rem); }
    .hero-copy { justify-items: center; text-align: center; }
    .hero h1 { max-width: 18ch; }
    .hero-actions { justify-content: center; }
    .hero h1 { max-width: 16ch; }
    .hero-chip-dish { left: -6%; }
    .hero-chip-time { right: -6%; }
    .visit { grid-template-columns: minmax(0, 1fr); }
    .how { grid-template-columns: minmax(0, 1fr); }

    /* Phones and small tablets: the main links move to a bar under the thumb. */
    .site-nav { display: none; }
    .site-tools { margin-left: auto; }
    .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
    .tabbar a { display: grid; justify-items: center; gap: 0.15rem; min-height: 3.6rem; padding: 0.5rem 0.25rem 0.4rem; color: var(--ink-soft); font-size: 0.72rem; font-weight: 600; text-decoration: none; }
    .tabbar a[aria-current="page"] { color: var(--ink); }
    .tabbar a[aria-current="page"] .icon { color: var(--brand-deep); }
    .tabbar-count { display: inline-block; min-width: 1.2rem; padding: 0 0.3rem; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
    body { padding-bottom: calc(3.6rem + env(safe-area-inset-bottom, 0px)); }
    .toast { bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }

    /* The order card drops below the menu; this bar jumps to it, or to checkout. */
    .order-bar { position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(4.2rem + env(safe-area-inset-bottom, 0px)); z-index: 44; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: 0.75rem 1.2rem; border-radius: 1rem; background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgb(29 34 48 / 0.3); }
    .order-bar:hover { color: var(--on-brand); background: var(--brand-deep); }
    .order-bar [data-basket-total] { font-variant-numeric: tabular-nums; }
    .order-bar:not([hidden]) ~ .toast { bottom: calc(8.4rem + env(safe-area-inset-bottom, 0px)); }
    .footer-inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 6rem; }
}

@media (max-width: 36rem) {
    :root { --head-height: 3.75rem; }
    .brand { font-size: 1.1rem; }
    .brand-mark { width: 2.1rem; height: 2.1rem; border-radius: 0.7rem; }
    .brand-logo { height: 2.5rem; max-width: 11rem; }
    /* The shop name needs the room; the hero, the options bar and the footer all say whether we are open. */
    .open-pill { display: none; }
    .promos-2, .promos-3 { grid-template-columns: minmax(0, 1fr); }
    .tiles { grid-auto-flow: column; grid-auto-columns: 8.75rem; grid-template-columns: none; overflow-x: auto; margin-inline: calc(-1 * clamp(1rem, 3vw, 2rem)); padding: 0.25rem clamp(1rem, 3vw, 2rem) 1rem; scrollbar-width: none; scroll-snap-type: x proximity; }
    .tiles::-webkit-scrollbar { display: none; }
    .tiles li { scroll-snap-align: start; }
    .hero-chip { font-size: 0.72rem; padding: 0.45rem 0.7rem 0.45rem 0.45rem; }
    .hero-chip b { font-size: 0.82rem; }
    .hero-chip-icon { width: 2rem; height: 2rem; }
    .hero-sticker { width: 4.9rem; height: 4.9rem; font-size: 0.68rem; }
    .hero-sticker b { font-size: 1.4rem; }
    /* The three promises become one swipeable row, so the hero stays about a screen tall. */
    .hero-facts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 15.5rem; overflow-x: auto; margin-inline: calc(-1 * clamp(1rem, 3vw, 2rem)); padding-inline: clamp(1rem, 3vw, 2rem); scrollbar-width: none; scroll-snap-type: x proximity; }
    .hero-facts::-webkit-scrollbar { display: none; }
    .hero-facts li { padding: 0.75rem 0.9rem; scroll-snap-align: start; backdrop-filter: none; }
    .hero-art { width: min(70%, 19rem); }
    .hero-inner { gap: 1.25rem; padding-top: 1.5rem; }
    .hero-copy { gap: 1rem; }

    /* Cards turn into rows so more of the menu fits on a phone screen. */
    .dishes, .dishes-wide { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
    .dish { flex-direction: row-reverse; align-items: stretch; }
    .dish:hover { transform: none; }
    .dish-media { width: 7rem; flex: none; aspect-ratio: auto; min-height: 7rem; border-radius: 0; }
    .dish-glyph { width: 2.4rem; height: 2.4rem; }
    .dish-flag { top: 0.5rem; left: 0.5rem; font-size: 0.65rem; padding: 0.22rem 0.5rem; }
    .dish-body { padding: 0.85rem 0.95rem; }

    .item-dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 1.4rem 1.4rem 0 0; max-height: 90vh; max-height: 90dvh; padding: 1.1rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom, 0px)); }
    .steps { font-size: 0.66rem; }
    .optbar-inner { gap: 0.5rem; }
    .segmented { display: grid; width: 100%; grid-auto-columns: 1fr; }
    .picker { flex: 1 1 auto; }
    .pill { width: 100%; justify-content: space-between; }
    .picker-panel { left: 0; right: 0; width: auto; }
    .picker-panel-wide { width: auto; }
    .preorder-banner .wrap { padding-block: 0.65rem; font-size: 0.9rem; }
    .pad-sheet { padding: 1.1rem; }
    .order-no { font-size: 3rem; }
    .pad-large .pad-sheet { padding: 1.25rem 1.1rem; }
    .item-foot { position: sticky; bottom: 0; z-index: 1; flex-wrap: nowrap; align-items: center; gap: 0.6rem; background: var(--surface); padding-block: 0.75rem; margin-bottom: -0.75rem; border-top: 1px solid var(--line); }
    .item-foot .field-qty label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .item-foot .stepper button { width: 2.6rem; }
    .item-foot .stepper input[type="number"] { width: 2.2rem; }
    .item-submit { flex: 1 1 0; min-width: 0; padding-inline: 0.6rem; font-size: 0.93rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Order tracking map on the order page ---------- */

.pad-sheet .track { margin-block: 0.25rem; }

/* ---------- Driver's page ---------- */

.driver-body { padding-bottom: 2rem; }
.driver-head { display: flex; align-items: center; gap: 0.7rem; padding: 0.9rem 1rem; background: var(--ink); color: #fff; font-weight: 600; }
.driver-main { display: grid; gap: 0.9rem; max-width: 34rem; margin-inline: auto; padding: 1rem; }
.driver-card { display: grid; gap: 0.85rem; padding: 1.2rem; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.driver-card h1 { font-size: 1.7rem; }
.driver-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.driver-address { display: flex; gap: 0.7rem; font-size: 1.1rem; line-height: 1.4; }
.driver-address .icon { color: var(--accent); margin-top: 0.2rem; }
.driver-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.6rem; }
.driver-pay { display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem; border-radius: var(--radius); background: var(--brand-wash); color: #5a3d00; font-weight: 500; }
.driver-pay strong { font-size: 1.15rem; color: var(--ink); }
.driver-pay.is-paid { background: var(--leaf-wash); color: #0f4a2c; }
.driver-note { padding: 0.85rem 1rem; border-radius: var(--radius); background: var(--bg); }
.driver-state { font-weight: 500; }
.driver-items { display: grid; gap: 0.45rem; }
.driver-items b { color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.driver-items small { display: block; color: var(--ink-soft); padding-left: 1.9rem; }
.btn-done { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.btn-done:hover { background: #14653a; border-color: #14653a; color: #fff; }

/* ---------- Reviews and ratings ---------- */

.stars { display: inline-flex; gap: 0.1rem; color: #d3d6e0; vertical-align: middle; }
.stars .star { width: 1.05rem; height: 1.05rem; }
.stars .star.is-on { color: var(--brand-deep); fill: var(--brand); }
.stars-large .star { width: 1.6rem; height: 1.6rem; }

.hero-rating { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; color: var(--ink-soft); font-size: 0.92rem; text-decoration: none; }
.hero-rating strong { color: var(--ink); }
.hero-rating:hover span { text-decoration: underline; }

.reviews { display: grid; gap: 1rem; }
.reviews-row { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.review { display: grid; gap: 0.75rem; align-content: start; padding: 1.25rem; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.review-head { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.review-head .stars { margin-left: auto; }
.review-avatar { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; background: var(--brand-wash); color: #6b4700; font-weight: 700; }
.review-name { font-weight: 600; line-height: 1.3; }
.review-date { font-size: 0.8rem; color: var(--ink-soft); }
.review-text { color: var(--ink); overflow-wrap: anywhere; }
.review-reply { padding: 0.8rem 1rem; border-radius: var(--radius); background: var(--bg); font-size: 0.92rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.review-reply strong { color: var(--ink); font-weight: 600; }

.reviews-layout { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.rating-box { display: grid; gap: 0.6rem; justify-items: center; text-align: center; position: sticky; top: calc(var(--head-height) + 1.25rem); }
.rating-big { font-size: 3.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rating-count { font-size: 0.88rem; color: var(--ink-soft); }
.rating-bars { width: 100%; margin: 0.5rem 0 0.75rem; display: grid; gap: 0.4rem; font-size: 0.85rem; }
.rating-bars div { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); align-items: center; gap: 0.5rem; text-align: left; }
.rating-bars dd { margin: 0; display: flex; align-items: center; gap: 0.5rem; font-variant-numeric: tabular-nums; }
.rating-bars meter { flex: 1; height: 0.6rem; border: 0; border-radius: 999px; background: var(--line); overflow: hidden; -webkit-appearance: none; appearance: none; }
.rating-bars meter::-webkit-meter-bar { background: var(--line); border: 0; border-radius: 999px; height: 0.6rem; }
.rating-bars meter::-webkit-meter-optimum-value { background: var(--brand); border-radius: 999px; }
.rating-bars meter::-moz-meter-bar { background: var(--brand); border-radius: 999px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; color: var(--ink-soft); font-size: 0.92rem; }

.review-box { margin-top: 1.5rem; display: grid; gap: 0.9rem; scroll-margin-top: calc(var(--head-height) + 1rem); }
/* Stars are radio buttons laid out right to left, so "this one and all before it" is a plain sibling selector. */
.star-input { border: 0; margin: 0; padding: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.15rem; position: relative; padding-top: 1.7rem; }
.star-input legend { position: absolute; top: 0; left: 0; padding: 0; font-weight: 600; font-size: 0.92rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.75rem; color: #c9ccd8; cursor: pointer; transition: color 0.15s, transform 0.15s; }
.star-input label .icon { width: 2.1rem; height: 2.1rem; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--brand-deep); }
.star-input label:hover .icon, .star-input label:hover ~ label .icon, .star-input input:checked ~ label .icon { fill: var(--brand); }
.star-input label:active { transform: scale(0.92); }
.star-input input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; }

@media (max-width: 60rem) {
    .reviews-layout { grid-template-columns: minmax(0, 1fr); }
    .rating-box { position: static; }
}

/* ---------- Home: promotion banner ---------- */
/* A low, wide sales strip: the number that sells on a ticket at the left, the pitch in the middle,
   the code and the button together at the right, and the dish leaning in from the corner. */

.band-banner { padding-block: clamp(1.25rem, 3vw, 2rem) 0; }
.banner { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto 10.5rem; align-items: center; gap: 1rem clamp(1.25rem, 2.5vw, 2.25rem); min-height: 10.5rem; padding: 1.1rem clamp(1.1rem, 2.5vw, 2rem); border-radius: 1.5rem; overflow: hidden; color: #fff; background: linear-gradient(100deg, #8f0d24 0%, #c21d2b 48%, #cf3518 100%); box-shadow: 0 16px 36px rgb(160 24 28 / 0.3); }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(18rem 12rem at 88% 50%, rgb(255 179 25 / 0.55), transparent 70%),
    radial-gradient(14rem 9rem at 0% 0%, rgb(255 255 255 / 0.12), transparent 70%); }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgb(255 255 255 / 0.14) 1px, transparent 1.5px); background-size: 18px 18px; mask-image: linear-gradient(90deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); }
.banner-plain { grid-template-columns: auto minmax(0, 1fr) auto; }

/* The ticket: amber, tilted, with punched sides */
.banner-badge { position: relative; display: grid; justify-items: center; align-content: center; width: 7.75rem; height: 7.75rem; margin: 0; border-radius: 1.1rem; background: var(--brand); color: var(--on-brand); text-align: center; line-height: 1; transform: rotate(-5deg); box-shadow: 0 10px 22px rgb(60 0 10 / 0.35); -webkit-mask: radial-gradient(circle 0.55rem at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 0.55rem at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 0.55rem at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 0.55rem at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.banner-badge small { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.banner-badge b { font-size: 2.7rem; font-weight: 800; letter-spacing: -0.05em; margin-block: 0.1rem 0.15rem; font-variant-numeric: tabular-nums; }
.banner-badge.is-wordy b { font-size: 1.5rem; letter-spacing: -0.03em; }

.banner-copy { display: grid; gap: 0.35rem; justify-items: start; min-width: 0; }
.banner h2 { font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.banner-text { color: rgb(255 255 255 / 0.92); font-size: 0.95rem; max-width: 52ch; }
.banner-ends { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: #fff; color: #8f0d24; font-size: 0.75rem; font-weight: 700; }
.banner-ends .icon { width: 0.9rem; height: 0.9rem; }
.banner-points { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: 0.25rem; font-size: 0.82rem; font-weight: 500; color: rgb(255 255 255 / 0.95); }
.banner-points li { display: inline-flex; align-items: center; gap: 0.3rem; }
.banner-points .icon { width: 0.95rem; height: 0.95rem; color: var(--brand); stroke-width: 3; }

.banner-cta { display: grid; gap: 0.55rem; justify-items: stretch; min-width: 11rem; }
.banner-btn { min-height: 3.25rem; padding-inline: 1.6rem; border: 0; border-radius: 0.95rem; background: var(--brand); color: var(--on-brand); font-size: 1.02rem; font-weight: 700; box-shadow: 0 8px 20px rgb(60 0 10 / 0.35); }
.banner-btn:hover { background: #fff; color: #8f0d24; }
.banner-btn .icon { transition: transform 0.2s; }
.banner-btn:hover .icon { transform: translateX(3px); }
.banner-code { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 0.5rem; padding: 0.4rem 0.75rem; border: 1.5px dashed rgb(255 255 255 / 0.85); border-radius: 0.8rem; background: rgb(0 0 0 / 0.18); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background-color 0.15s; }
.banner-code:hover { background: rgb(0 0 0 / 0.32); }
.banner-code small { font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.85; }
.banner-code code { font: 800 1.05rem/1.2 var(--font); letter-spacing: 0.08em; }
.banner-code span { grid-column: 1 / -1; font-size: 0.7rem; opacity: 0.85; }
.banner :focus-visible { outline-color: #fff; }

.banner-plate { position: relative; align-self: stretch; }
.banner-photo { position: absolute; right: -1.75rem; top: 50%; translate: 0 -50%; width: 12.5rem; max-width: none; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 0.35rem solid rgb(255 255 255 / 0.95); box-shadow: 0 14px 30px rgb(40 0 10 / 0.45); transition: transform 0.4s ease-out; }
.banner:hover .banner-photo { transform: rotate(-5deg) scale(1.04); }
.banner-price { position: absolute; left: -1.1rem; bottom: 0.4rem; display: grid; justify-items: center; padding: 0.35rem 0.7rem; border-radius: 0.8rem; background: #fff; color: var(--ink); font-size: 1.02rem; font-weight: 800; line-height: 1.1; box-shadow: 0 6px 16px rgb(40 0 10 / 0.35); transform: rotate(6deg); font-variant-numeric: tabular-nums; }
.banner-price small { font-size: 0.58rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }

@media (max-width: 64rem) {
    .banner { grid-template-columns: auto minmax(0, 1fr) auto; }
    .banner-plate { display: none; }
}
@media (max-width: 44rem) {
    /* Phones: ticket and pitch side by side, then the code and the button across the bottom. */
    .banner { grid-template-columns: auto minmax(0, 1fr); gap: 0.85rem 1rem; min-height: 0; padding: 1rem; border-radius: 1.25rem; }
    .banner-badge { width: 5.4rem; height: 5.4rem; border-radius: 0.9rem; }
    .banner-badge b { font-size: 1.8rem; }
    .banner-badge.is-wordy b { font-size: 1.05rem; }
    .banner-badge small { font-size: 0.58rem; }
    .banner-text { display: none; }
    .banner-points { font-size: 0.76rem; gap: 0.15rem 0.7rem; }
    .banner-points li:nth-child(n+3) { display: none; }
    .banner-cta { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); min-width: 0; }
    .banner-btn { min-height: 3rem; padding-inline: 0.75rem; font-size: 0.98rem; white-space: nowrap; }
    .banner-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
    .banner-cta > :only-child { grid-column: 1 / -1; }
    .banner-code { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0.35rem 0.6rem; }
    .banner-code code { font-size: 0.95rem; letter-spacing: 0.05em; overflow-wrap: anywhere; }
    .banner-code span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .banner:hover .banner-photo { transform: none; } }

/* ---------- Menu page: dark header with search, plate-style cards ---------- */

.menu-head { position: relative; isolation: isolate; overflow: hidden; background: #12141c; color: #fff; }
.menu-head-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); align-items: end; gap: 1.5rem 3rem; padding-block: clamp(1.75rem, 4vw, 3rem); }
.menu-head-kicker { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand); margin-bottom: 0.5rem; }
.menu-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.menu-head h1 em { font-style: normal; color: var(--brand); position: relative; }
.menu-head h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em; height: 0.11em; border-radius: 999px; background: var(--accent); transform: rotate(-1.5deg); }
.menu-head-lead { margin-top: 0.85rem; color: rgb(255 255 255 / 0.72); font-size: 0.98rem; }
.menu-find { display: grid; gap: 0.75rem; }
.menu-search { display: flex; align-items: center; gap: 0.75rem; min-height: 3.5rem; padding: 0 1.1rem; border-radius: 1rem; background: #fff; color: var(--ink-soft); box-shadow: 0 14px 34px rgb(0 0 0 / 0.35); }
.menu-search:focus-within { box-shadow: 0 0 0 4px rgb(255 179 25 / 0.55), 0 14px 34px rgb(0 0 0 / 0.35); }
.menu-search .icon { color: var(--brand-deep); }
.menu-search input[type="search"] { flex: 1; min-width: 0; min-height: 3.4rem; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; outline: 0; box-shadow: none; }
.menu-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.menu-filter { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.28); background: rgb(255 255 255 / 0.07); color: #fff; font: 600 0.85rem/1 var(--font); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.menu-filter .icon { width: 1rem; height: 1rem; }
.menu-filter:hover { border-color: #fff; }
.menu-filter[aria-pressed="true"] { background: #2fae67; border-color: #2fae67; color: #fff; }
.menu-head :focus-visible { outline-color: #fff; }
.menu-none { margin-block: 0; }

.menu-section h2 { gap: 0.8rem; }
.section-rule { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.section-icon { background: var(--ink); color: var(--brand); }

/* Dish cards follow the kitchen desk's product cards: photo on top with the dietary label on it,
   section in small type, then the name and price, and a footer row with the action. */
.dish { border: 1px solid var(--line); }
.dish:hover { border-color: var(--brand); }
.dish-media { background-color: #f4f5f8; }
.dish-diet { position: absolute; top: 0.7rem; left: 0.7rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--leaf-wash); color: #0f4a2c; font-size: 0.72rem; font-weight: 600; box-shadow: 0 1px 3px rgb(29 34 48 / 0.12); }
.dish-flag { left: auto; right: 0.7rem; }
.dish-cat { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.3; }
.dish-name { font-size: 1.05rem; font-weight: 700; }
.dish-foot { margin-inline: -1.1rem; margin-bottom: -1.1rem; padding: 0.75rem 1.1rem; border-top: 1px solid var(--line); background: #fcfcfd; }
.dishes-plates { grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); }

@media (max-width: 36rem) {
    .dish-foot { margin-inline: -0.95rem; margin-bottom: -0.85rem; padding: 0.6rem 0.95rem; }
    .dish-diet { top: 0.45rem; left: 0.45rem; font-size: 0.65rem; padding: 0.22rem 0.5rem; }
    .dish-flag { right: 0.45rem; }
}

@media (max-width: 60rem) {
    .menu-head-inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

.google-ask { display: grid; gap: 0.7rem; justify-items: start; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--sky-wash); }
.google-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; width: 100%; }
.google-steps li { display: flex; align-items: center; gap: 0.6rem; }
.google-steps .btn { flex: 1 1 auto; justify-content: center; max-width: 20rem; }
.google-step-no { display: grid; place-items: center; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #1a4fc4; color: #fff; font-size: 0.8rem; font-weight: 700; }
.btn-google { background: #fff; border-color: #c6d4f5; color: #1a4fc4; }
.btn-google:hover { border-color: #1a4fc4; color: #1a4fc4; }
.btn-google .icon { color: #f5a400; fill: #fbbc04; }
.rating-box .btn-google { margin-top: 0.1rem; }

/* ---------- Product page: dark stage on top, the order builder on a card that overlaps it ---------- */

.item-hero { position: relative; isolation: isolate; overflow: hidden; background: #12141c; color: #fff; padding-bottom: 4.5rem; }
.item-hero .crumbs { margin: 0; padding-top: 1.25rem; color: rgb(255 255 255 / 0.6); }
.item-hero .crumbs a { color: rgb(255 255 255 / 0.7); }
.item-hero .crumbs a:hover, .item-hero .crumbs [aria-current] { color: #fff; }
.item-hero :focus-visible { outline-color: #fff; }
.item-hero-inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 2rem clamp(2rem, 5vw, 4.5rem); padding-block: clamp(1.5rem, 3vw, 2.5rem); }

.item-stage { position: relative; aspect-ratio: 1; width: min(100%, 27rem); justify-self: center; display: grid; place-items: center; }
.item-stage.is-sold-out .hero-photo { filter: grayscale(1); opacity: 0.7; }
.item-price-sticker { left: auto; right: 2%; top: auto; bottom: 8%; width: 6.75rem; height: 6.75rem; transform: rotate(10deg); text-transform: none; letter-spacing: 0; }
.item-price-sticker b { font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.item-price-sticker small { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.item-stage .hero-chip-time { right: auto; left: -2%; top: 10%; }

.item-intro { display: grid; gap: 1.1rem; justify-items: start; min-width: 0; }
.item-hero .item-cat { background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.18); color: #fff; text-decoration: none; min-height: 2.25rem; transition: background-color 0.2s; }
.item-hero .item-cat:hover { background: rgb(255 255 255 / 0.2); color: #fff; }
.item-hero .item-cat .icon { color: var(--brand); }
.item-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; overflow-wrap: anywhere; }
.item-hero h1 em { font-style: normal; color: var(--brand); }
.item-lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); color: rgb(255 255 255 / 0.78); max-width: 52ch; }
.item-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.item-facts li { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.4rem; padding: 0 0.9rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.14); font-size: 0.85rem; font-weight: 500; }
.item-facts .icon { width: 1.05rem; height: 1.05rem; color: var(--brand); }
.item-facts .is-leaf { background: rgb(47 174 103 / 0.2); border-color: rgb(47 174 103 / 0.5); }
.item-facts .is-leaf .icon { color: #6fe0a0; }
.item-facts .is-warn { background: rgb(217 35 56 / 0.25); border-color: rgb(217 35 56 / 0.6); }
.item-facts .is-warn .icon { color: #ff9aa6; }
.item-contains { display: flex; gap: 0.65rem; align-items: flex-start; max-width: 56ch; padding: 0.8rem 1rem; border-radius: var(--radius); background: rgb(255 255 255 / 0.06); border-left: 3px solid var(--brand); font-size: 0.88rem; color: rgb(255 255 255 / 0.78); }
.item-contains .icon { color: var(--brand); margin-top: 0.15rem; }
.item-contains strong { color: #fff; font-weight: 600; }

.item-build-wrap { padding-bottom: 3.5rem; }
.item-build { position: relative; z-index: 1; margin-top: -3.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 1.75rem; background: var(--surface); box-shadow: var(--shadow-md); }
.item-build-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; padding-bottom: 1.1rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.item-build-head h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.item-build-head p { color: var(--ink-soft); font-size: 0.93rem; }
.item-build .item-form { margin-top: 0; gap: 1.75rem; }
/* Options as a grid of tappable tiles */
.item-build .choice { grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 0.65rem; }
.item-build .choice legend { grid-column: 1 / -1; font-size: 1.05rem; }
.item-build .choice-row { min-height: 3.5rem; border-radius: 1rem; }
.item-build .choice-row:has(input:checked) { box-shadow: 0 0 0 3px rgb(255 179 25 / 0.25); }
.item-build .choice-price { padding: 0.25rem 0.55rem; border-radius: 999px; background: var(--bg); }
.item-build .choice-row:has(input:checked) .choice-price { background: var(--brand); color: var(--on-brand); }
/* The add bar stays in reach while the options scroll past. */
.item-build .item-foot { position: sticky; bottom: 1rem; z-index: 5; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; margin-inline: clamp(-1rem, -1.5vw, -0.5rem); padding: 0.75rem; border-radius: 1.25rem; background: #12141c; color: #fff; box-shadow: 0 16px 36px rgb(18 20 28 / 0.35); }
.item-build .item-foot label { color: rgb(255 255 255 / 0.7); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.item-build .field-qty { display: flex; align-items: center; gap: 0.75rem; padding-left: 0.5rem; }
.item-build .stepper { border-color: rgb(255 255 255 / 0.25); background: rgb(255 255 255 / 0.08); }
.item-build .stepper button { color: #fff; }
.item-build .stepper button:hover { background: rgb(255 255 255 / 0.14); }
.item-build .stepper input[type="number"] { background: none; color: #fff; }
.item-build .item-submit { flex: 0 1 24rem; min-height: 3.4rem; font-size: 1.02rem; border-radius: 1rem; }
.item-build .item-foot .sold-out, .item-build .item-foot .pad-closed { margin-left: auto; padding: 0.7rem 1rem; border-radius: 0.9rem; background: rgb(255 255 255 / 0.1); color: #fff; font-weight: 600; font-size: 0.9rem; }
.related { margin-top: 3rem; }

@media (max-width: 60rem) {
    .item-hero-inner { grid-template-columns: minmax(0, 1fr); }
    .item-stage { width: min(72%, 20rem); }
    .item-intro { justify-items: center; text-align: center; }
    .item-facts { justify-content: center; }
    .item-contains { text-align: left; }
    /* Above the phone tab bar, and the floating order bar moves out of its way. */
    .item-build .item-foot { bottom: calc(4.35rem + env(safe-area-inset-bottom, 0px)); }
    .order-bar-top { display: none; }
}

@media (max-width: 36rem) {
    .item-hero { padding-bottom: 3.75rem; }
    .item-price-sticker { width: 5.5rem; height: 5.5rem; }
    .item-price-sticker b { font-size: 1.15rem; }
    .item-build { margin-top: -3rem; border-radius: 1.4rem; }
    .item-build .item-foot { margin-inline: -0.35rem; padding: 0.6rem; border-top: 0; margin-bottom: 0; }
    .item-build .field-qty { padding-left: 0; }
}

/* ---------- Checkout: dark header with progress, the form as numbered cards ---------- */

.co-head .menu-head-kicker a { color: var(--brand); text-decoration: none; }
.co-head .menu-head-kicker a:hover { text-decoration: underline; }
.co-progress { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: rgb(255 255 255 / 0.55); }
.co-progress li { display: flex; align-items: center; gap: 0.55rem; }
.co-progress li + li::before { content: ""; width: clamp(1rem, 3vw, 2.5rem); height: 2px; border-radius: 2px; background: rgb(255 255 255 / 0.22); margin-right: 0.15rem; }
.co-progress span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.3); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.co-progress .icon { width: 1rem; height: 1rem; }
.co-progress .is-done { color: #fff; }
.co-progress .is-done span { background: #2fae67; border-color: #2fae67; color: #fff; }
.co-progress .is-current { color: #fff; }
.co-progress .is-current span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 5px rgb(255 179 25 / 0.22); }

.co-page { counter-reset: co-step; }
.co-page .checkout-choice { margin-bottom: 1.5rem; }
.choice-card { grid-template-columns: auto minmax(0, 1fr); column-gap: 0.85rem; align-items: start; border-radius: 1.25rem; }
.choice-card-icon { grid-row: span 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.9rem; background: var(--bg); color: var(--ink); }
.choice-card.is-selected { background: var(--brand-wash); }
.choice-card.is-selected .choice-card-icon { background: var(--brand); color: var(--on-brand); }
.signin-nudge { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 1.25rem; padding: 0.8rem 1rem; border-radius: var(--radius); background: var(--leaf-wash); color: #0f4a2c; }

.co-form { display: grid; gap: 1.1rem; min-width: 0; }
.co-card { display: grid; gap: 1.1rem; min-width: 0; margin: 0; padding: clamp(1.15rem, 2.5vw, 1.6rem); border: 1px solid var(--line); border-radius: 1.5rem; background: var(--surface); box-shadow: var(--shadow-sm); counter-increment: co-step; }
.co-card:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(255 179 25 / 0.16), var(--shadow-sm); }
.co-title { display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.co-title::before { content: counter(co-step); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: none; border-radius: 0.7rem; background: var(--ink); color: var(--brand); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.co-title .optional { margin-left: 0; }
.co-fieldset > legend { float: left; margin-bottom: 0.2rem; }
.co-fieldset > legend + * { clear: both; }
.co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.co-grid > .field:first-child { grid-column: 1 / -1; }
.co-card .order-type-option span { min-height: 4rem; border-radius: 1rem; }
.co-card .order-type-option strong { font-weight: 600; }

.co-pay-options { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.co-pay .choice-row { align-items: flex-start; gap: 0.85rem; min-height: 5rem; padding: 1rem; border-radius: 1.1rem; }
.co-pay .choice-row input { margin-top: 0.75rem; }
.co-pay .choice-row small { color: var(--ink-soft); font-weight: 400; line-height: 1.45; }
.co-pay-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 0.9rem; background: var(--bg); color: var(--ink); transition: background-color 0.15s, color 0.15s; }
.co-pay .choice-row:has(input:checked) .co-pay-icon { background: var(--brand); color: var(--on-brand); }
.co-pay .pay-note { margin: 0; }

.co-submit { display: grid; gap: 0.75rem; }
.co-submit .btn { min-height: 3.75rem; font-size: 1.08rem; border-radius: 1.1rem; }
.co-terms { display: flex; gap: 0.5rem; align-items: flex-start; justify-content: center; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }
.co-terms .icon { width: 1rem; height: 1rem; color: var(--leaf); margin-top: 0.2rem; }

@media (max-width: 60rem) {
    .co-progress { justify-content: flex-start; }
}
@media (max-width: 36rem) {
    .co-grid, .co-pay-options { grid-template-columns: minmax(0, 1fr); }
    .co-progress { font-size: 0.75rem; gap: 0.35rem; }
    .co-progress li { gap: 0.35rem; }
    .co-progress span { width: 1.7rem; height: 1.7rem; }
    .co-card { border-radius: 1.25rem; }
}

/* ---------- Order tracking page: live status on the dark header, map and details in cards, receipt beside them ---------- */

.track-head { padding-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.track-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.75rem 2rem; padding-top: clamp(1.5rem, 3.5vw, 2.5rem); }
.track-head h1 em { font-variant-numeric: tabular-nums; }
.track-livebadge { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.25rem; padding: 0 0.9rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.15); font-size: 0.82rem; font-weight: 500; color: rgb(255 255 255 / 0.85); }
.track-head .order-status { margin-top: 1.5rem; padding: clamp(1.1rem, 2.5vw, 1.6rem); border-radius: 1.5rem; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.13); backdrop-filter: blur(8px); gap: 1.4rem; }
.track-head .order-status[data-status="ready"] .order-lead { background: none; padding: 0; }

.track-now { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.25rem; }
.track-now h2 { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }
.track-now .order-lead { margin-top: 0.3rem; color: rgb(255 255 255 / 0.78); font-size: 1rem; max-width: 58ch; }
.track-now .order-lead strong { color: #fff; }
.track-now-icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 1.25rem; background: var(--brand); color: var(--on-brand); }
.track-now-icon .icon { width: 1.9rem; height: 1.9rem; }
.track-now-icon.is-live { animation: track-beat 2s ease-in-out infinite; }
.track-now-icon.is-done { background: #2fae67; color: #fff; }
.track-now-icon.is-stop { background: var(--accent); color: #fff; }
.track-now-icon.is-wait { background: #fff; color: var(--ink); }
@keyframes track-beat { 50% { box-shadow: 0 0 0 0.7rem rgb(255 179 25 / 0.18); } }
.track-eta { display: grid; justify-items: center; min-width: 7.5rem; padding: 0.7rem 1.1rem; border-radius: 1.1rem; background: #fff; color: var(--ink-soft); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.3; }
.track-eta b { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.track-eta small { font-size: 0.7rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.track-small { font-size: 0.85rem; color: rgb(255 255 255 / 0.65); }
.track-head .pay-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.track-head .steps { position: relative; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; font-size: 0.8rem; font-weight: 500; color: rgb(255 255 255 / 0.5); }
.track-head .steps li { position: relative; display: grid; justify-items: center; gap: 0.5rem; padding: 0; border: 0; text-align: center; }
.track-head .steps li + li::before { content: ""; position: absolute; top: 1.2rem; right: 50%; width: 100%; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.16); translate: 0 -50%; }
.track-head .steps li.is-done + li::before { background: #2fae67; }
.steps-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: #262a36; border: 2px solid rgb(255 255 255 / 0.2); color: rgb(255 255 255 / 0.55); }
.steps-dot .icon { width: 1.1rem; height: 1.1rem; }
.track-head .steps .is-done { color: rgb(255 255 255 / 0.85); }
.track-head .steps .is-done .steps-dot { background: #2fae67; border-color: #2fae67; color: #fff; }
.track-head .steps .is-current { color: #fff; font-weight: 600; }
.track-head .steps .is-current .steps-dot { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 6px rgb(255 179 25 / 0.2); }

.track-grid { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: 1.5rem; align-items: start; }
.track-main { display: grid; gap: 1.25rem; min-width: 0; }
.track-side { position: sticky; top: calc(var(--head-height) + 1.25rem); display: grid; gap: 0.9rem; }
.track-card { display: grid; gap: 1rem; padding: clamp(1.15rem, 2.5vw, 1.6rem); border: 1px solid var(--line); border-radius: 1.5rem; background: var(--surface); box-shadow: var(--shadow-sm); }
.track-card-title { display: flex; align-items: center; gap: 0.7rem; font-size: 1.12rem; }
.track-card-title .icon { width: 2.2rem; height: 2.2rem; padding: 0.5rem; border-radius: 0.75rem; background: var(--ink); color: var(--brand); }
.track-card .map { height: clamp(16rem, 40vw, 24rem); }
.track-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem; }
.track-facts li { display: flex; gap: 0.8rem; align-items: center; padding: 0.85rem 1rem; border-radius: 1rem; background: var(--bg); font-size: 0.92rem; color: var(--ink-soft); line-height: 1.4; }
.track-facts .icon { width: 2.4rem; height: 2.4rem; padding: 0.6rem; border-radius: 0.75rem; background: var(--brand-wash); color: var(--brand-deep); }
.track-facts strong { display: block; color: var(--ink); font-weight: 600; }
.track-facts a { color: var(--accent-deep); font-weight: 600; }
.track-yournote { padding: 0.8rem 1rem; border-radius: 1rem; border-left: 3px solid var(--brand); background: var(--brand-wash); font-size: 0.93rem; }
.track-page .review-box { margin-top: 0; }
.track-page .order-keep { margin: 1.5rem 0 0; }

@media (max-width: 60rem) {
    .track-grid { grid-template-columns: minmax(0, 1fr); }
    .track-side { position: static; }
}
@media (max-width: 36rem) {
    .track-now { grid-template-columns: auto minmax(0, 1fr); }
    .track-now-icon { width: 3.25rem; height: 3.25rem; border-radius: 1rem; }
    .track-eta { grid-column: 1 / -1; grid-template-columns: auto auto auto; justify-content: center; align-items: baseline; gap: 0.5rem; }
    .track-eta b { font-size: 1.5rem; }
    .track-head .steps { font-size: 0.68rem; }
    .steps-dot { width: 2.1rem; height: 2.1rem; }
    .track-head .steps li + li::before { top: 1.05rem; }
    .track-head .pay-actions .btn, .track-head .pay-actions form { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .track-now-icon.is-live { animation: none; } }

.track-eta.is-late { background: #fff4d8; box-shadow: 0 0 0 3px var(--brand); }
.track-eta.is-late b { color: #8a4b00; }
.track-late { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgb(255 179 25 / 0.18); border: 1px solid rgb(255 179 25 / 0.5); color: #ffd98a; font-size: 0.88rem; font-weight: 500; }
.track-late .icon { width: 1rem; height: 1rem; }

/* ---------- Apps: store buttons, install, notify ---------- */
.footer-apps { margin-top: 1.4rem; }
.app-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.store-btn { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 3.1rem; min-width: 9.75rem; padding: 0.4rem 1rem 0.4rem 0.8rem; border: 1px solid rgb(255 255 255 / 0.4); border-radius: 0.8rem; background: #000; color: #fff; font: 600 1.02rem/1.15 var(--font); text-align: left; text-decoration: none; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.store-btn:hover { border-color: #fff; color: #fff; }
.store-btn:active { transform: scale(0.98); }
.store-btn small { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: rgb(255 255 255 / 0.75); }
.store-glyph { width: 1.7rem; height: 1.7rem; }
.store-glyph-play { fill: #34d399; color: #34d399; stroke-linejoin: round; }
.store-glyph-apple { fill: #fff; color: #fff; stroke-width: 1.4; }
.store-badge { display: inline-block; line-height: 0; border-radius: 0.6rem; }
.store-badge img { display: block; height: 3.1rem; width: auto; }
.app-help { margin-top: 0.7rem; padding: 0.7rem 0.9rem; border-radius: 0.8rem; background: rgb(255 255 255 / 0.08); font-size: 0.85rem; line-height: 1.5; max-width: 26rem; }
.app-help strong { color: var(--brand); }
.track-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.track-pushnote { flex-basis: 100%; }

.getapp { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 3rem; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: calc(var(--radius-lg) + 4px); background: #12141c; color: #fff; }
.getapp h2 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem); }
.getapp h2 em { font-style: normal; color: var(--brand); }
.getapp p { color: rgb(255 255 255 / 0.78); max-width: 52ch; margin-top: 0.6rem; }
.getapp-points { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.getapp-points li { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.2rem; padding: 0 0.85rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.14); font-size: 0.82rem; }
.getapp-points .icon { width: 1rem; height: 1rem; color: var(--brand); }
.getapp-buttons { display: grid; gap: 0.6rem; }
.getapp-buttons { justify-items: center; }
.getapp-buttons .app-buttons { justify-content: center; }
.getapp-buttons .app-help { text-align: left; }
.getapp-qr { display: grid; justify-items: center; gap: 0.5rem; width: 11.5rem; padding: 0.6rem 0.6rem 0.7rem; border-radius: 1rem; background: #fff; color: var(--ink); text-align: center; }
.getapp-qr svg { display: block; width: 100%; height: auto; }
.getapp-qr p { margin: 0; color: var(--ink-soft); font-size: 0.75rem; line-height: 1.35; }
@media (max-width: 48rem) { .getapp-qr { display: none; } }   /* already on the phone: the buttons do the job */
.getapp-help { grid-column: 1 / -1; padding: 0.9rem 1.1rem; border-radius: var(--radius); background: rgb(255 255 255 / 0.08); font-size: 0.92rem; }
.getapp-help strong { color: var(--brand); }
@media (max-width: 48rem) {
    .getapp { grid-template-columns: minmax(0, 1fr); }
    .getapp-buttons { grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); }
}

.driver-hub-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.driver-job { color: var(--ink); text-decoration: none; border: 1.5px solid transparent; transition: border-color 0.15s, transform 0.15s; }
.driver-job:hover { border-color: var(--brand); color: var(--ink); }
.driver-job:active { transform: scale(0.99); }
.driver-job.is-ready { border-color: var(--brand); background: var(--brand-wash); }
.driver-job-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.driver-job-no { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.driver-job-status { padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 600; }
.driver-job-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-size: 0.9rem; color: var(--ink-soft); }
.driver-job-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.driver-job-meta .icon { width: 1rem; height: 1rem; }
.driver-job-meta .is-late { color: var(--accent-deep); font-weight: 600; }
.driver-main .back { margin: 0; }

/* ---------- Customer account ---------- */

.acct-head { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.acct-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.5rem; padding-top: clamp(1.5rem, 3.5vw, 2.5rem); }
.acct-avatar { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 1.6rem; background: linear-gradient(135deg, var(--brand), #ff7a18); color: var(--on-brand); font-size: 2.2rem; font-weight: 800; box-shadow: 0 12px 30px rgb(255 140 25 / 0.35); }
.acct-who h1 { overflow-wrap: anywhere; }
.acct-who .menu-head-lead { margin-top: 0.35rem; overflow-wrap: anywhere; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.5rem; }
.acct-stats li { display: flex; align-items: center; gap: 0.9rem; min-width: 0; padding: 0.9rem 1.1rem; border-radius: var(--radius-lg); background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.12); font-size: 0.85rem; color: rgb(255 255 255 / 0.72); line-height: 1.35; }
.acct-stats li > span:last-child { min-width: 0; }
.acct-stats strong { display: block; color: #fff; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }

.acct-live { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; padding: 1rem 1.25rem; border-radius: 1.25rem; background: var(--brand); color: var(--on-brand); text-decoration: none; box-shadow: 0 10px 26px rgb(245 159 0 / 0.3); transition: transform 0.2s, box-shadow 0.2s; }
.acct-live:hover { color: var(--on-brand); transform: translateY(-2px); box-shadow: 0 14px 32px rgb(245 159 0 / 0.4); }
.acct-live-icon { display: grid; place-items: center; width: 3rem; height: 3rem; flex: none; border-radius: 1rem; background: var(--ink); color: var(--brand); animation: track-beat 2s ease-in-out infinite; }
.acct-live-text { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.acct-live-text small { font-size: 0.88rem; opacity: 0.85; }
.acct-live-go { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.6rem; padding: 0 1rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }

.acct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: 1.75rem; align-items: start; margin-top: 0.75rem; }
.acct-side { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--head-height) + 1.25rem); }
.acct-count { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 0.6rem; border-radius: 999px; background: var(--ink); color: var(--brand); font-weight: 700; font-size: 0.9rem; }
.acct-orders { display: grid; gap: 0.9rem; }
.acct-order { display: grid; gap: 0.8rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 1.35rem; background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color 0.2s, box-shadow 0.2s; }
.acct-order:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.acct-order-top { display: flex; align-items: center; gap: 0.85rem; }
.acct-order-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 0.9rem; background: var(--brand-wash); color: var(--brand-deep); }
.acct-order-icon.acct-collected { background: var(--leaf-wash); color: var(--leaf); }
.acct-order-icon.acct-cancelled { background: var(--accent-wash); color: var(--accent-deep); }
.acct-order-id { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.acct-order-id a { color: var(--ink); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.acct-order-id a:hover { color: var(--accent-deep); }
.acct-order-id small { color: var(--ink-soft); font-size: 0.82rem; }
.acct-order-items { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.acct-order-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; padding-top: 0.8rem; border-top: 1px dashed var(--line-strong); }
.acct-order-total { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.acct-order-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.acct-order-actions .btn-small { min-height: 2.75rem; }
.acct-order-actions .icon { width: 1rem; height: 1rem; }
.acct-empty { justify-items: center; text-align: center; padding-block: 2.5rem; }
.acct-empty-icon { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--brand-wash); color: var(--brand-deep); }
.acct-empty-icon .icon { width: 2rem; height: 2rem; }
.acct-empty p { color: var(--ink-soft); max-width: 40ch; }
.acct-fold summary { cursor: pointer; list-style: none; }
.acct-fold summary::-webkit-details-marker { display: none; }
.acct-fold summary::after { content: ""; margin-left: auto; width: 0.55rem; height: 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; }
.acct-fold[open] summary::after { transform: rotate(-135deg); }
.acct-fold[open] summary { margin-bottom: 0.25rem; }

/* Sign in, register, forgotten password */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); max-width: 58rem; gap: 0; align-items: stretch; }
.auth-side { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: center; gap: 0.9rem; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 1.75rem 0 0 1.75rem; background: #12141c; color: #fff; }
.auth-side-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1.1rem; background: var(--brand); color: var(--on-brand); }
.auth-side-title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.auth-side-text { color: rgb(255 255 255 / 0.78); }
.auth-side-points { display: grid; gap: 0.5rem; margin-top: 0.5rem; font-size: 0.92rem; }
.auth-side-points li { display: flex; align-items: center; gap: 0.55rem; }
.auth-side-points .icon { width: 1.1rem; height: 1.1rem; color: var(--brand); stroke-width: 3; }
.auth-form { border-radius: 0 1.75rem 1.75rem 0; padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-md); align-content: center; }
.auth-form .page-title { margin-bottom: 0; }
.auth-form .btn-large { width: 100%; }

@media (max-width: 60rem) {
    .acct-grid { grid-template-columns: minmax(0, 1fr); }
    .acct-side { position: static; }
}
@media (max-width: 44rem) {
    .acct-top { grid-template-columns: auto minmax(0, 1fr); }
    .acct-actions { grid-column: 1 / -1; }
    .acct-actions .btn, .acct-actions form { flex: 1; }
    .acct-actions form .btn { width: 100%; }
    .acct-avatar { width: 3.75rem; height: 3.75rem; border-radius: 1.2rem; font-size: 1.6rem; }
    .acct-stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 13rem; overflow-x: auto; margin-inline: calc(-1 * clamp(1rem, 3vw, 2rem)); padding-inline: clamp(1rem, 3vw, 2rem); scrollbar-width: none; }
    .acct-stats::-webkit-scrollbar { display: none; }
    .acct-live { flex-wrap: wrap; }
    .acct-live-go { margin-left: auto; }
    .auth-wrap { grid-template-columns: minmax(0, 1fr); }
    .auth-side { border-radius: 1.5rem 1.5rem 0 0; }
    .auth-side-points { display: none; }
    .auth-form { border-radius: 0 0 1.5rem 1.5rem; }
}

.menu-soon { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.2rem; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--ink-soft); font-size: 0.95rem; }
.menu-soon .icon { color: var(--brand-deep); }

/* ---------- Slide-out basket ---------- */
.cart-drawer { width: min(27rem, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); border: 0; background: var(--bg); color: var(--ink); box-shadow: -20px 0 60px rgb(18 20 28 / 0.35); overflow-y: auto; }
.cart-drawer[open] { display: grid; grid-template-rows: auto 1fr auto; gap: 0.9rem; animation: drawer-in 0.25s ease-out; }
.cart-drawer::backdrop { background: rgb(18 20 28 / 0.55); }
@keyframes drawer-in { from { transform: translateX(2.5rem); opacity: 0; } to { transform: none; opacity: 1; } }
.cart-drawer-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin-inline: -1rem; padding: 0.9rem 1rem; background: #12141c; color: #fff; }
.cart-drawer-head p { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; font-weight: 700; }
.cart-drawer-head .icon { color: var(--brand); }
.cart-drawer-head .dialog-close { position: static; float: none; margin: 0; background: rgb(255 255 255 / 0.12); color: #fff; box-shadow: none; }
.cart-drawer-head .dialog-close:hover { background: rgb(255 255 255 / 0.25); }
.cart-drawer-body .pad-sheet { box-shadow: var(--shadow-sm); }
.cart-drawer-body .pad-head span:first-child { font-size: 1rem; }

/* ---------- Reviews page and review cards ---------- */

.rev-score { display: flex; align-items: center; gap: 1.25rem; justify-self: end; padding: 1.1rem 1.5rem; border-radius: 1.5rem; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.14); backdrop-filter: blur(8px); }
.rev-score-big { font-size: clamp(3.2rem, 2.4rem + 3vw, 4.75rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.05em; color: var(--brand); font-variant-numeric: tabular-nums; }
.rev-score-big small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: rgb(255 255 255 / 0.6); margin-left: 0.25rem; }
.rev-head .stars { color: rgb(255 255 255 / 0.25); }
.rev-score-count { margin-top: 0.3rem; font-weight: 600; }
.rev-score-happy { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.15rem; font-size: 0.85rem; color: rgb(255 255 255 / 0.75); }
.rev-score-happy .icon { width: 1rem; height: 1rem; color: #6fe0a0; stroke-width: 3; }

.rev-layout { display: grid; grid-template-columns: 21rem minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.rev-side { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--head-height) + 1.25rem); }
.rev-bars { display: grid; gap: 0.2rem; }
.rev-bars a { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 2rem; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 0.6rem; margin-inline: -0.6rem; border-radius: 0.75rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: background-color 0.15s; }
.rev-bars a:hover { background: var(--bg); }
.rev-bars a.is-on { background: var(--brand-wash); }
.rev-bar-label { display: inline-flex; align-items: center; gap: 0.2rem; }
.rev-bar-label .icon { width: 0.95rem; height: 0.95rem; color: var(--brand-deep); fill: var(--brand); }
.rev-bar { width: 100%; height: 0.6rem; }
.rev-bar-bg { fill: var(--line); }
.rev-bar-fill { fill: var(--brand); }
.rev-bar-count { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.rev-list-head { flex-wrap: wrap; align-items: center; }
.rev-filter { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rev-filter a { display: inline-flex; align-items: center; gap: 0.2rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-soft); font-weight: 600; font-size: 0.88rem; text-decoration: none; transition: border-color 0.15s, color 0.15s, background-color 0.15s; }
.rev-filter a .icon { width: 0.9rem; height: 0.9rem; color: var(--brand-deep); fill: var(--brand); }
.rev-filter a:hover { border-color: var(--line-strong); color: var(--ink); }
.rev-filter a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Two columns of cards of different heights, read down each column */
.rev-wall { display: block; columns: 2 19rem; column-gap: 1rem; }
.rev-wall .review { break-inside: avoid; margin-bottom: 1rem; }

.review { position: relative; gap: 0.7rem; border: 1px solid var(--line); border-radius: 1.35rem; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.review:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review-head .stars { margin-left: 0; }
.review-who { flex: 1; min-width: 0; }
.review-avatar { border-radius: 0.95rem; font-size: 1.1rem; }
.review-score { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.review-score .icon { width: 0.9rem; height: 0.9rem; color: var(--brand); fill: var(--brand); }
blockquote.review-text { margin: 0; padding-left: 0.9rem; border-left: 3px solid var(--brand); font-size: 1rem; line-height: 1.6; }
.review-text-none { color: var(--ink-soft); font-size: 0.92rem; }
.review-reply { display: grid; gap: 0.2rem; border-radius: 0 1rem 1rem 1rem; }
.review-reply strong { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; }
.review-reply strong .icon { width: 0.95rem; height: 0.95rem; color: var(--brand-deep); }
.review-verified { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.76rem; font-weight: 600; color: var(--leaf); }
.review-verified .icon { width: 0.9rem; height: 0.9rem; stroke-width: 3; }

.rev-empty { justify-items: center; text-align: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
.rev-empty-stars { display: flex; gap: 0.35rem; color: var(--brand-deep); }
.rev-empty-stars .icon { width: 2.4rem; height: 2.4rem; fill: var(--brand); }
.rev-empty-stars .icon:nth-child(odd) { transform: translateY(0.35rem) rotate(-8deg); }
.rev-empty h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
.rev-empty p { color: var(--ink-soft); max-width: 46ch; }

@media (max-width: 60rem) {
    .rev-score { justify-self: start; }
    .rev-layout { grid-template-columns: minmax(0, 1fr); }
    .rev-side { position: static; }
    .rev-cta { order: 3; }
}
@media (max-width: 36rem) {
    .rev-score { width: 100%; padding: 0.9rem 1.1rem; gap: 1rem; }
    .rev-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * clamp(1rem, 3vw, 2rem)); padding-inline: clamp(1rem, 3vw, 2rem); scrollbar-width: none; width: 100vw; }
    .rev-filter::-webkit-scrollbar { display: none; }
    .rev-filter a { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .review:hover { transform: none; } }

/* ---------- Order progress: animated ---------- */
/* The finished part of the line draws itself in, step by step; the step in progress breathes, its icon moves,
   and the stretch still ahead carries a light that travels towards the next step. Replays whenever the status changes. */
.track-head .steps li + li::before { transform-origin: left center; }
.track-head .steps li.is-done + li::before { animation: step-line 0.6s ease-out both; }
.track-head .steps li:nth-child(2)::before { animation-delay: 0.15s; }
.track-head .steps li:nth-child(3)::before { animation-delay: 0.55s; }
.track-head .steps li:nth-child(4)::before { animation-delay: 0.95s; }
@keyframes step-line { from { transform: translateY(-50%) scaleX(0); } to { transform: translateY(-50%) scaleX(1); } }
/* translate was set with the `translate` property; the keyframes use transform, so switch the centring to transform too */
.track-head .steps li + li::before { translate: none; transform: translateY(-50%); }

.track-head .steps .steps-dot { animation: step-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.track-head .steps li:nth-child(1) .steps-dot { animation-delay: 0s; }
.track-head .steps li:nth-child(2) .steps-dot { animation-delay: 0.45s; }
.track-head .steps li:nth-child(3) .steps-dot { animation-delay: 0.85s; }
.track-head .steps li:nth-child(4) .steps-dot { animation-delay: 1.25s; }
@keyframes step-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* The step happening now */
.track-head .steps .is-current .steps-dot { animation: step-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both, step-breathe 2s ease-in-out 1.4s infinite; }
@keyframes step-breathe { 0%, 100% { box-shadow: 0 0 0 5px rgb(255 179 25 / 0.22); } 50% { box-shadow: 0 0 0 12px rgb(255 179 25 / 0); } }
.track-head .steps .is-current .steps-dot .icon { animation: step-move 1.6s ease-in-out 1.4s infinite; }
@keyframes step-move { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
.track-head .steps .is-current .steps-label { animation: step-label 0.5s ease-out 1s both; }
@keyframes step-label { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* The stretch still ahead of the current step: a light running towards what comes next */
.track-head .steps li.is-current + li::before { background: linear-gradient(90deg, rgb(255 255 255 / 0.16) 0%, rgb(255 255 255 / 0.16) 35%, var(--brand) 50%, rgb(255 255 255 / 0.16) 65%, rgb(255 255 255 / 0.16) 100%) 0 0 / 220% 100%; animation: step-travel 2.2s linear 1.4s infinite; }
@keyframes step-travel { from { background-position: 120% 0; } to { background-position: -20% 0; } }

/* Everything done: a quiet finish */
.track-head .steps li:last-child.is-done .steps-dot { animation: step-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 1.25s both, step-done 0.9s ease-out 1.7s 1; }
@keyframes step-done { 0% { box-shadow: 0 0 0 0 rgb(47 174 103 / 0.6); } 100% { box-shadow: 0 0 0 16px rgb(47 174 103 / 0); } }

@media (prefers-reduced-motion: reduce) {
    .track-head .steps li + li::before, .track-head .steps .steps-dot, .track-head .steps .steps-dot .icon, .track-head .steps .steps-label { animation: none !important; }
}

.rev-bar { display: block; width: 100%; height: 10px; }
