/* Order flow, status page, privacy and ordering policy. Same tokens and type as the homepage (index.html). Light only, sunlight first. */
@font-face { font-family: "DM Sans Fallback"; font-weight: 400 500; src: local("Arial"), local("ArialMT"), local("Roboto"); size-adjust: 103.4%; ascent-override: 95.9%; descent-override: 30%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 102.2%; ascent-override: 97.1%; descent-override: 30.3%; line-gap-override: 0%; }
@font-face { font-family: "Playfair Fallback"; font-weight: 700; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 89.4%; ascent-override: 121%; descent-override: 28.1%; line-gap-override: 0%; }
:root {
  --ground: #FAF9F4; --surface: #FFFFFF; --ink: #191814; --ink-2: #4A473C; --muted: #6E6A5C;
  --accent: #F4CE38; --accent-deep: #857012; --line: rgba(25,24,20,.12); --ok: #40704A; --danger: #A83A25;
  --display: "Playfair Display", "Playfair Fallback", Georgia, serif;
  --body: "DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --dock: calc(88px + env(safe-area-inset-bottom));
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.5 var(--body); -webkit-text-size-adjust: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { max-width: 640px; margin-inline: auto; padding-inline: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-family: var(--mono); }
h1 { font: 700 28px/1.15 var(--display); margin: 20px 0 8px; text-wrap: balance; }
h1:focus { outline: none; }
h2 { font: 700 20px/1.3 var(--body); margin: 24px 0 8px; }
p { margin: 0 0 12px; }
.muted { color: var(--ink-2); font-size: 15px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin: 0; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(250,249,244,.96); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 56px; }
.logo { display: flex; align-items: center; min-height: 48px; min-width: 44px; }
.logo img { width: 40px; height: auto; }
.top-title { font-weight: 700; flex: 1; }
.step { font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.back { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; margin-top: 4px; background: none; border: 0; font: 700 16px var(--body); color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 999px; font: 700 16px var(--body); text-decoration: none; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); cursor: pointer; text-align: center; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-yellow { background: var(--accent); }
.btn-big { min-height: 56px; width: 100%; font-size: 17px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0 2px; min-height: 44px; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }

/* banners and notes */
.banner { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--ink); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.banner.ok { border-left-color: var(--ok); }
.banner.warn { border-left-color: var(--danger); }
.banner b { display: block; }
.banner p { margin: 4px 0 0; }
.note { font-size: 15px; color: var(--ink-2); }
.err { color: var(--danger); font-size: 15px; font-weight: 700; margin: 6px 0 0; }
.slip { font-size: 14px; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 20px; }

/* menu */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 10px; margin-inline: -16px; scrollbar-width: none; position: sticky; top: 57px; z-index: 5; background: var(--ground); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); font: 700 15px var(--body); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; }
.sec-h { margin: 22px 0 10px; scroll-margin-top: 130px; }
.promos { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.promos li { background: var(--accent); border-radius: 12px; padding: 10px 14px; font-size: 15px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 10px; }
.card h3 { font-size: 19px; margin: 0 0 10px; line-height: 1.3; }
.card.out h3 { text-decoration: line-through; color: var(--ink-2); }
.pill { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 0 8px; font-size: 14px; font-weight: 700; margin-left: 6px; vertical-align: 2px; text-decoration: none; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; min-height: 56px; min-width: 120px; padding: 6px 14px; border-radius: 12px; border: 2px solid var(--ink); background: var(--ground); color: var(--ink); font: 15px/1.25 var(--body); text-align: left; cursor: pointer; }
.size b { display: block; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.size:disabled { border-style: dashed; cursor: not-allowed; color: var(--ink-2); }
.size.static { cursor: default; }
.size .count { position: absolute; top: -10px; right: -8px; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #FFFFFF; font: 700 14px/26px var(--body); text-align: center; }
.loading { text-align: center; padding: 48px 0; font-size: 17px; }
.content { min-height: 100vh; } /* keeps the footer below the fold while the menu loads (no layout shift) */

/* cart and review */
.lines { list-style: none; margin: 8px 0; padding: 0; }
.line { padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-top { display: flex; justify-content: space-between; gap: 12px; }
.line-top b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-bot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--ink); background: var(--surface); font: 700 22px/1 var(--body); color: var(--ink); cursor: pointer; }
.stepper button:disabled { opacity: .45; cursor: not-allowed; }
.stepper output { min-width: 32px; text-align: center; font: 700 20px var(--mono); }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0 4px; }
.total span { color: var(--ink-2); }
.total b { font-size: 32px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.total.big b { font-size: 40px; }
.facts { margin: 12px 0; }
.facts div { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { flex: 0 0 72px; color: var(--ink-2); font-size: 15px; padding-top: 1px; }
.facts dd { margin: 0; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.facts .lines { margin: 0; }
.facts .line-top { padding: 3px 0; }

/* form */
.field { margin: 18px 0; }
.field label { display: block; font-weight: 700; margin-bottom: 4px; }
.field .help { display: block; font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.field input { width: 100%; min-height: 56px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--surface); font: 18px var(--body); color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--danger); border-width: 3px; }
.prefix { display: flex; align-items: stretch; }
.prefix span { display: flex; align-items: center; padding: 0 12px; border: 2px solid var(--ink); border-right: 0; border-radius: 12px 0 0 12px; background: var(--ground); font-weight: 700; }
.prefix input { border-radius: 0 12px 12px 0; }

/* docked action */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--surface); border-top: 1px solid var(--line); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.dock .wrap { display: grid; gap: 6px; }
.dock .hint { text-align: center; color: var(--ink-2); font-size: 17px; min-height: 56px; display: flex; align-items: center; justify-content: center; margin: 0; }
.dock .err { text-align: center; margin: 0; }
.bar-btn { justify-content: space-between; }
.pulse { animation: pulse .3s ease-out; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent); } 100% { box-shadow: 0 0 0 10px rgba(244,206,56,0); } }

/* pay and status */
.code-card { background: var(--surface); border: 3px solid var(--ink); border-radius: 24px; padding: 18px 16px; text-align: center; margin: 16px 0; }
.code-card.ready { box-shadow: 0 0 0 6px var(--accent); }
.code { font: 700 44px/1.1 var(--mono); letter-spacing: .02em; overflow-wrap: anywhere; }
.code-name { font-size: 24px; font-weight: 700; }
.state { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 6px; }
.state .ic { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.state h1 { margin: 2px 0 0; font: 700 24px/1.2 var(--body); }
.state.ready h1 { font: 700 30px/1.15 var(--display); }
.amount { font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.1; }
.timer { font-weight: 700; font-variant-numeric: tabular-nums; }
.steps { list-style: none; padding: 0; margin: 16px 0; counter-reset: s; }
.steps > li { position: relative; padding: 0 0 18px 44px; counter-increment: s; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #FFFFFF; font-weight: 700; display: grid; place-items: center; }
.copyrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 6px; }
.copyrow .big { font: 700 24px var(--mono); overflow-wrap: anywhere; }
.track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 18px 0; }
.track li { position: relative; text-align: center; font-size: 14px; color: var(--ink-2); padding-top: 26px; }
.track li::before { content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); z-index: 1; }
.track li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.track li:first-child::after { display: none; }
.track li.done::before { background: var(--ink); }
.track li.done::after { background: var(--ink); }
.track li[aria-current="step"] { color: var(--ink); font-weight: 700; }
.recent { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; }

/* text pages */
.doc h1 { font-size: 34px; margin-top: 28px; }
.doc h2 { font-size: 20px; margin-top: 28px; }
.doc ul { padding-left: 22px; margin: 0 0 12px; }
.doc li { margin-bottom: 6px; }

footer { padding-block: 28px 36px; color: var(--ink-2); font-size: 15px; border-top: 1px solid var(--line); margin-top: 32px; }
footer p { margin: 0 0 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.has-dock footer { padding-bottom: calc(var(--dock) + 24px); }

@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } * { scroll-behavior: auto !important; } }
