/* restaurant_sample_site — "farm-stand" retheme
   Vibe: sweetgreen-style design system (cream canvas, deep forest anchor, one electric
   lime action color, flat color, monumental weight-400 display type, photo-first cards).
   Original code; workflow mechanics unchanged. */

:root {
  --bg: #f4f3e7;            /* cream canvas */
  --bg-band: #d8e5d6;       /* sage mist band */
  --bg-band-warm: #e8dcc6;  /* warm sand band */
  --card: #f4f3e7;          /* cards are borderless — photo is the surface */
  --fg: #0e150e;            /* forest shadow text */
  --muted: #555555;
  --border: #0e150e22;      /* hairlines in ink at low alpha */
  --primary: #e6ff55;       /* lime glow — the ONLY action color */
  --primary-fg: #0e150e;
  --brand: #00473c;         /* deep forest */
  --amber: #00473c;         /* legacy alias → forest */
  --amber-soft: #e6ff55;
  --danger: #b3261e;
  --veg: #00473c;
  --nonveg: #b3261e;
  --dark-shell: #00473c;    /* dark accent surface */
  --radius: 8px;
  --radius-img: 20px;
  --radius-card: 24px;
  --shadow-2: rgba(14, 21, 14, 0.4) 3px 3px 32px -10px;
  --header-h: 4.5rem;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-accent: "Fraunces", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.38;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

/* ---------- shared atoms ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--brand);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 9999px; padding: 1rem 1.5rem; font-weight: 700; font-size: 16px;
  letter-spacing: 0.017em;
  transition: transform 0.15s, opacity 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { opacity: 0.92; }
.btn-dark { background: var(--brand); color: #fff; }
.btn-outline {
  border: 2px solid var(--brand); background: transparent; color: var(--brand);
  padding: 0.75rem 1.25rem;
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.ghost-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-weight: 700; font-size: 16px; color: var(--fg);
}
.ghost-link:hover { text-decoration: underline; }

.pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 9999px; padding: 0.25rem 0.75rem;
  font-size: 12px; font-weight: 700;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--border);
}
.chip {
  border: 1.5px solid var(--border); border-radius: 9999px;
  padding: 0.5rem 1.1rem; font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  background: transparent; transition: all 0.15s;
}
.chip:hover { border-color: var(--brand); }
.chip.active { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }

.veg-dot { width: 8px; height: 8px; border-radius: 9999px; flex: none; }
.veg-dot.v { background: var(--veg); border: none; }
.veg-dot.n { background: var(--nonveg); border: none; }

.skeleton { background: linear-gradient(90deg, var(--bg-band) 25%, var(--bg) 50%, var(--bg-band) 75%); background-size: 200% 100%; animation: pulse 1.4s infinite; border-radius: var(--radius-img); }
@keyframes pulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: var(--bg); border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-header.scrolled { box-shadow: var(--shadow-2); }
.header-inner {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.625rem; font-weight: 700; font-size: 1.4rem; color: var(--brand); letter-spacing: -0.01em; }
.logo-badge { display: none; }
.nav-primary { display: flex; gap: 0.5rem; }
.nav-primary a {
  padding: 0.5rem 0.875rem; border-radius: 9999px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.nav-primary a:hover, .nav-primary a.active { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 0.625rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 9999px; display: grid; place-items: center;
  border: 1px solid var(--border); background: transparent; position: relative; color: var(--fg);
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  border-radius: 9999px; background: var(--primary); color: var(--primary-fg);
  font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px;
  border: 1px solid var(--fg);
}
.hamburger { display: none; }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem; display: none; flex-direction: column; gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.75rem 0.5rem; font-weight: 700; border-radius: var(--radius); }
.mobile-nav a:hover { background: var(--bg-band); }
@media (max-width: 900px) {
  .nav-primary { display: none; }
  .hamburger { display: grid; }
}

/* ---------- hero (full-bleed photo + cream panel bottom-left) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: var(--bg-band); overflow: hidden; padding-top: var(--header-h); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay { display: none; } /* flat system: no gradient scrim, the panel does the work */
.hero-content {
  position: relative; z-index: 2;
  margin: 0 0 3.5rem 1.5rem; max-width: 46rem;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-radius: var(--radius-card); padding: 2rem 2.25rem;
  box-shadow: var(--shadow-2);
}
@media (min-width: 1200px) { .hero-content { margin-left: calc((100vw - 1200px) / 2); } }
.hero-content .eyebrow { margin-bottom: 1rem; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  font-weight: 400; line-height: 0.92; letter-spacing: -0.02em;
  text-shadow: none;
}
.hero h1 em { font-style: normal; font-family: var(--font-accent); font-weight: 200; letter-spacing: -0.03em; }
.hero p.sub { margin: 1.5rem 0 2rem; font-size: 18px; color: var(--muted); max-width: 30rem; }
.hero-ctas { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-ctas .btn-primary { padding: 1rem 1.75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 700; color: var(--fg); }
.link-arrow:hover { text-decoration: underline; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.25rem; font-weight: 700; }
.hero-stat span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-stat .star { color: var(--brand); }


/* ---------- sections ---------- */
.section { padding: 6rem 0; }
.section-head { text-align: left; max-width: 44rem; margin: 0 auto 3rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 400; line-height: 0.9; letter-spacing: -0.02em;
  margin-top: 0.75rem;
}
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 16px; }

/* menu preview — photo IS the card */
.preview-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem 1.5rem; }
@media (min-width: 640px) { .preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .preview-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .preview-grid { grid-template-columns: repeat(4, 1fr); } }
.preview-filters { display: flex; gap: 0.5rem; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 2rem; }

/* CTA band → deep forest surface */
.cta-band { background: var(--dark-shell); color: #fff; padding: 7rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-band .eyebrow { color: var(--primary); }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 400; line-height: 0.9; letter-spacing: -0.02em;
  margin: 1rem 0 2.5rem;
}
.cta-band .btn { box-shadow: none; }
.cta-band .btn-dark { background: var(--primary); color: var(--primary-fg); }

/* footer: layered dark frame with motion */
.site-footer {
  background: var(--dark-shell);
  color: #eef3ec;
  position: relative;
  padding: 0 0 0;
}
.footer-frame {
  position: relative;
  margin: 12px;
  padding: 4.5rem clamp(1.25rem, 4vw, 3.5rem) 1.25rem;
  border: 1px solid rgba(238, 243, 236, 0.16);
  min-height: calc(100% - 24px);
}
.footer-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(238, 243, 236, 0.14);
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand .logo-badge { display: grid; background: var(--primary); color: var(--primary-fg); }
.footer-brand p { font-size: 14px; color: rgba(238, 243, 236, 0.65); max-width: 22rem; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 9999px;
  display: grid; place-items: center;
  border: 1px solid rgba(238, 243, 236, 0.3);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}
.footer-social a:hover {
  background: var(--primary); color: var(--primary-fg); border-color: var(--primary);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--primary); margin-bottom: 1.125rem; font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; font-size: 14px; }
.footer-col a, .footer-col .f-line { position: relative; color: rgba(238, 243, 236, 0.82); width: fit-content; }
.footer-col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--primary); transition: width 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.footer-col a:hover::after { width: 100%; }
.footer-col a:hover { color: #fff; }
.footer-cta {
  display: inline-flex; margin-top: 1.5rem;
  background: var(--primary); color: var(--primary-fg);
  border-radius: 9999px; padding: 0.65rem 1.35rem; font-weight: 700; font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.footer-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(230, 255, 85, 0.5); }
.footer-watermark {
  font-family: var(--font-accent); font-weight: 200;
  font-size: clamp(3.5rem, 12vw, 10rem); line-height: 1; letter-spacing: -0.03em;
  text-align: center; color: #fff; opacity: 0.05;
  user-select: none; pointer-events: none; white-space: nowrap;
  margin-top: 2.5rem; position: relative; z-index: 1;
  animation: watermark-drift 26s ease-in-out infinite alternate;
}
@keyframes watermark-drift {
  from { transform: translateX(-2.5%) }
  to   { transform: translateX(2.5%) }
}
.footer-bottom {
  border-top: 1px solid rgba(238, 243, 236, 0.14);
  margin-top: 2rem; padding: 1.25rem 0 0.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 13px; color: rgba(238, 243, 236, 0.55); position: relative; z-index: 2;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }
.footer-toplink {
  display: inline-flex; align-items: center; gap: 0.375rem; font-weight: 600;
  transition: gap 0.2s;
}
.footer-toplink:hover { gap: 0.6rem; color: var(--primary) !important; }
.corner-mark { position: absolute; width: 14px; height: 14px; opacity: 0.5; }
.corner-mark::before, .corner-mark::after { content: ""; position: absolute; background: var(--primary); }
.corner-mark::before { left: 0; top: 6px; width: 14px; height: 1.5px; }
.corner-mark::after { top: 0; left: 6px; width: 1.5px; height: 14px; }
.cm-tl { top: -7px; left: -7px; } .cm-tr { top: -7px; right: -7px; }
.cm-bl { bottom: -7px; left: -7px; } .cm-br { bottom: -7px; right: -7px; }

/* scroll reveals */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .footer-watermark { animation: none; }
}

/* floating buttons */
.float-btn {
  position: fixed; right: 1rem; width: 48px; height: 48px; border-radius: 9999px;
  display: grid; place-items: center; z-index: 50;
  transition: transform 0.15s;
}
.float-btn:hover { transform: scale(1.06); }
.float-whatsapp { bottom: 6rem; background: var(--brand); color: #fff; border: none; }
@media (min-width: 1024px) { .float-whatsapp { bottom: 1.5rem; } }
.float-cart {
  bottom: 11rem; background: var(--primary); color: var(--primary-fg);
  display: flex; align-items: center; gap: 0.5rem; width: auto; padding: 0 1.25rem; height: 48px;
  font-weight: 700; font-size: 14px; box-shadow: var(--shadow-2);
}
@media (min-width: 1024px) { .float-cart { bottom: 5.5rem; } }
.float-cart .rupee { font-weight: 700; }
.mobile-spacer { height: 9rem; }
@media (min-width: 1024px) { .mobile-spacer { height: 0; } }

/* ---------- menu page ---------- */
.menu-toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  margin-top: var(--header-h); /* clear the fixed header at scroll 0 */
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.menu-toolbar-inner { display: flex; gap: 0.75rem; align-items: center; }
.search-wrap { position: relative; flex: 1; max-width: 34rem; }
.search-wrap input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.65rem 1rem 0.65rem 2.5rem; background: var(--bg);
}
.search-wrap input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.search-wrap .search-ic { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-suggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-2); overflow: hidden; max-height: 22rem; overflow-y: auto;
}
.suggestion { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.9rem; cursor: pointer; border-bottom: 1px solid var(--bg-band); }
.suggestion:hover { background: var(--bg-band); }
.suggestion img { width: 44px; height: 44px; border-radius: var(--radius-img); object-fit: cover; background: var(--bg-band); }
.suggestion .s-name { font-weight: 700; font-size: 14px; }
.suggestion .s-meta { font-size: 12px; color: var(--muted); }
.suggestion .s-price { margin-left: auto; font-weight: 700; color: var(--fg); font-size: 14px; }
.filters-btn { position: relative; }
.filters-badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px;
  border-radius: 9999px; background: var(--primary); color: var(--primary-fg);
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.cat-dropdown { display: none; }
@media (max-width: 1023px) {
  .cat-dropdown { display: inline-flex; }
  .cat-dropdown-panel {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-card);
    box-shadow: var(--shadow-2); padding: 0.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem;
  }
}

.menu-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem 0; }
@media (min-width: 1024px) { .menu-layout { grid-template-columns: 280px 1fr; } }
.menu-sidebar { display: none; }
@media (min-width: 1024px) { .menu-sidebar { display: block; position: sticky; top: 8.5rem; align-self: start; } }
.filter-panel h3, .cat-nav h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand); margin-bottom: 0.875rem; font-weight: 700; }
.filter-group { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group label.fg-title { display: block; font-weight: 700; font-size: 14px; margin-bottom: 0.625rem; }
.price-inputs { display: flex; align-items: center; gap: 0.5rem; }
.price-inputs input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.45rem 0.45rem 0.45rem 1.5rem; background: var(--bg); font-size: 14px;
}
.price-field { position: relative; flex: 1; }
.price-field::before { content: "$"; position: absolute; left: 0.55rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; }
.diet-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0; font-size: 14px; cursor: pointer; }
.spice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.spice-opt { border: 1.5px solid var(--border); border-radius: 9999px; padding: 0.5rem; font-size: 13px; text-align: center; cursor: pointer; }
.spice-opt.active { border-color: var(--brand); background: var(--primary); color: var(--primary-fg); font-weight: 700; }
.filter-actions { display: flex; gap: 0.625rem; padding-top: 1rem; }
.filter-actions .btn { flex: 1; padding: 0.6rem 1rem; font-size: 14px; }
.cat-nav ul { display: flex; flex-direction: column; gap: 0.125rem; }
.cat-nav a {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; border-radius: 9999px; font-size: 14px; font-weight: 500;
}
.cat-nav a .cnt { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-nav a.active { background: var(--primary); color: var(--primary-fg); font-weight: 700; }
.cat-nav a.active .cnt { color: var(--primary-fg); }

/* categories landing grid */
.cat-hero { padding: calc(var(--header-h) + 3rem) 0 2rem; }
.cat-hero .search-wrap { margin: 1.75rem 0 0; }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; padding: 2rem 0 4rem; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  position: relative; height: 12rem; border-radius: var(--radius-img); overflow: hidden;
  display: flex; align-items: flex-end;
  transition: transform 0.2s;
}
@media (min-width: 768px) { .cat-card { height: 14rem; } }
.cat-card:hover { transform: translateY(-3px); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card .cat-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 21, 14, 0.55), transparent 55%); }
.cat-card .cat-label { position: relative; z-index: 2; padding: 1rem; color: #fff; }
.cat-card .cat-label strong { display: block; font-size: 1.15rem; font-weight: 700; }
.cat-card .cat-label span { font-size: 12px; opacity: 0.85; }
.cat-card .fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.5rem; background: var(--bg-band-warm); }

/* sections + item grid */
.menu-section { scroll-margin-top: 9rem; margin-bottom: 4rem; }
.menu-section-head { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; }
.menu-section-head h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.menu-section-head .cnt { color: var(--muted); font-size: 13px; }
.item-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .item-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .item-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; } }

/* item card — borderless, photo is the card */
.item-card {
  display: flex; flex-direction: column; height: 100%;
  min-width: 0; /* grid item must be allowed to shrink — nowrap names otherwise overflow */
  transition: transform 0.2s;
}
.item-card:hover { transform: translateY(-3px); }
.item-img-wrap { position: relative; height: auto; aspect-ratio: 1 / 1; border-radius: var(--radius-img); overflow: hidden; background: var(--bg-band); }
.item-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.item-img-wrap .img-fallback,
.split-media .img-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: var(--bg-band-warm); font-size: 2.5rem;
}
.item-img-wrap .scrim { display: none; }
.item-flags { position: absolute; top: 0.75rem; left: 0.75rem; }
.item-flags .pill { background: color-mix(in srgb, var(--bg) 90%, transparent); border-color: var(--border); }
.item-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 0.25rem 0; min-width: 0; }
.item-title-row { display: flex; align-items: baseline; gap: 0.5rem; min-width: 0; }
.item-name { font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.item-portion { font-size: 10px; color: var(--muted); border: 1px solid var(--border); border-radius: 9999px; padding: 0 0.4rem; flex: none; }
.dotted-leader { display: none; }
.item-price { font-weight: 700; color: var(--fg); font-size: 15px; flex: none; }
.item-desc { font-size: 13px; color: var(--muted); margin-top: 0.375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-actions { margin-top: auto; padding-top: 0.875rem; display: flex; flex-direction: column; gap: 0.5rem; }
.add-btn {
  width: 100%; height: 2.75rem; border-radius: 9999px;
  background: var(--primary); color: var(--primary-fg);
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  transition: transform 0.12s, opacity 0.15s;
}
.add-btn:hover { opacity: 0.92; }
.add-btn:active { transform: scale(0.98); }
.customize-btn {
  width: 100%; height: 2.75rem; border-radius: 9999px; border: 2px solid var(--brand);
  color: var(--brand); font-weight: 700; font-size: 14px; background: transparent;
}
.customize-btn:hover { background: var(--brand); color: #fff; }
.qty-stepper {
  width: 100%; height: 2.75rem; border-radius: 9999px; border: 2px solid var(--brand);
  display: flex; align-items: center; justify-content: space-between; padding: 0 0.375rem;
  background: transparent; color: var(--brand);
}
.qty-stepper button { width: 2rem; height: 2rem; border-radius: 9999px; font-size: 16px; font-weight: 700; display: grid; place-items: center; }
.qty-stepper button:hover { background: var(--bg-band); }
.qty-stepper .q { font-weight: 700; font-size: 14px; }
.qty-stepper.minus-remove button:first-child { color: var(--danger); }

/* customize modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(14, 21, 14, 0.45);
  display: grid; place-items: center; padding: 1rem;
}
.modal {
  width: 100%; max-width: 26rem; background: var(--bg); border-radius: var(--radius-card);
  padding: 1.75rem; box-shadow: var(--shadow-2); animation: pop 0.18s ease-out;
}
@keyframes pop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.25rem; }
.modal .m-sub { font-size: 13px; color: var(--muted); margin-bottom: 1.25rem; }
.variant-row {
  display: flex; align-items: center; justify-content: space-between;
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.75rem 1rem; margin-bottom: 0.5rem; cursor: pointer; font-size: 14px;
}
.variant-row.active { border-color: var(--brand); background: var(--bg-band); }
.variant-row .v-price { font-weight: 700; }
.modal-actions { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.modal-actions .btn { flex: 1; padding: 0.7rem 0.75rem; font-size: 14px; }
.btn-whatsapp { border: 2px solid var(--brand); color: var(--brand); background: transparent; }

/* ---------- cart / checkout shared ---------- */
.page-main { padding: calc(var(--header-h) + 2.5rem) 0 4rem; min-height: 70vh; }
.page-title { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 400; line-height: 0.95; letter-spacing: -0.02em; }
.page-sub { color: var(--muted); margin-top: 0.5rem; }
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.panel { background: var(--bg-band); border-radius: var(--radius-card); padding: 1.5rem; }
.summary-panel { position: sticky; top: 6.5rem; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 0.375rem 0; color: var(--fg); }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 0.625rem; padding-top: 0.875rem; font-size: 1.05rem; font-weight: 700; }
.summary-row .free { color: var(--brand); font-weight: 700; }
.summary-row .discount { color: var(--brand); }
.progress-wrap { margin: 0.875rem 0; }
.progress-track { height: 6px; border-radius: 9999px; background: color-mix(in srgb, var(--fg) 12%, transparent); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 9999px; background: var(--brand); transition: width 0.4s; }
.progress-label { font-size: 12px; color: var(--muted); margin-top: 0.375rem; }
.progress-label.unlocked { color: var(--brand); font-weight: 700; }

.cart-line { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); }
.cart-line:last-child { border-bottom: none; }
.cart-line img { width: 64px; height: 64px; border-radius: var(--radius-img); object-fit: cover; background: var(--bg); flex: none; }
.cart-line .cl-thumb-fallback { width: 64px; height: 64px; border-radius: var(--radius-img); background: var(--bg); display: grid; place-items: center; font-size: 1.5rem; flex: none; }
.cl-info { flex: 1; min-width: 0; }
.cl-name { font-weight: 700; font-size: 14px; }
.cl-variant { font-size: 12px; color: var(--muted); }
.cl-price { font-weight: 700; font-size: 14px; margin-left: auto; flex: none; }
.cl-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.cart-line .qty-stepper { width: 6.5rem; height: 2rem; }
.cart-line .qty-stepper button { width: 1.6rem; height: 1.6rem; font-size: 14px; }
.cl-remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.cl-remove:hover { color: var(--danger); }

.coupon-row { display: flex; gap: 0.5rem; margin: 1rem 0 0; }
.coupon-row input { flex: 1; border: 1.5px solid var(--border); border-radius: 9999px; padding: 0.6rem 1rem; background: var(--bg); text-transform: uppercase; font-size: 13px; letter-spacing: 0.05em; }
.coupon-applied { display: flex; justify-content: space-between; align-items: center; margin-top: 0.75rem; font-size: 13px; color: var(--brand); font-weight: 700; }
.coupon-applied button { color: var(--muted); text-decoration: underline; font-size: 12px; }
.coupon-hint { font-size: 12px; color: var(--muted); margin-top: 0.5rem; }

.upsell-wrap { margin-top: 2rem; }
.upsell-wrap h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.upsell-row { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; }
.upsell-card { flex: none; width: 11rem; position: relative; }
.upsell-card img { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-img); object-fit: cover; background: var(--bg-band); }
.upsell-card .u-fallback { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-img); background: var(--bg-band); display: grid; place-items: center; font-size: 1.5rem; }
.upsell-card .u-name { font-size: 14px; font-weight: 700; margin-top: 0.625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upsell-card .u-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 0.375rem; }
.upsell-card .u-price { font-weight: 700; font-size: 14px; }
.upsell-card .add-mini { background: var(--primary); color: var(--primary-fg); border-radius: 9999px; padding: 0.3rem 0.875rem; font-size: 12px; font-weight: 700; }
.recommended-badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  background: var(--primary); color: var(--primary-fg);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 9999px; padding: 0.2rem 0.6rem;
}

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px); border-top: 1px solid var(--border);
  padding: 0.875rem 1.5rem calc(0.875rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.sticky-bar .sb-total { font-size: 13px; color: var(--muted); }
.sticky-bar .sb-total strong { display: block; font-size: 1.15rem; color: var(--fg); }

/* checkout */
.steps-indicator { display: flex; align-items: center; gap: 0.75rem; margin: 1.5rem 0 2rem; }
.step-dot { width: 28px; height: 28px; border-radius: 9999px; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1.5px solid var(--border); color: var(--muted); }
.step-dot.active { border-color: var(--brand); background: var(--brand); color: #fff; }
.step-dot.done { border-color: var(--brand); background: var(--primary); color: var(--primary-fg); }
.step-line { height: 1.5px; flex: 1; background: var(--border); }
.step-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.step-label.active { color: var(--fg); }
.order-type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.order-type-opt { border: 2px solid var(--border); border-radius: var(--radius-card); padding: 1rem; text-align: center; cursor: pointer; font-weight: 700; font-size: 14px; }
.order-type-opt.active { border-color: var(--brand); background: var(--bg-band); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 0.375rem; }
.field label .req { color: var(--danger); }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.65rem 0.875rem; background: var(--bg); font-size: 14px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
.field .field-err { font-size: 11px; color: var(--danger); margin-top: 0.25rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .field-err { display: block; }
.pincode-ok { font-size: 12px; color: var(--brand); margin-top: 0.25rem; font-weight: 700; }
.pincode-bad { font-size: 12px; color: var(--danger); margin-top: 0.25rem; }
.radio-card { display: flex; align-items: center; gap: 0.875rem; border: 2px solid var(--border); border-radius: var(--radius-card); padding: 1rem 1.25rem; cursor: pointer; margin-bottom: 0.75rem; }
.radio-card.active { border-color: var(--brand); background: var(--bg-band); }
.radio-card .r-dot { width: 18px; height: 18px; border-radius: 9999px; border: 1.5px solid var(--border); flex: none; position: relative; }
.radio-card.active .r-dot { border-color: var(--brand); }
.radio-card.active .r-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 9999px; background: var(--brand); }
.radio-card strong { display: block; font-size: 14px; }
.radio-card span { font-size: 12px; color: var(--muted); }
.notes-area { width: 100%; border: 1.5px solid var(--border); border-radius: 8px; padding: 0.75rem 0.875rem; background: var(--bg); font-size: 14px; resize: vertical; min-height: 5rem; }
.char-count { font-size: 11px; color: var(--muted); text-align: right; margin-top: 0.25rem; }
.checkout-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.secure-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 1rem; }

/* confirmation + tracking */
.confirm-wrap { text-align: center; padding: 3rem 0; }
.confirm-wrap .big-check {
  width: 72px; height: 72px; border-radius: 9999px; margin: 0 auto 1.5rem;
  background: var(--primary); color: var(--primary-fg);
  display: grid; place-items: center; font-size: 2rem;
}
.confirm-wrap h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; line-height: 0.95; }
.order-no { display: inline-block; margin: 1rem 0; font-weight: 700; letter-spacing: 0.1em; background: var(--bg-band); border-radius: 9999px; padding: 0.5rem 1.25rem; }
.confetti { position: fixed; top: -10px; z-index: 300; font-size: 18px; animation: fall linear forwards; pointer-events: none; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: 0.7; } }

.track-rail { display: flex; flex-direction: column; margin: 2rem 0; }
.track-step { display: flex; gap: 1.25rem; position: relative; padding-bottom: 2rem; }
.track-step::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: var(--border); }
.track-step:last-child { padding-bottom: 0; }
.track-step:last-child::before { display: none; }
.track-step .t-dot {
  width: 32px; height: 32px; border-radius: 9999px; border: 2px solid var(--border);
  background: var(--bg); display: grid; place-items: center; font-size: 14px; flex: none; z-index: 1;
}
.track-step.done .t-dot { border-color: var(--brand); background: var(--brand); color: #fff; }
.track-step.current .t-dot { border-color: var(--brand); background: var(--primary); }
.track-step .t-title { font-weight: 700; font-size: 15px; }
.track-step .t-eta { font-size: 12px; color: var(--muted); }
.track-step.pending { opacity: 0.45; }
.eta-banner { background: var(--bg-band); border-radius: var(--radius-card); padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.eta-banner strong { font-size: 1.3rem; }
.demo-note { font-size: 11px; color: var(--muted); background: var(--bg-band); border-radius: 9999px; padding: 0.3rem 0.875rem; display: inline-block; margin-bottom: 1rem; }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state .e-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h2 { color: var(--fg); font-family: var(--font-display); font-size: 2rem; font-weight: 400; margin-bottom: 0.5rem; }

.auth-note { background: color-mix(in srgb, var(--primary) 40%, var(--bg)); border: none; border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 13px; margin-bottom: 1.25rem; }

/* ---------- v2: restaurant-site sections ---------- */
.section-band { background: var(--bg-band); }
.section-band-warm { background: var(--bg-band-warm); }
/* page hero for subpages */
.page-hero { background: var(--bg-band); padding: calc(var(--header-h) + 4rem) 0 3.5rem; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 400; line-height: 0.9; letter-spacing: -0.02em; margin-top: 0.75rem; max-width: 46rem; }
.page-hero p.lead { margin-top: 1.25rem; font-size: 18px; color: var(--muted); max-width: 36rem; }

/* split editorial section */
.split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.rev > .split-media { order: -1; } }
.split-media { border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 4/3; background: var(--bg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2.split-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; line-height: 0.92; letter-spacing: -0.02em; margin: 0.75rem 0 1.25rem; }
.split .sub-block { margin-top: 1.5rem; }
.split .sub-block h4 { font-size: 16px; font-weight: 700; margin-bottom: 0.25rem; }
.split .sub-block p { font-size: 15px; color: var(--muted); }

/* values columns */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 700px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-item .v-num { font-family: var(--font-accent); font-weight: 200; font-size: 2.5rem; color: var(--brand); line-height: 1; }
.value-item h4 { font-size: 17px; font-weight: 700; margin: 0.625rem 0 0.375rem; }
.value-item p { font-size: 14px; color: var(--muted); }

/* timeline */
.timeline { position: relative; margin-top: 2.5rem; }
.timeline .t-row { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; padding-bottom: 2rem; position: relative; }
.timeline .t-row::before { content: ""; position: absolute; left: 89px; top: 12px; bottom: -8px; width: 1.5px; background: color-mix(in srgb, var(--fg) 15%, transparent); }
.timeline .t-row:last-child::before { display: none; }
.timeline .t-year { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--brand); line-height: 1.1; }
.timeline .t-what { font-weight: 700; font-size: 16px; }
.timeline .t-why { font-size: 14px; color: var(--muted); margin-top: 0.25rem; }

/* testimonials */
.review-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: var(--bg); border-radius: var(--radius-card); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.stars { color: var(--brand); letter-spacing: 0.1em; font-size: 13px; }
.stars .off { opacity: 0.25; }
.review-card blockquote { font-size: 15px; line-height: 1.45; }
.review-card .r-who { margin-top: auto; font-size: 12px; color: var(--muted); }
.review-card .r-who strong { color: var(--fg); }
.rating-summary { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.rating-summary .big { font-family: var(--font-display); font-size: 3.5rem; font-weight: 400; line-height: 1; }
.rating-summary .small { font-size: 13px; color: var(--muted); }

/* outlets */
.outlet-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 800px) { .outlet-grid { grid-template-columns: repeat(2, 1fr); } }
.outlet-card { background: var(--bg); border-radius: var(--radius-card); padding: 1.75rem; }
.outlet-card h4 { font-size: 18px; font-weight: 700; }
.outlet-card .o-tag { display: inline-block; background: var(--primary); color: var(--primary-fg); border-radius: 9999px; padding: 0.15rem 0.7rem; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.outlet-card .o-meta { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; font-size: 14px; color: var(--muted); }
.outlet-card .o-meta b { color: var(--fg); font-weight: 700; }

/* newsletter band */
.newsletter { background: var(--dark-shell); color: #fff; padding: 4.5rem 0; }
.newsletter h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 0.95; }
.newsletter p { color: rgba(255,255,255,0.75); margin: 0.75rem 0 1.5rem; font-size: 15px; }
.newsletter form { display: flex; gap: 0.625rem; flex-wrap: wrap; max-width: 30rem; }
.newsletter input { flex: 1; min-width: 12rem; border: 1.5px solid rgba(255,255,255,0.3); border-radius: 9999px; padding: 0.7rem 1.25rem; background: rgba(255,255,255,0.08); color: #fff; }
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter .ok { color: var(--primary); font-weight: 700; font-size: 14px; margin-top: 0.75rem; }

/* faq accordion */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--border); padding: 1.125rem 0; }
.faq details summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after { content: "+"; font-weight: 400; font-size: 1.25rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.625rem; font-size: 14px; color: var(--muted); }

/* forms (contact + review) */
.form-card { background: var(--bg-band); border-radius: var(--radius-card); padding: 1.75rem; }
.form-card .sent { background: var(--bg); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: 14px; }

/* gallery strip */
.gallery-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 800px) { .gallery-strip { grid-template-columns: repeat(4, 1fr); } }
.gallery-strip .g { aspect-ratio: 1/1; border-radius: var(--radius-img); overflow: hidden; background: var(--bg-band-warm); }
.gallery-strip .g img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-strip .g:hover img { transform: scale(1.05); }

/* review form stars input */
.star-input { display: flex; gap: 0.25rem; font-size: 1.5rem; cursor: pointer; user-select: none; }
.star-input span { color: color-mix(in srgb, var(--fg) 20%, transparent); }
.star-input span.on { color: var(--brand); }

/* review form error text */
#rvErr { color: var(--danger); font-size: 12px; margin-top: 0.5rem; }

/* add-on checkbox in customize modal */
.opt-box {
  width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--border);
  display: inline-grid; place-items: center; flex: none; font-size: 10px; line-height: 1;
}
.variant-row.active .opt-box { background: var(--brand); border-color: var(--brand); }
.variant-row.active .opt-box::after { content: "✓"; color: #fff; font-weight: 700; }

/* spice word badge + neutralize legacy e-icon */
.spice-word { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-left: 4px; }
.e-icon { display: none; }
