/* FrCater — design tokens
   Bottle green (trust, Bangladesh), turmeric (food, warmth), steel (tiffin carrier).
   Display: Anek Bangla (wide, heavy). Body: Hind Siliguri. Both carry Bangla + Latin. */
:root {
  --green: #0e4a38;
  --green-2: #17644c;
  --green-soft: #dcebe3;
  --turmeric: #f2b705;
  --turmeric-soft: #fdf1c4;
  --chili: #c8323c;
  --chili-soft: #f8dfe1;
  --sky: #1f6f99;
  --sky-soft: #dceef7;
  --ink: #13201a;
  --ink-2: #33433b;
  --muted: #5d6e66;
  --line: #d6e0da;
  --line-2: #e7eee9;
  --bg: #eef3ef;
  --surface: #ffffff;
  --surface-2: #f6f9f7;
  --steel: #a6b2ac;
  --steel-2: #cfd8d3;
  --steel-3: #e9eeeb;
  --on-green: #ffffff;
  --on-turmeric: #2a2000;
  --shadow: 0 1px 0 rgba(14, 74, 56, 0.06), 0 8px 24px -12px rgba(14, 74, 56, 0.25);
  --display: "Anek Bangla", "Hind Siliguri", system-ui, sans-serif;
  --body: "Hind Siliguri", "Anek Bangla", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green: #3fae86;
    --green-2: #5cc59e;
    --green-soft: #173528;
    --turmeric: #f5c63a;
    --turmeric-soft: #3a3110;
    --chili: #ef6a72;
    --chili-soft: #3b1c1f;
    --sky: #6db8e0;
    --sky-soft: #142c39;
    --ink: #e6eee9;
    --ink-2: #c3cfc8;
    --muted: #8fa198;
    --line: #2a3a32;
    --line-2: #213029;
    --bg: #0c1511;
    --surface: #131f19;
    --surface-2: #17251e;
    --steel: #6f7d76;
    --steel-2: #3f4c46;
    --steel-3: #26332d;
    --on-green: #06140e;
    --on-turmeric: #1d1600;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 10px 28px -14px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --green: #3fae86;
  --green-2: #5cc59e;
  --green-soft: #173528;
  --turmeric: #f5c63a;
  --turmeric-soft: #3a3110;
  --chili: #ef6a72;
  --chili-soft: #3b1c1f;
  --sky: #6db8e0;
  --sky-soft: #142c39;
  --ink: #e6eee9;
  --ink-2: #c3cfc8;
  --muted: #8fa198;
  --line: #2a3a32;
  --line-2: #213029;
  --bg: #0c1511;
  --surface: #131f19;
  --surface-2: #17251e;
  --steel: #6f7d76;
  --steel-2: #3f4c46;
  --steel-3: #26332d;
  --on-green: #06140e;
  --on-turmeric: #1d1600;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 10px 28px -14px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 6vw, 68px); font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-stretch: 108%; }
h3 { font-size: 21px; }
h4 { font-size: 17px; }
p { margin: 0; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.strong { font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.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; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.top { align-items: flex-start; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.08s;
  background: var(--surface); color: var(--ink); border-color: var(--line);
}
.btn:hover { border-color: var(--steel); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--green); color: var(--on-green); border-color: var(--green); }
.btn-primary:hover { background: var(--green-2); border-color: var(--green-2); }
.btn-accent { background: var(--turmeric); color: var(--on-turmeric); border-color: var(--turmeric); }
.btn-accent:hover { filter: brightness(1.05); border-color: var(--turmeric); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--steel-3); border-color: transparent; }
.btn-danger { background: transparent; color: var(--chili); border-color: var(--chili-soft); }
.btn-danger:hover { background: var(--chili-soft); border-color: var(--chili); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 14px; border-radius: 8px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; border-radius: 12px; }
.btn-block { width: 100%; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.icon-btn:hover { border-color: var(--steel); }
.link { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; cursor: pointer; background: none; border: 0; padding: 0; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.field small { color: var(--muted); font-size: 13px; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
}
.textarea { min-height: 92px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.input.invalid { border-color: var(--chili); }
.err { color: var(--chili); font-size: 13.5px; font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--green); }
.choice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.choice input { accent-color: var(--green); width: 18px; height: 18px; margin-top: 3px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--steel-3); }
.seg button { border: 0; background: transparent; min-height: 36px; padding: 0 14px; border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- surfaces ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.panel.pad-lg { padding: 28px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.kv.total { border-top: 1.5px solid var(--ink); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 18px; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 6px; }
.note { padding: 12px 14px; border-radius: 12px; background: var(--turmeric-soft); color: var(--ink); font-size: 14.5px; }
.note.info { background: var(--sky-soft); }
.note.bad { background: var(--chili-soft); }
.note.good { background: var(--green-soft); }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--steel-3); color: var(--ink-2); white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.badge.plain::before { display: none; }
.b-green { background: var(--green-soft); color: var(--green); }
.b-yellow { background: var(--turmeric-soft); color: #8a6400; }
.b-red { background: var(--chili-soft); color: var(--chili); }
.b-blue { background: var(--sky-soft); color: var(--sky); }
:root[data-theme="dark"] .b-yellow { color: var(--turmeric); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .b-yellow { color: var(--turmeric); } }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 600; background: var(--steel-3); color: var(--ink-2); }
.tag.veg { background: var(--green-soft); color: var(--green); }
.tag.hot { background: var(--turmeric-soft); color: #7a5800; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-weight: 600; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td.r, .table th.r { text-align: right; }
.table tbody tr:hover { background: var(--surface-2); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 24px; font-stretch: 115%; letter-spacing: -0.02em; color: var(--ink); }
.logo b { color: var(--green); font-weight: 800; }
.logo-mark { width: 30px; height: 34px; flex: none; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 500; color: var(--ink-2); }
.nav a:hover, .nav a.is-active { background: var(--steel-3); color: var(--ink); }
@media (min-width: 980px) { .nav { display: flex; } }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lang-btn { min-width: 52px; font-weight: 700; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--turmeric); color: var(--on-turmeric); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.hide-sm { display: none !important; }
@media (min-width: 720px) { .hide-sm { display: inline-flex !important; } .show-sm { display: none !important; } }
.menu-sheet { border-top: 1px solid var(--line); padding: 12px 0 16px; display: grid; gap: 4px; }
.menu-sheet a { padding: 10px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-2); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: var(--on-green); display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: grid; z-index: 50; }
.dropdown-menu a, .dropdown-menu button { text-align: left; padding: 10px 12px; border-radius: 8px; text-decoration: none; border: 0; background: none; cursor: pointer; font-weight: 500; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--steel-3); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--green); color: #fff; }
.hero .container { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
@media (min-width: 960px) { .hero .container { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding-top: 72px; padding-bottom: 88px; } }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .lead { color: rgba(255, 255, 255, 0.82); margin-top: 18px; }
.hero-search { margin-top: 30px; background: #fff; color: #13201a; border-radius: 16px; padding: 8px; display: grid; gap: 8px; max-width: 620px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5); }
@media (min-width: 640px) { .hero-search { grid-template-columns: 1.3fr 0.8fr auto; } }
.hero-search label { display: grid; padding: 6px 12px; border-radius: 10px; }
.hero-search label:hover { background: #f1f5f2; }
.hero-search label span { font-size: 12.5px; font-weight: 600; color: #5d6e66; }
.hero-search select, .hero-search input { border: 0; padding: 2px 0; background: transparent; font-weight: 600; font-size: 16px; color: #13201a; min-height: 30px; outline: none; }
.hero-search .btn { min-height: 56px; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 24px; color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.hero-meta strong { color: var(--turmeric); font-family: var(--display); font-size: 20px; font-weight: 700; margin-right: 6px; }
:root[data-theme="dark"] .hero { background: #0f3227; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero { background: #0f3227; } }

/* ---------- tiffin carrier (signature element) ---------- */
.tiffin { position: relative; margin: 0 auto; width: min(360px, 100%); }
.tiffin-handle { width: 46%; height: 54px; margin: 0 auto -6px; border: 7px solid var(--steel); border-bottom: 0; border-radius: 60px 60px 0 0; }
.tiffin-lid { height: 30px; width: 86%; margin: 0 auto; border-radius: 40px 40px 8px 8px; background: linear-gradient(180deg, #e8eeeb, #b9c4be); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12); }
.tiffin-tier {
  position: relative; display: flex; align-items: center; gap: 12px; margin-top: 6px; min-height: 66px; padding: 10px 18px;
  border-radius: 14px; background: linear-gradient(180deg, #f3f6f4 0%, #d2dbd6 55%, #b7c3bd 100%); color: #13201a;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.8), inset 0 -4px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), opacity 0.35s;
}
.tiffin-tier::before, .tiffin-tier::after { content: ""; position: absolute; top: 50%; width: 10px; height: 26px; margin-top: -13px; border-radius: 4px; background: var(--steel); }
.tiffin-tier::before { left: -6px; }
.tiffin-tier::after { right: -6px; }
.tiffin-tier .dish { flex: 1; min-width: 0; }
.tiffin-tier .dish b { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.2; }
.tiffin-tier .dish small { color: #4d5d55; font-size: 13px; }
.tiffin-tier .qty { font-family: var(--display); font-weight: 800; font-size: 22px; font-stretch: 110%; color: #0e4a38; }
.tiffin-tier.empty-tier { background: repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 8px, rgba(255,255,255,.02) 8px 16px); border: 2px dashed rgba(255, 255, 255, 0.35); box-shadow: none; color: rgba(255, 255, 255, 0.7); justify-content: center; }
.tiffin-tier.empty-tier::before, .tiffin-tier.empty-tier::after { display: none; }
.tiffin-base { height: 14px; width: 92%; margin: 6px auto 0; border-radius: 6px 6px 14px 14px; background: #9aa7a0; }
.tiffin-tag { position: absolute; right: -8px; top: 40px; transform: rotate(6deg); background: var(--turmeric); color: #2a2000; padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: 14px; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5); }
.tiffin-tag span { display: block; font-size: 12px; font-weight: 600; opacity: 0.8; }
.tiffin.done .tiffin-tier { opacity: 1; }
.tiffin-tier.is-dim { opacity: 0.38; filter: grayscale(1); }
.tiffin-tier.is-now { transform: translateX(10px); box-shadow: inset 0 2px 0 rgba(255,255,255,.8), 0 0 0 3px var(--turmeric); }
@keyframes tierIn { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.tiffin-tier.drop { animation: tierIn 0.5s cubic-bezier(.2, .8, .2, 1) both; }

/* ---------- cuisines ---------- */
.cuisine-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.cuisine-chip { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; cursor: pointer; }
.cuisine-chip .g { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-family: var(--display); font-weight: 700; font-size: 16px; }
.cuisine-chip:hover, .cuisine-chip.on { border-color: var(--green); }
.cuisine-chip.on { background: var(--green); color: var(--on-green); }
.cuisine-chip.on .g { background: rgba(255, 255, 255, 0.18); color: inherit; }

/* ---------- restaurant cards ---------- */
.r-card { display: grid; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.r-card:hover { border-color: var(--steel); }
.r-art { position: relative; height: 150px; display: grid; place-items: center; color: rgba(255, 255, 255, 0.95); overflow: hidden; }
.r-art .glyph { font-family: var(--display); font-weight: 800; font-size: 92px; font-stretch: 120%; line-height: 1; letter-spacing: -0.04em; transform: translateY(8px); }
.r-art .plates { position: absolute; inset: 0; opacity: 0.16; background-image: radial-gradient(circle at 20% 30%, #fff 0 22px, transparent 23px), radial-gradient(circle at 85% 75%, #fff 0 34px, transparent 35px), radial-gradient(circle at 70% 10%, #fff 0 14px, transparent 15px); }
.r-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-art .flag { position: absolute; left: 12px; top: 12px; }
.r-body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.r-body h3 { font-size: 19px; }
.r-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.r-stats b { color: var(--ink); font-weight: 600; }
.star { color: #d99a00; }

/* ---------- restaurant page ---------- */
.r-hero { color: #fff; }
.r-hero .container { padding-top: 36px; padding-bottom: 36px; display: grid; gap: 18px; }
.r-hero h1 { font-size: clamp(32px, 5vw, 54px); color: #fff; max-width: 18ch; }
.r-hero .facts { display: flex; flex-wrap: wrap; gap: 10px 24px; color: rgba(255, 255, 255, 0.88); }
.r-hero .facts b { color: #fff; font-family: var(--display); font-size: 19px; display: block; }
.menu-layout { display: grid; gap: 24px; padding: 28px 0 80px; }
@media (min-width: 1000px) { .menu-layout { grid-template-columns: 200px 1fr 360px; align-items: start; } }
.menu-nav { display: none; position: sticky; top: 86px; }
@media (min-width: 1000px) { .menu-nav { display: grid; gap: 2px; } }
.menu-nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.menu-nav a:hover { background: var(--steel-3); }
.menu-cat { scroll-margin-top: 90px; }
.menu-cat h2 { font-size: 24px; margin-bottom: 12px; }
.dish-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.dish-row + .dish-row { margin-top: 10px; }
.dish-row.off { opacity: 0.55; }
.dish-row h4 { font-family: var(--body); font-weight: 600; font-size: 17px; }
.price { font-family: var(--display); font-weight: 700; font-size: 19px; }
.qty-ctl { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.qty-ctl button { width: 36px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 18px; font-weight: 700; color: var(--green); }
.qty-ctl button:hover { background: var(--steel-3); }
.qty-ctl input { width: 52px; height: 38px; border: 0; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty-ctl input::-webkit-outer-spin-button, .qty-ctl input::-webkit-inner-spin-button { -webkit-appearance: none; }
.order-box { position: sticky; top: 86px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.cart-line:last-of-type { border-bottom: 0; }
.mobile-cart-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; }
@media (min-width: 1000px) { .mobile-cart-bar { display: none; } }

/* ---------- steps (real sequences only) ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--turmeric); color: var(--on-turmeric); font-family: var(--display); font-weight: 800; font-size: 20px; }
.step h3 { margin-bottom: 6px; }

/* feature blocks */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 10px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-green { background: var(--green); color: #fff; }
.band-green .muted { color: rgba(255, 255, 255, 0.75); }
:root[data-theme="dark"] .band-green { background: #0f3227; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band-green { background: #0f3227; } }
.quote { font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.35; font-stretch: 100%; }
.logos { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 20px; font-stretch: 110%; }

/* mock spend card */
.spend-mock { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.meter { height: 10px; border-radius: 6px; background: var(--steel-3); overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 6px; background: var(--green); }
.meter.warn > i { background: var(--turmeric); }
.meter.over > i { background: var(--chili); }

/* ---------- footer ---------- */
.site-footer { background: #0a2a20; color: rgba(255, 255, 255, 0.78); padding: 56px 0 28px; font-size: 15px; }
.site-footer .logo { color: #fff; }
.site-footer .logo b { color: var(--turmeric); }
.site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer a { text-decoration: none; display: block; padding: 3px 0; }
.site-footer a.logo { display: inline-flex; padding: 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.foot-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 860px) { .foot-grid > :first-child { grid-column: auto; } }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pay-row span { padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); font-size: 13px; font-weight: 600; color: #fff; }

/* ---------- page heads ---------- */
.page-head { padding: 36px 0 20px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 46px); font-stretch: 108%; }
.page-head p { margin-top: 8px; }
.filters { display: grid; gap: 12px; }
@media (min-width: 860px) { .filters { grid-template-columns: 1fr 1fr 1fr auto; align-items: end; } }

/* ---------- auth ---------- */
.auth-wrap { min-height: calc(100vh - 66px); display: grid; }
@media (min-width: 960px) { .auth-wrap { grid-template-columns: 1fr 1fr; } }
.auth-side { display: none; background: var(--green); color: #fff; padding: 64px; }
@media (min-width: 960px) { .auth-side { display: flex; flex-direction: column; justify-content: center; gap: 28px; } }
.auth-main { display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 440px; }
.demo-logins { display: grid; gap: 8px; }
.demo-logins button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-align: left; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.demo-logins button:hover { border-color: var(--green); }

/* ---------- order tracking ---------- */
.track { display: grid; gap: 24px; }
@media (min-width: 960px) { .track { grid-template-columns: 1fr 380px; align-items: start; } }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 22px 40px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.timeline li.done .dot { background: var(--green); border-color: var(--green); }
.timeline li.done .dot::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.timeline li.done::before { background: var(--green); }
.timeline li.now .dot { border-color: var(--turmeric); box-shadow: 0 0 0 5px var(--turmeric-soft); }
.tiffin-dark { background: var(--green); border-radius: 20px; padding: 28px 22px 26px; }
:root[data-theme="dark"] .tiffin-dark { background: #0f3227; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tiffin-dark { background: #0f3227; } }
.stars { display: inline-flex; gap: 4px; }
.stars button { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--steel-2); padding: 0; }
.stars button.on { color: #e3a400; }

/* ---------- dashboard ---------- */
.dash { display: grid; min-height: calc(100vh - 66px); }
@media (min-width: 980px) { .dash { grid-template-columns: 250px 1fr; background: linear-gradient(to right, var(--surface) 249px, var(--line) 249px, var(--line) 250px, transparent 250px); } }
.dash-side { background: var(--surface); padding: 20px 14px; display: none; }
@media (min-width: 980px) { .dash-side { display: block; position: sticky; top: 66px; height: calc(100vh - 66px); overflow-y: auto; } }
.dash-side .who { display: flex; gap: 10px; align-items: center; padding: 6px 10px 18px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.dash-side nav { display: grid; gap: 2px; }
.dash-side nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; color: var(--ink-2); }
.dash-side nav a:hover { background: var(--steel-3); }
.dash-side nav a.is-active { background: var(--green-soft); color: var(--green); font-weight: 600; }
.dash-side nav a .count { margin-left: auto; background: var(--turmeric); color: var(--on-turmeric); border-radius: 10px; padding: 0 7px; font-size: 12px; font-weight: 700; }
.dash-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
@media (min-width: 980px) { .dash-tabs { display: none; } }
.dash-tabs a { flex: none; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.dash-tabs a.is-active { background: var(--green-soft); color: var(--green); }
.dash-main { padding: 24px 16px 64px; min-width: 0; }
@media (min-width: 720px) { .dash-main { padding: 32px 32px 80px; } }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.dash-head h1 { font-size: clamp(26px, 3vw, 34px); font-stretch: 105%; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.stat .v { font-family: var(--display); font-weight: 700; font-size: 28px; font-stretch: 108%; line-height: 1.1; margin-top: 4px; }
.stat .l { color: var(--muted); font-size: 14px; }
.stat .s { font-size: 13px; margin-top: 6px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; min-width: 0; }
.bars .b i { display: block; flex: none; width: 100%; max-width: 34px; border-radius: 6px 6px 2px 2px; background: var(--green); min-height: 2px; }
.bars .b.today i { background: var(--turmeric); }
.bars .b span { font-size: 12px; color: var(--muted); }
.order-card { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.order-card.urgent { border-color: var(--turmeric); box-shadow: 0 0 0 2px var(--turmeric-soft); }
.kanban { display: grid; gap: 16px; }
@media (min-width: 1100px) { .kanban { grid-template-columns: repeat(4, 1fr); } }
.kanban-col { background: var(--steel-3); border-radius: 16px; padding: 12px; display: grid; gap: 10px; align-content: start; min-height: 120px; }
.kanban-col h3 { font-size: 16px; display: flex; justify-content: space-between; padding: 2px 4px; }

/* ---------- modal + toast ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(8, 20, 15, 0.55); z-index: 80; display: grid; place-items: center; padding: 16px; animation: fade 0.15s; }
.modal { width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border-radius: 18px; padding: 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); }
.modal h2 { font-size: 24px; margin-bottom: 16px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); }
.toast { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; background: #13201a; color: #fff; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5); animation: tierIn 0.3s; }
.toast.bad { background: var(--chili); }
.toast button { margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; font-size: 18px; }

/* payment gateway mock */
.gateway { max-width: 440px; margin: 48px auto; background: var(--surface); border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.gateway-head { background: #1d3557; color: #fff; padding: 18px 22px; }
.gateway-body { padding: 22px; display: grid; gap: 14px; }
.pay-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-opts button { min-height: 54px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer; }
.pay-opts button.on { border-color: #e2136e; color: #e2136e; }

.print-only { display: none; }
@media print {
  .site-header, .site-footer, .dash-side, .dash-tabs, .no-print { display: none !important; }
  .print-only { display: block; }
  body { background: #fff; }
  .dash { display: block; }
}

/* WhatsApp help button */
.wa-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 35; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px 12px 14px; border-radius: 999px; background: #1f9d55; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45); }
.wa-fab:hover { background: #188a49; }
.wa-fab span { display: none; }
@media (min-width: 720px) { .wa-fab span { display: inline; } }
@media (max-width: 999px) { .wa-fab.lift { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

.dish-row.has-img { grid-template-columns: 96px 1fr auto; }
.dish-img { width: 96px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--steel-3); }
@media (max-width: 560px) { .dish-row.has-img { grid-template-columns: 72px 1fr; } .dish-row.has-img > :last-child { grid-column: 1 / -1; justify-items: start !important; } .dish-img { width: 72px; height: 64px; } }

/* hero search with headcount */
@media (min-width: 640px) { .hero-search.four { grid-template-columns: 1.25fr 0.85fr 0.55fr auto; max-width: 720px; } }

/* steam over the hero tiffin — the food is hot */
.steam { position: absolute; left: 50%; top: -46px; width: 90px; height: 60px; transform: translateX(-50%); pointer-events: none; }
.steam i { position: absolute; bottom: 0; width: 8px; height: 46px; border-radius: 8px; background: linear-gradient(to top, rgba(255,255,255,.55), rgba(255,255,255,0)); filter: blur(2px); animation: steam 3.2s ease-in-out infinite; opacity: 0; }
.steam i:nth-child(1) { left: 18px; animation-delay: .2s; }
.steam i:nth-child(2) { left: 42px; animation-delay: 1.1s; height: 54px; }
.steam i:nth-child(3) { left: 66px; animation-delay: 2s; }
@keyframes steam { 0% { transform: translateY(10px) scaleX(1); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-26px) scaleX(1.8); opacity: 0; } }

/* occasions */
.occasions { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .occasions { grid-template-columns: repeat(3, 1fr); } }
.occasion { position: relative; display: grid; align-content: end; min-height: 210px; padding: 20px; border-radius: 20px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.occasion .word { position: absolute; right: -8px; top: -14px; font-family: var(--display); font-weight: 800; font-size: clamp(64px, 9vw, 112px); font-stretch: 118%; line-height: 1; letter-spacing: -0.03em; color: rgba(255, 255, 255, 0.16); z-index: -1; white-space: nowrap; }
.occasion h3 { font-size: clamp(19px, 2vw, 23px); color: #fff; }
.occasion p { color: rgba(255, 255, 255, 0.85); font-size: 14.5px; margin-top: 4px; max-width: 30ch; }
.occasion:hover .word, .occasion:focus-visible .word { color: rgba(255, 255, 255, 0.26); }
@media (max-width: 520px) { .occasion { min-height: 170px; padding: 16px; } .occasion p { font-size: 13px; } }

/* promise strip */
.promises { display: grid; gap: 26px; }
@media (min-width: 860px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.promise { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.promise .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.promise h3 { font-size: 19px; margin-bottom: 4px; }

/* skeleton cards while live data loads */
.skeleton { border-radius: 18px; background: linear-gradient(90deg, var(--steel-3) 0%, var(--surface-2) 50%, var(--steel-3) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; min-height: 260px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 24px; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }

/* On phones, the home page kitchens swipe sideways like an app. */
@media (max-width: 719px) {
  .swipe-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .swipe-row::-webkit-scrollbar { display: none; }
  .swipe-row > * { scroll-snap-align: start; }
  .r-art { height: 120px !important; }
  .r-art .glyph { font-size: 72px; }
}

/* area cards & pages */
.area-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area-card { display: block; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff; }
.area-card .area-art { border-radius: 16px; }
.area-card-text { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; }
.area-card-text b { font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.15; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.area-card-text span { font-size: 12.5px; opacity: .9; }
.area-card:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; }
.area-hero { color: #fff; }
.area-hero-text { position: absolute; left: 0; right: 0; bottom: 28px; }
.area-hero-text h1 { color: #fff; font-size: clamp(30px, 5vw, 52px); max-width: 20ch; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.area-hero-text p { color: rgba(255,255,255,.9); margin-top: 8px; max-width: 60ch; }
@media (max-width: 719px) { .area-hero { height: 340px !important; } }

.event-banner { position: relative; overflow: hidden; isolation: isolate; margin-top: 14px; display: grid; gap: 16px; align-items: center; padding: 24px; border-radius: 20px; background: #3a1420; color: #fff; text-decoration: none; }
@media (min-width: 760px) { .event-banner { grid-template-columns: 1fr auto; padding: 28px 32px; } }
.event-banner .word { position: absolute; right: 18%; top: -30px; font-family: var(--display); font-weight: 800; font-size: 150px; font-stretch: 120%; line-height: 1; color: rgba(242, 183, 5, 0.14); z-index: -1; }
.event-banner h3 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); }
.event-banner p { color: rgba(255,255,255,.82); margin-top: 6px; max-width: 60ch; }
.event-banner .btn { justify-self: start; }
@media (max-width: 719px) { .area-grid.swipe-row { grid-auto-columns: 64%; } }

/* ---------- FrCater Rewards ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.section-title { font-size: clamp(22px, 3vw, 30px); margin: 40px 0 16px; }
.rewards-hero { position: relative; overflow: hidden; isolation: isolate; margin-top: 24px; display: grid; gap: 24px; align-items: center; padding: 28px 22px; border-radius: 24px; background: radial-gradient(120% 140% at 100% 0%, #1d6b52 0%, #0e4a38 45%, #0a3328 100%); color: #fff; }
.rewards-hero::after { content: "★"; position: absolute; right: -20px; bottom: -70px; font-size: 300px; line-height: 1; color: rgba(242, 183, 5, 0.12); z-index: -1; }
.rewards-hero h1 { font-size: clamp(26px, 4.2vw, 44px); line-height: 1.12; margin-top: 8px; max-width: 20ch; }
.rewards-hero p { opacity: 0.88; margin-top: 10px; max-width: 52ch; }
@media (min-width: 820px) { .rewards-hero { grid-template-columns: 1fr 300px; padding: 40px 44px; } }
.points-card { --tier: #c99a06; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 22px 24px; border-radius: 20px; background: linear-gradient(140deg, rgba(255,255,255,.16), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 20px 40px -20px rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.points-card b { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--turmeric); font-variant-numeric: tabular-nums; }
.points-card.demo { transform: rotate(-4deg); }
.tier-progress { margin-top: 20px; max-width: 460px; }
.tier-progress .bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.18); margin-top: 8px; overflow: hidden; }
.tier-progress .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--turmeric), #ffe08a); min-width: 6px; }
.ways .way { display: flex; flex-direction: column; gap: 4px; padding: 18px; }
.ways .way svg { color: var(--green); margin-bottom: 4px; }
.way-big { font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1.05; color: var(--green); }
.tier-card { border-top: 4px solid var(--tier); padding: 18px; }
.tier-card .tier-name { color: var(--tier); font-size: 18px; }
.tier-card.on { box-shadow: 0 0 0 2px var(--tier), var(--shadow); }
.points-log { list-style: none; margin: 0; padding: 0; }
.points-log li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.points-log li:last-child { border-bottom: 0; }
.points-log .pos { color: var(--green); }
.points-log .neg { color: var(--chili); }
.points-pill { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border-radius: 99px; background: var(--turmeric-soft); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.points-pill:hover { filter: brightness(0.97); }
.points-pill .star { color: #c99a06; }
.redeem { border: 1px dashed var(--turmeric); background: var(--turmeric-soft); border-radius: 14px; padding: 14px; }
.redeem input[type="range"] { width: 100%; accent-color: var(--green); }
.earn-hint { font-size: 13px; color: var(--green); font-weight: 600; }
.reward-banner { display: grid; gap: 14px; align-items: center; margin-top: 14px; padding: 22px 24px; border-radius: 20px; background: var(--turmeric-soft); color: var(--ink); text-decoration: none; border: 1px solid rgba(201,154,6,.35); }
.reward-banner b.big { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); line-height: 1.15; display: block; }
@media (min-width: 760px) { .reward-banner { grid-template-columns: auto 1fr auto; } }
.reward-banner .medal { font-size: 46px; line-height: 1; }

/* ---------- live delivery ---------- */
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green); }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #22b573; box-shadow: 0 0 0 0 rgba(34,181,115,.6); animation: livepulse 1.6s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(34,181,115,.55); } 70% { box-shadow: 0 0 0 9px rgba(34,181,115,0); } 100% { box-shadow: 0 0 0 0 rgba(34,181,115,0); } }
.live-delivery { padding: 0; overflow: hidden; }
.eta { text-align: right; display: flex; flex-direction: column; }
.eta b { font-family: var(--display); font-size: 28px; line-height: 1; color: var(--green); white-space: nowrap; }
.eta span { font-size: 13px; color: var(--muted); }
.track-map { width: 100%; background: var(--map-land, #eef1e8); overflow: hidden; position: relative; z-index: 0; }
.track-map .leaflet-container { font: inherit; }
.tm-pin { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.tm-pin.k { background: #0e4a38; }
.tm-pin.d { background: #b8402a; }
.tm-pin.r { background: #f2b705; animation: riderbob 1.4s ease-in-out infinite; }
@keyframes riderbob { 50% { transform: translateY(-3px); } }
.tm-pulse { animation: tmpulse 1.8s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes tmpulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.5); opacity: 0; } }
:root[data-theme="dark"] .svg-map { --map-land: #1a2620; --map-grid: #22312a; --map-dot: #4d6457; --map-text: #8fa198; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .svg-map { --map-land: #1a2620; --map-grid: #22312a; --map-dot: #4d6457; --map-text: #8fa198; } }
@media (prefers-reduced-motion: reduce) { .live-dot::before, .tm-pin.r, .tm-pulse { animation: none; } }
@media (max-width: 460px) { .header-actions .points-pill { display: none; } }
