/* ==========================================================================
   Naija Eats — "Evening" theme
   Formal, dark and quiet: near-black surfaces with a green undertone,
   Nigerian flag green as the primary colour, champagne gold for detail,
   hairline borders and square corners.
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #0a0e0c;
  --bg-2: #0d1310;
  --card: #111814;
  --card-2: #151e19;
  --card-3: #1b2620;
  --line: #222d27;
  --line-2: #2c3a32;

  /* Text */
  --ink: #ece7dc;            /* warm ivory */
  --ink-2: #c4bfb3;
  --muted: #8b958e;

  /* Nigerian green */
  --green: #008751;
  --green-hover: #00a062;
  --green-text: #4fbf8b;     /* green that reads on dark */
  --green-deep: #06261a;
  --green-tint: rgba(0, 135, 81, .12);

  /* Champagne gold */
  --gold: #c9a86a;
  --gold-hover: #d8bb83;
  --gold-tint: rgba(201, 168, 106, .10);

  /* Kept for markup that references them */
  --palm: var(--gold);
  --palm-dark: var(--gold-hover);
  --green-dark: var(--green-text);

  --danger: #e07a72;
  --danger-tint: rgba(224, 122, 114, .10);
  --info: #8fb3d9;
  --info-tint: rgba(143, 179, 217, .10);

  --radius: 4px;
  --radius-sm: 2px;
  --shadow: none;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .55);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Ankara motif, recoloured as fine gold linework on deep green */
  --ankara:
    radial-gradient(circle at 25% 25%, rgba(201,168,106,.55) 0 4%, transparent 4.5%),
    radial-gradient(circle at 75% 75%, rgba(201,168,106,.55) 0 4%, transparent 4.5%),
    radial-gradient(circle at 75% 25%, transparent 0 18%, rgba(201,168,106,.35) 18.5% 20%, transparent 20.5%),
    radial-gradient(circle at 25% 75%, transparent 0 18%, rgba(201,168,106,.35) 18.5% 20%, transparent 20.5%),
    conic-gradient(from 45deg, #0b3a25 0 25%, #082c1d 0 50%, #0b3a25 0 75%, #082c1d 0);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: .01em;
}
img { max-width: 100%; display: block; }
a { color: var(--green-text); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 .45em; font-weight: 600; letter-spacing: 0; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 500; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
b, strong { font-weight: 500; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
/* Phones (iPhone especially) zoom the page in on any text box under 16px, so none go smaller. */
input, select, textarea { font-size: max(16px, 1em); }
option { background: var(--card-2); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
::selection { background: rgba(0, 135, 81, .45); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* Flag stripe ------------------------------------------------------------ */
.flag-stripe { height: 3px; background: linear-gradient(90deg, var(--green) 0 33.3%, var(--ink) 33.3% 66.6%, var(--green) 66.6%); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 500; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--green-hover); color: #fff; }
.btn-accent, .btn-gold { background: var(--gold); color: #0a0e0c; }
.btn-accent:hover:not(:disabled), .btn-gold:hover:not(:disabled) { background: var(--gold-hover); color: #0a0e0c; }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; color: var(--ink-2); padding: 10px 14px; }
.btn-ghost:hover:not(:disabled) { color: var(--gold); }
.btn-danger { background: transparent; border-color: rgba(224, 122, 114, .4); color: var(--danger); }
.btn-danger:hover:not(:disabled) { background: var(--danger-tint); color: var(--danger); }
.btn-sm { padding: 9px 16px; font-size: .7rem; }
.btn-block { width: 100%; }
.icon-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: transparent;
  display: inline-grid; place-items: center; cursor: pointer; font-size: 1rem; line-height: 1; color: var(--ink);
  transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--gold); }

/* Forms ------------------------------------------------------------------ */
.field { display: block; margin-bottom: 20px; }
.field > span, .label {
  display: block; font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 8px; color: var(--muted);
}
.field > span .muted { text-transform: none; letter-spacing: .02em; }
.field .hint { display: block; font-size: .8rem; color: var(--muted); margin-top: 6px; font-weight: 400; letter-spacing: .01em; text-transform: none; }
.input, select.input, textarea.input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--card-2); color: var(--ink); transition: border-color .2s, background .2s; min-height: 48px;
  font-size: 16px; font-weight: 400; letter-spacing: normal; text-transform: none;
}
.input::placeholder { color: #5f6a63; }
.input:disabled { color: var(--muted); background: var(--card); }
textarea.input { resize: vertical; min-height: 96px; }
.pick-modal textarea.input { min-height: 72px; }
.input:focus { outline: none; border-color: var(--gold); background: var(--card-3); }
.input-group { position: relative; }
.input-group .toggle-pw {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--muted); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; padding: 6px;
}
.input-group .toggle-pw:hover { color: var(--gold); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; cursor: pointer; color: var(--ink-2); }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; }

.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 18px; display: flex; gap: 10px; border: 1px solid; border-left-width: 2px; }
.alert-error { background: var(--danger-tint); color: #f0b3ad; border-color: rgba(224, 122, 114, .3); border-left-color: var(--danger); }
.alert-info { background: var(--info-tint); color: #c4d7ec; border-color: rgba(143, 179, 217, .25); border-left-color: var(--info); }
.alert-success { background: var(--green-tint); color: #a9dcc2; border-color: rgba(0, 135, 81, .35); border-left-color: var(--green); }
.alert-warn { background: var(--gold-tint); color: #e6d3ab; border-color: rgba(201, 168, 106, .3); border-left-color: var(--gold); }
.alert b, .alert a { color: inherit; }
.alert a { text-decoration: underline; text-underline-offset: 3px; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(10, 14, 12, .88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 20px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--ink); text-decoration: none !important; white-space: nowrap; letter-spacing: .01em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--green); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.logo-mark svg { width: 22px; height: 22px; }
.logo b { color: var(--gold); font-weight: 500; font-style: italic; }
.nav-links { display: flex; gap: 6px; margin-left: 20px; }
.nav-links a { padding: 8px 12px; color: var(--ink-2); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.nav-links a:hover { color: var(--gold); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--gold); color: #0a0e0c; font-size: .66rem; font-weight: 600; display: grid; place-items: center;
}
.user-chip { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: .82rem; color: var(--ink); text-decoration: none !important; letter-spacing: .04em; }
.user-chip:hover { border-color: var(--gold); color: var(--ink); }
.avatar { width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--gold-tint); border: 1px solid rgba(201, 168, 106, .45); color: var(--gold); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hide-mobile { display: none !important; }
}

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 500; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 26px; }
.eyebrow::after { content: ''; width: 48px; height: 1px; background: var(--gold); opacity: .6; }
.hero h1 { line-height: 1.02; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero .lead { font-size: 1.1rem; font-weight: 300; color: var(--ink-2); max-width: 540px; }
.search-card { display: flex; gap: 0; background: var(--card); border: 1px solid var(--line-2); max-width: 620px; margin-top: 34px; border-radius: var(--radius-sm); }
.search-card input, .search-card select, .search-card .city-btn { border: 0; background: transparent; padding: 16px 18px; min-width: 0; color: var(--ink); }
.search-card input::placeholder { color: #69746d; }
.search-card input { flex: 1.4; }
.search-card select, .search-card .city-btn { flex: 1; border-left: 1px solid var(--line-2); border-radius: 0; cursor: pointer; }
.search-card input:focus, .search-card select:focus { outline: none; background: var(--card-2); }
.search-card .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
@media (max-width: 560px) {
  .search-card { flex-direction: column; }
  .search-card select, .search-card .city-btn { border-left: 0; border-top: 1px solid var(--line-2); }
  .search-card .btn { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
}
/* "Deliver to" line under the hero search */
.deliver-to { max-width: 620px; margin-top: 14px; font-size: .9rem; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.deliver-to b { color: var(--ink); font-weight: 500; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--gold-hover); }
.addr-form { max-width: 620px; margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.addr-form .input { flex: 1 1 260px; }
.addr-form .alert { flex-basis: 100%; margin: 4px 0 0; }
.vendor-meta .near { color: var(--green-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { padding: 7px 14px; border-radius: var(--radius-sm); background: transparent; border: 1px solid var(--line-2); font-size: .82rem; color: var(--ink-2); cursor: pointer; text-decoration: none; transition: border-color .2s, color .2s; white-space: nowrap; }
.chip:hover, .chip.active { border-color: var(--gold); color: var(--gold); }
.pick-chips { margin-top: 6px; }
.pick-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; padding: 10px 16px; }
.pick-chip input { position: absolute; opacity: 0; pointer-events: none; }
.chips .pick-chip.active { border-color: var(--gold); color: var(--gold); background: var(--gold-tint); }
.chips .pick-chip.active span { color: var(--gold); }
.pick-chip.active::before { content: '✓'; font-weight: 700; color: var(--gold); }
.pick-chip:has(input:focus-visible) { outline: 1px solid var(--gold); outline-offset: 3px; }

/* Arch-framed hero artwork */
.hero-art { position: relative; aspect-ratio: 4 / 5; max-width: 420px; justify-self: center; width: 100%; }
.hero-art .disc {
  position: absolute; inset: 0; border-radius: 999px 999px 0 0;
  background: var(--ankara); background-size: 56px 56px; border: 1px solid rgba(201, 168, 106, .35);
}
.hero-art .disc::after { content: ''; position: absolute; inset: 14px; border-radius: 999px 999px 0 0; border: 1px solid rgba(201, 168, 106, .25); }
.hero-art .plate {
  position: absolute; left: 50%; top: 52%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--bg); display: grid; place-items: center;
  font-size: clamp(4.5rem, 10vw, 7rem); border: 1px solid var(--gold); box-shadow: 0 0 0 10px var(--bg), 0 0 0 11px rgba(201, 168, 106, .4);
}
.hero-art .plate img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.hero-art .float {
  position: absolute; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 16px;
  display: flex; gap: 12px; align-items: center; font-size: .85rem; font-weight: 500; color: var(--ink);
}
.hero-art .float span { font-size: 1.4rem; }
.hero-art .float-pic { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--gold); }
.hero-art .float small { display: block; font-weight: 400; color: var(--muted); font-size: .74rem; letter-spacing: .02em; }
.hero-art .f1 { top: 10%; left: -14%; }
.hero-art .f2 { bottom: 8%; right: -12%; border-left: 2px solid var(--gold); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; }
  .hero-art .f1 { left: -6%; }
  .hero-art .f2 { right: -6%; }
}

/* Sections & cards ------------------------------------------------------- */
.section { padding: 80px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); margin-bottom: 18px; }
.section-head p { margin: 0; color: var(--muted); font-weight: 300; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 28px; }

.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.vendor-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none !important; transition: border-color .25s, transform .25s; }
.vendor-card:hover { border-color: rgba(201, 168, 106, .55); color: inherit; transform: translateY(-2px); }
.vendor-card.closed { opacity: .55; }
.vendor-cover { position: relative; height: 170px; display: grid; place-items: center; font-size: 3.6rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.vendor-cover::before { content: ''; position: absolute; inset: 0; background: var(--ankara); background-size: 44px 44px; opacity: .14; }
.vendor-cover > * { position: relative; }
.vendor-cover .badge { position: absolute; top: 14px; left: 14px; }
.vendor-body { padding: 20px 22px 22px; }
.vendor-body h3 { margin-bottom: 4px; font-size: 1.5rem; }
.vendor-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .8rem; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cover-0 { background: linear-gradient(160deg, #123222, #0c1912); }
.cover-1 { background: linear-gradient(160deg, #1d2a22, #101612); }
.cover-2 { background: linear-gradient(160deg, #2a2416, #14120c); }
.cover-3 { background: linear-gradient(160deg, #0e2a2a, #0b1515); }
.cover-4 { background: linear-gradient(160deg, #22201f, #121110); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-sm); font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; border: 1px solid; }
.badge-open { background: rgba(10, 14, 12, .75); color: var(--green-text); border-color: rgba(79, 191, 139, .45); }
.badge-closed { background: rgba(10, 14, 12, .75); color: var(--muted); border-color: var(--line-2); }
.badge-soft { background: transparent; color: var(--ink-2); border-color: var(--line-2); letter-spacing: .08em; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }

.empty { text-align: center; padding: 56px 16px; color: var(--muted); }
.empty .big { font-size: 2.6rem; margin-bottom: 10px; opacity: .85; }
.empty h2, .empty h3 { color: var(--ink); }

.skeleton { background: linear-gradient(90deg, var(--card), var(--card-3), var(--card)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); height: 280px; border: 1px solid var(--line); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* How it works ----------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.steps .card { border: 0; border-radius: 0; background: transparent; }
.steps .card + .card { border-left: 1px solid var(--line); }
.step { padding: 36px 32px; counter-increment: step; }
.steps { counter-reset: step; }
.step .num { width: 48px; height: 48px; border: 1px solid rgba(201, 168, 106, .45); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 22px; border-radius: var(--radius-sm); }
.step h3::before { content: '0' counter(step) ' — '; color: var(--gold); font-style: italic; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps .card + .card { border-left: 0; border-top: 1px solid var(--line); }
}

/* Vendor CTA band -------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--green-deep); border: 1px solid rgba(201, 168, 106, .3); color: var(--ink); padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 34%; background: var(--ankara); background-size: 48px 48px; opacity: .5; border-left: 1px solid rgba(201, 168, 106, .3); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { color: #b8c9be; font-weight: 300; }
.cta-band ul { margin: 0; padding: 26px 28px; list-style: none; display: grid; gap: 12px; color: var(--ink); background: rgba(6, 20, 13, .92); border: 1px solid rgba(201, 168, 106, .3); font-size: .92rem; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 32px 24px; } .cta-band::after { width: 100%; opacity: .12; border: 0; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { margin-top: 64px; background: #070a08; color: var(--muted); padding: 56px 0 28px; font-size: .9rem; border-top: 1px solid var(--line); }
.site-footer .logo { color: var(--ink); }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--gold); font-family: var(--font); font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .78rem; letter-spacing: .06em; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* Restaurant page -------------------------------------------------------- */
.resto-hero { padding: 48px 0; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.resto-hero .inner { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.resto-emoji { width: 132px; height: 132px; border-radius: var(--radius-sm); display: grid; place-items: center; font-size: 3.6rem; flex-shrink: 0; border: 1px solid rgba(201, 168, 106, .4); outline: 1px solid var(--line); outline-offset: 6px; }
.resto-facts { display: flex; gap: 0; flex-wrap: wrap; margin-top: 18px; border: 1px solid var(--line); width: fit-content; }
.fact { padding: 10px 18px; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font-size: .95rem; letter-spacing: .02em; text-transform: none; margin-top: 2px; }
.cat-tabs { position: sticky; top: 79px; z-index: 30; background: rgba(10, 14, 12, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cat-tabs .container { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.menu-section { padding-top: 40px; scroll-margin-top: 140px; }
.menu-section h2 { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.menu-item { display: flex; gap: 18px; padding: 18px; align-items: center; transition: border-color .2s; }
.menu-item:hover { border-color: var(--line-2); }
.menu-item .emoji { width: 76px; height: 76px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 2.2rem; }
.menu-item .info { flex: 1; min-width: 0; }
.menu-item h3 { font-size: 1.25rem; margin-bottom: 2px; }
.menu-item p { font-size: .84rem; color: var(--muted); margin: 0 0 10px; font-weight: 300; }
.price { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--gold); }
.qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.qty button { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; font-weight: 400; line-height: 1; color: var(--ink); font-size: 1rem; }
.qty button:hover { color: var(--gold); background: var(--card-2); }
.qty span { min-width: 28px; text-align: center; font-weight: 500; font-size: .9rem; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); line-height: 32px; }
@media (max-width: 400px) { .menu-grid { grid-template-columns: 1fr; } }

/* Cart drawer ------------------------------------------------------------ */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--card); border-left: 1px solid var(--line-2); z-index: 61; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-open .drawer { transform: none; box-shadow: var(--shadow-lg); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.6rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 22px 24px; border-top: 1px solid var(--line); background: var(--bg-2); }
.cart-line { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line .emoji { font-size: 1.6rem; width: 48px; height: 48px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-line .info { flex: 1; min-width: 0; font-size: .9rem; }
.cart-line .info b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.totals { display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--ink); padding-top: 12px; border-top: 1px solid var(--line-2); margin-top: 6px; }
.totals .grand span:last-child { color: var(--gold); }

/* Auth pages (customer) -------------------------------------------------- */
.auth-wrap { min-height: calc(100vh - 79px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { position: relative; overflow: hidden; background: var(--green-deep); color: var(--ink); padding: 64px; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid var(--line); }
.auth-art::before { content: ''; position: absolute; inset: 0; background: var(--ankara); background-size: 64px 64px; opacity: .35; }
.auth-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 38, 26, .2), rgba(6, 26, 18, .96) 75%); }
.auth-art > * { position: relative; z-index: 1; }
.auth-art .big-emoji { font-size: 3.4rem; line-height: 1; margin-bottom: 28px; letter-spacing: .2em; }
.auth-art h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); font-style: italic; }
.auth-art p { color: #b8c9be; max-width: 440px; font-weight: 300; }
.auth-panel { display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.auth-box { width: 100%; max-width: 440px; }
.auth-box h1 { font-size: 2.8rem; }
.auth-box > p.muted { margin-bottom: 30px; }
.auth-switch { margin-top: 24px; text-align: center; font-size: .9rem; color: var(--muted); }
.role-note { margin-top: 32px; padding: 16px 18px; border: 1px solid var(--line); border-left: 2px solid var(--gold); font-size: .85rem; color: var(--muted); background: var(--card); border-radius: var(--radius-sm); }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* Checkout & account ----------------------------------------------------- */
.page-head { padding: 48px 0 12px; }
.page-head h1 { font-size: 2.8rem !important; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.sticky-card { position: sticky; top: 100px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .sticky-card { position: static; } }
.pay-options { display: grid; gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.pay-option { display: flex; gap: 14px; align-items: center; padding: 16px; cursor: pointer; background: transparent; color: var(--ink-2); transition: background .2s; }
.pay-option + .pay-option { border-top: 1px solid var(--line-2); }
.pay-option:hover { background: var(--card-2); }
.pay-option:has(input:checked) { background: var(--green-tint); color: var(--ink); box-shadow: inset 2px 0 0 var(--green); }
.pay-option input { accent-color: var(--green); width: 16px; height: 16px; }

.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tab { padding: 14px 18px; border: 0; background: none; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.order-card { padding: 26px; margin-bottom: 18px; }
.order-card h3 { font-size: 1.5rem; }
.order-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.order-items { margin: 18px 0; padding: 16px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .9rem; display: grid; gap: 6px; color: var(--ink-2); }
.order-items div { display: flex; justify-content: space-between; gap: 12px; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 20px; }
.progress .seg { height: 2px; background: var(--line-2); }
.progress .seg.done { background: var(--green-text); }
.progress-labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.progress-labels .on { color: var(--gold); }
@media (max-width: 520px) { .progress-labels { display: none; } }

.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--radius-sm); font-size: .64rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; border: 1px solid; white-space: nowrap; }
.st-pending { color: var(--gold); border-color: rgba(201, 168, 106, .45); background: var(--gold-tint); }
.st-accepted, .st-preparing, .st-ready { color: var(--info); border-color: rgba(143, 179, 217, .4); background: var(--info-tint); }
.st-on_the_way { color: #e2c48b; border-color: rgba(226, 196, 139, .45); background: rgba(226, 196, 139, .08); }
.st-delivered { color: var(--green-text); border-color: rgba(79, 191, 139, .45); background: var(--green-tint); }
.st-rejected, .st-cancelled { color: var(--muted); border-color: var(--line-2); background: transparent; }

/* Toasts ----------------------------------------------------------------- */
.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast { background: var(--card-3); color: var(--ink); padding: 14px 18px; border: 1px solid var(--line-2); border-left: 2px solid var(--gold); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-size: .88rem; animation: toast-in .25s ease; }
.toast.success { border-left-color: var(--green-text); }
.toast.error { border-left-color: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* Modal ------------------------------------------------------------------ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); width: min(580px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 1.7rem; }
.modal-body { padding: 28px; }
.modal-foot { padding: 18px 28px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; background: var(--bg-2); }
/* Form windows (add/edit a dish, dish pickers): only the middle scrolls, so the title with ✕ and the
   Cancel / Save buttons always stay in view. dvh fits the phone screen between its browser bars. */
form.modal { display: flex; flex-direction: column; overflow: hidden; max-height: calc(100dvh - 32px); }
form.modal > .modal-head, form.modal > .modal-foot { flex-shrink: 0; }
form.modal > .modal-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.emoji-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.emoji-picker button { width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--card-2); font-size: 1.3rem; cursor: pointer; }
.emoji-picker button:hover { border-color: var(--muted); }
.emoji-picker button.active { border-color: var(--gold); background: var(--gold-tint); }

/* ==========================================================================
   Vendor portal (body.biz)
   ========================================================================== */
body.biz { background: var(--bg); }
.biz-auth { min-height: calc(100vh - 3px); display: grid; grid-template-columns: 440px 1fr; }
.biz-side { position: relative; overflow: hidden; color: var(--ink-2); padding: 44px 40px; display: flex; flex-direction: column; background: #070a08; border-right: 1px solid var(--line); }
.biz-side::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: var(--ankara); background-size: 40px 40px; opacity: .3; border-top: 1px solid rgba(201, 168, 106, .3); }
.biz-side > * { position: relative; z-index: 1; }
.biz-side .logo { color: var(--ink); }
.biz-tag { display: inline-block; margin-left: 8px; padding: 3px 8px; border: 1px solid rgba(201, 168, 106, .6); color: var(--gold); font-family: var(--font); font-style: normal; font-size: .58rem; font-weight: 500; letter-spacing: .22em; vertical-align: middle; border-radius: var(--radius-sm); }
.biz-side h2 { color: var(--ink); margin-top: 64px; font-size: 2.3rem; font-style: italic; }
.biz-side ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.biz-side li { display: flex; gap: 16px; align-items: flex-start; font-size: .88rem; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 300; }
.biz-side li b { color: var(--ink); font-weight: 500; }
.biz-side li span { font-size: 1.1rem; opacity: .85; }
.biz-main { background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.biz-box { width: 100%; max-width: 580px; }
.biz-box.narrow { max-width: 440px; }
.biz-box h1 { font-size: 2.8rem; }
.biz-card { background: var(--card); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
@media (max-width: 900px) {
  .biz-auth { grid-template-columns: 1fr; }
  .biz-side { padding: 22px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .biz-side h2, .biz-side ul, .biz-side .side-extra { display: none; }
  .biz-side::after { display: none; }
  .biz-main { padding: 32px 16px; align-items: flex-start; }
}

.wizard-steps { display: flex; gap: 10px; margin: 8px 0 28px; }
.wizard-steps .ws { flex: 1; }
.wizard-steps .bar { height: 2px; background: var(--line-2); margin-bottom: 10px; }
.wizard-steps .ws.done .bar { background: var(--green-text); }
.wizard-steps .ws.current .bar { background: var(--gold); }
.wizard-steps .lbl { font-size: .66rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .18em; }
.wizard-steps .ws.current .lbl { color: var(--gold); }
.wizard-steps .ws.done .lbl { color: var(--green-text); }
.pw-rules { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: .78rem; color: var(--muted); text-transform: none; letter-spacing: .02em; font-weight: 400; }
.pw-rules li::before { content: '— '; }
.pw-rules li.ok { color: var(--green-text); }
.pw-rules li.ok::before { content: '✓ '; }

.pin-boxes { display: flex; gap: 10px; justify-content: center; margin: 10px 0 24px; }
.pin-boxes input {
  width: 52px; height: 64px; text-align: center; font-size: 1.5rem; font-weight: 500; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); border-bottom: 2px solid var(--line-2); background: var(--card-2); color: var(--gold); -webkit-text-security: disc;
}
.pin-boxes input:focus { outline: none; border-color: var(--gold); background: var(--card-3); }
@media (max-width: 420px) { .pin-boxes { gap: 6px; } .pin-boxes input { width: 42px; height: 54px; } }

.vendor-id-display { margin: 24px 0; padding: 28px; background: var(--green-deep); color: var(--ink); text-align: center; border: 1px solid rgba(201, 168, 106, .45); outline: 1px solid var(--line); outline-offset: 5px; border-radius: var(--radius-sm); }
.vendor-id-display .code { font-family: var(--display); font-size: 2.8rem; font-weight: 600; letter-spacing: .1em; color: var(--gold); }

/* Dashboard layout */
.dash { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.dash-side { background: #070a08; color: var(--ink-2); padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--line); }
.dash-side .logo { color: var(--ink); font-size: 1.35rem; gap: 10px; padding: 4px 8px 26px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.dash-side .logo-mark { width: 32px; height: 32px; }
.dash-side .biz-tag { font-size: .54rem; padding: 2px 6px; margin-left: 2px; }
.dash-nav button {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 0; border-left: 2px solid transparent;
  background: transparent; color: var(--muted); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; text-align: left; border-radius: 0;
}
.dash-nav button:hover { color: var(--ink); }
.dash-nav button.active { background: var(--gold-tint); color: var(--gold); border-left-color: var(--gold); }
.dash-nav .count { margin-left: auto; background: var(--gold); color: #0a0e0c; font-size: .64rem; padding: 1px 7px; border-radius: 9px; letter-spacing: 0; font-weight: 600; }
.dash-side .side-foot { margin-top: auto; padding: 16px; border: 1px solid var(--line); font-size: .8rem; color: var(--muted); border-radius: var(--radius-sm); }
.dash-side .side-foot b { color: var(--ink); display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 600; margin-bottom: 2px; }
.dash-side .side-foot .btn { border-color: var(--line-2) !important; color: var(--ink-2) !important; }
.dash-side .side-foot .btn:hover { border-color: var(--gold) !important; color: var(--gold) !important; }
.dash-main { min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 14px; padding: 18px 32px; background: rgba(10, 14, 12, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; flex-wrap: wrap; }
.dash-top h2 { margin: 0; font-size: 1.9rem; }
.dash-content { padding: 32px; }
.menu-toggle { display: none; }
/* Menu tab: the Add pastry / catering / dish buttons stay just under the top bar while scrolling. */
.menu-actions { position: sticky; top: var(--dash-top-h, 77px); z-index: 15; margin: -32px -32px 18px; padding: 14px 32px; background: rgba(10, 14, 12, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: fixed; left: 0; top: 0; z-index: 70; width: 270px; transform: translateX(-100%); transition: transform .25s; }
  .dash.nav-open .dash-side { transform: none; box-shadow: var(--shadow-lg); }
  .menu-toggle { display: inline-grid; }
  .dash-content { padding: 20px 16px; }
  .dash-top { padding: 12px 16px; }
  /* Five add buttons: special, pastry, catering on top; drink and dish (wider) below. */
  .menu-actions { margin: -20px -16px 14px; padding: 10px 16px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .menu-actions > p, .menu-actions .spacer { display: none; }
  .menu-actions .btn { grid-column: span 2; min-width: 0; padding: 10px 6px; font-size: .64rem; letter-spacing: .08em; white-space: nowrap; }
  .menu-actions #add-drink { grid-column: span 3; }
  .menu-actions #add-item { grid-column: span 3; }
}

.store-switch { display: inline-flex; align-items: center; gap: 14px; padding: 7px 8px 7px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.switch { position: relative; display: inline-block; vertical-align: middle; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch .track { position: absolute; inset: 0; border-radius: var(--radius-sm); background: var(--card-3); border: 1px solid var(--line-2); cursor: pointer; transition: background .2s, border-color .2s; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 1px; background: var(--muted); transition: transform .2s, background .2s; }
.switch input:checked + .track { background: var(--green); border-color: var(--green); }
.switch input:checked + .track::after { transform: translateX(20px); background: var(--ink); }
.switch input:focus-visible + .track { outline: 1px solid var(--gold); outline-offset: 3px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.stat-grid .card { border: 0; border-radius: 0; background: transparent; }
.stat-grid .card + .card { border-left: 1px solid var(--line); }
.stat-grid .card[data-go]:hover { background: var(--card-2); }
.stat { padding: 26px 28px; }
.stat .label { font-size: .66rem; color: var(--muted); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.stat .value { font-family: var(--display); font-size: 2.6rem; font-weight: 500; margin-top: 8px; line-height: 1.1; }
.stat .sub { font-size: .8rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid .card:nth-child(3) { border-left: 0; }
  .stat-grid .card:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat-grid .card + .card { border-left: 0; border-top: 1px solid var(--line); }
}

.week-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; align-items: end; height: 200px; padding-top: 16px; margin-top: 12px; border-bottom: 1px solid var(--line-2); }
.week-chart .col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 8px; }
.week-chart .bar { width: 100%; max-width: 34px; border-radius: 0; background: linear-gradient(180deg, var(--green-text), var(--green)); min-height: 2px; position: relative; }
.week-chart .bar.zero { background: var(--line-2); }
.week-chart .day { font-size: .62rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; padding-bottom: 8px; }
.week-chart .amt { font-size: .74rem; color: var(--gold); font-weight: 500; white-space: nowrap; }

.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .64rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); padding: 16px 18px; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.table td { padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--card-2); }
.dish-cell { display: flex; align-items: center; gap: 14px; }
.dish-cell .emoji { font-size: 1.5rem; width: 46px; height: 46px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius-sm); flex-shrink: 0; }

.vorder { padding: 22px 26px; margin-bottom: 16px; border-left: 2px solid var(--line-2); }
.vorder h3 { font-size: 1.45rem; }
.vorder.is-pending { border-left-color: var(--gold); }
.vorder.is-accepted, .vorder.is-preparing, .vorder.is-ready { border-left-color: var(--info); }
.vorder.is-on_the_way { border-left-color: #e2c48b; }
.vorder.is-delivered { border-left-color: var(--green-text); }
.vorder .cust { font-size: .86rem; color: var(--ink-2); display: grid; gap: 3px; }
.seg-control { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 0; gap: 0; }
.seg-control button { border: 0; background: none; padding: 10px 18px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-radius: 0; }
.seg-control button + button { border-left: 1px solid var(--line-2); }
.seg-control button:hover { color: var(--ink); }
.seg-control button.active { background: var(--gold-tint); color: var(--gold); }

.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .settings-grid { grid-template-columns: 1fr; } }
/* Opening hours (vendor Store settings) */
.hours-auto { display: flex; gap: 14px; align-items: flex-start; margin: 4px 0 16px; cursor: pointer; }
.hours-auto .switch { margin-top: 2px; }
.hours-auto .hint { display: block; margin-top: 4px; }
.hours-days { display: grid; gap: 8px; }
#hours-form { grid-column: 1 / -1; }
.hours-days { max-width: 620px; }
.hours-day { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.hours-day .input { padding: 8px 10px; min-width: 0; }
.hours-open { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; }
.hours-open input { width: 18px; height: 18px; accent-color: var(--palm); }
.hours-closed { display: none; grid-column: 2 / -1; }
.hours-day.is-closed .input, .hours-day.is-closed > .muted:not(.hours-closed) { display: none; }
.hours-day.is-closed .hours-closed { display: block; }
.hours-off .hours-days { opacity: .55; }
#hours-copy { justify-self: start; margin-top: 4px; }
@media (max-width: 560px) { .hours-day { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 6px; margin-bottom: 4px; } .hours-open, .hours-closed { grid-column: 1 / -1; } .hours-day.is-closed .hours-closed { margin-top: -4px; font-size: .85rem; } }
/* Opening hours (customer kitchen page) */
.resto-hours { margin-top: 12px; font-size: .9rem; }
.resto-hours summary { cursor: pointer; color: var(--ink-2); }
.resto-hours ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: auto auto; gap: 4px 18px; justify-content: start; }
.resto-hours li { display: contents; }
.resto-hours li.today span { font-weight: 700; color: var(--ink); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 0; font-size: .9rem; border-top: 1px solid var(--line); }
.kv dt, .kv dd { padding: 11px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; }
.kv dd { margin: 0; color: var(--ink); word-break: break-word; }

/* Misc ------------------------------------------------------------------- */
/* Windows has no flag emoji, so the Nigerian flag is drawn in CSS. */
.ng-flag { display: inline-block; width: 18px; height: 12px; vertical-align: -1px; background: linear-gradient(90deg, var(--green) 0 33.3%, var(--ink) 33.3% 66.6%, var(--green) 66.6%); }
.biz-side .side-extra { background: #070a08; padding: 14px 16px; border: 1px solid var(--line); color: var(--muted) !important; }
code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .85em; letter-spacing: .04em; }
/* Some fonts default to old-style figures (a "1" that reads like "I"); use lining numerals. */
h1, h2, h3, h4, .logo, .price, .stat .value, .totals .grand, .vendor-id-display .code, .avatar, .side-foot b { font-variant-numeric: lining-nums; }
@media (max-width: 560px) { .eyebrow::after { display: none; } }

/* Email codes ------------------------------------------------------------ */
.code-input { font-family: var(--display); font-size: 2rem; font-weight: 600; letter-spacing: .5em; text-align: center; color: var(--gold); padding: 10px 0 10px .5em; font-variant-numeric: lining-nums; }
.code-input::placeholder { color: #3a463f; letter-spacing: .5em; }
.link-btn { background: none; border: 0; padding: 0; color: var(--green-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font: inherit; }
.link-btn:hover:not(:disabled) { color: var(--gold); }
.link-btn:disabled { color: var(--muted); cursor: default; text-decoration: none; }
.forgot-link { display: block; text-align: right; font-size: .82rem; margin: -10px 0 18px; }
.sent-to { padding: 14px 16px; border: 1px solid var(--line); border-left: 2px solid var(--gold); background: var(--card); margin-bottom: 22px; font-size: .9rem; color: var(--ink-2); border-radius: var(--radius-sm); word-break: break-word; }

/* Page loading screen ---------------------------------------------------- */
html { background: #0a0e0c; }
html.is-loading { overflow: hidden; }
html.is-loading body > :not(.page-loader) { visibility: hidden; }
.page-loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: var(--bg); transition: opacity .45s ease, visibility .45s ease;
}
.page-loader::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--ankara); background-size: 46px 46px; opacity: .1;
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%); mask: radial-gradient(circle, #000 35%, transparent 70%);
}
.page-loader::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green) 0 33.3%, var(--ink) 33.3% 66.6%, var(--green) 66.6%);
}
.page-loader.pl-out { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-inner { position: relative; display: grid; justify-items: center; gap: 16px; text-align: center; padding: 0 16px; }
.pl-mark {
  width: 64px; height: 64px; display: grid; place-items: center; background: var(--green); border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px rgba(201, 168, 106, .55), 0 0 0 9px var(--bg), 0 0 0 10px rgba(201, 168, 106, .25);
  margin-bottom: 10px; animation: pl-breathe 1.8s ease-in-out infinite;
}
.pl-mark svg { width: 38px; height: 38px; }
.pl-name { font-family: var(--display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--ink); }
.pl-name em { color: var(--gold); font-weight: 500; }
.pl-tag { font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.pl-bar { width: 200px; height: 1px; margin-top: 14px; background: var(--line-2); overflow: hidden; }
.pl-bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@keyframes pl-breathe { 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .page-loader { transition: none; }
  .pl-mark { animation: none; }
}

/* Popup notices ---------------------------------------------------------- */
.notice-modal { width: min(440px, 100%); border-top: 2px solid var(--gold); }
.notice-modal.notice-error { border-top-color: var(--danger); }
.notice-modal .modal-body { padding: 36px 32px 32px; }
.notice-modal h3 { font-size: 1.9rem; margin-bottom: 10px; }
.notice-modal p { margin: 0 auto 24px; max-width: 340px; }
.notice-icon { width: 56px; height: 56px; margin: 0 auto 18px; display: grid; place-items: center; font-size: 1.5rem; border: 1px solid rgba(201, 168, 106, .45); border-radius: var(--radius-sm); }
.notice-error .notice-icon { border-color: rgba(224, 122, 114, .5); }
/* Texts: the "Text me" box at sign-up and in My account */
.check.sms-optin { margin: 4px 0 18px; font-size: .84rem; line-height: 1.5; color: var(--ink-2); }
.check.sms-optin b { color: var(--ink); }
.sms-card { margin-top: 16px; }
.sms-card .check.sms-optin { margin: 0; }
/* Checkout: "Is this the right time?" */
.time-confirm { width: min(480px, 100%); }
.tc-rows { margin: 16px 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tc-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; font-size: .92rem; color: var(--ink-2); }
.tc-row + .tc-row { border-top: 1px solid var(--line); }
.tc-row b { color: var(--ink); text-align: right; white-space: nowrap; }
.tc-row:first-child b { color: var(--gold); }
.time-confirm .tc-note { font-size: .88rem; color: var(--ink-2); margin: 0 0 16px; max-width: none; }
.tc-agree { margin-bottom: 20px; font-weight: 600; color: var(--ink); }
.tc-actions { display: flex; gap: 10px; }
.tc-actions .btn { flex: 1; }
@media (max-width: 520px) {
  .notice-modal.time-confirm .modal-body { padding: 26px 18px 20px; }
  .tc-row { flex-direction: column; gap: 2px; }
  .tc-row b { text-align: left; }
}

/* Dish photos ------------------------------------------------------------ */
.dish-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-item .emoji, .cart-line .emoji, .dish-cell .emoji, .resto-emoji { overflow: hidden; }
.line-pic { width: 30px; height: 30px; object-fit: cover; border-radius: var(--radius-sm); vertical-align: middle; margin-right: 10px; border: 1px solid var(--line); }
.top-pic { width: 40px; height: 40px; display: grid; place-items: center; font-size: 1.3rem; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius-sm); flex-shrink: 0; }
.vendor-cover.has-photo::before { display: none; }
.vendor-cover .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vendor-cover.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 12, .45), transparent 45%); }
.vendor-cover .badge { z-index: 1; }
.vendor-card:hover .cover-img { transform: scale(1.03); }
.vendor-cover .cover-img { transition: transform .4s ease; }

/* Photo picker in the "Add a dish" window */
.photo-picker { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.photo-preview {
  width: 132px; height: 132px; flex-shrink: 0; display: grid; place-items: center; overflow: hidden;
  background: var(--card-2); border: 1px dashed var(--line-2); border-radius: var(--radius-sm);
  color: var(--muted); font-size: .78rem; text-align: center; padding: 0; cursor: pointer;
}
.photo-preview.has-photo { border-style: solid; border-color: rgba(201, 168, 106, .5); }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview .ph { display: grid; gap: 6px; padding: 10px; }
.photo-preview .ph b { font-size: 1.6rem; font-weight: 400; color: var(--gold); }
.photo-actions { display: grid; gap: 8px; }
.photo-actions .hint { font-size: .78rem; color: var(--muted); max-width: 260px; }

/* Business logos --------------------------------------------------------- */
/* A light tile keeps dark or transparent logos readable on the dark site. */
.logo-tile { background: #f4f1ea !important; border: 1px solid rgba(201, 168, 106, .45); display: grid; place-items: center; overflow: hidden; }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.photo-preview.logo-tile:not(.has-photo) { background: var(--card-2) !important; border-style: dashed; }
.vendor-title { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.vendor-title h3 { margin: 0; }
.card-logo { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-sm); }
.card-logo img { padding: 6px; }
.dash-side .side-logo { display: block; width: 44px; height: 44px; margin-bottom: 10px; background: #f4f1ea; border-radius: var(--radius-sm); overflow: hidden; }
.dash-side .side-logo img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.dash-side .side-logo.hidden { display: none; }

/* "What are you craving?" food list ----------------------------------------- */
.foods-section { padding-bottom: 8px; }
.food-strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.food-tile {
  flex: 0 0 148px; scroll-snap-align: start; display: grid; gap: 4px; justify-items: center; text-align: center;
  padding: 14px 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s;
}
.food-tile:hover { border-color: rgba(201, 168, 106, .55); transform: translateY(-2px); }
.food-tile.active { border-color: var(--gold); background: var(--gold-tint); }
.food-pic { width: 92px; height: 92px; margin-bottom: 8px; display: grid; place-items: center; font-size: 2.4rem; border-radius: 50%; overflow: hidden; background: var(--card-2); border: 1px solid var(--line-2); }
.food-tile.active .food-pic { border-color: var(--gold); }
.food-name { font-family: var(--display); font-size: 1.15rem; font-weight: 600; line-height: 1.15; }
.food-count { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vendor-matches { list-style: none; margin: 12px 0 0; padding: 10px 12px; display: grid; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .85rem; }
.vendor-matches li { display: flex; align-items: center; gap: 0; }
.vendor-matches li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.vendor-matches li b { color: var(--gold); font-weight: 500; margin-left: 10px; }
.vendor-matches .line-pic { width: 26px; height: 26px; margin-right: 8px; }
.menu-item.highlight { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px rgba(201, 168, 106, .12); }

/* "Who serves it" panel inside the cravings section */
.food-results { margin-top: 26px; padding: 26px; border: 1px solid rgba(201, 168, 106, .35); border-radius: var(--radius); background: var(--bg-2); scroll-margin-top: 100px; }
.food-results-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.food-results-head h3 { font-size: 1.7rem; margin: 0 0 4px; }
.food-results-head p { margin: 0; }
@media (max-width: 560px) { .food-results { padding: 16px; } }

/* Payments --------------------------------------------------------------- */
.payment-box { padding: 16px; border: 1px solid var(--line-2); background: var(--card-2); border-radius: var(--radius-sm); min-height: 60px; }
.pay-note { margin: 12px 0 0; line-height: 1.6; }
.pay-status { font-size: .8rem; color: var(--muted); padding-top: 6px; }
.pay-status.pay-captured { color: var(--green-text); }
.pay-status.pay-authorized { color: var(--gold); }
.payout-card { display: grid; gap: 16px; }
.payout-state { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-2); border-left-width: 2px; border-radius: var(--radius-sm); }
.payout-state.ready { border-left-color: var(--green-text); }
.payout-state.todo { border-left-color: var(--gold); }
.payout-state .icon { font-size: 1.6rem; }
.money-split { display: grid; gap: 8px; font-size: .9rem; }
.money-split div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-money { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.order-money b { color: var(--gold); font-weight: 500; }

/* Driver portal ---------------------------------------------------------- */
.driver-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #070a08; position: sticky; top: 0; z-index: 20; }
.driver-top .logo { font-size: 1.3rem; }
.sound-toggle { white-space: nowrap; }
/* Driver pickup checklist */
.pickup-check { margin-top: 14px; padding: 14px; border: 1px solid rgba(201, 168, 106, .4); border-radius: var(--radius-sm); background: var(--gold-tint); }
.pickup-check.complete { border-color: rgba(79, 191, 139, .5); background: var(--green-tint); }
.pickup-check-title { margin: 0 0 10px; font-size: .9rem; color: var(--ink); }
.pickup-item { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card-2); cursor: pointer; }
.pickup-item input { width: 22px; height: 22px; accent-color: var(--green); margin: 0; flex: none; }
.pickup-item.done { border-color: rgba(79, 191, 139, .5); }
.pickup-item.done .pickup-name { color: var(--muted); text-decoration: line-through; }
.pickup-qty { font-weight: 600; color: var(--gold); min-width: 30px; }
.pickup-name { flex: 1; color: var(--ink); }
.pickup-count { margin: 4px 0 0; }
/* Home: "Why Naija Eats" */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .25s, transform .25s; }
.why-card:hover { border-color: rgba(201, 168, 106, .5); transform: translateY(-2px); }
.why-icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 50%; border: 1px solid rgba(201, 168, 106, .45); background: var(--gold-tint); margin-bottom: 18px; }
.why-card h3 { margin: 0 0 8px; font-size: 1.35rem; }
.why-card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; gap: 12px; } .why-card { padding: 22px 20px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; } .why-icon { margin: 0; grid-row: span 2; } }
.cta-band ul b { color: var(--gold); font-weight: 500; }
/* Dish sizes */
.size-list { display: grid; gap: 6px; margin-top: 8px; }
.size-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--line); }
.size-row:first-child { border-top: 0; }
.size-row .size-name { font-weight: 500; }
.size-row .price { font-size: .95rem; }
.size-tag { display: inline-block; margin: 2px 0; padding: 1px 8px; border-radius: var(--radius-sm); font-size: .75rem; background: var(--gold-tint); color: var(--gold); width: fit-content; }
.size-prices { display: grid; gap: 2px; font-size: .9rem; white-space: nowrap; }
.sizes-box { margin: 6px 0 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.sizes-editor { margin-top: 10px; }
.size-edit-row { display: grid; grid-template-columns: 1fr 120px auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.money-input { position: relative; }
.money-input span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.money-input input { padding-left: 22px; }
.size-edit-row .icon-btn:disabled { opacity: .35; cursor: not-allowed; }
/* Scheduled delivery + catering */
.sched-tag { display: inline-block; margin-top: 6px; padding: 4px 10px; border: 1px solid rgba(201, 168, 106, .35); background: var(--gold-tint); color: var(--ink); border-radius: var(--radius-sm); font-size: .85rem; }
.sched-tag b { color: var(--gold); font-weight: 500; }
.when-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; }
.when-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.when-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-tint); }
.when-opt input { margin-top: 3px; accent-color: var(--green); }
.when-opt small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.when-opt.disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 520px) { .when-options { grid-template-columns: 1fr; } }
.catering-note { margin: -4px 0 14px; color: var(--ink-2); font-size: .92rem; }
.catering-note b { color: var(--gold); font-weight: 500; }
.size-row .size-name small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; }
/* Catering trays: fixed size + "serves" (not editable), then the price */
.size-edit-row.catering { grid-template-columns: 1fr 140px; }
/* Add-ons: hint on the dish card, the customer's picker, and the line in the cart */
.menu-item p.extras-hint { color: var(--gold); font-weight: 400; font-size: .8rem; margin: -4px 0 10px; }
/* Add-ons under a dish (fufu with a soup, extra protein…): each one can be added and removed. */
.addon-list { display: grid; gap: 2px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.addon-h { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.addon-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; min-height: 40px; }
.addon-name { font-size: .92rem; }
.addon-price { font-size: .88rem; color: var(--muted); }
.addon-row .pick .btn { padding: 4px 12px; min-height: 32px; font-size: .85rem; }
.in-cart { font-size: .78rem; color: var(--muted); margin-right: 8px; white-space: nowrap; }
.extra-options { display: grid; gap: 8px; margin-top: 4px; }
.extra-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.extra-opt input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.extra-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-tint); }
.extra-opt .extra-name { font-weight: 500; }
.extra-opt .extra-price { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.extras-modal .modal-foot .btn-primary { flex: 1; }
.size-edit-row.extra-edit-row { grid-template-columns: 1fr 104px auto; }
@media (max-width: 480px) {
  .extras-modal .modal-foot { padding: 16px; }
  .extras-modal .modal-foot .btn-outline { display: none; } /* ✕ and tapping outside still close it */
}
.order-items .item-note { margin: -2px 0 2px 0; padding: 6px 10px; border-left: 2px solid var(--gold); background: var(--gold-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-size: .85rem; overflow-wrap: anywhere; }
.cart-line .note-line { display: block; font-size: .78rem; color: var(--ink-2); overflow-wrap: anywhere; }
.pastry-note { margin: 16px 0 0; }
/* Pastries: price for a dozen on the card, and the "how many" picker */
.menu-item .price .per-dozen { display: block; font-family: inherit; font-size: .74rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.pastry-qty { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px; align-items: center; max-width: 260px; }
.pastry-qty .icon-btn { width: 48px; height: 48px; font-size: 1.3rem; }
.pastry-qty input { text-align: center; font-size: 1.15rem; font-weight: 600; }
.qty-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.qty-chips .chip.active { border-color: var(--gold); color: var(--gold); background: var(--gold-tint); }
#qty-error, #choice-error { color: var(--danger); min-height: 1em; margin: 6px 0 0; }
/* Pastry with choices: price per choice on the card, and a count for each picked choice */
.pastry-prices { display: grid; gap: 4px; margin: 4px 0 10px; font-size: .85rem; }
.pastry-prices div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line); padding-top: 4px; }
.pastry-prices div:first-child { border-top: 0; padding-top: 0; }
.pastry-prices small { color: var(--muted); font-size: .74rem; }
.pastry-choices { display: grid; gap: 10px; margin-top: 4px; }
.pastry-choice { padding: 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color .2s, background .2s; }
.pastry-choice.on { border-color: var(--gold); background: var(--gold-tint); }
.pastry-choice.bad { border-color: var(--danger); }
.pastry-choice .choice-pick { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; cursor: pointer; margin-bottom: 10px; }
.pastry-choice .choice-pick input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.pastry-choice .extra-price { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.pastry-choice .pastry-qty { grid-template-columns: 44px minmax(0, 1fr) 44px auto; max-width: 300px; }
.pastry-choice .pastry-qty .icon-btn { width: 44px; height: 44px; }
.pastry-choice:not(.on) .pastry-qty { opacity: .55; }
/* Pastry combos: what's in the box, on the card and in the kitchen's editor */
.combo-badge { vertical-align: middle; font-size: .62rem; }
.menu-subhead { font-size: 1.05rem; margin: 22px 0 12px; color: var(--ink-2); }
.menu-subhead:first-of-type { margin-top: 6px; }
.food-subhead { grid-column: 1 / -1; font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--ink-2); margin: 10px 0 -6px; }
.food-subhead:first-child { margin-top: 0; }
.combo-list { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 2px; font-size: .85rem; color: var(--ink-2); }
.combo-list b { color: var(--gold); font-weight: 600; }
.pastry-type { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
@media (max-width: 480px) { .pastry-type { grid-template-columns: 1fr; } }
.size-edit-row.combo-edit-row { grid-template-columns: 1fr 90px auto; }
.cart-line .extras-line { display: block; font-size: .78rem; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tray-name { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 6px 14px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); }
.tray-name b { font-weight: 600; }
.tray-name span { color: var(--muted); font-size: .85rem; }
/* Home: pre-launch welcome */
.welcome-card { border-color: rgba(201, 168, 106, .4); }
.welcome-card p b { color: var(--gold); font-weight: 500; }
/* Launch waitlist */
.launch-strip { background: var(--green-deep); color: var(--ink-2); text-align: center; font-size: .85rem; padding: 9px 16px; border-bottom: 1px solid rgba(0, 135, 81, .35); }
.launch-strip b { color: var(--ink); font-weight: 500; }
.launch-strip a { color: var(--gold); margin-left: 6px; }
.launch-note { margin: 0 0 18px; }
.badge-soon { color: var(--gold); border-color: rgba(201, 168, 106, .45); }
.badge-soon .dot { background: var(--gold); }
.waitlist-page { max-width: 760px; padding-top: 56px; padding-bottom: 60px; text-align: center; }
.waitlist-page h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 14px 0 12px; }
.waitlist-page .lead { max-width: 560px; margin: 0 auto; }
.countdown { display: flex; justify-content: center; gap: 12px; margin: 30px 0; flex-wrap: wrap; }
.countdown div { min-width: 82px; padding: 14px 10px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); display: flex; flex-direction: column; }
.countdown b { font-family: var(--display); font-size: 2.1rem; color: var(--gold); font-weight: 600; line-height: 1; }
.countdown span { font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.wl-card { text-align: left; max-width: 560px; margin: 0 auto; }
.wl-steps { padding-left: 20px; color: var(--ink-2); line-height: 1.9; margin: 0 0 18px; }
/* Legal & support pages */
.legal { max-width: 820px; padding-top: 40px; padding-bottom: 60px; }
.legal h1 { margin: 6px 0 6px; font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { margin: 34px 0 10px; font-size: 1.5rem; }
.legal p, .legal li, .legal td, .legal th { line-height: 1.7; color: var(--ink-2); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal b { color: var(--ink); font-weight: 500; }
.legal-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .92rem; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { color: var(--muted); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.legal-nav { margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; line-height: 2; }
.legal details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.legal summary { cursor: pointer; color: var(--ink); }
.support-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 10px; }
.support-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.support-card .big { font-size: 1.8rem; }
@media (max-width: 560px) { .support-cards { grid-template-columns: 1fr; } }
/* Stripe payout-details panel */
.payout-details-modal { width: min(720px, 100%); }
/* Driver document checklist */
.doc-checklist { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 6px; }
.doc-checklist li { color: var(--ink-2); }
.doc-checklist li.done { color: var(--green-text); }
/* Permits & documents */
.doc-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: 0; }
/* Driver documents: one card per document, with camera and file buttons */
.doc-slots { display: grid; gap: 12px; }
.doc-slot { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.doc-slot.done { border-color: color-mix(in srgb, var(--green-text) 45%, var(--line)); }
.doc-slot.uploading { opacity: .6; pointer-events: none; }
.doc-slot-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.doc-slot-head .badge { margin-left: auto; }
.doc-slot .doc-row { padding: 8px 0; }
.doc-slot-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.doc-slot-actions .btn { position: relative; overflow: hidden; flex: 1 1 140px; justify-content: center; cursor: pointer; }
.file-hidden { position: absolute; inset: 0; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.btn.is-busy { opacity: .6; pointer-events: none; }
.next-steps { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--gold, #c9a227) 12%, transparent); margin-top: 12px; }
.doc-ico { font-size: 1.4rem; }
.doc-info { flex: 1; min-width: 0; }
.doc-info .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Checkout: where the delivery fee goes */
.free-line { color: var(--green-text); }
.fee-split { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .78rem; color: var(--muted); padding: 0 0 6px; }
/* Driver earnings */
.driver-tabs { margin-bottom: 18px; }
@media (max-width: 480px) { .driver-tabs { gap: 0; } .driver-tabs .tab { flex: 1; padding: 12px 6px; letter-spacing: .08em; text-align: center; } }
.earn-line { font-size: .9rem; color: var(--ink-2); margin: 10px 0 12px; }
.earn-line b { color: var(--green-text); font-weight: 600; }
.earn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.earn-grid .stat { padding: 16px; }
.earn-grid .value { font-size: 1.7rem; }
@media (max-width: 620px) { .earn-grid { grid-template-columns: repeat(2, 1fr); } }
.balance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.balance-grid > div { padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card-2); display: flex; flex-direction: column; gap: 4px; }
.balance-grid b { font-size: 1.3rem; font-family: var(--display); color: var(--ink); }
.earn-list { display: grid; }
.earn-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.earn-row:last-child { border-bottom: 0; }
.earn-amt { text-align: right; white-space: nowrap; }
.earn-amt .sent { color: var(--green-text); }
/* Saved cards (checkout + account) */
.saved-cards { display: grid; gap: 8px; margin: 6px 0 14px; }
.saved-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card-2); cursor: pointer; transition: border-color .2s; }
.saved-card:hover, .saved-card:has(input:checked) { border-color: var(--gold); }
.saved-card input { accent-color: var(--green); margin: 0; }
.saved-card .card-name { flex: 1; color: var(--ink); }
.saved-card.static { cursor: default; margin-bottom: 8px; }
.saved-card.static:hover { border-color: var(--line-2); }
.check.save-card { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.check.save-card input { accent-color: var(--green); margin-top: 3px; }
/* "Turn on phone alerts" card */
.push-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0 0 18px; background: var(--gold-tint); border: 1px solid rgba(201, 168, 106, .3); border-left: 2px solid var(--gold); border-radius: var(--radius-sm); }
.push-card.muted-card { background: var(--card); border-color: var(--line-2); border-left-color: var(--muted); }
.push-icon { font-size: 1.6rem; line-height: 1; }
.push-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--ink-2); }
.push-text b { color: var(--ink); font-weight: 500; }
.push-on { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin: 0 0 14px; font-size: .85rem; color: var(--green-text); }
@media (max-width: 480px) {
  .push-card { position: relative; flex-wrap: wrap; padding-right: 44px; }
  .push-card .push-text { flex: 1 1 calc(100% - 60px); }
  .push-card .btn-gold { flex: 1 1 100%; }
  .push-card [data-dismiss] { position: absolute; top: 8px; right: 6px; padding: 6px 10px; }
}
@media (max-width: 480px) {
  .driver-top { gap: 6px; }
  .driver-top .sound-label, .page-head .sound-label { display: none; }
  .driver-top .btn-sm { padding-left: 10px; padding-right: 10px; }
  .driver-top #logo { min-width: 0; overflow: hidden; }
  .driver-top .biz-tag { margin-left: 4px; padding: 2px 6px; letter-spacing: .12em; }
  .driver-top .logo { gap: 8px; }
}
.driver-main { max-width: 680px; margin: 0 auto; padding: 22px 16px 60px; }
.driver-status { text-align: center; padding: 36px 26px; }
.driver-status h1 { font-size: 2rem; }
.driver-status .status-icon { font-size: 2.6rem; margin-bottom: 10px; }
.waitlist-pill { display: inline-block; margin-top: 8px; padding: 10px 18px; border: 1px solid rgba(201, 168, 106, .45); color: var(--ink-2); border-radius: var(--radius-sm); background: var(--gold-tint); }
.waitlist-pill b { color: var(--gold); font-size: 1.1rem; }
.driver-stats { margin: 10px 2px 0; }
.job-card { padding: 18px; margin-bottom: 14px; }
.job-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.job-kitchen { font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.job-route { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.job-route li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.job-route li b { color: var(--ink); font-weight: 500; }
.job-route.big li { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.job-route.big li.current { border-color: rgba(201, 168, 106, .55); background: var(--gold-tint); }
.job-route.big li.done { opacity: .55; }
.dot-pick, .dot-drop { width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--gold); }
.dot-drop { border-color: var(--green-text); background: var(--green-text); }
.eta { margin-top: 4px; font-size: .82rem; color: var(--gold); }
.active-job { margin-top: 18px; border-color: rgba(201, 168, 106, .45); }
.driver-line { font-size: .85rem; color: var(--ink-2); margin-top: 8px; }
.driver-line b { color: var(--ink); font-weight: 500; }
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Glassmorphism layer
   Frosted, translucent surfaces floating over a softly glowing background
   (Nigerian green + champagne gold). Everything that used the solid
   --card / --line tokens becomes glass; the panels below also blur what's
   behind them. Turned off for people who ask for less transparency.
   ========================================================================== */
:root {
  --bg-2: rgba(255, 255, 255, .03);
  --card: rgba(255, 255, 255, .055);
  --card-2: rgba(255, 255, 255, .08);
  --card-3: rgba(255, 255, 255, .11);
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --glass-blur: blur(18px) saturate(150%);
  --glass-shadow: 0 10px 34px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .07);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
}

/* The glow behind the glass */
body { background: transparent; }
body.biz, .biz-main { background: transparent; }
body::before {
  content: ''; position: fixed; inset: -10vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 12% 8%, rgba(0, 135, 81, .48), transparent 70%),
    radial-gradient(34vmax 34vmax at 92% 22%, rgba(201, 168, 106, .26), transparent 70%),
    radial-gradient(42vmax 42vmax at 78% 96%, rgba(0, 135, 81, .34), transparent 70%),
    radial-gradient(30vmax 30vmax at 6% 82%, rgba(46, 120, 150, .24), transparent 70%),
    #0a0e0c;
  animation: glass-drift 40s ease-in-out infinite alternate;
}
@keyframes glass-drift {
  to { transform: translate3d(2vmax, -2vmax, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* Native dropdown lists can't be see-through */
option { background: #151e19; }

/* Frosted panels */
.card, .biz-card, .why-card, .food-tile, .countdown div, .search-card, .toast,
.drawer, .modal, .stat-grid, .food-results, .order-items, .vendor-matches,
.balance-grid > div, .saved-card, .pickup-item, .payment-box, .doc-slot, .sent-to, .role-note {
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.card, .biz-card, .why-card, .food-tile, .search-card, .stat-grid, .food-results, .doc-slot { box-shadow: var(--glass-shadow); }
.drawer { background: rgba(16, 24, 20, .62); border-left-color: var(--line-2); }
.modal { background: rgba(16, 24, 20, .66); box-shadow: var(--shadow-lg); }
.modal-foot, .drawer-foot { background: rgba(255, 255, 255, .03); }
.toast { background: rgba(22, 32, 27, .72); box-shadow: var(--glass-shadow); }
.drawer-backdrop, .modal-backdrop { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(0, 0, 0, .45); }

/* Bars and side panels */
.site-header, .cat-tabs, .dash-top { background: rgba(10, 14, 12, .45); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border-bottom-color: var(--line); }
.dash-side, .biz-side, .driver-top, .site-footer {
  background: rgba(7, 10, 8, .45); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.biz-side .side-extra { background: rgba(255, 255, 255, .04); }
.resto-hero { background: rgba(255, 255, 255, .025); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.launch-strip { background: rgba(0, 135, 81, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cta-band, .auth-art, .vendor-id-display { background: linear-gradient(135deg, rgba(0, 135, 81, .28), rgba(6, 38, 26, .55)); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.cta-band ul { background: rgba(6, 20, 13, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: var(--radius-sm); }

/* Inputs: clear glass with a glowing focus ring */
.input, .pin-boxes input { background: rgba(255, 255, 255, .06); border-color: var(--line-2); }
.input:focus, .pin-boxes input:focus { background: rgba(255, 255, 255, .10); box-shadow: 0 0 0 3px rgba(201, 168, 106, .18); }

/* Buttons: soft rounded glass; solid ones get a gentle glow */
.btn { border-radius: 999px; }
.btn-primary { box-shadow: 0 6px 20px rgba(0, 135, 81, .35), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-accent, .btn-gold { box-shadow: 0 6px 20px rgba(201, 168, 106, .28), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-outline, .btn-danger { background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-outline:hover:not(:disabled) { background: rgba(255, 255, 255, .09); }

/* Panels inside the stats bar share its glass */
.stat-grid .card { box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; }
.stat-grid .card[data-go]:hover { background: rgba(255, 255, 255, .05); }

/* Hover lift on glass cards */
.vendor-card:hover, .why-card:hover, .food-tile:hover { box-shadow: 0 16px 44px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1); }

/* Less transparency requested (or no blur support): solid surfaces */
@media (prefers-reduced-transparency: reduce) {
  :root { --card: #111814; --card-2: #151e19; --card-3: #1b2620; --bg-2: #0d1310; --line: #222d27; --line-2: #2c3a32; }
  body::before { background: #0a0e0c; animation: none; }
  .drawer, .modal, .toast { background: #111814; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --card: rgba(22, 32, 27, .92); --card-2: rgba(28, 40, 34, .94); --card-3: rgba(34, 48, 40, .95); }
  .drawer, .modal, .toast { background: #121a16; }
}

/* ==========================================================================
   Driver "Go online" card — a big glass power button.
   Offline: quiet, slowly breathing gold ring. Online: glowing green core,
   radar ripples and a light sweeping round the ring. Flipping the switch
   plays a short burst (just-on / just-off).
   ========================================================================== */
.online-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 20px 20px; transition: border-color .5s; }
.online-card.is-online { border-color: rgba(79, 191, 139, .45); }
.go-glow { position: absolute; left: 50%; top: 150px; width: 420px; height: 420px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(201, 168, 106, .12), transparent 62%); transition: background .6s; animation: go-breathe 5s ease-in-out infinite; }
.is-online .go-glow { background: radial-gradient(circle, rgba(0, 160, 98, .38), transparent 62%); animation-duration: 2.6s; }
.go-head { position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.go-hello { font-size: .92rem; color: var(--ink-2); }
.go-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--muted); transition: all .4s; }
.is-online .go-pill { color: var(--green-text); border-color: rgba(79, 191, 139, .5); background: rgba(0, 135, 81, .14); }
.go-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.is-online .go-dot { background: #3ddc97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .7); animation: go-dot 1.6s ease-out infinite; }

.go-btn { position: relative; width: 176px; height: 176px; border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer; display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent; color: var(--ink); font: inherit; }
.go-btn:focus-visible { outline: none; }
.go-btn:focus-visible .go-core { box-shadow: 0 0 0 3px var(--gold); }
.go-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(201, 168, 106, .35);
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(201, 168, 106, .0) 70%, rgba(201, 168, 106, .45) 100%);
  -webkit-mask: radial-gradient(circle, transparent 66%, #000 67%); mask: radial-gradient(circle, transparent 66%, #000 67%);
  animation: go-spin 9s linear infinite; opacity: .55; transition: opacity .4s; }
.is-online .go-ring { border-color: rgba(79, 191, 139, .5); background: conic-gradient(from 0deg, transparent 0 60%, rgba(61, 220, 151, .9) 100%); animation-duration: 2.4s; opacity: 1; }
.go-core { position: relative; z-index: 1; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 6px;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04) 60%), rgba(20, 28, 24, .7);
  border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.3), background .5s, box-shadow .5s, border-color .5s; animation: go-idle 3.6s ease-in-out infinite; }
.is-online .go-core { background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .35), rgba(0, 160, 98, .9) 55%, #006b40); border-color: rgba(120, 240, 180, .55);
  box-shadow: 0 0 0 6px rgba(0, 135, 81, .16), 0 0 46px rgba(0, 200, 120, .55), inset 0 2px 0 rgba(255, 255, 255, .35); animation: none; }
.go-btn:hover:not(:disabled) .go-core { transform: scale(1.04); }
.go-btn:active:not(:disabled) .go-core { transform: scale(.94); }
.go-icon { width: 38px; height: 38px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; transition: stroke .4s, transform .5s; }
.is-online .go-icon { stroke: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6)); }
.go-label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); max-width: 110px; line-height: 1.3; }
.is-online .go-label { color: #fff; }
.go-ripple { position: absolute; inset: 22px; border-radius: 50%; border: 2px solid rgba(61, 220, 151, .55); opacity: 0; pointer-events: none; }
.is-online .go-ripple { animation: go-ripple 2.7s cubic-bezier(.2, .6, .4, 1) infinite; }
.is-online .go-ripple.r2 { animation-delay: .9s; }
.is-online .go-ripple.r3 { animation-delay: 1.8s; }

.online-state { position: relative; margin: 18px 0 4px; font-size: 1.7rem; }
.go-sub { position: relative; margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.5em; }
.is-online .go-sub { color: var(--ink-2); }
.go-dots i { font-style: normal; animation: go-blink 1.4s infinite; }
.go-dots i:nth-child(2) { animation-delay: .2s; }
.go-dots i:nth-child(3) { animation-delay: .4s; }
.go-stats { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.go-stats div { padding: 12px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, .04); display: grid; gap: 2px; }
.go-stats b { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--ink); }
.is-online .go-stats b#go-nearby { color: var(--green-text); }
.go-stats span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Busy: the ring becomes a spinner */
.is-switching .go-ring { opacity: 1; border-color: transparent; background: conic-gradient(from 0deg, transparent 0 55%, var(--gold) 100%); animation: go-spin .8s linear infinite; }
.is-switching .go-core { transform: scale(.92); animation: none; }
/* Locked before launch */
.is-locked .go-btn { cursor: not-allowed; }
.is-locked .go-core { opacity: .55; animation: none; }
.is-locked .go-ring { animation: none; opacity: .3; }

/* Just switched */
.just-on .go-core { animation: go-pop .7s cubic-bezier(.2, .9, .3, 1.4); }
.just-on .go-btn::after { content: ''; position: absolute; inset: 10px; border-radius: 50%; border: 3px solid rgba(61, 220, 151, .9); animation: go-burst .9s ease-out forwards; pointer-events: none; }
.just-on .online-state, .just-off .online-state { animation: go-rise .5s ease-out; }
.just-off .go-core { animation: go-settle .6s ease-out; }

@keyframes go-spin { to { transform: rotate(360deg); } }
@keyframes go-breathe { 50% { transform: translate(-50%, -50%) scale(1.12); opacity: .75; } }
@keyframes go-idle { 50% { box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 0 6px rgba(201, 168, 106, .08), inset 0 1px 0 rgba(255, 255, 255, .12); } }
@keyframes go-ripple { 0% { transform: scale(.85); opacity: .75; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes go-dot { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
@keyframes go-blink { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
@keyframes go-pop { 0% { transform: scale(.8); } 55% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes go-burst { from { transform: scale(.9); opacity: 1; } to { transform: scale(2.1); opacity: 0; } }
@keyframes go-settle { 0% { transform: scale(1.06); filter: brightness(1.4); } 100% { transform: scale(1); filter: none; } }
@keyframes go-rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .go-glow, .go-ring, .go-core, .go-ripple, .go-dot, .go-dots i, .go-btn::after, .online-state { animation: none !important; }
}
@media (max-width: 380px) { .go-btn { width: 156px; height: 156px; } .go-core { width: 118px; height: 118px; } }

/* Online: the orb is a status light; going offline is a small, two-tap action */
.go-orb { cursor: default; }
.go-orb .go-core { cursor: default; }
.go-off-row { position: relative; margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.go-off { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--muted); border-radius: 999px; padding: 6px 14px;
  font: inherit; font-size: .74rem; letter-spacing: .08em; cursor: pointer; transition: color .2s, border-color .2s; }
.go-off:hover:not(:disabled) { color: var(--danger); border-color: rgba(224, 122, 114, .5); }
.go-off:disabled { opacity: .45; cursor: not-allowed; }
.go-lock { font-size: .78rem; color: var(--gold); }
.go-confirm { position: relative; width: 100%; margin-top: 16px; padding: 14px; border-radius: var(--radius-sm); border: 1px solid rgba(224, 122, 114, .35);
  background: rgba(224, 122, 114, .08); animation: go-rise .25s ease-out; }
.go-confirm p { margin: 0 0 10px; font-size: .9rem; }
.go-confirm .row { justify-content: center; gap: 8px; }

/* Return-to-kitchen (driver + kitchen) */
.return-box { margin-top: 14px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid rgba(201, 168, 106, .45); background: var(--gold-tint); }
.return-box p { margin: 0 0 8px; }
.return-box .row { margin: 10px 0; }
.return-box.vendor { border-color: rgba(224, 122, 114, .45); background: rgba(224, 122, 114, .08); animation: return-glow 2s ease-in-out infinite; }
.return-wait { display: flex; align-items: center; gap: 4px; }
.return-form { margin-top: 12px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid rgba(224, 122, 114, .35); background: rgba(224, 122, 114, .06); }
.return-form p { margin: 0 0 12px; font-size: .9rem; }
@keyframes return-glow { 50% { box-shadow: 0 0 0 4px rgba(224, 122, 114, .12); } }
@media (prefers-reduced-motion: reduce) { .return-box.vendor, .go-confirm { animation: none; } }

/* Typography: Plus Jakarta Sans throughout — bold, tight headings instead of the old serif */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: 1.2rem; }
.hero h1, .hero-title { letter-spacing: -.035em; }
em, i { font-style: italic; }
.logo { letter-spacing: -.02em; font-weight: 700; }

/* Home: the cities we have kitchens in, as quick picks */
.city-chip { border: 1px solid rgba(201, 168, 106, .45); background: rgba(201, 168, 106, .10); color: var(--gold); border-radius: 999px;
  padding: 3px 12px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.city-chip:hover { background: rgba(201, 168, 106, .2); border-color: var(--gold); }

/* ==========================================================================
   Home: foods are the big cards, kitchens are the small round tiles.
   ========================================================================== */
.food-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.food-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); transition: border-color .25s, transform .25s, box-shadow .25s; }
.food-card:hover { border-color: rgba(201, 168, 106, .55); transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1); }
.food-card.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 16px 44px rgba(0, 0, 0, .45); }
.food-cover { position: relative; height: 170px; display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.food-cover::before { content: ''; position: absolute; inset: 0; background: var(--ankara); background-size: 44px 44px; opacity: .14; }
.food-cover.has-photo::before { display: none; }
.food-cover.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 12, .45), transparent 45%); }
.food-cover > * { position: relative; }
.food-cover .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.food-card:hover .cover-img { transform: scale(1.04); }
.food-emoji { font-size: 4.2rem; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); transition: transform .35s cubic-bezier(.2, .9, .3, 1.3); }
.food-card:hover .food-emoji { transform: scale(1.1) rotate(-4deg); }
.food-cover .badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.food-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.food-body .food-name { font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.food-line { font-size: .88rem; color: var(--muted); }
.food-line b { color: var(--gold); font-weight: 600; }
.food-dishes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.food-dishes span { font-size: .74rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink-2); }
.food-go { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-text); }
.food-card.active .food-go { color: var(--gold); }
.food-more { display: flex; justify-content: center; margin-top: 22px; }

/* Driver: when to leave for a reserved delivery */
.leave-box { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); display: grid; gap: 4px; }
.leave-main { font-size: 1.02rem; }
.leave-main b { color: var(--ink); }
.leave-box.soon { border-color: rgba(201, 168, 106, .6); background: var(--gold-tint); }
.leave-box.soon .leave-in { color: var(--gold); }

/* Driver: who the current delivery is for */
.job-customer { margin: -6px 0 14px; font-size: 1rem; color: var(--ink-2); }
.job-customer b { color: var(--ink); font-size: 1.08rem; }

/* Home: kitchens stacked one under another, each card with a little about the kitchen */
.kitchen-list { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 4px 0 8px; }
@media (min-width: 900px) { .kitchen-list { grid-template-columns: 1fr 1fr; gap: 16px; } }
.kitchen-row { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 20px; color: inherit; text-decoration: none !important;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: border-color .25s, transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.kitchen-row::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(var(--gold), var(--green-text)); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.kitchen-row:hover { border-color: rgba(201, 168, 106, .55); transform: translateX(4px); color: inherit; box-shadow: var(--glass-shadow), 0 10px 30px rgba(0, 0, 0, .25); }
.kitchen-row:hover::before, .kitchen-row:focus-visible::before { transform: scaleY(1); }
.kitchen-row.closed { opacity: .62; }
.kitchen-list.animate .kitchen-row:not(.in) { opacity: 0; transform: translateY(26px); }
.kitchen-list.animate .kitchen-row.in { transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .3s;
  transition-delay: calc(var(--i, 0) * 70ms), calc(var(--i, 0) * 70ms), 0s, 0s; }
.kitchen-list.animate .kitchen-row.in:hover { transition-delay: 0s; }
.kitchen-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.kitchen-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.kitchen-about { font-size: .9rem; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 2px 0 4px; }
.kitchen-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .78rem; color: var(--ink-2); }
.kitchen-facts .kitchen-special { margin-top: 0; }
.kitchen-go { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold);
  transition: transform .3s, background .3s, color .3s; }
.kitchen-row:hover .kitchen-go { transform: translateX(3px); background: var(--gold); color: #0a0e0c; }
.kitchen-pic { position: relative; flex: none; width: 84px; height: 84px; display: grid; place-items: center; font-size: 2.3rem; border-radius: 50%;
  background: var(--card-2); border: 1px solid var(--line-2); }
.kitchen-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.kitchen-pic.logo-tile img { object-fit: contain; padding: 10px; }
.kitchen-dot { position: absolute; right: 4px; bottom: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); border: 2px solid #0d1310; }
.kitchen-dot.on { background: #3ddc97; box-shadow: 0 0 10px rgba(61, 220, 151, .7); }
.kitchen-name { font-family: var(--display); font-size: 1.15rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.kitchen-type { font-size: .76rem; color: var(--muted); }
.kitchen-match { margin-top: 6px; font-size: .74rem; color: var(--ink-2); padding: 4px 8px; border-radius: 8px; background: var(--gold-tint); }
.kitchen-match b { color: var(--gold); }
.kitchen-status { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kitchen-status.on { color: var(--green-text); }
.kitchen-status.ahead { color: var(--gold); }
.kitchen-dot.ahead { background: var(--gold); box-shadow: 0 0 8px rgba(201, 168, 106, .6); }
.kitchen-skel { height: 120px; border-radius: var(--radius); }
@media (max-width: 560px) {
  .food-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .food-cover { height: 120px; }
  .food-emoji { font-size: 3rem; }
  .food-cover .badge { top: 8px; left: 8px; font-size: .56rem; padding: 3px 7px; }
  .food-body { padding: 12px 12px 14px; gap: 4px; }
  .food-body .food-name { font-size: 1.05rem; }
  .food-line { font-size: .78rem; }
  .food-dishes { display: none; }
  .food-go { font-size: .62rem; letter-spacing: .1em; padding-top: 8px; }
  .kitchen-row { gap: 14px; padding: 14px; align-items: flex-start; }
  .kitchen-pic { width: 64px; height: 64px; font-size: 1.8rem; }
  .kitchen-name { font-size: 1.02rem; }
  .kitchen-about { font-size: .84rem; -webkit-line-clamp: 3; }
  .kitchen-go { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kitchen-row, .kitchen-row::before, .kitchen-go { transition: none; }
  .kitchen-row:hover { transform: none; }
}

/* Home: glass location menu (the native <select> stays hidden underneath) */
.search-card .city-native { display: none; }
.location-card { max-width: 420px; }
.location-card .city-btn { border-left: 0; border-top: 0; border-radius: var(--radius-sm); }
.city-btn { display: flex; align-items: center; gap: 10px; font: inherit; text-align: left; transition: background .2s; }
.city-btn:hover, .city-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .06); }
.city-btn:focus-visible { outline: none; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--gold); }
.city-btn-pin { font-size: .95rem; }
.city-btn-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.city-btn-chev { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; flex-shrink: 0; }
.city-btn[aria-expanded="true"] .city-btn-chev { transform: rotate(180deg); }
.city-pop { position: fixed; z-index: 70; overflow-y: auto; padding: 8px; border-radius: 16px;
  background: rgba(16, 24, 20, .62); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08); scrollbar-width: thin; }
.city-pop.open { animation: city-pop-in .18s ease-out; }
.city-pop[hidden] { display: none; }
.city-pop-label { padding: 10px 12px 4px; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.city-opt { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent;
  color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .15s; }
.city-opt:hover, .city-opt:focus-visible { outline: none; background: rgba(255, 255, 255, .08); }
.city-opt.selected { background: rgba(201, 168, 106, .14); }
.city-opt-icon { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); font-size: 1rem; }
.city-opt-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.city-opt-text b { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.city-opt-text small { font-size: .74rem; color: var(--muted); }
.city-opt.selected .city-opt-text small { color: var(--ink-2); }
.city-opt-check { color: var(--gold); font-weight: 700; }
.city-opt-addr { margin-top: 6px; border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 0 0 12px 12px; padding-top: 12px; }
.city-opt-addr .city-opt-text b { color: var(--green-text); }
@keyframes city-pop-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .city-pop.open { animation: none; } }
@media (prefers-reduced-transparency: reduce) { .city-pop { background: #121a16; } }

/* Home: "Order again" strip for signed-in customers */
.again-section { padding-bottom: 8px; }
.again-section .section-head { margin-bottom: 20px; }
.again-strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.again-card { flex: 0 0 260px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: var(--glass-shadow, 0 12px 32px rgba(0,0,0,.35)); }
.again-pics { display: flex; margin-bottom: 4px; }
.again-pic { width: 46px; height: 46px; margin-right: -10px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 1.4rem;
  background: rgba(255, 255, 255, .08); border: 2px solid rgba(16, 24, 20, .9); position: relative; }
.again-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.again-card h3 { margin: 0; font-size: 1rem; }
.again-card h3 a { color: var(--ink); }
.again-items { margin: 0; color: var(--ink-2); font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.again-meta { margin: 0 0 6px; color: var(--muted); font-size: .76rem; }
.again-card .btn { margin-top: auto; }
@media (max-width: 600px) { .again-card { flex-basis: 78%; } }

/* Cookie notice (bottom-left glass card, every page) */
.cookie-notice { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 440px; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 16px; background: rgba(16, 24, 20, .72); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 18px 48px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
.cookie-notice.show { opacity: 1; transform: none; }
.cookie-notice p { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--ink-2); }
.cookie-notice a { color: var(--gold); white-space: nowrap; }
.cookie-icon { font-size: 1.5rem; }
.cookie-notice .btn { flex-shrink: 0; }
@media (max-width: 600px) { .cookie-notice { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-notice { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .cookie-notice { background: #121a16; } }
.cookie-table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .88rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { color: var(--muted); font-weight: 600; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.cookie-table code { font-size: .82rem; color: var(--gold); }
.table-scroll { overflow-x: auto; }

/* Home page: Food / Catering switch — sticks under the site header (76px + 1px border) when scrolled past */
.menu-switch-sentinel { height: 18px; }
.menu-switch-bar { position: sticky; top: 77px; z-index: 35; padding: 10px 0; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.menu-switch-bar.is-stuck { background: rgba(10, 14, 12, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.menu-switch-row { display: flex; flex-direction: column; align-items: center; }
.menu-switch-bar .menu-switch-note { max-height: 3em; margin-top: 8px; overflow: hidden; transition: max-height .25s, margin-top .25s, opacity .2s; }
.menu-switch-bar.is-stuck .menu-switch-note { max-height: 0; margin-top: 0; opacity: 0; }
.menu-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow); }
.menu-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 132px; padding: 12px 22px; border: 0; background: none; border-radius: 999px; font: inherit; font-size: .95rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); cursor: pointer; transition: color .25s; }
.menu-switch button[aria-checked="true"] { color: #fff; }
.menu-switch button:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
.menu-switch-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 999px; background: var(--green); box-shadow: 0 6px 18px rgba(0, 135, 81, .45); transition: transform .3s cubic-bezier(.3, .8, .3, 1), background .3s, box-shadow .3s; }
.menu-switch[data-active="pastry"] .menu-switch-thumb { transform: translateX(100%); background: #b5652b; box-shadow: 0 6px 18px rgba(181, 101, 43, .4); }
.menu-switch[data-active="catering"] .menu-switch-thumb { transform: translateX(200%); background: var(--gold); box-shadow: 0 6px 18px rgba(201, 168, 106, .4); }
.menu-switch[data-active="catering"] button[aria-checked="true"] { color: #1a1408; }
.menu-switch-note { margin: 0; text-align: center; }
@media (max-width: 480px) { .menu-switch button { min-width: 0; padding: 11px 8px; gap: 6px; font-size: .88rem; } .menu-switch { width: 100%; max-width: 380px; } }
@media (prefers-reduced-motion: reduce) { .menu-switch-thumb, .menu-switch-bar, .menu-switch-bar .menu-switch-note { transition: none; } }

/* "Vendor got my order": book the delivery only (kitchen page) */
.arranged-cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 20px; padding: 22px 26px;
  border-radius: 22px; text-decoration: none; color: #1a1408;
  background: linear-gradient(120deg, #b8924f 0%, var(--gold) 28%, #ecd3a0 62%, #d6b475 100%);
  background-size: 160% 100%; background-position: 0% 0;
  border: 1px solid rgba(255, 236, 196, .55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 12px 32px -8px rgba(201, 168, 106, .55), 0 2px 6px rgba(0, 0, 0, .25);
  transition: transform .25s cubic-bezier(.3, .8, .3, 1), box-shadow .25s, background-position .6s ease;
}
/* a soft light that sweeps across on hover */
.arranged-cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .9s ease;
}
.arranged-cta:hover, .arranged-cta:focus-visible { color: #1a1408; }
.arranged-cta:hover { transform: translateY(-3px); background-position: 100% 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 20px 44px -10px rgba(201, 168, 106, .7), 0 0 0 4px rgba(201, 168, 106, .18); }
.arranged-cta:hover::before { transform: translateX(120%); }
.arranged-cta:active { transform: translateY(-1px) scale(.995); transition-duration: .08s; }
.arranged-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.arranged-cta-icon {
  position: relative; flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  font-size: 1.75rem; background: #1a1408; box-shadow: 0 6px 16px rgba(26, 20, 8, .35);
  transition: transform .35s cubic-bezier(.3, .8, .3, 1);
}
/* a gentle ring that keeps the button noticeable */
.arranged-cta-icon::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(26, 20, 8, .35);
  animation: arranged-ring 2.6s ease-out infinite;
}
@keyframes arranged-ring { 0% { transform: scale(.9); opacity: .9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }
.arranged-cta:hover .arranged-cta-icon { transform: translateX(4px) rotate(-6deg); }
.arranged-cta-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.arranged-cta-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(26, 20, 8, .68); }
.arranged-cta-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.arranged-cta-main { color: #1a1408; font-size: clamp(1.08rem, 2.4vw, 1.38rem); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.arranged-cta-sub { font-size: .93rem; line-height: 1.45; color: rgba(26, 20, 8, .78); }
.arranged-cta-go {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(26, 20, 8, .1); border: 1px solid rgba(26, 20, 8, .22);
  transition: background .25s, transform .25s cubic-bezier(.3, .8, .3, 1);
}
.arranged-cta-go svg { width: 22px; height: 22px; fill: none; stroke: #1a1408; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.arranged-cta:hover .arranged-cta-go { background: #1a1408; transform: translateX(4px); }
.arranged-cta:hover .arranged-cta-go svg { stroke: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .arranged-cta, .arranged-cta::before, .arranged-cta-icon, .arranged-cta-go { transition: none; }
  .arranged-cta-icon::after { animation: none; opacity: 0; }
  .arranged-cta:hover, .arranged-cta:hover .arranged-cta-icon, .arranged-cta:hover .arranged-cta-go { transform: none; }
}
.arranged-note { margin: 12px 0 0; }
.arranged-order { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; margin-bottom: 6px; border-radius: 10px; background: rgba(201, 168, 106, .12); border: 1px solid rgba(201, 168, 106, .35); }
@media (max-width: 560px) {
  .arranged-cta { gap: 14px; padding: 18px 16px; border-radius: 18px; }
  .arranged-cta-icon { width: 48px; height: 48px; }
  .arranged-cta-icon svg { width: 23px; height: 23px; }
  .arranged-cta-go { width: 38px; height: 38px; }
  .arranged-cta-go svg { width: 18px; height: 18px; }
}

/* Driver portal: scheduled deliveries to reserve ahead of time */
.sched-card .sched-when { margin-top: 4px; font-size: .92rem; }
.sched-card .sched-arrive { margin-top: 2px; font-size: .88rem; color: var(--gold); }
.sched-card.is-mine { border-color: rgba(0, 135, 81, .55); box-shadow: 0 0 0 1px rgba(0, 135, 81, .25); }

/* Kitchen page: contact the kitchen to order */
.contact-card { padding: 24px 26px; margin-bottom: 16px; }
.contact-head h2 { margin: 0 0 6px; font-size: clamp(1.25rem, 3vw, 1.6rem); }
.contact-head p { margin: 0; max-width: 680px; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.contact-btns .btn { flex: 1 1 160px; justify-content: center; }
.btn-whatsapp { background: #25d366; color: #0a2e18; border-color: transparent; }
.btn-whatsapp:hover { background: #3ee07a; color: #0a2e18; }
.contact-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.contact-steps li { display: flex; align-items: center; gap: 8px; }
.contact-steps span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-tint); color: var(--gold); font-size: .75rem; font-weight: 700; }
@media (max-width: 560px) { .contact-card { padding: 18px 16px; } .contact-btns .btn { flex: 1 1 100%; } .contact-steps { flex-direction: column; } }

/* ---------- Kitchen page: pick dishes and send the order by WhatsApp / text ---------- */
.pick-tip { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--gold-tint); border: 1px solid rgba(201, 168, 106, .25); font-size: .86rem; color: var(--ink-2); }
.pick { display: inline-flex; margin-left: auto; flex-shrink: 0; }
.pick-add { border: 1px solid var(--gold); color: var(--gold); background: transparent; white-space: nowrap; transition: background .2s, color .2s; }
.pick-add:hover, .pick-add:focus-visible { background: var(--gold); color: #10140f; }
.pick-qty { border-color: var(--gold); }
.pick-qty span { min-width: 36px; color: var(--gold); }
.pick-qty button:disabled { opacity: .35; cursor: default; }
.size-row .pick { margin-left: 4px; }
.pastry-prices div { align-items: center; }
.pastry-prices div > span:nth-child(2) { margin-left: auto; text-align: right; }
.pastry-prices div:has(.pick) { flex-wrap: wrap; row-gap: 6px; }
.pastry-prices .pick { flex-basis: 100%; justify-content: flex-end; margin-left: 0; }
.pick-bar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50; width: min(560px, calc(100% - 32px)); animation: pick-rise .3s ease; }
.pick-bar-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: linear-gradient(135deg, #1f9d55, #128c7e); color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); transition: transform .2s, box-shadow .2s, filter .2s; }
.pick-bar-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 18px 48px rgba(0, 0, 0, .55); }
.pick-bar-count { min-width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #128c7e; font-weight: 800; }
.pick-bar-text { flex: 1; min-width: 0; display: grid; }
.pick-bar-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-bar-text small { opacity: .88; font-size: .8rem; }
.pick-bar-go svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: block; transition: transform .2s; }
.pick-bar-btn:hover .pick-bar-go svg { transform: translateX(3px); }
body.has-pick-bar { padding-bottom: 96px; }
body.has-pick-bar .toasts { bottom: calc(100px + env(safe-area-inset-bottom)); }
.pick-modal .cart-line .pick { margin-left: 0; }
.pick-total { display: flex; justify-content: space-between; padding: 14px 0 0; font-size: 1.05rem; }
.pick-total b { color: var(--gold); }
.pick-foot { flex-wrap: wrap; }
.pick-foot .btn-whatsapp, .pick-foot .btn-outline { flex: 1 1 200px; justify-content: center; }
.pick-foot [data-pick-copy] { flex: 1 1 100%; justify-content: center; }
.pick-after { flex: 1 1 100%; margin: 0; text-align: center; }
.pick-after a { color: var(--gold); }
@keyframes pick-rise { from { opacity: 0; transform: translate(-50%, 16px); } }
@media (prefers-reduced-motion: reduce) { .pick-bar { animation: none; } .pick-bar-btn:hover, .pick-bar-btn:hover .pick-bar-go svg { transform: none; } }
@media (max-width: 560px) { .pick-modal .modal-head, .pick-modal .modal-body, .pick-modal .modal-foot { padding-left: 18px; padding-right: 18px; } }
@media (max-width: 560px) {
  .size-row { grid-template-columns: 1fr auto; }
  .size-row .pick { grid-column: 1 / -1; justify-content: flex-end; margin-left: 0; }
}

/* ---------- Specials ---------- */
.menu-item.is-special { border-color: rgba(201, 168, 106, .45); background: linear-gradient(135deg, rgba(201, 168, 106, .1), transparent 60%), var(--card); }
.menu-item p.special-until { color: var(--gold); font-size: .78rem; font-weight: 500; margin: 0 0 6px; }
.kitchen-special { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--gold-tint); color: var(--gold); font-size: .72rem; font-weight: 600; }
.special-line { color: var(--gold); font-size: .78rem; font-weight: 600; margin-top: 2px; }
.special-line.ended { color: var(--muted); font-weight: 400; }
.special-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.special-chips .chip { font-size: .78rem; padding: 6px 12px; cursor: pointer; }
.special-box .special-fields { margin-top: 12px; }

/* ---------- Address suggestions ---------- */
.addr-wrap { position: relative; }
.addr-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 45; margin: 0; padding: 6px; list-style: none; background: #131b17; border: 1px solid var(--line-2); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); max-height: 300px; overflow-y: auto; }
.addr-list li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.addr-list li:hover, .addr-list li.active { background: var(--gold-tint); }
.addr-list .addr-text { display: grid; min-width: 0; }
.addr-list .addr-text b { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addr-list .addr-text small { color: var(--muted); font-size: .8rem; }
.addr-list li.active .addr-text b { color: var(--gold); }
.addr-why { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--gold-tint); border: 1px solid rgba(201, 168, 106, .25); font-size: .84rem; color: var(--ink-2); line-height: 1.5; }
.addr-why b { color: var(--ink); }
.addr-why-icon { font-size: 1.3rem; line-height: 1.2; }

/* ---------- Paying the kitchen (Cash App / Zelle) ---------- */
.pay-link { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: .92rem; }
.pay-link > span:nth-child(1) { flex: 1; }
.pay-link:hover { border-color: var(--gold); }
.pay-link b { color: var(--gold); }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 820px) { .pay-grid { grid-template-columns: 1fr; } }
.pay-amount { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 700; }
.pay-amount .input { font-size: 1.2rem; font-weight: 700; max-width: 200px; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-sm); border: 2px solid var(--line-2); background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; min-width: 0; }
.pay-method > span:last-child { display: grid; min-width: 0; }
.pay-method small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-method[aria-checked="true"] { border-color: var(--gold); background: var(--gold-tint); }
.pay-method:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pay-logo { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.25rem; }
.pay-cashapp .pay-logo { background: #00c244; }
.pay-zelle .pay-logo { background: #6d1ed4; }
.pay-card .pay-logo { background: #635bff; font-size: 1.1rem; }
.pay-list { margin: 16px 0 14px; padding-left: 20px; line-height: 1.7; }
.pay-list .btn { padding: 2px 8px; }
.pay-go-cashapp { background: #00c244; border-color: #00c244; color: #fff; }
.pay-tell { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pay-safe ul { margin: 0; padding-left: 18px; font-size: .88rem; color: var(--ink-2); line-height: 1.6; }
.pay-safe li + li { margin-top: 6px; }
.pay-setup { margin-top: 6px; padding: 14px; border-radius: var(--radius-sm); border: 1px solid rgba(201, 168, 106, .3); background: var(--gold-tint); }
.pay-setup-title { margin: 0 0 4px; font-weight: 700; color: var(--ink); }
.field > .pay-amount { font-size: 1.3rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }

/* Nothing picked yet: the contact buttons point customers to the menu. */
.pick-prompt { margin: 12px 0 0; }
.pick-add.nudge { animation: pick-nudge .9s ease 2; }
@keyframes pick-nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 106, 0); } 50% { box-shadow: 0 0 0 6px rgba(201, 168, 106, .45); } }
@media (prefers-reduced-motion: reduce) { .pick-add.nudge { animation: none; outline: 2px solid var(--gold); } }

.food-paid { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(0, 194, 68, .08); border: 1px solid rgba(0, 194, 68, .25); font-size: .86rem; color: var(--ink-2); }
.order-items .food-paid { justify-content: flex-start; text-align: left; }

.proof-line { margin-top: 8px; font-size: .88rem; }
.proof-line a { color: var(--gold); }
.proof-btn { white-space: normal; line-height: 1.3; }

.driver-line.auto-ready { color: var(--gold); }

/* ---------- Live map + stacked deliveries ---------- */
.live-map { height: 300px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: #1b211d; }
.live-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9); }
.live-map .leaflet-control-attribution { font-size: 10px; }
.map-pin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px;
  background: #111814; color: #ece7dc; border: 2px solid #c9a86a; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.map-pin.pin-pickup { border-color: #c9a86a; }
.map-pin.pin-dropoff, .map-pin.pin-home { border-color: #2fbf71; }
.map-pin.pin-return { border-color: #e07a72; }
.map-pin.pin-driver { background: #c9a86a; color: #0a0e0c; border-color: #fff; font-size: 18px; }
.route-card { margin-bottom: 18px; }
.route-sharing { margin: 10px 0 0; color: var(--muted); }
.route-stops { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.route-stops li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 4px; }
.route-stops li.current { border-color: var(--gold); }
.route-stops .stop-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--line); }
.route-stops li.current .stop-n { background: var(--gold); color: #0a0e0c; }
.route-stops li > div { min-width: 0; overflow-wrap: anywhere; }
.trip-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: .9rem; }
.trip-line > span { flex: 1 1 200px; }
.track-card { margin-bottom: 18px; }
.track-status { margin: 10px 0 0; font-size: .92rem; }

/* ---------- Reviews (home) ---------- */
.reviews-wrap { display: grid; gap: 24px; max-width: 640px; }
.reviews-wrap.has-list { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
@media (max-width: 860px) { .reviews-wrap.has-list { grid-template-columns: 1fr; } }
.star-input { display: flex; align-items: center; gap: 4px; margin: 6px 0 16px; flex-wrap: wrap; }
.star-input .star { background: none; border: 0; padding: 2px; font-size: 2rem; line-height: 1; color: var(--line); cursor: pointer; transition: color .12s, transform .12s; }
.star-input .star.on { color: var(--gold); }
.star-input .star:hover { transform: scale(1.12); }
.star-input .star:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.star-word { margin-left: 8px; }
.review-thanks { text-align: center; padding: 24px 8px; }
.review-thanks .big { font-size: 2.4rem; }
.review-list { display: grid; gap: 12px; }
.review-avg { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1.2rem; }
.stars { color: var(--gold); letter-spacing: 2px; }
.stars .off { color: var(--line); }
.review-card { margin: 0; padding: 16px; }
.review-card blockquote { margin: 8px 0; overflow-wrap: anywhere; white-space: pre-line; }
.review-card figcaption { margin: 0; }

/* ---------- Guest checkout ---------- */
.member-price { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 10px; margin: 2px 0 6px; border: 1px dashed rgba(79, 191, 139, .5); border-radius: 4px; background: var(--green-tint); color: #a9dcc2; font-size: .9rem; }
.member-price b { color: var(--green-text); font-size: 1rem; }
.member-price a { margin-left: 6px; }
.save-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--green-text); color: #0a0e0c; font-weight: 700; font-size: .78rem; }
.guest-save { margin: 0 0 16px; }
.guest-invite { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.guest-invite > span { flex: 1 1 240px; }

/* ---------- Address fields (line 1, line 2, city / state / ZIP) ---------- */
.addr-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); gap: 12px; }
@media (max-width: 520px) { .addr-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .addr-row .addr-city { grid-column: 1 / -1; } }

/* ---------- Coupon (checkout) ---------- */
.coupon-box { margin-top: 12px; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.coupon-msg { margin: 6px 0 0; }
.coupon-msg.coupon-ok { color: var(--green-text); }
.coupon-msg.coupon-error { color: #e07a72; }
.coupon-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.coupon-off { color: var(--green-text); font-weight: 700; }

/* ---------- Maintenance ---------- */
.maint-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 10px 16px;
  background: #3a2f12; color: #f3e2b8; border-bottom: 1px solid rgba(201, 168, 106, .45); font-size: .9rem; text-align: center; }
.maint-timer { white-space: nowrap; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .3); }
.maint-timer b, .maint-count b { font-variant-numeric: tabular-nums; color: var(--gold); }
.maint-count { font-size: 1.4rem; margin: 6px 0 14px; }

/* ---------- Payout setup checklist ---------- */
.payout-need { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.payout-need li { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.payout-need li span { width: 1.4em; text-align: center; }
.payout-why { margin-top: 14px; }
.payout-why summary { cursor: pointer; font-size: .9rem; color: var(--gold); }
.payout-why p { margin: 8px 0 0; }

/* ---------- Driver sign-up: benefits on phones (the side list is hidden there) ---------- */
.drv-perks { display: none; }
@media (max-width: 900px) {
  .drv-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 18px; }
  .drv-perks > div { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); font-size: .82rem; line-height: 1.25; }
  .drv-perks b { font-weight: 600; color: var(--ink); }
  .drv-perks span { font-size: 1.05rem; }
}
.biz-side ul.drv-side li { padding: 14px 0; }
.coupon-insta { margin: 10px 0 0; color: var(--muted); }
.coupon-insta a { color: var(--gold); font-weight: 600; }

/* ---------- Driver app: scheduled deliveries by pickup time ---------- */
.sched-day { margin: 16px 0 8px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.sched-day:first-child { margin-top: 0; }
.sched-pickup { font-size: 1.15rem; margin-bottom: 4px; }
.sched-pickup b { color: var(--gold); }

/* Vendor dashboard: card payments made in the kitchen's own Stripe account. */
.food-pay-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.food-pay-row:first-child { border-top: 0; }
.food-pay-row > span { flex: none; white-space: nowrap; }

/* Customer delivery timeline (My orders): booked → driver assigned → to the kitchen → on the way → delivered. */
.st-booked { color: var(--gold); border-color: rgba(201, 168, 106, .45); background: var(--gold-tint); }
.st-assigned, .st-to_kitchen { color: var(--info); border-color: rgba(143, 179, 217, .4); background: var(--info-tint); }
.st-nearby { color: #e2c48b; border-color: rgba(226, 196, 139, .6); background: rgba(226, 196, 139, .14); }
.st-returning { color: #e8a87c; border-color: rgba(232, 168, 124, .45); background: rgba(232, 168, 124, .08); }
.progress .seg.now { background: linear-gradient(90deg, var(--green-text), var(--gold)); background-size: 200% 100%; animation: tl-flow 1.6s linear infinite; }
@keyframes tl-flow { to { background-position: -200% 0; } }
.timeline { list-style: none; margin: 18px 0 4px; padding: 0; }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line-2); }
.timeline li.tl-done:not(:last-child)::before { background: var(--green-text); }
.tl-dot { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; border: 2px solid var(--line-2); background: var(--card, #111814); color: var(--muted); }
.tl-done .tl-dot { border-color: var(--green-text); color: var(--green-text); font-weight: 700; }
.tl-now .tl-dot { border-color: var(--gold); box-shadow: 0 0 0 0 rgba(201, 168, 106, .5); animation: tl-pulse 1.8s ease-out infinite; }
.tl-nearby .tl-dot { border-color: #e2c48b; background: rgba(226, 196, 139, .14); }
@keyframes tl-pulse { 70% { box-shadow: 0 0 0 9px rgba(201, 168, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 168, 106, 0); } }
.tl-body { flex: 1; min-width: 0; padding-top: 5px; }
.tl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.tl-head b { font-weight: 600; color: var(--ink); }
.tl-later .tl-head b, .tl-next .tl-head b { color: var(--muted); font-weight: 500; }
.tl-now .tl-head b { color: var(--gold); }
.tl-time { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.tl-detail { margin-top: 4px; font-size: .88rem; color: var(--ink-2); line-height: 1.55; }
.tl-detail .trip-line { margin-top: 2px; }
.tl-next .tl-detail { color: var(--muted); }
.tl-warn { color: #e8a87c; }
.tl-wrap { margin-top: 14px; }
.tl-wrap > summary { cursor: pointer; font-size: .85rem; color: var(--muted); }
.tl-wrap > summary:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .tl-now .tl-dot, .progress .seg.now { animation: none; } }

/* ===== Simpler pages: less on screen, kitchens and food first ===== */
/* Home: a short hero, the kitchens straight after */
.hero { padding: 40px 0 32px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.hero .lead { margin: 14px 0 0; }
.hero .search-card { margin-top: 22px; }
.hero-art .disc { opacity: .55; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-art { display: none; }
  .hero { padding: 28px 0 22px; }
}
.deliver-to { margin-top: 10px; font-size: .86rem; }
.menu-switch-bar { padding-top: 10px; padding-bottom: 6px; }
#restaurants { padding-bottom: 16px; }
#restaurants .section-head { margin-bottom: 18px; }
#restaurants .section-head h2::before { display: none; }

/* Kitchen cards: name, open or not, type and area */
.kitchen-about { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* How it works: three short lines and the perks */
.simple-how { padding: 48px 0 24px; }
.simple-how h2 { font-size: 1.5rem; margin-bottom: 18px; }
.how-list { list-style: none; counter-reset: how; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-list li { counter-increment: how; display: grid; align-content: start; gap: 4px; padding-left: 40px; position: relative; }
.how-list li::before { content: counter(how); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 600; font-size: .85rem; }
.how-list b { color: var(--ink); font-weight: 600; }
.how-list span { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.perks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--ink-2); }
.perks li::before { content: '✓'; color: var(--green-text); font-weight: 700; margin-right: 8px; }
@media (max-width: 760px) { .how-list { grid-template-columns: 1fr; gap: 16px; } }

/* One line for kitchens and drivers who want to join */
.join-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 16px; margin-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.join-strip a { color: var(--gold); }

/* Footer: one short row of links */
.site-footer { margin-top: 32px; padding: 28px 0 22px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.footer-top p { margin: 0; font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-size: .86rem; }
.footer-copy { margin: 16px 0 0; font-size: .76rem; color: var(--muted); }

/* Kitchen page: name, one status line, then the menu */
.resto-hero { padding: 28px 0 22px; }
.resto-hero .inner { gap: 20px; align-items: flex-start; flex-wrap: nowrap; }
.resto-emoji { width: 76px; height: 76px; font-size: 2.2rem; outline: 0; }
.resto-name { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0 0 4px; }
.resto-about { margin: 8px 0 0; max-width: 640px; color: var(--ink-2); font-size: .94rem; }
.resto-line { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 0; font-size: .86rem; color: var(--muted); }
.resto-status { color: var(--muted); font-weight: 500; }
.resto-status.on { color: var(--green-text); }
.resto-status.ahead { color: var(--gold); }
.resto-hours { margin-top: 8px; font-size: .86rem; }
.order-how { padding: 18px 0 4px; }
.order-hint { margin: 0; font-size: .95rem; color: var(--ink-2); }
.order-hint b { color: var(--ink); }
.order-how .contact-btns { margin-top: 12px; }
.order-how .pick-prompt { margin: 12px 0 0; }
.already { margin: 10px 0 0; font-size: .86rem; color: var(--muted); }
.already a { color: var(--gold); }
.cat-tabs { margin-top: 12px; }
.menu-section h2 { margin-bottom: 10px; }

/* Dishes: compact, no empty picture boxes */
.menu-grid { gap: 10px; }
.menu-item { padding: 14px 16px; gap: 14px; align-items: flex-start; }
.menu-item .emoji { width: 64px; height: 64px; }
.menu-item h3 { font-size: 1.05rem; }
.menu-item p { margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-item p.extras-hint { -webkit-line-clamp: 3; }
.size-list { margin-top: 4px; gap: 0; }
.size-row { padding: 8px 0; }
.size-row .size-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-size: .92rem; }
.size-row .size-name small { display: inline; }
/* price and Add stay on the size's line, even on phones */
.size-row { grid-template-columns: 1fr auto auto; }
.size-row .pick { grid-column: auto; margin-left: 4px; }
.size-row .pick-add { white-space: nowrap; }
.pick-add { padding: 7px 12px; }
@media (max-width: 480px) {
  .resto-emoji { width: 60px; height: 60px; }
  .menu-item { padding: 12px 14px; }
}
/* The cookie notice sits above the "Send my order" bar, never on top of it */
.has-pick-bar .cookie-notice { bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ==========================================================================
   Simple theme (customer pages: <html class="simple deep">)
   White, lots of space, one colour (Naija green), flat cards, normal-case
   text. The vendor and driver portals keep the dark "Evening" theme.
   ========================================================================== */
:root.simple {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f6f7f5;
  --card: #ffffff;
  --card-2: #f4f6f3;
  --card-3: #eceeea;
  --line: #e7e9e5;
  --line-2: #d8dcd6;
  --ink: #16201b;
  --ink-2: #3f4b44;
  --muted: #6c7670;
  --green: #008751;
  --green-hover: #00703f;
  --green-text: #00794a;
  --green-deep: #eaf5ef;
  --green-tint: rgba(0, 135, 81, .08);
  /* one accent colour: the old gold details become green */
  --gold: #00794a;
  --gold-hover: #005f3a;
  --gold-tint: rgba(0, 135, 81, .07);
  --danger: #c2412d;
  --danger-tint: rgba(194, 65, 45, .07);
  --info: #2f6db3;
  --info-tint: rgba(47, 109, 179, .07);
  --radius: 14px;
  --radius-sm: 10px;
  --glass-blur: none;
  --glass-shadow: 0 1px 2px rgba(22, 32, 27, .05);
  --shadow-lg: 0 24px 60px rgba(22, 32, 27, .16);
}
html.simple { background: #fff; }
.simple body { background: #fff; color: var(--ink); }
.simple body::before { display: none; }
.simple a:hover { color: var(--green-hover); }
.simple option { background: #fff; }
.simple ::selection { background: rgba(0, 135, 81, .2); color: var(--ink); }
.simple .input::placeholder, .simple .search-card input::placeholder { color: #9aa39d; }

/* Flat surfaces: no blur, no glow */
.simple .card, .simple .search-card, .simple .toast, .simple .drawer, .simple .modal, .simple .order-items,
.simple .saved-card, .simple .payment-box, .simple .role-note, .simple .resto-hero, .simple .launch-strip,
.simple .site-header, .simple .cat-tabs, .simple .site-footer, .simple .kitchen-row, .simple .city-pop,
.simple .cookie-notice, .simple .menu-switch-bar.is-stuck, .simple .menu-switch, .simple .btn-outline,
.simple .modal-backdrop, .simple .drawer-backdrop {
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.simple .card, .simple .search-card { box-shadow: none; }
.simple .site-header { background: rgba(255, 255, 255, .96); border-bottom-color: var(--line); }
.simple .flag-stripe { display: none; }
.simple .cat-tabs, .simple .menu-switch-bar.is-stuck { background: rgba(255, 255, 255, .97); }
.simple .site-footer { background: var(--bg-2); border-top-color: var(--line); }
.simple .resto-hero { background: var(--bg-2); }
.simple .launch-strip { background: var(--green-deep); color: var(--ink); }
.simple .modal { background: #fff; }
.simple .modal-foot, .simple .drawer-foot { background: var(--bg-2); }
.simple .drawer { background: #fff; }
.simple .toast { background: #fff; color: var(--ink); border-left-color: var(--green); }
.simple .modal-backdrop, .simple .drawer-backdrop { background: rgba(22, 32, 27, .38); }
.simple .page-loader { background: #fff; }
.simple .page-loader::before, .simple .page-loader::after { display: none; }

/* Normal-case text instead of small capitals */
.simple .btn { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 600; border-radius: 999px; }
.simple .btn-sm { font-size: .84rem; padding: 8px 16px; }
.simple .btn-primary, .simple .btn-accent, .simple .btn-gold { background: var(--green); color: #fff; box-shadow: none; }
.simple .btn-primary:hover:not(:disabled), .simple .btn-accent:hover:not(:disabled), .simple .btn-gold:hover:not(:disabled) { background: var(--green-hover); color: #fff; }
.simple .btn-outline { background: #fff; border-color: var(--line-2); color: var(--ink); }
.simple .btn-outline:hover:not(:disabled) { background: var(--bg-2); border-color: var(--ink-2); color: var(--ink); }
.simple .btn-ghost:hover:not(:disabled) { color: var(--green); }
.simple .nav-links a { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 500; }
.simple .field > span, .simple .label { text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 600; color: var(--ink); }
.simple .badge, .simple .status, .simple .tab, .simple .kitchen-status, .simple .city-pop-label, .simple .pl-tag,
.simple .progress-labels, .simple .eyebrow, .simple .fact, .simple .legal-table th, .simple .cookie-table th,
.simple .food-count, .simple .sched-day, .simple .countdown span, .simple .kv dt {
  text-transform: none; letter-spacing: 0;
}
.simple .kitchen-status { font-size: .8rem; font-weight: 500; }
.simple .badge { font-size: .76rem; }
.simple .status { font-size: .78rem; }
.simple .tab { font-size: .9rem; }
.simple .eyebrow::after { display: none; }

/* Inputs */
.simple .input, .simple .pin-boxes input { background: #fff; border-color: var(--line-2); }
.simple .input:focus, .simple .pin-boxes input:focus { background: #fff; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 135, 81, .14); }

/* Messages */
.simple .alert-error { color: #8f2a1c; border-color: rgba(194, 65, 45, .25); }
.simple .alert-info { color: #1f4f85; border-color: rgba(47, 109, 179, .22); }
.simple .alert-success { color: #075c37; border-color: rgba(0, 135, 81, .25); }
.simple .alert-warn { color: #6b4f0e; background: #fbf6e9; border-color: #ecdcb2; border-left-color: #c79a2b; }
.simple .badge-open, .simple .badge-closed { background: #fff; }

/* Home page */
.simple .hero { border-bottom: 0; background: none; }
.simple .hero::before, .simple .hero::after { display: none; }
.simple .hero-art { display: none; }
.simple .hero-grid { grid-template-columns: 1fr; }
.simple .hero h1 { font-weight: 700; letter-spacing: -.02em; max-width: 760px; }
.simple .hero h1 .accent { color: var(--green); font-style: normal; }
.simple .hero .lead { font-weight: 400; color: var(--ink-2); }
.simple .location-card { border-color: var(--line-2); }
.simple .city-btn:hover, .simple .city-btn[aria-expanded="true"] { background: var(--bg-2); }
.simple .city-btn:focus-visible { background: var(--bg-2); box-shadow: inset 0 0 0 2px var(--green); }
.simple .city-pop { background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); }
.simple .city-opt:hover, .simple .city-opt:focus-visible { background: var(--bg-2); }
.simple .city-opt-icon { background: var(--bg-2); border-color: var(--line); }
.simple .city-opt-addr { border-top-color: var(--line); }
.simple .link-btn { color: var(--green); }
.simple .menu-switch { background: var(--bg-2); border-color: var(--line); box-shadow: none; }
.simple .menu-switch button { color: var(--ink-2); }
.simple .menu-switch-thumb, .simple .menu-switch[data-active] .menu-switch-thumb { background: var(--green); box-shadow: none; }
.simple .menu-switch button[aria-checked="true"], .simple .menu-switch[data-active="catering"] button[aria-checked="true"] { color: #fff; }
.simple .kitchen-row { background: #fff; border-color: var(--line); box-shadow: none; }
.simple .kitchen-row:hover { border-color: var(--green); box-shadow: 0 6px 20px rgba(22, 32, 27, .07); }
.simple .kitchen-row::before { display: none; }
.simple .kitchen-pic { background: var(--bg-2); border-color: var(--line); }
.simple .kitchen-dot { border-color: #fff; }
.simple .kitchen-go { color: var(--green); border-color: var(--line); }
.simple .kitchen-row:hover .kitchen-go { background: var(--green); color: #fff; }
.simple .kitchen-special { color: #6b4f0e; background: #fbf6e9; border-color: #ecdcb2; }
.simple .how-list li::before { background: var(--green-deep); color: var(--green); }
.simple .join-strip a, .simple .already a { color: var(--green); }
.simple .section-head h2::before { display: none; }

/* Kitchen page and menu */
.simple .resto-emoji { border-color: var(--line); background: #fff; }
.simple .chip { border-color: var(--line-2); color: var(--ink-2); border-radius: 999px; }
.simple .chip:hover, .simple .chip.active { border-color: var(--green); color: var(--green); }
.simple .menu-item { border-color: var(--line); }
.simple .menu-item.is-special { background: #fffdf6; border-color: #ecdcb2; }
.simple .menu-item .emoji { background: var(--bg-2); border-color: var(--line); }
.simple .price { color: var(--ink); }
.simple .pick-add { border-color: var(--green); color: var(--green); border-radius: 999px; }
.simple .pick-add:hover, .simple .pick-add:focus-visible { background: var(--green); color: #fff; }
.simple .qty { border-color: var(--line-2); border-radius: 999px; }
.simple .menu-item p.extras-hint { color: var(--ink-2); }
.simple .catering-note b, .simple .special-until { color: var(--green); }

/* Cookie notice and small bits */
.simple .cookie-notice { background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); }
.simple .cart-count { color: #fff; }
.simple .avatar { background: var(--green-deep); border-color: var(--line); color: var(--green); }
.simple .user-chip { border-color: var(--line-2); }
.simple .logo b { color: var(--green); }
.simple .pl-name em { color: var(--green); }
.simple .maint-strip { background: #fbf6e9; color: #6b4f0e; border-bottom-color: #ecdcb2; }
.simple .st-nearby { color: #8a5a00; border-color: #e5c27a; background: #fdf5e3; }
.simple .st-returning { color: #9a4b16; }
.simple .tl-nearby .tl-dot { border-color: #c79a2b; background: #fdf5e3; }
.simple .live-map { background: #eef1ee; }
.simple .auth-art { background: var(--green-deep); }
.simple .auth-art::after { background: linear-gradient(180deg, rgba(234, 245, 239, .1), rgba(234, 245, 239, .95) 75%); }
.simple .auth-art p { color: var(--ink-2); }
/* Page titles: smaller and calmer */
.simple main h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; }
.simple .hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.simple .resto-name { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }

/* Guided ordering: ① Pick dishes → ② Send to kitchen → ③ Pay the kitchen → ④ Book delivery */
.order-steps { margin: 0 0 16px; }
.order-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.order-steps li { position: relative; }
.order-steps li > a, .order-steps li.now { display: flex; align-items: center; gap: 8px; padding: 8px 6px 10px; color: var(--muted); text-decoration: none; border-bottom: 3px solid var(--line); font-size: .86rem; line-height: 1.2; }
.order-steps li.now { color: var(--ink); font-weight: 600; border-bottom-color: var(--green); }
.order-steps li.done > a { color: var(--ink-2); border-bottom-color: var(--green); }
.order-steps li > a:hover { color: var(--ink); }
.os-n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: var(--card-2); color: var(--muted); border: 1px solid var(--line-2); }
.order-steps li.now .os-n { background: var(--green); color: #fff; border-color: var(--green); }
.order-steps li.done .os-n { background: var(--green-deep, var(--green-tint)); color: var(--green); border-color: transparent; }
.os-short { display: none; }
@media (max-width: 640px) {
  .order-steps li > a, .order-steps li.now { flex-direction: column; gap: 4px; padding: 6px 2px 8px; font-size: .78rem; text-align: center; }
  .os-long { display: none; }
  .os-short { display: inline; }
}
.order-how .order-steps { margin-bottom: 14px; }
.pick-modal .order-steps { margin: 0 0 14px; }
.pick-next { margin-top: 10px; }
main > #steps { margin-top: 24px; }
#steps .order-steps { margin-bottom: 4px; }

/* Light theme: "Book your delivery" is a plain green button-card */
.simple .arranged-cta { background: var(--green); color: #fff; border-color: transparent; box-shadow: 0 8px 24px rgba(0, 135, 81, .22); }
.simple .arranged-cta::before, .simple .arranged-cta::after { display: none; }
.simple .arranged-cta:hover, .simple .arranged-cta:focus-visible { color: #fff; background: var(--green-hover); box-shadow: 0 10px 28px rgba(0, 135, 81, .3); }
.simple .arranged-cta-eyebrow, .simple .arranged-cta-sub { color: rgba(255, 255, 255, .85); }
.simple .arranged-cta-main { color: #fff; }
.simple .arranged-cta-icon { background: rgba(255, 255, 255, .16); box-shadow: none; }
.simple .arranged-cta-icon::after { border-color: rgba(255, 255, 255, .3); }
.simple .arranged-cta-icon svg { stroke: #fff; }
.simple .arranged-cta-go { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }
.simple .arranged-cta-go svg { stroke: #fff; }
.simple .arranged-cta:hover .arranged-cta-go { background: #fff; }
.simple .arranged-cta:hover .arranged-cta-go svg { stroke: var(--green); }
.simple .page-head { padding: 28px 0 8px; }
.simple .page-head h1 { font-size: clamp(1.6rem, 4vw, 2.2rem) !important; }
.simple main > #steps + .page-head { padding-top: 12px; }

/* ==========================================================================
   Evening colours on customer pages (<html class="simple deep">), as in the vendor portal:
   near-black with green and gold glows, ivory text, green links. Gold is kept for the
   few things that matter most: the coupon, "Already ordered? Book your
   delivery", the "Send my order" bar, "Next: Book your delivery" and the
   current step.
   ========================================================================== */
:root.deep {
  color-scheme: dark;
  --bg: #0a0e0c;
  --bg-2: #0d1310;
  --card: #151e19;
  --card-2: #1b2620;
  --card-3: #222d27;
  --line: #222d27;
  --line-2: #2c3a32;
  --ink: #ece7dc;
  --ink-2: #c4bfb3;
  --muted: #8b958e;
  --green: #008751;
  --green-hover: #00a062;
  --green-text: #4fbf8b;
  --green-deep: rgba(79, 191, 139, .14);
  --green-tint: rgba(79, 191, 139, .12);
  --gold: #c9a86a;
  --gold-hover: #d8bb83;
  --gold-tint: rgba(201, 168, 106, .14);
  --danger: #e07a72;
  --danger-tint: rgba(224, 122, 114, .12);
  --info: #8fb3d9;
  --info-tint: rgba(143, 179, 217, .12);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .38);
}
html.deep, .deep body { background: var(--bg); }
.deep option { background: var(--card); }
.deep ::selection { background: rgba(201, 168, 106, .35); color: #fff; }
.deep .input::placeholder, .deep .search-card input::placeholder { color: #5f6a63; }
.deep a:hover { color: var(--gold); }

/* Surfaces */
.deep .site-header { background: rgba(10, 14, 12, .96); }
.deep .cat-tabs, .deep .menu-switch-bar.is-stuck { background: rgba(10, 14, 12, .97); }
.deep .site-footer { background: #070a08; }
.deep .resto-hero { background: var(--bg-2); }
.deep .modal, .deep .drawer { background: #121a16; }
.deep .toast { background: var(--card-2); color: var(--ink); border-left-color: var(--gold); }
.deep .modal-backdrop, .deep .drawer-backdrop { background: rgba(0, 0, 0, .5); }
.deep .page-loader { background: var(--bg); }
.deep .launch-strip { background: var(--gold-tint); color: var(--ink); }
.deep .cookie-notice, .deep .city-pop { background: var(--card-2); border-color: var(--line-2); }
.deep .city-opt:hover, .deep .city-opt:focus-visible, .deep .city-btn:hover, .deep .city-btn[aria-expanded="true"], .deep .city-btn:focus-visible { background: var(--card-2); }
.deep .city-opt-icon { background: var(--card-2); }
.deep .kitchen-row { background: var(--card); }
.deep .kitchen-row:hover { border-color: var(--green-text); box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.deep .kitchen-dot { border-color: var(--card); }
.deep .kitchen-pic { background: var(--card-2); }
.deep .resto-emoji, .deep .kitchen-pic.logo-tile { background: #fff; }
.deep .menu-item.is-special { background: rgba(201, 168, 106, .07); border-color: rgba(201, 168, 106, .35); }
.deep .live-map { background: var(--bg-2); }
.deep .auth-art { background: var(--bg-2); }
.deep .auth-art::after { background: linear-gradient(180deg, rgba(10, 14, 12, .15), rgba(10, 14, 12, .96) 75%); }

/* Buttons: white on green for everyday actions */
.deep .btn-primary, .deep .btn-accent, .deep .btn-gold { background: var(--green); color: #fff; }
.deep .btn-primary:hover:not(:disabled), .deep .btn-accent:hover:not(:disabled), .deep .btn-gold:hover:not(:disabled) { background: var(--green-hover); color: #fff; }
.deep .btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.deep .btn-outline:hover:not(:disabled) { background: var(--card-2); border-color: var(--green-text); color: var(--ink); }
.deep .btn-ghost:hover:not(:disabled) { color: var(--green-text); }
.deep .input, .deep .pin-boxes input { background: var(--bg-2); border-color: var(--line-2); color: var(--ink); }
.deep .input:focus, .deep .pin-boxes input:focus { background: var(--bg-2); border-color: var(--green-text); box-shadow: 0 0 0 3px rgba(79, 191, 139, .18); }

/* Mint for links and small accents */
.deep .link-btn, .deep .join-strip a, .deep .already a, .deep .kitchen-go, .deep .catering-note b, .deep .special-until { color: var(--green-text); }
.deep .chip:hover, .deep .chip.active, .deep .pick-add { border-color: var(--green-text); color: var(--green-text); }
.deep .pick-add:hover, .deep .pick-add:focus-visible { background: var(--green-text); color: #0a0e0c; }
.deep .kitchen-row:hover .kitchen-go { background: var(--green-text); color: #0a0e0c; }
.deep .how-list li::before { background: var(--green-tint); color: var(--green-text); }
.deep .avatar { background: var(--green-tint); color: var(--green-text); }
.deep .logo b, .deep .pl-name em, .deep .hero h1 .accent { color: var(--gold); }
.deep .kitchen-special { color: #e6d3ab; background: var(--gold-tint); border-color: rgba(201, 168, 106, .4); }
.deep .price { color: #fff; }

/* Messages */
.deep .alert-error { color: #f0b3ad; border-color: rgba(224, 122, 114, .35); }
.deep .alert-info { color: #c4d7ec; border-color: rgba(143, 179, 217, .3); }
.deep .alert-success { color: #a9dcc2; border-color: rgba(79, 191, 139, .35); }
.deep .alert-warn { color: #e6d3ab; background: var(--gold-tint); border-color: rgba(201, 168, 106, .35); border-left-color: var(--gold); }
.deep .badge-open, .deep .badge-closed { background: transparent; }
.deep .maint-strip { background: #3a2f12; color: #f3e2b8; border-bottom-color: rgba(201, 168, 106, .5); }
.deep .st-nearby { color: #e2c48b; border-color: rgba(201, 168, 106, .5); background: var(--gold-tint); }
.deep .st-returning { color: #e8a87c; }
.deep .tl-nearby .tl-dot { border-color: var(--gold); background: var(--gold-tint); }

/* ---- Gold: the things customers most need to see ---- */
/* Current step */
.deep .order-steps li.now { border-bottom-color: var(--gold); }
.deep .order-steps li.now .os-n { background: var(--gold); color: #1d1503; border-color: var(--gold); }
.deep .order-steps li.done > a { border-bottom-color: var(--green-text); }
.deep .order-steps li.done .os-n { color: var(--green-text); }
/* "Send my order" bar */
.deep .pick-bar-btn { background: var(--gold); color: #1d1503; border-color: rgba(255, 255, 255, .3); }
.deep .pick-bar-btn small { color: rgba(29, 21, 3, .75); }
.deep .pick-bar-count { background: #1d1503; color: var(--gold); }
.deep .pick-bar-go svg { stroke: #1d1503; }
/* "Next: Book your delivery" (pay page) */
.deep .arranged-cta { background: var(--gold); color: #1d1503; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.deep .arranged-cta:hover, .deep .arranged-cta:focus-visible { background: var(--gold-hover); color: #1d1503; }
.deep .arranged-cta-eyebrow, .deep .arranged-cta-sub { color: rgba(29, 21, 3, .75); }
.deep .arranged-cta-main { color: #1d1503; }
.deep .arranged-cta-icon { background: #1d1503; }
.deep .arranged-cta-icon svg { stroke: var(--gold); }
.deep .arranged-cta-go { background: rgba(29, 21, 3, .1); border-color: rgba(29, 21, 3, .25); }
.deep .arranged-cta-go svg { stroke: #1d1503; }
.deep .arranged-cta:hover .arranged-cta-go { background: #1d1503; }
.deep .arranged-cta:hover .arranged-cta-go svg { stroke: var(--gold); }
.deep .pick-next { background: var(--gold); color: #1d1503; }
.deep .pick-next:hover { background: var(--gold-hover); color: #1d1503; }
/* Checkout: the Book delivery button */
.deep #submit.btn-accent:not(:disabled) { background: var(--gold); color: #1d1503; }
.deep #submit.btn-accent:hover:not(:disabled) { background: var(--gold-hover); color: #1d1503; }

/* "Already ordered? Book your delivery" on a kitchen's page */
.already-btn { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 12px; margin-top: 14px; padding: 14px 18px; border-radius: 14px;
  background: var(--gold); color: #1d1503 !important; text-decoration: none !important; font-size: .9rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); transition: background .2s, transform .2s; }
.already-btn b { font-size: 1.02rem; font-weight: 800; }
.already-btn:hover { background: var(--gold-hover); transform: translateY(-1px); }

/* The coupon (home page) */
.coupon-flag { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; max-width: 520px; border-radius: 14px;
  background: var(--gold); color: #1d1503; text-decoration: none !important; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.coupon-flag-icon { font-size: 1.6rem; flex: none; }
.coupon-flag-text { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.coupon-flag-text small { font-size: .74rem; font-weight: 600; opacity: .75; }
.coupon-flag-text b { font-size: 1.15rem; font-weight: 800; letter-spacing: .04em; }
.coupon-flag-text span { font-size: .84rem; }
.coupon-flag .coupon-copy { flex: none; background: #1d1503; color: var(--gold); border-radius: 999px; }
.coupon-flag .coupon-copy:hover { background: #3a2c09; color: var(--gold-hover); }
.coupon-flag-ig { background: transparent; color: var(--ink); border: 1.5px dashed var(--gold); box-shadow: none; }
.coupon-flag-ig:hover { color: var(--ink); background: var(--gold-tint); }
.coupon-flag-ig .coupon-flag-text b { letter-spacing: 0; font-size: 1rem; }

/* The coupon box at checkout stands out */
.coupon-box { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--gold); background: var(--gold-tint); }
.coupon-title { margin: 0 0 8px; font-size: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.coupon-use { border: 0; border-radius: 999px; padding: 5px 12px; background: var(--gold); color: #1d1503; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; }
.coupon-use:hover { background: var(--gold-hover); }

/* Step bar sticks under the header while you scroll */
.steps-sticky { position: sticky; top: 77px; z-index: 32; background: var(--bg); }
.steps-sticky .order-steps { margin: 0; padding-top: 6px; }
main > .steps-sticky { margin-top: 0; padding-top: 12px; }
.simple .cat-tabs { top: calc(77px + var(--steps-h, 0px)); }
.steps-sticky + .container .order-how { padding-top: 14px; }
.simple .kitchen-row:hover, .simple .already-btn:hover, .simple .coupon-flag:hover { color: inherit; }
.deep .site-header { background: #0a0e0c; }
.deep .already-btn:hover, .deep .coupon-flag:not(.coupon-flag-ig):hover { color: #1d1503; }

/* ==========================================================================
   Glass: frosted, see-through panels over the softly glowing, slowly
   drifting near-black background (customer pages).
   ========================================================================== */
:root.deep {
  --bg-2: rgba(255, 255, 255, .04);
  --card: rgba(255, 255, 255, .07);
  --card-2: rgba(255, 255, 255, .10);
  --card-3: rgba(255, 255, 255, .13);
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .19);
  --radius: 18px;
  --radius-sm: 12px;
  --glass-blur: blur(18px) saturate(150%);
  --glass-shadow: 0 10px 34px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
}
html.deep { background: #0a0e0c; }
.deep body { background: transparent; }
.deep body::before {
  display: block; content: ''; position: fixed; inset: -10vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 12% 8%, rgba(0, 135, 81, .48), transparent 70%),
    radial-gradient(34vmax 34vmax at 92% 22%, rgba(201, 168, 106, .26), transparent 70%),
    radial-gradient(42vmax 42vmax at 78% 96%, rgba(0, 135, 81, .34), transparent 70%),
    radial-gradient(30vmax 30vmax at 6% 82%, rgba(46, 120, 150, .24), transparent 70%),
    #0a0e0c;
  animation: glass-drift 40s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) { .deep body::before { animation: none; } }

/* Frosted panels */
.deep .card, .deep .search-card, .deep .toast, .deep .drawer, .deep .modal, .deep .order-items, .deep .saved-card,
.deep .payment-box, .deep .role-note, .deep .kitchen-row, .deep .city-pop, .deep .cookie-notice, .deep .menu-switch,
.deep .btn-outline, .deep .resto-hero, .deep .coupon-box, .deep .launch-strip {
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.deep .card, .deep .search-card, .deep .kitchen-row, .deep .menu-switch { box-shadow: var(--glass-shadow); }
.deep .kitchen-row:hover { box-shadow: var(--glass-shadow), 0 12px 32px rgba(0, 0, 0, .25); }
.deep .resto-hero { background: rgba(255, 255, 255, .035); }
.deep .modal, .deep .drawer { background: rgba(16, 24, 20, .7); box-shadow: var(--shadow-lg); }
.deep .modal-foot, .deep .drawer-foot { background: rgba(255, 255, 255, .04); }
.deep .toast { background: rgba(22, 32, 27, .78); }
.deep .modal-backdrop, .deep .drawer-backdrop { background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.deep .cookie-notice, .deep .city-pop { background: rgba(16, 24, 20, .72); border-color: rgba(255, 255, 255, .16); box-shadow: var(--shadow-lg); }
.deep .input, .deep .pin-boxes input { background: rgba(255, 255, 255, .07); }
.deep .input:focus, .deep .pin-boxes input:focus { background: rgba(255, 255, 255, .11); }
.deep option { background: #151e19; }

/* Bars: frosted glass that the page shows through */
.deep .site-header, .deep .cat-tabs, .deep .menu-switch-bar.is-stuck, .deep .steps-sticky {
  background: rgba(10, 14, 12, .55); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.deep .site-footer { background: rgba(7, 10, 8, .45); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.deep .btn-primary, .deep .btn-accent, .deep .btn-gold { box-shadow: 0 6px 20px rgba(0, 135, 81, .35), inset 0 1px 0 rgba(255, 255, 255, .18); }

/* For people who ask for less transparency, or browsers without blur: solid deep green */
@media (prefers-reduced-transparency: reduce) {
  :root.deep { --card: #151e19; --card-2: #1b2620; --card-3: #222d27; --bg-2: #0d1310; --line: #222d27; --line-2: #2c3a32; }
  .deep body::before { animation: none; background: #0a0e0c; }
  .deep .site-header, .deep .cat-tabs, .deep .menu-switch-bar.is-stuck, .deep .steps-sticky { background: #0a0e0c; }
  .deep .modal, .deep .drawer, .deep .toast, .deep .cookie-notice, .deep .city-pop { background: #121a16; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root.deep { --card: rgba(17, 24, 20, .94); --card-2: rgba(21, 30, 25, .95); --card-3: rgba(27, 38, 32, .96); }
  .deep .site-header, .deep .cat-tabs, .deep .menu-switch-bar.is-stuck, .deep .steps-sticky { background: rgba(10, 14, 12, .97); }
  .deep .modal, .deep .drawer, .deep .toast, .deep .cookie-notice, .deep .city-pop { background: #121a16; }
}

/* Checkout: one calm column (where, when, how you paid the kitchen, pay for delivery, total, book) */
.co { max-width: 560px; margin: 0 auto; }
.co-from { margin: 0 0 4px; color: var(--muted); font-size: .92rem; }
.co-from a { color: var(--ink); }
.co-closed { margin: 0 0 10px; font-size: .9rem; color: var(--gold); }
.co-guest { margin: 0 0 4px; font-size: .86rem; color: var(--muted); }
.co-items { margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); display: grid; gap: 4px; }
.co-items .link-btn { justify-self: start; }
.co-sec { padding: 20px 0; border-bottom: 1px solid var(--line); }
.co-sec:last-child { border-bottom: 0; }
.co-sec h2 { margin: 0 0 12px; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.co-sec .field { margin-bottom: 12px; }
.co-sec .hint { margin: 8px 0 0; font-size: .84rem; }
.co-where { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.co-where-text { display: grid; gap: 2px; font-size: .95rem; line-height: 1.4; }
.co-where-text .muted { font-size: .86rem; }
.co-add-note { margin-top: 10px; }
#co-note { margin: 12px 0 0; }
.co .when-options { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 0; }
.co .when-opt { padding: 12px 14px; }
.co .when-opt small { display: none; }
.co #when-pick { margin-top: 10px; gap: 8px; }
.co #when-pick .field { margin-bottom: 0; }
.co-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.co-chip { position: relative; cursor: pointer; }
.co-chip input { position: absolute; opacity: 0; pointer-events: none; }
.co-chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; color: var(--ink-2); transition: border-color .2s, background .2s, color .2s; }
.co-chip input:checked + span { border-color: var(--green-text); background: var(--green-tint); color: var(--ink); font-weight: 600; }
.co-chip input:focus-visible + span { outline: 2px solid var(--green-text); outline-offset: 2px; }
.co .saved-cards { margin-bottom: 10px; }
.co .payment-box { margin-bottom: 8px; }
.co .save-card { margin-top: 8px; font-size: .86rem; }
.co-sum .totals { margin: 0; padding: 0; border: 0; background: none; }
.co-sum .totals > div { padding: 6px 0; }
.co-sum .grand { margin-top: 6px; padding-top: 12px !important; border-top: 1px solid var(--line); font-size: 1.15rem; }
.co .coupon-box { margin-top: 14px; }
.co .coupon-title { margin-bottom: 8px; }
.co .coupon-insta { margin: 8px 0 0; font-size: .8rem; }
.co #error { margin: 14px 0 0; }
.co-book { margin-top: 16px; padding: 15px 24px; font-size: 1rem; }
.co-fine { margin: 10px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
.co-fine a { color: var(--muted); text-decoration: underline; }
@media (max-width: 420px) { .co .when-options { grid-template-columns: 1fr; } }
.co-page .page-head, .co-page #steps .order-steps { max-width: 560px; margin-left: auto; margin-right: auto; }
.co-page .page-head { padding-bottom: 0; }
.co .saved-card { background: transparent; }
.co .saved-card:hover { border-color: var(--line-2); }
.co .saved-card:has(input:checked) { border-color: var(--green-text); background: var(--green-tint); }
.co-page #steps { max-width: 560px; margin-left: auto; margin-right: auto; }
.co-member { margin: 0 0 4px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.co-member a { color: var(--gold); }

/* ==========================================================================
   Checkout, iOS style: large title, inset grouped rows, segmented control,
   tick rows, switch — on the evening glass.
   ========================================================================== */
.co-page {
  --ios-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
  --ios-group: rgba(255, 255, 255, .085);
  --ios-sep: rgba(255, 255, 255, .14);
  --ios-press: rgba(255, 255, 255, .07);
  --ios-tint: var(--gold);
}
.co-page, .co-page .page-head h1, .co-page .ios h2 { font-family: var(--ios-font); }
.co-page .page-head h1 { font-size: 34px !important; font-weight: 700; letter-spacing: .01em; line-height: 1.15; }
.ios { font-family: var(--ios-font); font-size: 17px; letter-spacing: -.01em; }
.ios .co-from { font-size: 15px; margin-bottom: 0; }

/* Section header and footer */
.ios-h { padding: 24px 16px 7px; font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; color: rgba(236, 231, 220, .62); }
.ios-foot { margin: 7px 16px 0; font-size: 13px; line-height: 1.4; color: rgba(236, 231, 220, .62); }
.ios-foot a { color: var(--ios-tint); }

/* Inset grouped list */
.ios-group { border-radius: 12px; background: var(--ios-group); overflow: hidden;
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
.ios-row { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; margin: 0; padding: 10px 16px;
  background: none; border: 0; color: var(--ink); font: inherit; font-size: 17px; text-align: left; -webkit-tap-highlight-color: transparent; }
.ios-row::before { content: ''; position: absolute; top: 0; right: 0; left: 16px; border-top: .5px solid var(--ios-sep); }
.ios-row:has(.ios-ic)::before { left: 58px; }
.ios-group > .ios-row:first-child::before, .ios-group > :first-child > .ios-row:first-child::before,
.ios-group > :first-child > :first-child > .ios-row:first-child::before { display: none; }
.ios-tap { cursor: pointer; transition: background .15s; }
.ios-tap:active, .ios-tap:focus-visible { background: var(--ios-press); outline: none; }
@media (hover: hover) { .ios-tap:hover { background: var(--ios-press); } }
.ios-ic { flex: none; width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; font-size: 16px; background: var(--c, #8e8e93); color: #fff; }
.ios-body { flex: 1; min-width: 0; display: grid; gap: 1px; line-height: 1.3; }
.ios-body small { font-size: 14px; color: rgba(236, 231, 220, .62); }
.ios-link { color: var(--ios-tint); }
.ios-chev { flex: none; font-size: 24px; line-height: 1; color: rgba(236, 231, 220, .32); margin-right: -2px; }
.ios-val { flex: none; color: rgba(236, 231, 220, .72); }
.ios-fields { display: block; padding: 14px 16px 4px; position: relative; }
.ios-fields::before { content: ''; position: absolute; top: 0; right: 0; left: 16px; border-top: .5px solid var(--ios-sep); }
.ios-group > .ios-fields:first-child::before, #new-card > .ios-fields:first-child::before { display: none; }
.ios-fields .field { margin-bottom: 12px; }
.ios-fields textarea { margin-bottom: 10px; }

/* Day / time: the native picker opens (a wheel on iPhone) */
.ios-select { appearance: none; -webkit-appearance: none; background: none; border: 0; color: rgba(236, 231, 220, .72); font: inherit; font-size: 17px;
  text-align: right; text-align-last: right; max-width: 62%; padding: 0; cursor: pointer; }
.ios-select:focus { outline: none; color: var(--ios-tint); }
.ios-select option { color: #fff; background: #151e19; }

/* Segmented control */
.ios-seg-row { min-height: 0; padding: 10px 12px; }
.ios-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; padding: 2px; border-radius: 9px; background: rgba(118, 118, 128, .26); }
.ios-seg .when-opt { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.ios-seg .when-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ios-seg .when-opt span { display: block; padding: 7px 8px; border-radius: 7px; text-align: center; font-size: 14px; font-weight: 500; color: var(--ink); transition: background .2s, box-shadow .2s; }
.ios-seg .when-opt input:checked + span { background: rgba(255, 255, 255, .26); font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, .14), 0 0 0 .5px rgba(0, 0, 0, .04); }
.ios-seg .when-opt input:focus-visible + span { outline: 2px solid var(--ios-tint); }
.ios-seg .when-opt.disabled { opacity: .4; cursor: not-allowed; }

/* Tick rows (one choice) */
.ios-check input { position: absolute; opacity: 0; pointer-events: none; }
.ios-tick { flex: none; font-size: 18px; font-weight: 700; color: var(--ios-tint); visibility: hidden; }
.ios-check input:checked ~ .ios-tick { visibility: visible; }
.ios-check:has(input:focus-visible) { background: var(--ios-press); }

/* Switch */
.ios-switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 51px; height: 31px; margin: 0; border-radius: 31px; background: rgba(120, 120, 128, .36); cursor: pointer; transition: background .25s; }
.ios-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 3px 1px rgba(0, 0, 0, .06); transition: transform .25s cubic-bezier(.3, .7, .4, 1); }
.ios-switch:checked { background: #34c759; }
.ios-switch:checked::after { transform: translateX(20px); }
.ios-switch:focus-visible { outline: 2px solid var(--ios-tint); outline-offset: 2px; }

/* Summary */
.ios .totals { margin: 0; padding: 0; border: 0; }
.ios .totals .ios-row { justify-content: space-between; }
.ios .totals .coupon-row, .ios .totals .member-price, .ios .totals .fee-split { font-size: 15px; color: rgba(236, 231, 220, .78); flex-wrap: wrap; }
.ios .totals .fee-split { min-height: 40px; }
.ios .totals .grand { font-weight: 700; font-size: 17px; border: 0; margin: 0; }
.ios .totals .grand .ios-val { color: var(--ios-tint); font-weight: 700; }
.ios .coupon-box { margin: 0; border: 0; border-radius: 0; background: none; padding: 8px 12px 8px 16px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.ios .coupon-form { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.ios-input { flex: 1; min-width: 0; padding: 6px 0; background: none; border: 0; color: var(--ink); font: inherit; font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.ios-input::placeholder { text-transform: none; letter-spacing: -.01em; color: rgba(236, 231, 220, .45); }
.ios-input:focus { outline: none; }
.ios-text-btn { flex: none; background: none; border: 0; padding: 6px 2px; color: var(--ios-tint); font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
.ios .coupon-use { flex: none; font-size: 13px; }
.ios .coupon-msg.coupon-ok { color: var(--green-text); }
.ios .coupon-msg.coupon-error { color: var(--danger); }
.ios .coupon-insta { margin-top: 7px; }

/* Payment box and the big button */
.ios .payment-box { margin: 0 0 10px; border: 0; background: rgba(0, 0, 0, .12); border-radius: 10px; }
.ios #error { margin: 18px 0 0; }
.ios .co-book { margin-top: 22px; min-height: 52px; border-radius: 14px; font-family: var(--ios-font); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ios .co-fine { font-size: 13px; margin-top: 12px; }
.ios .co-guest { font-size: 15px; margin: 8px 0 0; }
.ios .co-closed { font-size: 15px; }
@media (max-width: 420px) { .ios-seg .when-opt span { font-size: 13px; } }
.ios .co-member { margin-top: 8px; font-size: 15px; border-radius: 12px; }
.ios .totals { display: block; gap: 0; }
.ios .totals .grand { padding-top: 10px; }
/* No divider above the first visible row when the row before it is hidden */
.ios-group > .hidden:first-child + * > .ios-row:first-child::before, .ios-group > .hidden:first-child + .ios-fields::before, .ios-group > .hidden:first-child + .ios-row::before { display: none; }

/* Evening details from the vendor portal: the flag stripe on top, mint-free links */
.deep .flag-stripe { display: block; }
.deep .pick-add:hover, .deep .pick-add:focus-visible, .deep .kitchen-row:hover .kitchen-go { color: #0a0e0c; }
.deep .order-steps li.now .os-n { color: #0a0e0c; }
.deep .pick-bar-count { background: #0a0e0c; color: var(--gold); }
/* The flag stripe makes the header 80px tall: sticky bars sit just under it */
.deep .steps-sticky { top: 80px; }
.deep .menu-switch-bar { top: 80px; }
.simple.deep .cat-tabs { top: calc(80px + var(--steps-h, 0px)); }

/* ==========================================================================
   iOS look for every page (customer site, vendor portal, driver app).
   The selectors start with a doubled :root so they win over the theme layers
   above without !important.
   ========================================================================== */
:root:root {
  --ios-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
  --font: var(--ios-font);
  --display: var(--ios-font);
  --ios-fill: rgba(118, 118, 128, .2);
  --ios-sep: rgba(255, 255, 255, .13);
  --ios-label2: rgba(236, 231, 220, .62);
}
:root:root body { font-family: var(--ios-font); font-size: 16px; letter-spacing: -.01em; }

/* Titles: large, bold, tight */
:root:root h1 { font-family: var(--ios-font); font-weight: 700; letter-spacing: -.02em; }
:root:root h2 { font-family: var(--ios-font); font-weight: 700; letter-spacing: -.015em; }
:root:root h3, :root:root h4 { font-family: var(--ios-font); font-weight: 600; letter-spacing: -.01em; }
:root:root .page-head h1, :root:root .biz-card h1, :root:root .auth-box h1, :root:root .biz-box h1 { font-size: clamp(28px, 6vw, 34px) !important; line-height: 1.15; }
:root:root .biz-side h2 { font-style: normal; font-weight: 700; }

/* Normal-case text instead of spaced-out small capitals */
:root:root .btn, :root:root .tab, :root:root .nav-links a, :root:root .badge, :root:root .status, :root:root .seg-control button,
:root:root .store-switch, :root:root .wizard-steps .lbl, :root:root .go-pill, :root:root .go-label, :root:root .go-stats span,
:root:root .stat .label, :root:root .kv dt, :root:root .fact, :root:root .food-go, :root:root .countdown span, :root:root .progress-labels,
:root:root .dash-nav button, :root:root .biz-tag, :root:root .pl-tag, :root:root .week-chart .day,
:root:root .kitchen-status, :root:root .city-pop-label, :root:root .eyebrow, :root:root .sched-day, :root:root .food-count {
  text-transform: none; letter-spacing: 0;
}
:root:root .badge, :root:root .status { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; }
:root:root .biz-tag { font-size: 11px; font-weight: 600; border-radius: 999px; }
:root:root .stat .label, :root:root .kv dt, :root:root .go-stats span { font-size: 13px; color: var(--ios-label2); font-weight: 400; }

/* Form labels: iOS footnotes above the field */
:root:root .field > span, :root:root .label { font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; color: var(--ios-label2); margin-bottom: 7px; padding-left: 2px; }
:root:root .field > span .muted { text-transform: none; letter-spacing: 0; }
:root:root .hint { font-size: 13px; color: var(--ios-label2); }

/* Text fields: filled, rounded, 17px (iPhones don't zoom in) */
:root:root .input, :root:root .pin-boxes input {
  font-family: var(--ios-font); font-size: 17px; border-radius: 10px; border: .5px solid rgba(255, 255, 255, .08);
  background: var(--ios-fill); padding: 12px 14px; color: var(--ink);
}
:root:root .input:focus, :root:root .pin-boxes input:focus { background: rgba(118, 118, 128, .26); border-color: rgba(201, 168, 106, .6); box-shadow: 0 0 0 3px rgba(201, 168, 106, .16); }
:root:root select.input { padding-right: 34px; }
:root:root .input-group .input { border-radius: 10px; }

/* Buttons: rounded rectangles (large) and capsules (small) */
:root:root .btn { font-family: var(--ios-font); font-size: 16px; font-weight: 600; border-radius: 12px; padding: 12px 20px; min-height: 46px; }
:root:root .btn-sm { font-size: 14px; border-radius: 999px; padding: 7px 14px; min-height: 34px; }
:root:root .btn-block { min-height: 50px; font-size: 17px; border-radius: 14px; }
:root:root .btn-ghost { min-height: 0; }
:root:root .icon-btn { border-radius: 10px; }

/* Cards and grouped panels */
:root:root .card, :root:root .biz-card, :root:root .modal, :root:root .drawer-inner, :root:root .stat-grid, :root:root .saved-card,
:root:root .order-items, :root:root .payment-box, :root:root .doc-slot, :root:root .role-note, :root:root .sent-to {
  border-radius: 14px; border-width: .5px;
}
:root:root .alert { border-radius: 12px; border-width: .5px; border-left-width: .5px; font-size: 15px; }
:root:root .chip { border-radius: 999px; }
:root:root .toast { border-radius: 14px; border-left-width: .5px; font-family: var(--ios-font); }

/* Tabs → iOS segmented control */
:root:root .tabs { display: inline-flex; gap: 2px; padding: 2px; border: 0; border-radius: 9px; background: var(--ios-fill); margin-bottom: 22px; max-width: 100%; overflow-x: auto; }
:root:root .tab { flex: 1 0 auto; padding: 7px 14px; margin: 0; border: 0; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--ink); background: none; }
:root:root .tab.active { background: rgba(255, 255, 255, .2); color: var(--ink); font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, .14); border: 0; }
:root:root .driver-tabs { display: flex; width: 100%; }
:root:root .driver-tabs .tab { flex: 1; text-align: center; padding: 8px 6px; }
:root:root .seg-control { display: inline-flex; gap: 2px; padding: 2px; border: 0; border-radius: 9px; background: var(--ios-fill); }
:root:root .seg-control button { padding: 7px 14px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--ink); }
:root:root .seg-control button.active, :root:root .seg-control button[aria-pressed="true"] { background: rgba(255, 255, 255, .2); color: var(--ink); box-shadow: 0 3px 8px rgba(0, 0, 0, .14); }

/* Switches (store open, automatic hours) */
:root:root .switch { width: 51px; height: 31px; }
:root:root .switch .track { border-radius: 31px; border: 0; background: rgba(120, 120, 128, .36); }
:root:root .switch .track::after { top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 3px 1px rgba(0, 0, 0, .06); transition: transform .25s cubic-bezier(.3, .7, .4, 1); }
:root:root .switch input:checked + .track { background: #34c759; }
:root:root .switch input:checked + .track::after { transform: translateX(20px); background: #fff; }

/* Tick circles for agreement checkboxes */
:root:root .check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 50%;
  border: 1.5px solid rgba(236, 231, 220, .4); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s;
}
:root:root .check input[type="checkbox"]::after { content: ''; width: 6px; height: 11px; margin-top: -2px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) scale(0); transition: transform .15s; }
:root:root .check input[type="checkbox"]:checked { background: var(--green); border-color: var(--green); }
:root:root .check input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
:root:root .check input[type="checkbox"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Vendor dashboard side menu → iOS sidebar rows */
:root:root .dash-nav button { font-size: 15px; font-weight: 500; padding: 10px 12px; border-left: 0; border-radius: 10px; color: var(--ink-2); }
:root:root .dash-nav button:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
:root:root .dash-nav button.active { background: rgba(201, 168, 106, .18); color: var(--gold); }
:root:root .dash-nav .count { border-radius: 999px; font-size: 12px; }
:root:root .dash-side .side-foot { border-radius: 14px; }

/* Tables: a rounded group */
:root:root .table { border-radius: 14px; overflow: hidden; }
:root:root .table th { font-size: 12px; letter-spacing: .02em; }

/* Pop-ups: centred on wide screens, a bottom sheet on phones */
:root:root .modal-head h3 { font-size: 17px; font-weight: 600; }
@media (max-width: 560px) {
  :root:root .modal-backdrop { align-items: end; padding: 0; }
  :root:root .modal-backdrop > .modal { width: 100%; max-height: 92dvh; border-radius: 14px 14px 0 0; animation: ios-sheet-up .3s cubic-bezier(.2, .8, .2, 1); }
  :root:root .modal-backdrop > .modal::before { content: ''; display: block; width: 36px; height: 5px; margin: 6px auto -2px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
  :root:root .notice-modal { border-radius: 14px 14px 0 0; }
}
@keyframes ios-sheet-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { :root:root .modal-backdrop > .modal { animation: none; } }

/* Driver app: online button label and job cards follow the same type */
:root:root .go-label { font-size: 15px; font-weight: 600; }
:root:root .go-pill { font-size: 13px; font-weight: 600; }
:root:root .seg-control button + button { border-left: 0; }
:root:root .field > span.hint, :root:root .field > .hint { text-transform: none; letter-spacing: 0; padding-left: 2px; margin: 6px 0 0; }
:root:root .tabs { display: flex; width: 100%; }
:root:root .tabs .tab { flex: 1 1 auto; white-space: nowrap; }
@media (max-width: 480px) { :root:root .tabs .tab { font-size: 13px; padding: 7px 6px; } }
:root:root .toggle-pw { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500; color: var(--gold); }
#jobs .empty, #sched .empty { padding: 22px 16px; } #jobs .empty .big, #sched .empty .big { font-size: 1.6rem; margin-bottom: 4px; }
.pw-fold > summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; } .pw-fold > summary::after { content: "›"; color: var(--muted); font-size: 22px; line-height: 1; transition: transform .2s; } .pw-fold[open] > summary::after { transform: rotate(90deg); } .pw-fold > summary::-webkit-details-marker { display: none; }

/* Mapbox live map: dark navigation map, traffic-coloured road route, gliding driver arrow, ETA chip, Re-centre */
:root:root .live-map { position: relative; height: 340px; border-radius: 14px; border: .5px solid rgba(255, 255, 255, .12); background: #0d1512; }
.live-map-gl .mapboxgl-canvas { outline: none; }
.live-map .map-pin { width: 32px; height: 32px; font-size: 14px; cursor: pointer; box-shadow: 0 0 0 4px rgba(10, 14, 12, .45), 0 4px 12px rgba(0, 0, 0, .5); }
.map-driver { position: relative; width: 40px; height: 40px; }
.map-driver-arrow { position: relative; width: 40px; height: 40px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55)); }
.map-driver:not(.has-heading) .map-driver-arrow path { display: none; }
.map-driver:not(.has-heading) .map-driver-arrow circle { r: 9; }
.map-driver-pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(201, 168, 106, .45); animation: map-pulse 2s ease-out infinite; }
@keyframes map-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.map-chip { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 7px 12px; border-radius: 999px; font: 600 14px/1.2 var(--ios-font, system-ui); color: #ece7dc;
  background: rgba(16, 24, 20, .78); border: .5px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.map-recentre { position: absolute; bottom: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: .5px solid rgba(255, 255, 255, .14); border-radius: 999px;
  font: 600 14px/1 var(--ios-font, system-ui); color: #0a0e0c; background: #c9a86a; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); cursor: pointer; }
.map-recentre span { display: inline-block; transform: rotate(-45deg); }
.map-chip.hidden, .map-recentre.hidden { display: none; }
.map-pop .mapboxgl-popup-content { padding: 7px 11px; border-radius: 10px; font: 500 13px/1.3 var(--ios-font, system-ui); color: #ece7dc; background: rgba(16, 24, 20, .92); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.map-pop.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip { border-top-color: rgba(16, 24, 20, .92); }
.map-pop.mapboxgl-popup-anchor-top .mapboxgl-popup-tip { border-bottom-color: rgba(16, 24, 20, .92); }
.live-map-gl .mapboxgl-ctrl-attrib.mapboxgl-compact { background: rgba(16, 24, 20, .7); }
@media (prefers-reduced-motion: reduce) { .map-driver-pulse { animation: none; opacity: .4; } }

/* Driver app: the map is the whole Deliveries page. The Go circle floats at the bottom centre on top of a
   sheet that peeks above the bottom edge (today / nearby / status); tap or drag it up for the route,
   the current delivery, pickups and scheduled orders. */
.drv-map { display: none; }
body.drv-map-mode { overflow: hidden; height: 100dvh; overscroll-behavior: none; }
body.drv-map-mode .drv-map { display: block; position: fixed; inset: 0; z-index: 0; }
:root:root body.drv-map-mode .drv-map { position: fixed; inset: 0; height: auto; border: 0; border-radius: 0; background: #0d1512; }
body.drv-map-mode .flag-stripe, body.drv-map-mode .driver-top { position: relative; z-index: 20; }
body.drv-map-mode .driver-top { background: rgba(7, 10, 8, .82); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
body.drv-map-mode .driver-main { padding: 0; max-width: none; }
body.drv-map-mode .driver-main > .launch-note { display: none; }
:root:root body.drv-map-mode .driver-tabs { position: fixed; z-index: 15; left: 16px; right: 16px; width: auto; max-width: 560px; margin: 10px auto 0;
  background: rgba(16, 24, 20, .8); border: .5px solid rgba(255, 255, 255, .12); box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
body.drv-map-mode .drv-map .map-chip { top: 128px; }
body.drv-map-mode .drv-map .map-recentre { bottom: calc(var(--drv-peek) + 44px); }
body.drv-map-mode .drv-map .mapboxgl-ctrl-bottom-left, body.drv-map-mode .drv-map .mapboxgl-ctrl-bottom-right,
body.drv-map-mode .drv-map .leaflet-bottom { bottom: calc(var(--drv-peek) + 4px); }
body.drv-map-mode .drv-map .leaflet-top { top: 120px; }

:root { --drv-peek: 150px; }
.drv-sheet { --peek-extra: 0px; position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; max-width: 680px; margin: 0 auto;
  height: calc(100dvh - 190px); display: flex; flex-direction: column;
  border-radius: 22px 22px 0 0; border: .5px solid rgba(255, 255, 255, .12); border-bottom: 0;
  background: rgba(12, 18, 15, .9); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .45);
  transform: translateY(calc(100dvh - 190px - var(--drv-peek))); transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.drv-sheet.open { transform: translateY(0); }
.drv-sheet.dragging { transition: none; }

/* The Go circle, half above the sheet */
.drv-fab { position: absolute; top: -46px; left: 50%; transform: translateX(-50%); z-index: 2; }
.drv-sheet .go-btn { width: 96px; height: 96px; }
.drv-sheet .go-core { width: 80px; height: 80px; gap: 2px; border: 3px solid rgba(12, 18, 15, .95); animation: none;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .45), #c9a86a 58%, #9c7d43); box-shadow: 0 8px 26px rgba(0, 0, 0, .55), 0 0 0 1px rgba(201, 168, 106, .5); }
.drv-sheet .go-icon { width: 22px; height: 22px; stroke: #0a0e0c; }
:root:root .drv-sheet .go-label { font-size: 15px; font-weight: 800; color: #0a0e0c; letter-spacing: .01em; }
.drv-sheet.is-online .go-core { border-color: rgba(12, 18, 15, .95); background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, .4), #00a062 56%, #006b40);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .5), 0 0 34px rgba(0, 200, 120, .55); }
.drv-sheet.is-online .go-icon { stroke: #fff; }
:root:root .drv-sheet.is-online .go-label { color: #fff; font-size: 13px; }
.drv-sheet .go-ripple { inset: 8px; }
.drv-sheet.is-locked .go-core { opacity: .7; }
.drv-sheet .go-btn:disabled { cursor: default; }
.drv-sheet.is-online .go-btn:disabled .go-core { transform: none; }

/* Top of the sheet: Today · (circle) · Nearby, then the status line */
.drv-sheet-top { flex: none; display: flex; justify-content: space-between; padding: 12px 18px 0; touch-action: none; }
.drv-stat { width: 84px; display: grid; justify-items: center; gap: 1px; }
.drv-stat b { font-size: 22px; font-weight: 700; line-height: 1.1; color: var(--ink); }
.drv-stat span { font-size: 12px; color: var(--muted); }
.is-online .drv-stat b#go-nearby { color: var(--green-text); }
.drv-grab { flex: none; display: grid; justify-items: center; gap: 2px; width: 100%; margin: 0; padding: 10px 16px 12px; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; }
:root:root .drv-grab .online-state { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.drv-grab .go-sub { margin: 0; font-size: 14px; color: var(--muted); }
.drv-chev { width: 36px; height: 5px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.drv-sheet-body { flex: 1; min-height: 0; overflow: hidden; padding: 4px 16px calc(24px + env(safe-area-inset-bottom)); border-top: .5px solid rgba(255, 255, 255, .08); }
.drv-sheet.open .drv-sheet-body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.drv-sheet-body .go-lock { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
/* "Go offline?" takes the status line's place, so it shows even with the sheet down */
.drv-sheet > .go-confirm { flex: none; width: auto; box-sizing: border-box; margin: 2px 16px 0; padding: 8px 12px; text-align: center; animation: none; }
.drv-sheet > .go-confirm p { margin: 0 0 6px; font-size: 15px; }
.drv-sheet > .go-confirm .btn-sm { min-height: 32px; padding: 5px 14px; }
.drv-sheet:has(> .go-confirm:not(.hidden)) .drv-grab { display: none; }
.drv-sheet-body > .alert, .drv-sheet-body > #push-slot > * { margin-top: 12px; }
.drv-h { margin: 22px 0 10px; }
.drv-h h2 { margin: 0; font-size: 20px; }

/* Your route: centred */
.drv-sheet .route-card { margin: 16px 0 4px; text-align: center; }
.route-title { margin: 0; font-size: 20px; text-align: center; }
.drv-sheet .route-sharing { margin: 4px 0 0; text-align: center; }
.drv-sheet .route-stops { text-align: left; }
.drv-sheet #active > :first-child { margin-top: 14px; }

@media (prefers-reduced-motion: reduce) { .drv-sheet { transition: none; } }
/* Cookie notice on the driver map: at the top, so it never covers the sheet or the Go circle */
body.drv-map-mode .cookie-notice { top: 128px; bottom: auto; }

/* Customer Track live: the map fills the screen; a close button and the order code float on top,
   and a sheet at the bottom has the status and the delivery timeline. */
body.track-open { overflow: hidden; }
.track-full { position: fixed; inset: 0; z-index: 70; background: #0d1512; }
:root:root .track-full .track-map { position: absolute; inset: 0; height: auto; border: 0; border-radius: 0; }
.track-bar { position: absolute; z-index: 3; top: calc(12px + env(safe-area-inset-top)); left: 12px; right: 12px; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.track-close, .track-title { pointer-events: auto; background: rgba(16, 24, 20, .82); border: .5px solid rgba(255, 255, 255, .14); color: #ece7dc;
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.track-close { flex: none; width: 42px; height: 42px; border-radius: 50%; font-size: 17px; cursor: pointer; display: grid; place-items: center; }
.track-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.track-title { margin: 0 auto; padding: 9px 16px; border-radius: 999px; font: 600 15px/1.2 var(--ios-font, system-ui); transform: translateX(-26px); }
.track-full .map-chip { top: calc(66px + env(safe-area-inset-top)); }
.track-full .map-recentre, .track-full .mapboxgl-ctrl-bottom-left, .track-full .mapboxgl-ctrl-bottom-right, .track-full .leaflet-bottom { bottom: calc(var(--track-sheet, 190px) + 8px); }
.track-full .map-recentre { bottom: calc(var(--track-sheet, 190px) + 40px); }
.track-full .leaflet-top { top: 60px; }
.track-sheet { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; max-width: 680px; margin: 0 auto; max-height: 46dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; border: .5px solid rgba(255, 255, 255, .12); border-bottom: 0;
  background: rgba(12, 18, 15, .92); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); box-shadow: 0 -10px 40px rgba(0, 0, 0, .45); }
.track-sheet::before { content: ''; display: block; width: 36px; height: 5px; margin: 0 auto 12px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.track-sheet .track-status { margin: 0; font-size: 16px; line-height: 1.45; text-align: center; }
.track-tl:not(:empty) { margin-top: 14px; padding-top: 12px; border-top: .5px solid rgba(255, 255, 255, .1); }
.track-tl .timeline { margin: 0; }
.track-tl [data-track] { display: none; }

/* Driver: reserved trips in the sheet, fit badges in Schedule */
.trip-card { padding: 14px; margin-bottom: 12px; }
.trip-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.trip-card .leave-box { margin: 0 0 12px; }
.trip-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trip-stops li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.trip-stops .stop-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .1); }
.trip-stops li:first-child .stop-n { background: var(--gold); color: #0a0e0c; }
.trip-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.fit { margin: 10px 0; padding: 7px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.fit-together { color: var(--gold); background: rgba(201, 168, 106, .14); }
.fit-ok { color: var(--green-text); background: rgba(0, 135, 81, .14); }
.fit-late { color: var(--danger); background: rgba(224, 122, 114, .12); }
:root:root .driver-tabs .tab { padding-left: 4px; padding-right: 4px; font-size: 13px; }
.job-card .badge, .trip-head .badge { white-space: nowrap; }

/* Driver: navigate to the next stop (map button + chooser, and buttons in the route) */
.drv-nav-fab { position: fixed; z-index: 12; right: 14px; bottom: calc(var(--drv-peek) + 58px); padding: 10px 16px; border-radius: 999px; border: .5px solid rgba(255, 255, 255, .16);
  font: 700 15px/1 var(--ios-font, system-ui); color: #fff; background: var(--green); box-shadow: 0 6px 18px rgba(0, 0, 0, .45); cursor: pointer; }
body:not(.drv-map-mode) .drv-nav-fab { display: none; }
.drv-nav-fab.hidden { display: none; }
.nav-sheet { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; padding: 12px; background: rgba(0, 0, 0, .45); }
.nav-sheet.hidden { display: none; }
.nav-sheet-card { width: 100%; max-width: 440px; padding: 14px; border-radius: 18px; background: rgba(22, 30, 26, .97); border: .5px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .5); animation: ios-sheet-up .28s cubic-bezier(.2, .8, .2, 1); padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.nav-sheet-title { margin: 2px 4px 2px; font-weight: 700; font-size: 17px; text-align: center; }
.nav-sheet-addr { margin: 0 4px 12px; font-size: 14px; color: var(--muted); text-align: center; }
.nav-opt { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; align-items: center; width: 100%; min-height: 54px; margin: 0 0 6px; padding: 10px 14px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .07); color: var(--ink); font: 600 17px/1.2 var(--ios-font, system-ui); text-align: left; text-decoration: none; cursor: pointer; }
.nav-opt small { grid-column: 2; font-size: 13px; font-weight: 400; color: var(--muted); }
.nav-opt .ios-ic { grid-row: span 2; }
.nav-opt:hover, .nav-opt:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }
.nav-cancel { width: 100%; min-height: 50px; margin-top: 4px; border: 0; border-radius: 12px; background: none; color: var(--gold); font: 600 17px var(--ios-font, system-ui); cursor: pointer; }
.nav-dest { margin-top: 12px; }
.nav-dest-to { margin: 0 0 10px; line-height: 1.4; }
.nav-dest-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .nav-sheet-card { animation: none; } }
body:has(.drv-sheet.open) .drv-nav-fab { display: none; }
:root:root a.nav-opt, :root:root a.nav-opt:hover { color: var(--ink); }

/* ==========================================================================
   Driver app, iOS layout in the Naija Eats colours: the Evening background and glass, grouped cards with
   hairline separators, capsules and segmented controls; green for go and filled buttons, gold for links,
   plain buttons and highlights, red for problems.
   ========================================================================== */
:root:root body.driver-app {
  /* iOS shapes, Naija Eats colours: gold for tint (links, plain buttons), green for go / filled buttons */
  --tint: var(--gold); --ok: var(--green-text); --warn: var(--gold); --bad: var(--danger);
  --ios-label2: var(--muted); --ios-sep: var(--line);
  --radius: 12px; --radius-sm: 10px;
  --surface: rgba(17, 24, 20, .72); --surface-2: rgba(255, 255, 255, .06);
}
:root:root body.driver-app .driver-top { background: rgba(7, 10, 8, .72); border-bottom: .5px solid var(--line); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
:root:root body.driver-app a:not(.btn):not(.nav-opt):not(.logo), :root:root body.driver-app .link-btn { color: var(--tint); }

/* Grouped cards: flat iOS surfaces, no glass or glow */
:root:root body.driver-app .card, :root:root body.driver-app .doc-slot, :root:root body.driver-app .stat-grid, :root:root body.driver-app .saved-card {
  background: var(--surface); border: .5px solid rgba(255, 255, 255, .08); border-radius: 12px; box-shadow: none;
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
}
:root:root body.driver-app .drv-sheet .card { background: var(--surface-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
:root:root body.driver-app .stat-grid .card { background: transparent; }
:root:root body.driver-app .stat-grid .card + .card { border-left: .5px solid var(--line); }
:root:root body.driver-app .stat .value { font-family: var(--ios-font); font-weight: 700; font-size: 28px; }
:root:root body.driver-app .kv { border-top: 0; }
:root:root body.driver-app .kv dt, :root:root body.driver-app .kv dd { border-bottom: .5px solid var(--line); font-size: 15px; }
:root:root body.driver-app .kv dt { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--muted); }

/* Section headers and day labels */
:root:root body.driver-app .drv-h h2, :root:root body.driver-app .route-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
:root:root body.driver-app .sched-day { margin: 18px 4px 6px; font-size: 13px; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }

/* Buttons: iOS filled (blue), gray (tinted text) and plain */
:root:root body.driver-app .btn-primary, :root:root body.driver-app .btn-accent { background: var(--green); color: #fff; border: 0; box-shadow: 0 6px 18px rgba(0, 135, 81, .3); }
:root:root body.driver-app .btn-primary:hover:not(:disabled), :root:root body.driver-app .btn-accent:hover:not(:disabled) { background: var(--green-hover); color: #fff; }
:root:root body.driver-app .btn-gold { background: var(--gold); color: #0a0e0c; border: 0; box-shadow: 0 6px 18px rgba(201, 168, 106, .25); }
:root:root body.driver-app .btn-gold:hover:not(:disabled) { background: var(--gold-hover); color: #0a0e0c; }
:root:root body.driver-app .btn-outline { background: var(--surface-2); color: var(--tint); border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root:root body.driver-app .btn-outline:hover:not(:disabled) { background: rgba(255, 255, 255, .1); color: var(--tint); }
:root:root body.driver-app .btn-ghost { background: none; color: var(--tint); border: 0; }
:root:root body.driver-app .btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .06); color: var(--tint); }
:root:root body.driver-app .btn-danger { background: var(--surface-2); color: var(--bad); border: 0; }
:root:root body.driver-app .btn:disabled { opacity: .4; }
:root:root body.driver-app .btn-primary { min-height: 50px; }
:root:root body.driver-app .btn-sm { min-height: 34px; }

/* Badges: capsules */
:root:root body.driver-app .badge { border: 0; background: var(--surface-2); color: var(--ink-2); }
:root:root body.driver-app .badge-open { background: rgba(0, 135, 81, .2); color: var(--green-text); }

/* Alerts: grouped rows with a coloured symbol */
:root:root body.driver-app .alert { background: var(--surface); border: 0; color: var(--ink); }
:root:root body.driver-app .drv-sheet .alert { background: var(--surface-2); }
:root:root body.driver-app .alert-error { box-shadow: inset 3px 0 0 var(--bad); }
:root:root body.driver-app .alert-warn { box-shadow: inset 3px 0 0 var(--warn); }
:root:root body.driver-app .alert-info { box-shadow: inset 3px 0 0 var(--tint); }
:root:root body.driver-app .alert-success { box-shadow: inset 3px 0 0 var(--ok); }
:root:root body.driver-app .toast { background: rgba(22, 32, 27, .94); border: 0; border-radius: 14px; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }

/* Job and trip details */
:root:root body.driver-app .dot-pick { border-color: var(--warn); }
:root:root body.driver-app .dot-drop { border-color: var(--bad); background: var(--bad); }
:root:root body.driver-app .job-kitchen { font-weight: 700; }
:root:root body.driver-app .eta, :root:root body.driver-app .sched-pickup b, :root:root body.driver-app .sched-when b { color: var(--ink); }
:root:root body.driver-app .leave-box { border: 0; background: var(--surface-2); border-radius: 10px; }
:root:root body.driver-app .leave-box.soon { background: var(--gold-tint); box-shadow: inset 0 0 0 .5px rgba(201, 168, 106, .5); }
:root:root body.driver-app .leave-box.soon .leave-in { color: var(--warn); }
:root:root body.driver-app .trip-stops li, :root:root body.driver-app .route-stops li { padding: 0 0 10px; border: 0; border-bottom: .5px solid var(--line); border-radius: 0; }
:root:root body.driver-app .trip-stops li:last-child, :root:root body.driver-app .route-stops li:last-child { border-bottom: 0; padding-bottom: 0; }
:root:root body.driver-app .trip-stops .stop-n, :root:root body.driver-app .route-stops .stop-n { background: rgba(255, 255, 255, .1); color: var(--ink); }
:root:root body.driver-app .trip-stops li:first-child .stop-n, :root:root body.driver-app .route-stops li.current .stop-n { background: var(--gold); color: #0a0e0c; }
:root:root body.driver-app .route-stops li.current { border-color: var(--line); }
:root:root body.driver-app .fit-together { color: var(--gold); background: var(--gold-tint); }
:root:root body.driver-app .fit-ok { color: var(--ok); background: rgba(0, 135, 81, .16); }
:root:root body.driver-app .fit-late { color: var(--bad); background: rgba(224, 122, 114, .14); }

/* The sheet: iOS thick material, rounded top, grouped content */
:root:root body.driver-app .drv-sheet { background: rgba(12, 18, 15, .93); border: 0; border-radius: 14px 14px 0 0; box-shadow: 0 -2px 24px rgba(0, 0, 0, .55); }
:root:root body.driver-app .drv-sheet-body { border-top: .5px solid var(--line); }
:root:root body.driver-app .drv-chev { background: rgba(236, 231, 220, .3); }
:root:root body.driver-app .drv-stat b { font-weight: 700; }
:root:root body.driver-app .drv-sheet.is-online .drv-stat b#go-nearby { color: var(--ok); }
:root:root body.driver-app .driver-tabs { background: rgba(16, 24, 20, .82); border: .5px solid rgba(255, 255, 255, .1); }
body.driver-app:not(.drv-map-mode) .driver-tabs { background: rgba(255, 255, 255, .07); border: 0; }
:root:root body.driver-app .driver-tabs .tab.active { background: rgba(255, 255, 255, .18); }

/* Go circle: blue Go, green Online */
:root:root body.driver-app .go-confirm { background: var(--surface-2); border: 0; }

/* Navigate: iOS action sheet */
:root:root body.driver-app .nav-sheet-card { background: rgba(18, 26, 22, .97); border: 0; border-radius: 14px; }
:root:root body.driver-app .nav-opt { background: var(--surface-2); border-radius: 12px; }
:root:root body.driver-app .nav-cancel { background: rgba(18, 26, 22, .97); color: var(--tint); font-weight: 600; }
:root:root body.driver-app .drv-nav-fab { border: 0; border-radius: 14px; background: var(--green); color: #fff; }

/* ---------- The map, Apple Maps style (driver app and customers' Track live) ---------- */
/* Location button: a square on material, top-right */
.map-recentre { position: absolute; top: 10px; right: 10px; left: auto; bottom: auto; z-index: 2; width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  border: .5px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(16, 24, 20, .84); color: var(--gold, #c9a86a); cursor: pointer;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.map-recentre svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.map-recentre.following svg { fill: currentColor; }
.map-recentre span { display: none; }
.map-recentre:focus-visible { outline: 2px solid #c9a86a; outline-offset: 2px; }
:root:root body.drv-map-mode .drv-map .map-recentre { top: 128px; bottom: auto; }
:root:root .track-full .map-recentre { top: calc(66px + env(safe-area-inset-top)); bottom: auto; }
/* ETA pill */
:root:root .map-chip { padding: 8px 13px; border-radius: 12px; border: .5px solid rgba(255, 255, 255, .12); background: rgba(16, 24, 20, .84); color: #ece7dc; font-weight: 600;
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
/* Balloon pins: a coloured circle with a white edge and a point underneath */
.live-map-gl .map-pin { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 2.5px solid #fff; background: #008751; color: #fff;
  font: 800 14px/1 var(--ios-font, system-ui); display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0, 0, 0, .45); }
.live-map-gl .map-pin::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 10px; height: 10px; background: inherit; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: translateX(-50%) rotate(45deg); z-index: -1; border-radius: 0 0 2px 0; }
.live-map-gl .map-pin.pin-pickup { background: #c9a86a; color: #0a0e0c; }
.live-map-gl .map-pin.pin-dropoff, .live-map-gl .map-pin.pin-home { background: #008751; }
.live-map-gl .map-pin.pin-return { background: #e07a72; }
/* The driver: iOS blue location dot, pulsing halo, heading beam */
.map-driver { position: relative; width: 64px; height: 64px; pointer-events: none; }
.puck-dot { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: #c9a86a; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.puck-halo { position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: rgba(201, 168, 106, .4); animation: puck-halo 2.2s ease-out infinite; }
.puck-beam { position: absolute; left: 50%; top: 0; width: 46px; height: 32px; margin-left: -23px; display: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(201, 168, 106, .7), rgba(201, 168, 106, 0) 72%); clip-path: polygon(50% 100%, 0 0, 100% 0); }
.map-driver.has-heading .puck-beam { display: block; }
@keyframes puck-halo { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .puck-halo { animation: none; transform: scale(1.8); opacity: .4; } }
:root:root .map-pop .mapboxgl-popup-content { background: rgba(16, 24, 20, .95); color: #ece7dc; border-radius: 10px; }
:root:root body.driver-app .push-card { background: var(--surface-2); border: 0; box-shadow: inset 3px 0 0 var(--tint); border-radius: 12px; }
:root:root body.driver-app .push-card.muted-card { box-shadow: inset 3px 0 0 rgba(236, 231, 220, .3); }
:root:root body.driver-app .push-text b { font-weight: 600; }
:root:root body.driver-app .kv { grid-template-columns: auto 1fr; column-gap: 16px; }
:root:root body.driver-app .kv dd { text-align: right; overflow-wrap: anywhere; word-break: normal; }
:root:root body.driver-app .job-kitchen { font-size: 19px; line-height: 1.25; }
@media (max-width: 900px) {
  body.driver-app .biz-auth { grid-template-rows: auto 1fr; }
  :root:root body.driver-app .biz-side { padding: 14px 16px; background: rgba(7, 10, 8, .6); border-bottom: .5px solid var(--line); }
}
:root:root body.driver-app .toggle-pw { color: var(--tint); }
:root:root body.driver-app .biz-card { background: var(--surface); border: .5px solid rgba(255, 255, 255, .08); box-shadow: none; }
:root:root body.driver-app .cookie-notice { background: rgba(18, 26, 22, .96); border: 0; border-radius: 14px; }

/* Driver Earnings and Profile: minimal — one big number, short settings-style lists, details folded away */
body.driver-app .earn-hero { text-align: center; padding: 22px 0 6px; }
body.driver-app .earn-amount { font-size: clamp(44px, 12vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
body.driver-app .earn-sub { margin: 6px 0 18px; color: var(--muted); font-size: 15px; }
:root:root body.driver-app .earn-seg { display: flex; width: 100%; max-width: 420px; margin: 0 auto; }
:root:root body.driver-app .earn-seg button { flex: 1; }
body.driver-app .list-card { padding: 0 16px; }
body.driver-app .list-card > * + * { border-top: .5px solid var(--line); }
body.driver-app .lrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; margin: 0; padding: 12px 0; border: 0; background: none;
  color: var(--ink); font: inherit; font-size: 16px; text-align: left; list-style: none; -webkit-tap-highlight-color: transparent; }
body.driver-app .lrow > span { flex: none; }
body.driver-app .lrow > b { flex: 1; min-width: 0; text-align: right; font-weight: 400; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.driver-app .lrow > b.bad { color: var(--danger); }
body.driver-app .lrow.tap { cursor: pointer; }
body.driver-app .lchev { flex: none; font-size: 22px; line-height: 1; color: rgba(236, 231, 220, .3); transition: transform .2s; }
body.driver-app summary.lrow::-webkit-details-marker { display: none; }
body.driver-app details[open] > summary .lchev { transform: rotate(90deg); }
body.driver-app .fold-body { padding: 4px 0 16px; }
body.driver-app .fold-more { padding: 13px 0; color: var(--gold); font-weight: 600; cursor: pointer; list-style: none; text-align: center; }
body.driver-app .fold-more::-webkit-details-marker { display: none; }
body.driver-app .list-card .earn-row { padding: 12px 0; border-bottom: .5px solid var(--line); }
body.driver-app .list-card .earn-list .earn-row:last-child { border-bottom: 0; }
body.driver-app .earn-row .sent { color: var(--green-text); }
body.driver-app .list-empty { margin: 0; padding: 16px 0; text-align: center; }
body.driver-app .pay-status { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
body.driver-app .pay-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-tint); }
body.driver-app .pay-dot.ok { background: var(--green-text); box-shadow: 0 0 0 4px rgba(0, 135, 81, .18); }
body.driver-app .pay-action { margin: 14px 0 6px; }
body.driver-app .list-card > .btn { border-top: 0; }
body.driver-app .list-card > .btn-ghost { margin-bottom: 6px; }
body.driver-app .prof-head { text-align: center; padding: 18px 0 4px; }
body.driver-app .prof-avatar { width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--green), #0a5a39 55%, var(--gold)); box-shadow: 0 8px 24px rgba(0, 135, 81, .3); }
body.driver-app .prof-head h2 { margin: 0; font-size: 24px; }
body.driver-app .prof-head p { margin: 4px 0 0; font-size: 15px; }
body.driver-app [data-dpanel="earnings"], body.driver-app [data-dpanel="profile"] { max-width: 560px; margin: 0 auto; }
body.driver-app #profile-docs > .card, body.driver-app #profile-docs .card-pad { padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Sign out: a quiet capsule that matches the header */
:root:root body.driver-app #signout { min-height: 32px; padding: 6px 14px; border-radius: 999px; border: .5px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07); color: var(--ink); font-size: 14px; font-weight: 600; }
:root:root body.driver-app #signout:hover { background: rgba(255, 255, 255, .12); color: var(--gold); }
body.driver-app #profile-docs > h3:first-child { display: none; }
body.driver-app .list-card .pw-fold > summary::after { content: none; }

/* Driver tabs: stick under the header while offline; hidden while online (live) until they go offline */
:root:root body.driver-app:not(.drv-map-mode) .driver-tabs { position: sticky; top: calc(var(--drv-head, 64px) + 8px); z-index: 15;
  background: rgba(16, 24, 20, .88); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
:root:root body.drv-live .driver-tabs { display: none; }
.drv-back { display: none; }
body.drv-live:not(.drv-map-mode) .drv-back { position: sticky; top: calc(var(--drv-head, 64px) + 8px); z-index: 15; display: inline-flex; align-items: center; gap: 4px;
  margin: 0 0 14px; padding: 8px 16px; border-radius: 999px; border: .5px solid rgba(255, 255, 255, .14); background: rgba(16, 24, 20, .88); color: var(--gold);
  font: 600 15px/1 var(--ios-font, system-ui); cursor: pointer; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
/* Live on the map: nothing under the header, so the map's overlays move up */
:root:root body.drv-live.drv-map-mode .drv-map .map-chip, :root:root body.drv-live.drv-map-mode .drv-map .map-recentre { top: calc(var(--drv-head, 64px) + 12px); }
body.drv-live.drv-map-mode .cookie-notice { top: calc(var(--drv-head, 64px) + 12px); }
body.driver-app .drv-stat-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.driver-app .drv-stat-btn span { color: var(--gold); }

/* Checkout: More kitchens — the whole row opens the kitchen list (the select sits invisibly on top). */
#more-add-row { position: relative; }
#more-add-row .more-add-select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
#more-add-row .more-add-select option { color: #fff; background: #151e19; }
#more-add-row:focus-within { box-shadow: inset 0 0 0 2px var(--gold); }

/* Driver: how long a scheduled delivery keeps them busy (leave → kitchen → customer → home), and their busy times */
.span-box { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: .5px solid var(--line); display: grid; gap: 4px; }
.span-total { font-size: 15px; }
.span-steps { font-size: 13px; line-height: 1.5; }
.trip-span { margin-top: 10px; text-align: center; }
.busy-card { padding: 12px 14px; margin-bottom: 12px; }
.cal-tile { display: inline-flex; flex-direction: column; align-items: center; width: 2.2em; border-radius: 8px; overflow: hidden; background: #fff; color: #1d2420; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); font-size: 1.1rem; line-height: 1; vertical-align: middle; }
.cal-tile small { width: 100%; padding: 3px 0 2px; background: #c0392b; color: #fff; font-size: .42em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.cal-tile b { padding: 3px 0 5px; font-size: .8em; color: #1d2420; }
.busy-card ul { margin: 6px 0 4px; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
.busy-card p { margin: 4px 0 0; }

/* Driver map hotspots: where approved kitchens are */
.hotspot-card { display: grid; gap: 2px; min-width: 150px; max-width: 220px; }
.hotspot-card .hotspot-tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #c9a86a; }
.hotspot-card b { font-size: 14px; }
.hotspot-card .hotspot-open { font-size: 12px; font-weight: 600; color: #2fbf71; }
.hotspot-card .hotspot-closed { font-size: 12px; font-weight: 600; color: #9aa39e; }
.hotspot-card .hotspot-addr { font-size: 12px; color: #9aa39e; }
.map-hotspot { position: relative; width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.map-hotspot .hs-dot { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; line-height: 1;
  background: #1a1408; border: 2px solid #c9a86a; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.map-hotspot .hs-glow { position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 168, 106, .55) 0%, rgba(201, 168, 106, 0) 70%);
  animation: hs-pulse 2.6s ease-in-out infinite; }
.map-hotspot.closed .hs-dot { border-color: #6f6a5e; filter: grayscale(.7); opacity: .75; }
.map-hotspot.closed .hs-glow { display: none; }
@keyframes hs-pulse { 0%, 100% { transform: scale(.75); opacity: .9; } 50% { transform: scale(1.15); opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .map-hotspot .hs-glow { animation: none; } }
/* Route pins and the driver stay above hotspots */
.live-map-gl .mapboxgl-marker.map-pin, .live-map-gl .mapboxgl-marker.map-driver { z-index: 2; }
.hotspot-card .hotspot-link { margin-top: 4px; font-size: 13px; font-weight: 700; color: #c9a86a; text-decoration: none; }
