/* Boca Dasher — iPhone-first styles. Palette: signal yellow + ink navy (a courier's jersey). */
:root {
  --yellow: #FFD23F;
  --yellow-deep: #F5B700;
  --ink: #14213D;
  --ink-2: #3A4766;
  --muted: #6B7690;
  --paper: #FFFFFF;
  --fog: #F2F4F7;
  --line: #E3E7EE;
  --go: #17A34A;
  --stop: #E5484D;
  --stop-bg: #FDECEC;
  --focus: #2563EB;
  --display: "Bricolage Grotesque", -apple-system, system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.45 var(--body);
  min-height: 100dvh; overscroll-behavior-y: none;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

#app { max-width: 560px; margin: 0 auto; min-height: 100dvh; position: relative; padding-bottom: calc(96px + var(--safe-b)); }

/* ---------- Brand header ---------- */
.masthead { background: var(--yellow); padding: calc(var(--safe-t) + 14px) 16px 18px; position: relative; overflow: hidden; }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 46px; height: 46px; flex: none; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.logo-sub { display: block; font: 600 12px/1.2 var(--body); color: var(--ink-2); margin-top: 3px; letter-spacing: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--ink); color: #fff; padding: 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.status-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 3px rgba(23,163,74,.3); }
.status-pill.off i { background: var(--stop); box-shadow: 0 0 0 3px rgba(229,72,77,.3); }
.masthead-tag { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.02; letter-spacing: -0.035em; margin: 20px 0 14px; max-width: 15ch; }
.speedlines { position: absolute; right: -14px; top: calc(var(--safe-t) + 104px); width: 120px; opacity: .5; pointer-events: none; }

.search { position: relative; display: block; }
#app { overflow-x: clip; }
.search input {
  width: 100%; border: 0; border-radius: 14px; background: #fff; padding: 14px 16px 14px 44px; font-size: 17px;
  box-shadow: 0 1px 0 rgba(20,33,61,.08), 0 6px 18px -10px rgba(20,33,61,.35); appearance: none;
}
.search input::placeholder { color: var(--muted); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search.on-fog input { background: var(--fog); box-shadow: none; }

/* ---------- Banners ---------- */
.closed-banner { margin: 14px 16px 0; background: var(--stop-bg); color: #8E1B1F; border-radius: var(--r-md); padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.closed-banner b { display: block; color: var(--stop); font-size: 15px; }
.closed-banner span { font-size: 14px; }
.closed-banner .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--stop); margin-top: 4px; flex: none; }
.track-banner { margin: 14px 16px 0; display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 14px 16px; text-decoration: none; }
.track-banner b { display: block; font-size: 15px; }
.track-banner span { font-size: 13px; opacity: .8; }
.track-banner .chev { margin-left: auto; font-size: 22px; opacity: .7; }

/* ---------- Home ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; padding: 22px 16px 10px; }
.section-head h2 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; margin: 0; }
.section-head small { color: var(--muted); font-size: 13px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; background: var(--fog); font-weight: 600; font-size: 14px; scroll-snap-align: start; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip .e { font-size: 16px; }

.r-list { display: grid; gap: 18px; padding: 6px 16px 10px; }
.r-card { display: block; text-decoration: none; color: inherit; }
.r-cover { position: relative; height: 150px; border-radius: var(--r-lg); overflow: hidden; color: var(--fg); isolation: isolate;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.16), transparent 55%),
    linear-gradient(160deg, transparent 60%, rgba(0,0,0,.22)),
    var(--bc); }
.r-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--ac); z-index: 2; }
.r-cover .cmark { position: absolute; right: -18px; top: 50%; width: 168px; height: 168px; transform: translateY(-50%) rotate(-8deg); opacity: .22; z-index: 0; }
.r-cover .title { position: absolute; left: 16px; right: 70px; bottom: 17px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.r-cover .kicker { font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.r-cover .mono { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -0.025em; line-height: 1.02;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r-cover .badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 99px; padding: 5px 10px; font-size: 12px; font-weight: 700; z-index: 3; }
.r-cover .badge.closed { background: var(--stop); color: #fff; }
.r-cover .dist-chip { position: absolute; top: 12px; right: 12px; z-index: 3; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.94); color: var(--ink); }
.r-cover img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.r-meta { display: flex; justify-content: space-between; gap: 10px; padding: 8px 2px 0; }
.r-meta h3 { margin: 0; font-size: 17px; font-weight: 700; }
.r-meta p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.r-meta .dist { color: var(--ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; padding-top: 2px; }
.r-pop { display: flex; gap: 6px; padding: 8px 2px 0; flex-wrap: wrap; }
.r-pop span { font-size: 12px; background: var(--fog); padding: 4px 8px; border-radius: 6px; color: var(--ink-2); }

.empty { text-align: center; color: var(--muted); padding: 36px 24px; }
.empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.area-note { margin: 18px 16px 0; padding: 14px 16px; border: 1.5px dashed var(--line); border-radius: var(--r-md); font-size: 14px; color: var(--ink-2); display: flex; gap: 12px; align-items: center; }
.area-note svg { flex: none; width: 34px; height: 34px; }

/* ---------- Top bar (inner pages) ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); padding: calc(var(--safe-t) + 8px) 12px 8px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid transparent; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar h1 { font-size: 17px; margin: 0; font-weight: 700; flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fog); flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.ghost { background: transparent; }

/* ---------- Restaurant page ---------- */
.r-hero { height: 170px; margin: 0 12px; }
.r-hero .cmark { width: 200px; height: 200px; right: -10px; }

.r-hero .big { font-size: 84px; transform: rotate(-6deg); filter: drop-shadow(0 10px 16px rgba(0,0,0,.25)); }
.r-head { padding: 16px 16px 4px; }
.r-head h2 { font-family: var(--display); font-size: 28px; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 6px; }
.r-head .addr { color: var(--muted); font-size: 14px; margin: 0; }
.r-head .note { margin: 12px 0 0; font-size: 14px; background: var(--fog); padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink-2); }
.no-price-note { display: flex; gap: 8px; align-items: center; margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.no-price-note b { background: var(--yellow); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

.menu-sticky { position: sticky; top: calc(var(--safe-t) + 56px); z-index: 15; background: #fff; padding: 10px 0 0; border-bottom: 1px solid var(--line); }
.menu-sticky .search { padding: 0 16px 10px; }
.menu-sticky .search svg { left: 30px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; padding: 0 12px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 10px 10px 12px; font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.menu-section { padding: 18px 16px 0; scroll-margin-top: 180px; }
.menu-section h3 { font-family: var(--display); font-size: 21px; letter-spacing: -0.02em; margin: 0 0 4px; }
.m-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.m-item:last-child { border-bottom: 0; }
.m-text { flex: 1; min-width: 0; text-align: left; }
.m-text h4 { margin: 0; font-size: 16px; font-weight: 650; }
.m-text h4 .pop { display: inline-block; font-size: 11px; font-weight: 700; background: var(--yellow); color: var(--ink); padding: 1px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.m-text p { margin: 4px 0 10px; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-actions { display: flex; gap: 8px; }
.btn-sm { padding: 7px 13px; border-radius: 99px; font-size: 14px; font-weight: 650; background: var(--fog); }
.btn-sm.dark { background: var(--ink); color: #fff; }
.tile { width: 96px; height: 96px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 46px; flex: none; position: relative; overflow: hidden; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.in-cart-count { position: absolute; top: 6px; right: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; padding: 0 6px; }

/* ---------- Bottom sheet (customize) ---------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(20,33,61,.45); z-index: 50; opacity: 0; transition: opacity .2s; }
.sheet-backdrop.show { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; z-index: 51; background: #fff; border-radius: 20px 20px 0 0; height: calc(100dvh - var(--safe-t) - 24px); display: flex; flex-direction: column; transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.sheet.show { transform: translateY(0); }
.sheet-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); border-radius: 20px 20px 0 0; }
.sheet-bar b { font-size: 16px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet-hero { border-radius: 0 !important; }
.group { scroll-margin-top: 64px; }
.sheet-hero { height: 190px; display: grid; place-items: center; font-size: 96px; border-radius: 20px 20px 0 0; position: relative; overflow: hidden; }
.sheet-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet-title { padding: 16px 16px 6px; }
.sheet-title h2 { margin: 0; font-family: var(--display); font-size: 25px; letter-spacing: -0.025em; line-height: 1.1; }
.sheet-title p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.group { border-top: 8px solid var(--fog); padding: 4px 0 6px; }
.group.nested { border-top: 0; margin: 2px 0 10px 32px; padding: 0; border-left: 3px solid var(--yellow); border-radius: 0; }
.group.nested .group-head { padding: 8px 12px 4px; }
.group.nested .opt { padding-left: 12px; }
.group-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 6px; gap: 10px; }
.group-head h3 { margin: 0; font-size: 17px; font-weight: 700; }
.group-head small { display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }
.req { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: var(--fog); color: var(--ink-2); white-space: nowrap; }
.req.need { background: var(--ink); color: #fff; }
.req.done { background: #E6F6EC; color: var(--go); }
.group.flash .req.need { background: var(--stop); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

.opt { display: flex; align-items: center; gap: 12px; padding: 12px 16px; width: 100%; text-align: left; min-height: 52px; }
.opt + .opt { border-top: 1px solid var(--fog); }
.opt .name { flex: 1; font-size: 16px; }
.opt .name small { display: block; color: var(--muted); font-size: 13px; }
.mark { width: 24px; height: 24px; flex: none; border: 2px solid #B8C0D0; display: grid; place-items: center; transition: background .12s, border-color .12s; }
.mark.radio { border-radius: 50%; }
.mark.check { border-radius: 7px; }
.opt[aria-checked="true"] .mark { border-color: var(--ink); background: var(--ink); }
.opt[aria-checked="true"] .mark.radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.opt[aria-checked="true"] .mark.check::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.opt[aria-disabled="true"] { opacity: .45; }
.levels { display: flex; gap: 6px; padding: 0 16px 12px 52px; flex-wrap: wrap; }
.levels button { padding: 6px 12px; border-radius: 99px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 600; }
.levels button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }

.ing { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; gap: 10px; }
.ing + .ing { border-top: 1px solid var(--fog); }
.ing .name { font-size: 15px; flex: 1; }
.ing .name.off { text-decoration: line-through; color: var(--muted); }
.seg { display: inline-flex; background: var(--fog); border-radius: 10px; padding: 3px; }
.seg button { padding: 6px 9px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,33,61,.18); }
.seg button.no[aria-pressed="true"] { background: var(--stop); color: #fff; }

.instructions { border-top: 8px solid var(--fog); padding: 14px 16px 22px; }
.instructions label { font-weight: 700; font-size: 17px; display: block; }
.instructions small { color: var(--muted); font-size: 13px; }
textarea, .field input { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; font-size: 16px; background: #fff; resize: none; appearance: none; }
textarea:focus, .field input:focus { border-color: var(--ink); outline: none; }
.instructions textarea { margin-top: 10px; min-height: 76px; }

.sheet-foot { display: flex; gap: 12px; align-items: center; padding: 12px 16px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); background: #fff; }
.stepper { display: inline-flex; align-items: center; background: var(--fog); border-radius: 99px; flex: none; }
.stepper button { width: 42px; height: 46px; font-size: 22px; font-weight: 600; display: grid; place-items: center; }
.stepper button:disabled { opacity: .3; }
.stepper span { min-width: 26px; text-align: center; font-weight: 700; font-size: 17px; }
.stepper.small button { width: 34px; height: 36px; font-size: 19px; }
.stepper.small span { min-width: 20px; font-size: 15px; }

.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; padding: 0 18px; text-decoration: none; }
.btn.yellow { background: var(--yellow); color: var(--ink); }
.btn.ghost { background: var(--fog); color: var(--ink); }
.btn.danger { background: transparent; color: var(--stop); }
.btn[disabled], .btn.dim { background: #DDE2EA; color: var(--ink-2); }
.btn .count { background: rgba(255,255,255,.18); padding: 2px 9px; border-radius: 99px; font-size: 15px; }

/* ---------- Floating cart ---------- */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; max-width: 560px; margin: 0 auto; padding: 10px 16px calc(10px + var(--safe-b)); background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0)); }
.cart-bar .btn { justify-content: space-between; box-shadow: 0 10px 24px -10px rgba(20,33,61,.6); }

/* ---------- Cart & checkout ---------- */
.page-pad { padding: 8px 16px 0; }
.page-title { font-family: var(--display); font-size: 30px; letter-spacing: -0.03em; margin: 8px 0 2px; line-height: 1.05; }
.page-sub { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.c-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.c-item .tile { width: 56px; height: 56px; font-size: 28px; border-radius: 10px; }
.c-body { flex: 1; min-width: 0; }
.c-body h4 { margin: 0; font-size: 16px; }
.c-lines { margin: 4px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.c-lines li { white-space: pre-wrap; }
.c-note { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; font-style: italic; }
.c-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.link-btn { font-weight: 650; font-size: 14px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.link-btn.red { color: var(--stop); }
.how-it-works { background: var(--fog); border-radius: var(--r-md); padding: 14px 16px; margin: 18px 0; }
.how-it-works h3 { margin: 0 0 8px; font-size: 15px; }
.how-it-works ol { margin: 0; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
.how-it-works li + li { margin-top: 4px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 650; font-size: 14px; margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.field .warn { font-size: 13px; color: #9A5B00; background: #FFF6DB; padding: 8px 10px; border-radius: 8px; margin-top: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
.form-error { background: var(--stop-bg); color: #8E1B1F; border-radius: var(--r-md); padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.summary-box { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 4px 14px; margin: 6px 0 18px; }
.summary-box .c-item:last-child { border-bottom: 0; }

/* ---------- Tracking ---------- */
.track-hero { background: var(--yellow); margin: 0 12px; border-radius: var(--r-lg); padding: 20px 104px 20px 18px; position: relative; overflow: hidden; }
.track-hero.ended { background: var(--fog); padding-right: 18px; }
.track-hero small { font-weight: 700; font-size: 13px; color: var(--ink-2); }
.track-hero h2 { font-family: var(--display); font-size: 30px; letter-spacing: -0.03em; line-height: 1.02; margin: 4px 0 6px; max-width: 13ch; }
.track-hero p { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 30ch; }
.track-hero .bike { position: absolute; right: 12px; bottom: 14px; width: 84px; opacity: .9; }
.track-hero.moving .bike { animation: ride 1.6s ease-in-out infinite alternate; }
@keyframes ride { from { transform: translateX(-6px); } to { transform: translateX(4px); } }

.steps { list-style: none; margin: 18px 16px 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.steps li::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: -2px; width: 2px; background: var(--line); }
.steps li:last-child::before { display: none; }
.steps li.done::before { background: var(--ink); }
.steps .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--muted); position: relative; z-index: 1; }
.steps li.done .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps li.now .dot { background: var(--yellow); border-color: var(--ink); color: var(--ink); box-shadow: 0 0 0 5px rgba(255,210,63,.35); }
.steps b { display: block; font-size: 15.5px; padding-top: 3px; }
.steps li:not(.done):not(.now) b { color: var(--muted); font-weight: 600; }
.steps span { font-size: 13.5px; color: var(--muted); }
.steps time { font-size: 12.5px; color: var(--muted); margin-left: 6px; font-weight: 500; }

.pay-card { margin: 18px 16px 0; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 16px; }
.pay-card h3 { margin: 0 0 10px; font-size: 17px; }
.pay-row { display: flex; justify-content: space-between; font-size: 15px; padding: 4px 0; color: var(--ink-2); }
.pay-row.total { border-top: 1.5px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.pay-card .btn { margin-top: 14px; }
.pay-card .fine { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.receipt-note { font-size: 14px; color: var(--ink-2); background: var(--fog); border-radius: 8px; padding: 8px 10px; margin-top: 8px; }

.details { margin: 22px 16px 0; }
.details h3 { font-size: 17px; margin: 0 0 4px; }
.contact-row { display: flex; gap: 10px; margin: 16px 16px 0; }
.contact-row .btn { min-height: 46px; font-size: 15px; }

/* ---------- Dialog & toast ---------- */
.dialog { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; background: rgba(20,33,61,.45); }
.dialog-box { background: #fff; border-radius: 18px; padding: 20px; width: 100%; max-width: 360px; }
.dialog-box h3 { margin: 0 0 6px; font-size: 19px; }
.dialog-box p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.dialog-box .btn + .btn { margin-top: 8px; }
.toast { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; z-index: 80; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.skeleton { background: linear-gradient(90deg, var(--fog), #fafbfc, var(--fog)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-lg); }
@keyframes sk { to { background-position: -200% 0; } }
.footer-note { text-align: center; color: var(--muted); font-size: 12.5px; padding: 26px 16px 0; }
.footer-note a { color: var(--muted); }

/* Whole menu row is one tap target that opens the item */
button.m-item { width: 100%; text-align: left; cursor: pointer; }
button.m-item:active { background: var(--fog); }
.m-text { display: block; }
.m-text p { margin-bottom: 0; }

/* Hand-off choices at checkout */
.choice-set { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.choice-set legend { font-weight: 650; font-size: 14px; margin-bottom: 8px; padding: 0; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; cursor: pointer; }
.choice + .choice { margin-top: 8px; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.choice b { display: block; font-size: 15.5px; }
.choice small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--ink); background: var(--fog); }
.field .choice { display: flex; margin-bottom: 0; font-weight: 400; }
.field .choice input { -webkit-appearance: radio; appearance: auto; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; margin: 2px 0 0; flex: none; background: none; }
.dist-ok { font-size: 14px; font-weight: 650; color: #0F7A37; background: #E6F6EC; padding: 9px 12px; border-radius: 8px; }
