/* THERAPY — Desserts & More
   Palette taken from the printed menu: cocoa brown, caramel gold, warm cream. */
:root {
  --cocoa-900: #1f130c;
  --cocoa-800: #2b1a11;
  --cocoa-700: #3b2418;
  --cocoa-500: #6b4631;
  --gold: #b88a44;
  --gold-light: #d8b36a;
  --cream: #f7f1e8;
  --cream-2: #efe5d6;
  --paper: #fffdf9;
  --ink: #2b1a11;
  --muted: #7b6556;
  --line: #e4d6c3;
  --veg: #1f8a3b;
  --egg: #e0a100;
  --nonveg: #b3261e;
  --red: #b3261e;

  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(43, 26, 17, .06), 0 2px 8px rgba(43, 26, 17, .06);
  --shadow-md: 0 8px 30px rgba(43, 26, 17, .12);
  --shadow-lg: 0 20px 60px rgba(31, 19, 12, .35);

  --f-brand: "Cinzel", Georgia, serif;
  --f-display: "League Spartan", "Inter", system-ui, sans-serif;
  --f-script: "Great Vibes", cursive;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;

  --topbar-h: 60px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(16px, env(safe-area-inset-left));
  color: var(--gold-light);
  transition: background .3s, box-shadow .3s, color .3s;
}
.topbar.is-solid {
  background: rgba(247, 241, 232, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--cocoa-700);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; opacity: 0; transition: opacity .3s; }
.topbar.is-solid .brand { opacity: 1; }
.logo { width: 34px; height: 34px; color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-brand); font-weight: 600; letter-spacing: .32em; font-size: 17px; }
.brand-sub { font-size: 8.5px; letter-spacing: .35em; color: var(--gold); margin-top: 4px; }

.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid currentColor; background: transparent;
  display: grid; place-items: center;
}
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(92vh, 760px);
  display: grid; place-items: center;
  padding: calc(var(--topbar-h) + 32px) 20px 72px;
  background:
    radial-gradient(1200px 600px at 50% -10%, #5a3622 0%, transparent 60%),
    radial-gradient(800px 500px at 100% 100%, #4a2c1b 0%, transparent 60%),
    var(--cocoa-800);
  color: var(--cream);
  text-align: center;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .08;
  background-image:
    repeating-radial-gradient(circle at 50% 120%, transparent 0 28px, var(--gold-light) 28px 29px);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner { position: relative; max-width: 640px; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-logo { width: 96px; height: 96px; color: var(--gold-light); margin: 0 auto 18px; }
.hero-title {
  font-family: var(--f-brand); font-weight: 600;
  font-size: clamp(44px, 12vw, 92px); letter-spacing: .28em; margin: 0 0 0 .28em; line-height: 1;
  background: linear-gradient(180deg, #f1d79b, #b88a44 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 14px 0 0; letter-spacing: .5em; font-size: clamp(11px, 2.6vw, 14px); color: var(--gold-light); }
.hero-lede { margin: 28px auto 0; max-width: 480px; color: #e6d7c4; font-size: clamp(15px, 2.2vw, 17px); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-facts {
  list-style: none; padding: 0; margin: 44px auto 0; display: flex; justify-content: center; gap: clamp(20px, 6vw, 56px);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--f-display); font-size: 28px; color: var(--gold-light); line-height: 1; }
.hero-facts span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #bfa98f; margin-top: 6px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(180deg, #d4a954, #b0833d); color: var(--cocoa-900); box-shadow: 0 6px 20px rgba(184, 138, 68, .35); }
.btn-gold:hover { box-shadow: 0 8px 26px rgba(184, 138, 68, .5); }
.btn-ghost { border-color: rgba(216, 179, 106, .55); color: var(--gold-light); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ghost-dark { border-color: var(--line); background: var(--paper); color: var(--cocoa-700); }
.btn-whatsapp { background: #1fa855; color: #fff; }
.btn-wide { flex: 1; }

/* ---------- Section heads ---------- */
.section-head { padding: 0 20px; }
.section-head.center { text-align: center; }
.eyebrow { margin: 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.section-head h2 {
  margin: 4px 0 0; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(34px, 7vw, 52px); line-height: 1; color: var(--cocoa-700); letter-spacing: -.01em;
}
.script { font-family: var(--f-script); font-weight: 400; color: var(--gold); font-size: 1.1em; letter-spacing: 0; margin-left: .08em; }

/* ---------- Signatures ---------- */
.signatures { padding: 56px 0 24px; }
.sig-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 28px 20px 12px;
  scrollbar-width: none;
}
.sig-row::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .sig-row { justify-content: center; } }
.sig-card {
  scroll-snap-align: start; position: relative; text-align: left;
  border: 0; border-radius: 24px; padding: 0; overflow: hidden;
  background: var(--cocoa-800); color: var(--cream); box-shadow: var(--shadow-md);
  transition: transform .25s;
}
.sig-card:hover { transform: translateY(-4px); }
.sig-card .visual { height: 180px; border-radius: 0; }
.sig-card .sig-body { padding: 16px 18px 18px; }
.sig-card h3 { margin: 0; font-family: var(--f-display); font-size: 20px; line-height: 1.15; }
.sig-card p { margin: 6px 0 0; font-size: 13px; color: #cdb9a2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sig-card .sig-price { position: absolute; top: 150px; right: 16px; }

/* ---------- Visuals (illustrated plate, or photo) ---------- */
.visual {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, var(--h1), var(--h2));
}
.visual::before { /* plate */
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0 58%, #efe6da 59% 64%, #fff 65% 70%, rgba(0,0,0,.08) 71%, transparent 73%);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.visual .emoji { position: relative; font-size: 64px; line-height: 1; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual.has-img::before { display: none; }

.price-medal {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8a4b2a, #5a2d17);
  color: #f6e3c3; font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1;
  border: 2px solid #d9b26a; box-shadow: 0 6px 14px rgba(0,0,0,.3);
}
.price-medal small { font-size: 9px; font-weight: 500; display: block; opacity: .8; }

/* ---------- Toolbar ---------- */
.toolbar {
  position: sticky; top: var(--topbar-h); z-index: 40;
  background: rgba(247, 241, 232, .94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--topbar-h);
}
.toolbar-top { display: flex; gap: 10px; padding: 10px 16px 6px; flex-wrap: wrap; max-width: 1180px; margin: 0 auto; }
.search {
  flex: 1 1 260px; display: flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 42px;
}
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; width: 100%; color: var(--ink); }
.diet-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font-size: 14px; font-weight: 500; color: var(--cocoa-700);
  transition: background .2s, color .2s, border-color .2s;
}
.chip.is-active { background: var(--cocoa-700); border-color: var(--cocoa-700); color: var(--cream); }

.cat-nav {
  display: flex; gap: 4px; overflow-x: auto; padding: 4px 12px 10px; scrollbar-width: none;
  max-width: 1180px; margin: 0 auto; scroll-behavior: smooth;
}
.cat-nav::-webkit-scrollbar, .diet-filter::-webkit-scrollbar { display: none; }
.cat-link {
  flex: none; text-decoration: none; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--muted); display: inline-flex; gap: 6px; align-items: center; transition: background .2s, color .2s;
}
.cat-link.is-active { background: var(--gold); color: #fff; }
.cat-link[hidden] { display: none; }

/* diet dots (Indian FSSAI style squares) */
.dot {
  display: inline-block; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; flex: none;
}
.dot::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: currentColor; }
.dot.veg { color: var(--veg); }
.dot.egg { color: var(--egg); }
.dot.nonveg { color: var(--nonveg); }
.dot.nonveg::after { border-radius: 0; background: none; inset: 2px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 6px solid currentColor; width: 0; height: 0; left: 1px; top: 1.5px; }

/* ---------- Menu ---------- */
.menu { max-width: 1180px; margin: 0 auto; padding: 8px 16px 40px; }
.category { padding-top: 40px; scroll-margin-top: calc(var(--topbar-h) + 116px); }
.category[hidden] { display: none; }
.cat-banner {
  position: relative; overflow: hidden; border-radius: 24px; padding: 26px 22px;
  background: linear-gradient(120deg, var(--h1), var(--h2));
  color: #fff; display: flex; align-items: center; gap: 18px; min-height: 130px;
  box-shadow: var(--shadow-sm);
}
.cat-banner.light { color: var(--cocoa-800); }
.cat-banner .cat-emoji { font-size: 64px; line-height: 1; filter: drop-shadow(0 8px 10px rgba(0,0,0,.25)); flex: none; }
.cat-banner h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 6vw, 44px); line-height: .95; }
.cat-banner h2 .script { color: inherit; opacity: .9; }
.cat-banner p { margin: 8px 0 0; font-size: 14px; max-width: 520px; opacity: .92; }
.cat-banner .count { position: absolute; top: 14px; right: 16px; font-size: 12px; font-weight: 600; opacity: .8; letter-spacing: .05em; }
.cat-banner::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%;
  border: 30px solid rgba(255,255,255,.08);
}

.items { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
@media (min-width: 720px) { .items { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1080px) { .items { grid-template-columns: 1fr 1fr 1fr; } }

.item {
  display: grid; grid-template-columns: 1fr 112px; gap: 14px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; text-align: left; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  animation: fadeUp .5s both;
}
.item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #d8c4a8; }
.item[hidden] { display: none; }
.item-main { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.item-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.item h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 19px; line-height: 1.15; color: var(--cocoa-700); }
.item .desc { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.item .row { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-family: var(--f-display); font-weight: 700; font-size: 19px; color: var(--cocoa-700); }
.price small { font-size: 12px; font-weight: 500; color: var(--muted); margin-right: 2px; }
.item .visual { width: 112px; height: 112px; border-radius: 16px; }
.item .visual .emoji { font-size: 44px; }
.item-cta { position: relative; }

.add-btn {
  height: 36px; min-width: 76px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--gold);
  background: #fff8ec; color: #8a5f22; font-weight: 700; font-size: 14px; letter-spacing: .04em;
  transition: background .2s;
}
.add-btn:hover { background: #fcecd0; }
.stepper {
  display: inline-flex; align-items: center; height: 36px; border-radius: 10px; overflow: hidden;
  background: var(--cocoa-700); color: #fff;
}
.stepper button { width: 32px; height: 36px; border: 0; background: transparent; color: #fff; font-size: 18px; font-weight: 700; }
.stepper span { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; }

.tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; background: var(--cream-2); color: var(--cocoa-500);
}
.tag.signature { background: linear-gradient(90deg, #f3dfb3, #e3c07c); color: #5a3a12; }
.tag.bestseller { background: #fde4d8; color: #a4401a; }
.tag.new { background: #dff2e3; color: #1f6b35; }
.tag.seasonal { background: #ffe6c6; color: #b35a00; }
.tag.spicy { background: #fbe0de; color: var(--red); }
.opts-hint { font-size: 11.5px; color: var(--gold); font-weight: 600; margin-top: 6px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 16px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--cocoa-900); color: #cdb9a2; text-align: center;
  padding: 48px 20px calc(110px + env(safe-area-inset-bottom));
}
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; font-size: 13px; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend .dot { background: #fff; }
.halal { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #1f8a3b; color: #fff; font-size: 10px; }
.cities {
  margin: 28px auto 0; max-width: 760px; font-family: var(--f-display); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); font-size: 14px; line-height: 1.9;
}
.cities b { color: #6b5241; margin: 0 8px; font-weight: 400; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 18px; }
.footer-links a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: #f0e2cf; font-size: 14px; }
.footer-links svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-light); stroke-width: 1.7; }
.fineprint { list-style: none; padding: 0; margin: 32px auto 0; max-width: 620px; font-size: 11.5px; color: #8f7a67; line-height: 1.8; text-transform: uppercase; letter-spacing: .04em; }
.copyright { margin: 24px 0 0; font-size: 12px; color: #6b5241; }

/* ---------- Order bar ---------- */
.order-bar {
  position: fixed; z-index: 45; left: 50%; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(560px, calc(100% - 24px));
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border: 0; border-radius: 18px;
  background: var(--cocoa-700); color: #fff; box-shadow: var(--shadow-lg);
  animation: slideUp .35s cubic-bezier(.2,.7,.2,1);
}
.order-bar[hidden] { display: none; }
.order-bar-count { font-size: 13px; opacity: .8; }
.order-bar-total { font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.order-bar-cta { margin-left: auto; font-weight: 700; color: var(--gold-light); }
@keyframes slideUp { from { transform: translate(-50%, 120%); } }

/* ---------- Sheets / dialogs ---------- */
.sheet {
  padding: 0; border: 0; background: transparent; color: var(--ink);
  width: 100%; max-width: 560px; max-height: 100dvh; margin: auto auto 0;
}
@media (min-width: 720px) { .sheet { margin: auto; } }
.sheet::backdrop { background: rgba(20, 12, 7, .55); backdrop-filter: blur(3px); }
.sheet[open] .sheet-inner { animation: sheetIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } }
.sheet-inner {
  position: relative; background: var(--paper); border-radius: 26px 26px 0 0; overflow: hidden;
  display: flex; flex-direction: column; max-height: 92dvh;
}
@media (min-width: 720px) { .sheet-inner { border-radius: 26px; max-height: 88vh; } }
.sheet-close {
  position: absolute; z-index: 2; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); font-size: 14px;
}
.sheet-visual .visual { height: 230px; }
.sheet-visual .visual .emoji { font-size: 96px; }
.sheet-body { padding: 18px 20px 8px; overflow-y: auto; }
.sheet-cat { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.sheet-body h3 { margin: 4px 0 0; font-family: var(--f-display); font-size: 28px; line-height: 1.1; color: var(--cocoa-700); }
.sheet-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.diet-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.sheet-desc { font-size: 15.5px; color: #5a4538; margin: 14px 0 0; }
.opt-group { margin-top: 20px; }
.opt-group legend { font-weight: 700; font-size: 14px; color: var(--cocoa-700); padding: 0; margin-bottom: 8px; }
.opt-group fieldset { border: 0; padding: 0; margin: 0; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-list label { position: relative; }
.opt-list input { position: absolute; opacity: 0; inset: 0; }
.opt-list span {
  display: inline-flex; gap: 6px; align-items: center; padding: 9px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; background: #fff; cursor: pointer;
}
.opt-list span em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.opt-list input:checked + span { border-color: var(--gold); background: #fff6e6; color: #6b4318; font-weight: 600; }
.opt-list input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.sheet-note { margin: 22px 0 8px; padding: 12px 14px; border-radius: 12px; background: var(--cream); font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.sheet-note strong { color: var(--cocoa-700); font-size: 13px; }
.sheet-foot {
  display: flex; gap: 12px; align-items: center; padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--paper);
}
.sheet-foot.column { flex-direction: column; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; font-weight: 700; color: var(--cocoa-700); }
.qty output { min-width: 24px; text-align: center; font-weight: 700; }
.sheet-foot .btn-gold { height: 48px; font-size: 16px; }

/* drawer */
.drawer-head { padding: 22px 20px 6px; }
.drawer-head h3 { margin: 0; font-family: var(--f-display); font-size: 28px; color: var(--cocoa-700); }
.drawer-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.cart-list { list-style: none; margin: 0; padding: 6px 20px; overflow-y: auto; }
.cart-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); align-items: center; }
.cart-list .ci-name { font-weight: 600; display: flex; gap: 8px; align-items: center; }
.cart-list .ci-opt { font-size: 12.5px; color: var(--muted); grid-column: 1; }
.cart-list .ci-price { font-family: var(--f-display); font-weight: 700; text-align: right; }
.cart-list .stepper { grid-column: 2; grid-row: 2; justify-self: end; height: 32px; }
.cart-list .stepper button { height: 32px; }
.cart-empty { text-align: center; color: var(--muted); padding: 30px 20px 40px; margin: 0; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total span { font-weight: 600; color: var(--muted); }
.cart-total strong { font-family: var(--f-display); font-size: 28px; color: var(--cocoa-700); }
.cart-taxnote { margin: -6px 0 0; font-size: 12px; color: var(--muted); }
.cart-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cart-actions .btn { flex: 1; }
.cart-actions [hidden] { display: none; }

/* toast */
.toast {
  position: fixed; z-index: 60; left: 50%; top: calc(var(--topbar-h) + 12px); transform: translate(-50%, -20px);
  background: var(--cocoa-800); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.visual-btn { border: 0; padding: 0; background: none; display: block; border-radius: 16px; }
.cart-count[hidden] { display: none; }
.visual::before { width: auto; height: 78%; }
.item .visual::before { height: 76%; }

/* ---------- Checkout ---------- */
.btn-block { width: 100%; height: 50px; font-size: 16px; }
.btn:disabled { opacity: .6; cursor: progress; }
.center { text-align: center; }
.checkout-body { padding: 8px 20px 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; }
.seg label[hidden] { display: none; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span {
  display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 16px; color: var(--cocoa-700);
}
.seg small { font-weight: 500; font-size: 12px; color: var(--muted); }
.seg input:checked + span { border-color: var(--gold); background: #fff6e6; box-shadow: 0 0 0 3px rgba(184,138,68,.15); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field[hidden] { display: none; }
.field > span { font-weight: 700; font-size: 14px; color: var(--cocoa-700); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,138,68,.15); }
.field small { font-size: 12px; color: var(--muted); }
.checkout-summary { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; background: var(--cream); border-radius: 12px; }
.checkout-summary span { color: var(--muted); font-weight: 600; }
.checkout-summary strong { font-family: var(--f-display); font-size: 22px; color: var(--cocoa-700); }
.form-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: var(--red); font-size: 14px; font-weight: 500; }
.form-error[hidden] { display: none; }

/* ---------- Tracking ---------- */
.track-hero { text-align: center; padding: 28px 20px 8px; }
.track-code { margin: 4px 0 0; font-family: var(--f-display); font-weight: 800; font-size: 54px; letter-spacing: .04em; color: var(--cocoa-700); line-height: 1; }
.track-where { margin: 8px 0 0; color: var(--muted); font-weight: 600; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 20px 20px 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 11px; left: 12.5%; right: 12.5%; height: 3px; background: var(--line); border-radius: 2px; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.steps i { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line); position: relative; z-index: 1; transition: all .3s; }
.steps li.done i { background: var(--gold); border-color: var(--gold); }
.steps li.done i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-style: normal; font-weight: 800; }
.steps li.current i { border-color: var(--gold); background: #fff6e6; box-shadow: 0 0 0 6px rgba(184,138,68,.18); animation: ping 1.6s infinite; }
.steps li.current, .steps li.done { color: var(--cocoa-700); }
.steps.rejected li i { border-color: #e7c7c4; background: var(--paper); box-shadow: none; animation: none; }
@keyframes ping { 50% { box-shadow: 0 0 0 10px rgba(184,138,68,.05); } }
.track-msg { margin: 20px 20px 0; padding: 14px 16px; border-radius: 14px; background: var(--cream); font-weight: 600; text-align: center; color: var(--cocoa-700); }
.track-msg[data-status="ready"] { background: #e6f5ea; color: #1f6b35; }
.track-msg[data-status="rejected"] { background: #fdecea; color: var(--red); }
.track-lines { list-style: none; margin: 14px 0 0; padding: 0 20px 12px; overflow-y: auto; }
.track-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.track-lines em { font-style: normal; color: var(--muted); }
.track-lines li.total { border: 0; font-weight: 700; padding-top: 12px; }

.track-pill {
  position: fixed; z-index: 44; left: 50%; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 0;
  background: var(--paper); color: var(--cocoa-700); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); white-space: nowrap;
  transition: bottom .3s;
}
.track-pill.raised { bottom: calc(88px + env(safe-area-inset-bottom)); }
.track-pill[hidden] { display: none; }
.track-pill b { color: var(--gold); }
.track-pill .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--egg); box-shadow: 0 0 0 0 rgba(224,161,0,.6); animation: pulse 1.5s infinite; }
.track-pill[data-status="preparing"] .pulse { background: var(--gold); }
.track-pill[data-status="ready"] { background: #1f8a3b; color: #fff; }
.track-pill[data-status="ready"] b { color: #fff; }
.track-pill[data-status="ready"] .pulse { background: #fff; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(224,161,0,0); } 100% { box-shadow: 0 0 0 0 rgba(224,161,0,0); } }

/* ---------- Sold out (set by staff) ---------- */
.item.is-soldout .visual { filter: grayscale(1); opacity: .55; }
.item.is-soldout h3, .item.is-soldout .price { opacity: .55; }
.soldout-pill { display: inline-grid; place-items: center; height: 36px; padding: 0 12px; border-radius: 10px; background: #f1e9e0; color: var(--muted); font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }
