/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   Sidhi â storefront
   The customer-facing pages only. Loaded after base.css, which owns every
   token; nothing here declares a colour that is not a var().

   Written phone-first. Not as a principle â because that is where the orders
   come from, and because a layout that survives 390px and then grows is a
   better layout than one that is squeezed down to fit.
   âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

.site { min-height: 100dvh; display: flex; flex-direction: column; }
.site-body { flex: 1; }

/* ââ Header ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.site-bar {
  position: sticky; top: 0; z-index: 40;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.site-bar .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; }

.site-mark { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.site-mark .name {
  font-family: var(--display); font-size: 23px; font-weight: 700;
  letter-spacing: -.015em; line-height: 1;
}
.site-mark .kind {
  font-size: 8.5px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--brand);
}

.site-nav { display: none; gap: 24px; margin-left: 14px; }
.site-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--brand); }

/* The chip is pushed right and, on a phone, drops the distance rather than
   the name â the name is the part somebody is looking for. */
.site-bar .chip { margin-left: auto; max-width: 52vw; overflow: hidden; }
.site-bar .chip span:not(.dot) { overflow: hidden; text-overflow: ellipsis; }
.site-bar .chip .chip-meta { display: none; }

.site-cart {
  position: relative; flex: none;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); text-decoration: none;
}
.site-cart:hover { color: var(--brand); }
.site-cart .n {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--brand); color: var(--brand-ink);
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.site-cart .n:empty, .site-cart .n[data-zero] { display: none; }

/* ââ Hero ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
/* The art is flat circles of colour under a scrim, not a photograph, because
   there is no photograph. It reads as warmth and food at a glance and does not
   pretend to be a picture of anything. Swap in a real image and the scrim,
   the type and the card all still work. */
/* clip, not just hidden: a hidden box can still be scrolled by script, and
   jumping to #locate (the header chip links there) scrolled the hero's INSIDE,
   sliding its text up under the header. clip is not a scroll box at all;
   hidden stays as the fallback for browsers without it. */
.hero { position: relative; overflow: hidden; overflow: clip; background: #8A3D18; isolation: isolate; }
#locate { scroll-margin-top: 96px; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art .blob { position: absolute; border-radius: 50%; display: block; }
.hero-art .b1 { left: -18%; top: -22%; width: 54%; padding-top: 54%; background: #D4571C; }
.hero-art .b2 { left: 30%; top: 40%; width: 46%; padding-top: 46%; background: #E05A22; }
.hero-art .b3 { right: -14%; top: -10%; width: 44%; padding-top: 44%; background: #F0B653; }
.hero-art .b4 { left: 4%; top: 62%; width: 26%; padding-top: 26%; background: #3E9A4E; }
.hero-art .b5 { right: 6%; bottom: -22%; width: 38%; padding-top: 38%; background: #C4361A; }

/* The scrim has one job: put white type at 4.5:1 over whatever is behind it.
   Heavier than that and the warmth it is sitting on turns to mud, which is
   what makes a hero look like a stock template. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(22,10,4,.66);
}

.hero-inner { padding-block: 34px 26px; }
.hero-copy { color: #FFFFFF; }
.hero-copy .eyebrow { color: #F0C8A0; letter-spacing: .2em; }
.hero-copy h1 { color: #FFFFFF; margin-block: 10px 12px; }
.hero-copy .lede { font-size: 15px; line-height: 1.6; color: #EADBCC; max-width: 46ch; }
.hero-cta { margin-top: 18px; }

/* A ghost button on a photograph needs its own rule: .btn-ghost is white on
   white here and vanishes. */
.btn-onphoto {
  background: transparent; color: #FFFFFF;
  border-color: rgba(255,255,255,.5);
}
.btn-onphoto:hover { background: rgba(255,255,255,.12); color: #FFFFFF; border-color: #FFFFFF; }

/* ââ The location bar ââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
/* One strip on the photograph, beside the buttons. It replaced a card with a
   heading, three lines of explanation, an OR rule and a footnote; the check
   is identical. Fixed ivory on the dark hero in either theme, like the type. */
.hero-actions { display: grid; gap: 14px; margin-top: 18px; }
.hero-actions .hero-cta { margin-top: 0; }
.lbar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; padding-left: 12px;
  border-radius: 14px; background: rgba(251, 246, 239, .97); color: #1A1410;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  min-width: 0;
}
.lbar.is-ok { box-shadow: 0 0 0 2px #17794A, 0 8px 24px rgba(0, 0, 0, .22); }
.lbar.is-stop { box-shadow: 0 0 0 2px #A32318, 0 8px 24px rgba(0, 0, 0, .22); }
.lbar-pin { flex: none; display: grid; color: #D5000F; align-self: center; }
.lbar.is-ok .lbar-pin { color: #17794A; }
.lbar.is-stop .lbar-pin { color: #A32318; }
.lbar-ask, .lbar-type, .lbar-result { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lbar-lab { font-size: 13.5px; font-weight: 800; color: #4A3F38; white-space: nowrap; }
.lbar-acts { display: flex; gap: 6px; margin-left: auto; }
.lbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px;
  font: inherit; font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer;
}
.lbtn svg { flex: none; }
.lbtn:focus-visible { outline: 2px solid #1A1410; outline-offset: 2px; }
.lbtn:disabled { opacity: .6; cursor: progress; }
.lbtn-red { background: #D5000F; color: #FFFFFF; }
.lbtn-red:hover { background: #A50009; }
.lbtn-ghost { background: #EBE0D3; color: #1A1410; }
.lbtn-ghost:hover { background: #E0D2C2; }
.lbtn-link { background: none; padding: 0 8px; color: #A50009; text-decoration: underline; text-underline-offset: 3px; }
.lbar-input {
  flex: 1 1 160px; min-width: 0; min-height: 40px;
  border: 1px solid #D6C8BA; border-radius: 10px; padding: 8px 12px;
  background: #FFFFFF; color: #1A1410; font: inherit; font-size: 15px;
}
.lbar-input:focus { outline: 2px solid #D5000F; outline-offset: 0; border-color: transparent; }
.lbar-msg { flex: 1; min-width: 0; display: grid; font-size: 13px; line-height: 1.4; color: #4A3F38; }
.lbar-msg b { font-size: 14.5px; color: #1A1410; }
.lbar.is-ok .lbar-msg b { color: #17794A; }
.lbar.is-stop .lbar-msg b { color: #A32318; }
.lbar-status { margin-top: 8px; font-size: 13px; color: #EADBCC; min-height: 0; }
.lbar-status:empty { display: none; }
.lbar-status.is-quiet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* A phone: the label above, the two buttons side by side. */
@media (max-width: 619px) {
  .lbar { align-items: flex-start; }
  .lbar-pin { margin-top: 2px; }
  .lbar-ask .lbar-lab { width: 100%; }
  .lbar-ask .lbar-acts { margin-left: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .lbar-type .lbar-acts { margin-left: 0; }
}
/* ââ Sections ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.site-section { padding-block: 52px; }
.site-section-tight { padding-block: 22px; }
.site-section-alt { background: var(--surface-2); border-block: 1px solid var(--line); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.section-head .eyebrow { color: var(--brand); letter-spacing: .16em; margin-bottom: 5px; }
.section-link { font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lede { font-size: 16px; color: var(--ink-2); max-width: 60ch; }

/* ââ How it works ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.steps {
  background: var(--ground);
  border-bottom: 1px solid var(--line);
  padding-block: 44px 40px;
}
.steps .wrap { display: grid; gap: 22px; }
.step { display: flex; gap: 13px; align-items: flex-start; }
.step .n {
  flex: none; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--surface-2); border: 1.5px solid var(--line-2);
  font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--brand);
}
.step h3 { font-size: 16px; font-family: var(--font); font-weight: 800; margin-bottom: 3px; letter-spacing: 0; }
.step p { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* ââ Dish cards (desktop-shaped, used on the home page) ââââââââââââââââââââ */
/* Two up on a phone. One-up cards at 390px make a photograph the size of a
   postcard and turn six dishes into six screens of scrolling. */
.dish-cards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dish-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.dish-card-art { position: relative; display: block; }
.dish-card-art .plate { border-radius: 0; aspect-ratio: 4 / 3; }
.diet.on-art {
  position: absolute; left: 9px; top: 9px;
  box-shadow: 0 1px 4px rgba(26,20,16,.2);
}
.dish-card-body { padding: 11px 12px 13px; display: grid; gap: 4px; align-content: start; flex: 1; }
.dish-card-cat {
  font-size: 9.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
}
.dish-card h3 { font-size: 15.5px; }
.dish-card .dish-desc { display: none; }   /* no room for it two-up on a phone */
.dish-card .dish-price { font-size: 15px; margin: 0; }
.dish-card .btn-add { min-height: 34px; padding: 6px 12px; font-size: 12px; }
.dish-card h3 a { color: var(--ink); text-decoration: none; }
.dish-card h3 a:hover { color: var(--brand); }
.dish-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-top: auto; padding-top: 10px;
}

/* ââ Menu head âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.menu-head {
  position: sticky; top: 60px; z-index: 30;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding-block: 12px;
}
.menu-head .wrap { display: grid; gap: 11px; }

.menu-outlet { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* The un-located banner. It used to take a third of the first screen on a
   phone â the most valuable space on the site, spent explaining why the prices
   might change. One line and a button says the same thing; the full sentence
   comes back when there is room for it. */
.menu-outlet.is-asking {
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--warn-line);
  background: var(--warn-soft);
  border-radius: var(--r);
  justify-content: space-between;
  flex-wrap: nowrap;
}
.menu-outlet.is-asking strong { display: block; font-size: 13.5px; color: var(--warn); }
.menu-outlet.is-asking .small { display: none; line-height: 1.45; }
.menu-outlet.is-asking .btn { flex: none; }

.menu-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.menu-search {
  flex: 1; min-width: 180px;
  display: flex; align-items: center; gap: 9px;
  height: 42px; padding-inline: 13px;
  background: var(--ground);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  color: var(--faint);
}
.menu-search:focus-within { border-color: var(--brand); color: var(--brand); }
.menu-search svg { flex: none; }
.menu-search input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font-size: 16px; color: var(--ink);   /* 16px or iOS zooms on focus */
}

.filter-row { display: flex; gap: 7px; flex-wrap: wrap; }

/* Scrolled with the finger, without a visible scrollbar: a native bar across
   a row of pills looks like a rendering fault on a phone. */
.cat-rail {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-inline: -20px; padding-inline: 20px;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-rail a { flex: none; }

.menu-empty { padding: 30px 0; text-align: center; color: var(--muted); }

/* ââ Menu categories âââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.menu-cat { margin-bottom: 34px; scroll-margin-top: var(--menu-stick, 190px); }   /* measured by menu.js */
.menu-cat > h2 {
  padding-bottom: 9px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.dish-grid { display: grid; gap: 10px; }

/* ââ The dish row ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.dish {
  display: flex; gap: 13px;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.dish-body { flex: 1; min-width: 0; display: grid; gap: 4px; align-content: start; }
.dish-title { display: flex; align-items: center; gap: 8px; }
.dish-title h3 { font-size: 17px; line-height: 1.2; }
.dish-title h3 a { color: var(--ink); text-decoration: none; }
.dish-title h3 a:hover { color: var(--brand); }
.dish-desc { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.dish-price { font-size: 16px; font-weight: 800; margin-top: 3px; }
.dish-price .muted { font-size: 12.5px; font-weight: 600; margin-left: 5px; }
.dish-out { font-size: 12.5px; font-weight: 700; color: var(--warn); }

/* The plate and the button share a column, and the button overlaps the plate's
   bottom edge â the pattern every Indian ordering app converged on, because it
   puts the tap target under the thumb without costing a row of height. */
.dish-action { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; }
.dish-action .plate { width: 92px; }
/* position:relative is load-bearing, not decoration. The drawn plate's art is
   absolutely positioned, and an absolutely positioned element paints above a
   static sibling whatever the source order â so without this the plate covers
   the top half of the button that overlaps it. */
.dish-action .btn-add, .dish-action .dish-sold {
  position: relative; z-index: 1;
  margin-top: -16px; min-width: 74px;
  box-shadow: 0 2px 8px rgba(26,20,16,.14);
}
.dish-sold {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 6px 12px;
  border-radius: var(--r-sm);
  background: var(--ink); color: var(--surface);
  font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}

.dish.is-out { background: var(--ground); border-color: var(--line-2); }
.dish.is-out .dish-title h3, .dish.is-out .dish-price { color: var(--muted); }
.dish.is-out .plate { filter: grayscale(1); opacity: .55; }

/* ââ The sticky basket bar âââââââââââââââââââââââââââââââââââââââââââââââââ */
.cart-bar {
  position: fixed; left: 0; right: 0; z-index: 45;
  bottom: calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.cart-bar .wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px 11px 16px;
  background: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 28px rgba(26,20,16,.32);
  pointer-events: auto;
  max-width: 560px;
}
.cart-bar-text { flex: 1; min-width: 0; display: grid; }
.cart-bar-meta { font-size: 12px; color: #C9BBAE; }
.cart-bar-meta strong { color: #FFFFFF; font-weight: 700; }
.cart-bar-total { font-size: 16px; font-weight: 800; color: #FFFFFF; }
.cart-bar .btn { flex: none; }

/* Room for the bar, so it never covers the last dish on the page. */
.site-body:has(.cart-bar:not([hidden])) { padding-bottom: 88px; }

/* ââ Cart, checkout, tracking ââââââââââââââââââââââââââââââââââââââââââââââ */
.panel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
}
.panel-card + .panel-card { margin-top: 12px; }

/* Which kitchen is cooking this, and why. The panel no single-outlet
   competitor needs, and the reason the assignment never feels arbitrary. */
.kitchen-note {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 13px 15px;
  border: 1px solid var(--ok-line);
  background: var(--ok-soft);
  border-radius: var(--r-lg);
}
.kitchen-note svg { flex: none; color: var(--ok); margin-top: 1px; }
.kitchen-note strong { display: block; font-size: 14.5px; color: var(--ok); }
.kitchen-note p { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); margin-top: 2px; }
.kitchen-note.is-stop { border-color: var(--stop-line); background: var(--stop-soft); }
.kitchen-note.is-stop svg, .kitchen-note.is-stop strong { color: var(--stop); }

.line { display: flex; gap: 11px; align-items: flex-start; padding-block: 13px; }
.line + .line { border-top: 1px solid var(--line); }
.line .diet { margin-top: 3px; }
.line-body { flex: 1; min-width: 0; }
.line-name { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.line-meta { font-size: 12px; color: var(--muted); line-height: 1.45; }
.line-note { font-size: 12px; color: var(--warn); line-height: 1.45; }
.line-right { flex: none; display: grid; gap: 7px; justify-items: end; }
.line-total { font-size: 14.5px; font-weight: 800; }

/* The bill. Order of operations is the pricing service's, stated plainly:
   food, minus discount, plus tax on what is left, plus delivery, which is
   never taxed. */
.bill { display: grid; gap: 9px; }
.bill-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bill-row span:first-child { color: var(--ink-2); }
.bill-row span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.bill-row.is-off span { color: var(--ok); font-weight: 700; }
.bill-rule { height: 1px; background: var(--line); margin-block: 2px; }
.bill-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bill-total .l { font-size: 15px; font-weight: 800; }
.bill-total .v { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ââ Choosing a dish âââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.dish-hero .plate { border-radius: var(--r-lg); aspect-ratio: 16 / 11; }
.choice {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
}
.choice:hover { border-color: var(--line-2); }
.choice input { width: 19px; height: 19px; flex: none; accent-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); }
.choice-label { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; }
.choice-price { font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.choice-set { border: 0; padding: 0; margin: 0; display: grid; gap: 9px; }
.choice-set legend {
  padding: 0; margin-bottom: 2px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; margin-bottom: 14px; }
.crumbs a { text-decoration: none; font-weight: 600; }

.dish-detail { display: grid; gap: 16px; }
.dish-detail h1 { font-size: clamp(25px, 6vw, 32px); }
.dish-buy { display: flex; gap: 12px; align-items: center; }
.dish-buy .btn { flex: 1; }

/* ââ Progress ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.progress { display: flex; gap: 7px; }
.progress span { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--line-2); }
.progress span.is-on { background: var(--brand); }

/* ââ Tracking ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.track-head {
  padding: 24px 20px;
  background: var(--ink); color: #FFFFFF;
  border-radius: var(--r-lg);
  display: grid; gap: 10px;
}
.track-head h1 { color: #FFFFFF; font-size: clamp(24px, 6vw, 32px); }
.track-head .num-when { font-size: 25px; font-weight: 800; font-variant-numeric: tabular-nums; }
.track-head .muted { color: #C9BBAE; }

.timeline { display: grid; }
.tl { display: flex; gap: 13px; }
.tl-rail { flex: none; width: 20px; display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 20px; height: 20px; flex: none; border-radius: 50%;
  border: 2px solid var(--line-2); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
}
.tl-line { flex: 1; width: 2px; background: var(--line-2); min-height: 18px; }
.tl-body { flex: 1; padding-bottom: 16px; }
.tl-name { font-size: 14.5px; font-weight: 700; }
.tl-when { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

.tl.is-done .tl-dot { background: var(--ok); border-color: var(--ok); color: #FFFFFF; }
.tl.is-done .tl-line { background: var(--ok); }
.tl.is-now .tl-dot { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.tl.is-now .tl-name { color: var(--brand); font-weight: 800; }
.tl.is-todo .tl-name { color: var(--faint); font-weight: 600; }
.tl:last-child .tl-line { display: none; }

/* ââ Outlet cards ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.outlet-card { display: grid; gap: 8px; align-content: start; }
.outlet-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.outlet-card .addr { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.outlet-card .hours { font-size: 13.5px; color: var(--ink-2); }

/* ââ Footer ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.site-foot { margin-top: auto; background: var(--ink); color: #D9CBBD; padding-block: 34px 20px; }
.site-foot .wrap { display: grid; gap: 26px; }
.foot-brand .name { font-family: var(--display); font-size: 22px; font-weight: 700; color: #FFFFFF; }
.foot-brand p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: #B3A396; max-width: 42ch; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col .eyebrow { color: #8A7A6D; letter-spacing: .16em; }
.foot-col a, .foot-col span:not(.eyebrow) { font-size: 13.5px; color: #D9CBBD; text-decoration: none; }
.foot-col a:hover { color: #FFFFFF; }
.foot-base {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid #33261D;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: #8A7A6D;
}

/* ââ Toast âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
/* Hidden until .is-on. There was no hidden state: cart.js removed the class
   after three seconds and the toast simply stayed on screen, so the first
   error a customer ever saw was the one they saw for the rest of the visit. */
#sidhi-toast {
  position: fixed; left: 50%; transform: translate(-50%, 8px);
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 60;
  padding: 11px 18px;
  background: var(--ink); color: #FFFFFF;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  box-shadow: var(--sh-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
#sidhi-toast.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   Wider than a phone
   âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (min-width: 620px) {
  .site-bar .chip .chip-meta { display: inline; }
  .hero-inner { padding-block: 50px 34px; }
  .hero-copy .lede { font-size: 16.5px; }
  .steps .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .menu-outlet.is-asking { padding: 12px 14px; }
  .menu-outlet.is-asking strong { font-size: 14.5px; }
  .menu-outlet.is-asking .small { display: block; }
  .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dish-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .dish-card .dish-desc { display: block; }
  .dish-card-body { padding: 14px 16px 16px; gap: 5px; }
  .dish-card h3 { font-size: 18px; }
  .site-foot .wrap { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
}

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-bar .wrap { min-height: 68px; gap: 18px; }

  /* The hero becomes two columns: the promise on the left, the card that
     answers it on the right. The card stops overlapping, because on a desktop
     there is room for both to sit inside the same band. */
  .hero-inner { padding-block: 72px; }
  .hero-copy { max-width: 980px; }
  .hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .hero-actions .lbar { flex: 1 1 460px; max-width: 600px; }
  .steps { margin-top: 0; }
  .menu-head { top: 68px; }
  .menu-cat { scroll-margin-top: var(--menu-stick, 210px); }

  /* Wide enough for the photograph to lead, so it does. */
  .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dish { flex-direction: column-reverse; padding: 0; overflow: hidden; }
  .dish-action { width: 100%; }
  .dish-action .plate { width: 100%; border-radius: 0; aspect-ratio: 16 / 10; }
  .dish-action .btn-add, .dish-action .dish-sold {
    position: absolute; right: 14px; bottom: 14px; margin-top: 0;
  }
  .dish-body { padding: 14px 16px 58px; position: relative; }
  .dish { position: relative; }

  .cart-bar { left: auto; right: 24px; bottom: 24px; }
  .cart-bar .wrap { padding-inline: 16px; max-width: 420px; }
}

@media (min-width: 1100px) {
  .dish-grid, .dish-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ââ Cart page âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.cart-lines {
  margin-bottom: 12px;
  padding: 2px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.cart-lines .line:first-child { padding-top: 14px; }
.cart-lines .line:last-child { padding-bottom: 14px; }
.nowrap { white-space: nowrap; }
.cart-line .btn-link { margin-top: 5px; font-size: 12.5px; }
.cart-line.is-out { opacity: .6; }
.cart-totals .eyebrow { margin-bottom: 11px; }
.total-nudge { font-size: 12.5px; line-height: 1.5; color: var(--ok); }
.total-nudge.is-warn { color: var(--warn); font-weight: 600; }
.cart-actions { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.cart-actions .btn-lg { flex: 1; }

/* ââ Checkout ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.checkout-grid { display: grid; gap: 14px; }
.pay-choice { display: grid; gap: 9px; }
.pay-choice .choice { align-items: flex-start; }
.pay-choice .choice-label { display: grid; gap: 2px; }
.pay-choice .choice-label small { font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.4; }

/* ââ Wider âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
@media (min-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr 340px; align-items: start; }
  .checkout-grid > .checkout-side { position: sticky; top: 88px; }
}

/* ââ Timeline extras âââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.timeline { list-style: none; padding: 0; margin: 0; }
.tl-note { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 3px; }
.tl.is-stop .tl-dot { background: var(--stop); border-color: var(--stop); }
.tl.is-stop .tl-name { color: var(--stop); font-weight: 800; }
.tl-when { display: block; }

/* ââ Offers ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.offers { display: grid; gap: 8px; }
.offer {
  display: flex; gap: 10px; align-items: center; text-align: left;
  min-height: 44px; padding: 10px 13px;
  border: 1.5px dashed var(--saffron-line);
  border-radius: var(--r);
  background: var(--saffron-soft);
  font-family: var(--font); cursor: pointer;
}
.offer:hover { border-style: solid; border-color: var(--saffron); }
.offer .mono { font-weight: 800; color: var(--warn); letter-spacing: .06em; }

/* ââ Forms shared by checkout and tracking âââââââââââââââââââââââââââââââââ */
.field-row { display: grid; gap: 12px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* Checkout: the address box with "use my location" beside it. */
.addr-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.addr-locate { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: var(--r); }
.addr-locate[aria-busy="true"] svg { animation: addr-spin 1s linear infinite; }
@keyframes addr-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .addr-locate[aria-busy="true"] svg { animation: none; } }

/* ââ The logo as the wordmark ââââââââââââââââââââââââââââââââââââââââââââââ */
/* White script with a red outline was drawn to sit on anything; on ivory it
   needs no box. Height, not width, is what is fixed, so the artwork keeps its
   own proportions at every size. */
.site-logo { display: block; width: auto; height: 42px; }
.foot-logo { display: block; width: auto; height: 56px; }
.foot-tagline {
  display: block; margin-top: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron);
}
@media (min-width: 900px) { .site-logo { height: 48px; } }

/* ââ The offer strip âââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
/* Only codes an administrator chose to advertise; written from their own
   terms. Sits under the hero as one ribbon, not a section with a heading. */
.offer-strip { background: var(--saffron-soft); border-block: 1px solid var(--saffron-line); }
.offer-strip-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-block: 12px; }
.offer-strip-head { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--warn); margin-right: 4px; }
.offer-chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 6px 12px 6px 10px;
  border: 1.5px dashed var(--saffron-line); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink-2); text-decoration: none;
  font-size: 13.5px;
}
.offer-chip:hover { border-style: solid; border-color: var(--saffron); color: var(--ink); }
.offer-chip .mono { font-weight: 800; color: var(--warn); letter-spacing: .06em; }

/* ââ The WhatsApp button âââââââââââââââââââââââââââââââââââââââââââââââââââ */
/* Above the basket bar on a phone, so the two never overlap; bottom right on
   anything wider. Green is the one colour the whole town already knows. */
.wa-fab {
  position: fixed; right: 14px; z-index: 55;
  bottom: calc(92px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px 0 12px;
  border-radius: var(--r-pill);
  background: #25D366; color: #FFFFFF;
  font-size: 14px; font-weight: 800; text-decoration: none;
  box-shadow: var(--sh-lg);
}
.wa-fab:hover { background: #1EBE5A; color: #FFFFFF; }
.wa-fab span { display: none; }
@media (min-width: 720px) {
  .wa-fab { right: 24px; bottom: 24px; }
  .wa-fab span { display: inline; }
}

/* A problem waits to be read; a confirmation fades. */
#sidhi-toast.is-sticky { display: flex; align-items: center; gap: 14px; background: var(--stop); }
.toast-ok {
  border: 0; border-radius: var(--r-pill); padding: 6px 12px;
  background: rgba(255,255,255,.18); color: #FFFFFF;
  font: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
}
.toast-ok:hover { background: rgba(255,255,255,.3); }

/* âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
   THE FRONT PAGE, AS THE OWNER SETS IT (Admin âº Home page)
   âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */

/* A photograph behind the headline. The drawn blobs step aside; the scrim
   moves from the whole band to a panel under the words, so the food on the
   right of the photo stays food rather than brown fog. */
.hero-photo { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.hero.has-photo .hero-art { display: none; }
.hero.has-photo::before { background: linear-gradient(90deg, rgba(22,10,4,.78) 0%, rgba(22,10,4,.55) 45%, rgba(22,10,4,.12) 100%); }
@media (max-width: 760px) {
  .hero.has-photo::before { background: rgba(22,10,4,.62); }
}

/* ââ The gallery âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.gallery-section .section-head { align-items: flex-end; }
.gallery-arrows { display: flex; gap: 8px; }
.gallery-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.gallery-arrow.is-next { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.gallery-arrow:hover { border-color: var(--brand); }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
  border-radius: var(--r-lg, 18px);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.slide {
  position: relative; margin: 0; scroll-snap-align: start;
  aspect-ratio: 4 / 3; max-width: 100%;
  border-radius: var(--r-lg, 18px); overflow: hidden; background: var(--sunk);
}
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(0deg, rgba(22,10,4,.78), rgba(22,10,4,0));
  color: #FFFFFF; font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.25;
}
/* The whole photo opens the menu, a category or a dish (Admin, Home page).
   The line under the caption says where, so it reads as a link. */
.slide-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.slide-link img { transition: transform .35s ease; }
.slide-link:hover img { transform: scale(1.04); }
.slide-link:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
.slide figcaption { display: grid; gap: 4px; }
.slide-go { font-family: var(--font); font-size: 13px; font-weight: 800; color: #FFD9A0; }
.slide-link:hover .slide-go { text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .slide-link img { transition: none; } .slide-link:hover img { transform: none; } }
.gallery-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width var(--dur) var(--ease), background var(--dur) var(--ease); }
.gallery-dots span.is-on { width: 22px; background: var(--brand); }
@media (min-width: 760px) {
  .gallery { grid-auto-columns: calc((100% - 24px) / 2.4); }
  .slide { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .gallery { scroll-behavior: auto; } }

/* ââ The menu section ââââââââââââââââââââââââââââââââââââââââââââââââââââââ */
.home-menu { background: var(--surface-2); border-block: 1px solid var(--line); }
.cat-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.cat-tile {
  display: grid; justify-items: center; gap: 6px;
  padding: 16px 10px 14px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg, 18px);
  color: var(--ink); text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cat-tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.cat-tile-plate { width: 78px; height: 78px; border-radius: 50%; }
.cat-tile-name { font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.cat-tile-count { font-size: 12px; color: var(--muted); }
.home-dishes-head { margin: 26px 0 12px; }
.home-dishes-head h3 { font-family: var(--display); font-size: 21px; }
@media (prefers-reduced-motion: reduce) { .cat-tile { transition: none; } .cat-tile:hover { transform: none; } }

/* ââ Checkout (2 Oct 2026 layout) ââââââââââââââââââââââââââââââââââââââââââ */
/* Two cards and a pay bar. On a phone: the order first, folded to one line;
   the details; the pay bar stuck to the bottom of the screen. On a computer:
   details on the left, the order on the right and staying in view. */
.site-secure { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.site-back { flex: none; padding-block: 10px; font-size: 14px; font-weight: 700; color: var(--brand); text-underline-offset: 3px; }

.co { padding-block: 16px 0; }
.co-wrap { display: grid; gap: 12px; max-width: 1080px; }

.co-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.co-steps li { display: flex; align-items: center; gap: 6px; }
.co-steps li + li::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--line-2); margin-right: 2px; }
.co-steps li.is-on::before { background: var(--ok); }
.co-dot { width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; border: 1.5px solid var(--line-2); }
.co-steps .is-done .co-dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.co-steps .is-on { color: var(--ink); }
.co-steps .is-on .co-dot { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.co-title { font-size: clamp(24px, 5vw, 32px); }
.co-kitchen { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.co-kitchen svg { flex: none; color: var(--brand); margin-top: 2px; }
.co-kitchen strong { color: var(--ink); }

.co-grid { display: grid; gap: 12px; grid-template-areas: "sum" "details" "pay"; }
.co-sum { grid-area: sum; }
.co-details { grid-area: details; }
.co-paybar { grid-area: pay; }
.co-card { padding: 16px; display: grid; gap: 14px; border-radius: var(--r-lg); }
.co-h { font-size: 18px; }
.co-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* The one-line summary. The whole row is the button. */
.co-sum-toggle {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink);
  font: inherit; font-weight: 700; text-align: left; cursor: pointer;
}
.co-sum-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
.co-sum-count { font-family: var(--display); font-size: 18px; }
.co-sum-total { margin-left: auto; font-size: 18px; }
.co-chev { color: var(--muted); transition: transform .2s ease; }
.co-sum-toggle[aria-expanded="true"] .co-chev { transform: rotate(180deg); }
.co-sum:not(.is-open) .co-sum-body { display: none; }
.co-sum-body { border-top: 1px solid var(--line); padding-top: 4px; }
.co-sum-body .cart-totals { margin-top: 8px; }

.co-code { display: grid; gap: 8px; }
.co-code-row { display: flex; gap: 8px; }
.co-code-row .input { min-width: 0; }
.co-code-row .btn { flex: none; }
.co-code .hint:empty { display: none; }
.co-offers { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.co-offers::-webkit-scrollbar { display: none; }
.co-offer {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 6px 12px;
  border: 1.5px dashed var(--saffron-line); border-radius: var(--r-pill);
  background: var(--saffron-soft); color: var(--ink-2); font: inherit; font-size: 13px; white-space: nowrap; cursor: pointer;
}
.co-offer .mono { font-weight: 800; color: var(--warn); letter-spacing: .05em; }
.co-offer:hover { border-style: solid; border-color: var(--saffron); }
.co-applied { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--ok-soft); color: var(--ok); font-size: 14px; }
.co-applied .btn-link { margin-left: auto; }

.co-tel { display: flex; align-items: stretch; }
.co-tel span {
  display: grid; place-items: center; padding-inline: 12px;
  border: 1px solid var(--line-2); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm);
  background: var(--surface-2); font-weight: 700; color: var(--ink-2);
}
.co-tel .input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* Two choices as one switch. Real radios underneath, so the form posts and a
   keyboard moves between them with the arrow keys. */
.co-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: var(--r-sm); background: var(--sunk); }
.co-seg label { position: relative; display: block; cursor: pointer; }
.co-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.co-seg span { display: grid; place-items: center; min-height: 40px; padding: 6px 8px; border-radius: 6px; font-weight: 700; font-size: 14px; color: var(--ink-2); text-align: center; }
.co-seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(26, 20, 16, .14); }
.co-seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 1px; }

.co-pin { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.co-pin.is-ok { color: var(--ok); font-weight: 700; align-items: center; }
.co-pin.is-ask { color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: 7px 9px; font-weight: 600; }
.co-collect { font-size: 14px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.co-pay-one { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); }

/* Sticky, not fixed: it rides the bottom of the screen while the form is on
   it and settles under the form at the end, so it never covers anything. */
.co-paybar {
  position: sticky; bottom: 0; z-index: 20;
  display: grid; gap: 6px;
  margin-inline: -20px; padding: 10px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 16px rgba(26, 20, 16, .08);
}
.co-place {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; min-height: 52px; padding: 12px 18px;
  border: 0; border-radius: var(--r); background: var(--brand); color: var(--brand-ink);
  font: inherit; font-size: 16.5px; font-weight: 800; text-decoration: none; cursor: pointer;
}
.co-place:hover { background: var(--brand-deep); color: var(--brand-ink); }
.co-place:disabled { opacity: .7; cursor: progress; }
.co-place:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.co-place.is-short { background: var(--sunk); color: var(--ink); }
.co-place.is-short:hover { background: var(--line-2); color: var(--ink); }
.co-paynote { text-align: center; font-size: 12.5px; }
.co-paynote.is-warn { color: var(--stop); font-weight: 700; }

@media (min-width: 960px) {
  .co { padding-block: 28px 48px; }
  .co-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    grid-template-areas: "details sum" "pay sum";
    align-items: start; column-gap: 28px;
  }
  .co-sum { position: sticky; top: 84px; }
  .co-sum-toggle { cursor: default; pointer-events: none; }
  .co-chev { display: none; }
  .co-sum:not(.is-open) .co-sum-body { display: block; }
  .co-paybar { margin-inline: 0; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; }
  .co-card { padding: 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { .co-chev { transition: none; } }

/* ── The "Choose" pop-up on the menu ─────────────────────────────────────── */
/* The dish form (partials/dish_form.php) over the menu: a centred card on a
   computer, a sheet from the bottom on a phone. The quantity and Add stay at
   the foot of the sheet however long the list of extras is. Above the header,
   the basket bar and the WhatsApp button; below the toast, so an error raised
   inside it can still be read. */
.has-pop, .has-pop body { overflow: hidden; }
.dish-pop {
  position: fixed; inset: 0; z-index: 58;
  display: grid; place-items: center; padding: 16px;
  background: rgba(26, 20, 16, .5);
}
.dish-pop-sheet {
  position: relative; width: min(520px, 100%); max-height: min(88vh, 760px);
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.dish-pop .dish-detail.is-pop {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  border: 0; border-radius: 0; padding: 0 18px; gap: 14px; box-shadow: none;
}
.dish-pop .dish-hero { margin-inline: -18px; }
.dish-pop .dish-hero .plate { border-radius: 0; aspect-ratio: 16 / 7; }
.dish-pop .dish-detail h2 { font-size: clamp(21px, 5vw, 25px); }
.dish-pop .dish-buy {
  position: sticky; bottom: 0; z-index: 1;
  margin-inline: -18px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border-top: 1px solid var(--line);
}
.dish-pop .dish-buy .btn { justify-content: space-between; }
.dish-pop .dish-buy .btn:disabled { background: var(--sunk); color: var(--muted); border-color: var(--sunk); opacity: 1; }
.dish-pop .js-dish-status:empty { display: none; }
.dish-pop-x {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .94); color: #1A1410;
  font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.dish-pop-x:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.js-choose[aria-busy="true"] { opacity: .6; cursor: progress; }
@media (max-width: 600px) {
  .dish-pop { place-items: end stretch; padding: 0; }
  .dish-pop-sheet { width: 100%; max-height: 92vh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
}

/* ── Collection ──────────────────────────────────────────────────────────── */
/* The header chip while collecting, and the kitchen choice on checkout. */
.chip.is-collect { background: var(--saffron-soft); border-color: var(--saffron-line); color: var(--warn); }
.chip.is-collect .dot { background: var(--saffron); }
.co-kits { display: grid; gap: 8px; }
.co-kit {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: start;
  padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: var(--surface); cursor: pointer;
}
.co-kit:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.co-kit.is-off { opacity: .65; cursor: not-allowed; }
.co-kit input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.co-kit-body { display: grid; gap: 2px; min-width: 0; }
.co-kit-body b { font-size: 14.5px; }
.co-kit-body small { font-size: 12.5px; color: var(--ink-2); }
.co-kit-st { font-size: 12px; font-weight: 800; color: var(--ok); white-space: nowrap; }
.co-kit-st.is-no { color: var(--stop); white-space: normal; max-width: 150px; text-align: right; }
@media (max-width: 420px) { .co-kit { grid-template-columns: 20px minmax(0, 1fr); } .co-kit-st { grid-column: 2; text-align: left; max-width: none; } }
