/* ============================================================
   wen DRIP — Digital Menu
   Layout: green brush-edged masthead → sticky search + category rail
           → product grid (2 cols phone, 3–4 desktop) → floating cart bar.
   ============================================================ */
:root {
  /* brand */
  --palm: #1f3d2f;          /* deep palm green, from the logo */
  --palm-2: #2b5241;
  --cream: #f0e4cb;         /* logo cream */
  --sand: #e9dcc4;          /* poster beige */
  --bean: #7a5233;          /* coffee brown accent */
  /* surfaces + text */
  --bg: #f5efe3;
  --surface: #fffcf6;
  --surface-2: #efe6d4;
  --ink: #1b2620;
  --ink-2: #55625a;
  --line: rgba(31, 61, 47, .14);
  --accent: var(--palm);
  --on-accent: #f6eedc;
  --hero-bg: var(--palm);
  --hero-ink: var(--cream);
  --chip-bg: #fffcf6;
  --shadow: 0 1px 2px rgba(23, 40, 31, .06), 0 6px 20px rgba(23, 40, 31, .07);
  --new: #b4532a;
  --cold: #3c7a8c;
  --hot: #a5542c;
  /* type */
  --f-display: "Baloo Bhaijaan 2", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --radius: 18px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1a14; --surface: #16251d; --surface-2: #1d3027; --ink: #efe6d2; --ink-2: #a9b5ab;
    --line: rgba(240, 228, 203, .12); --accent: #d9c29a; --on-accent: #142219; --hero-bg: #13241b;
    --hero-ink: var(--cream); --chip-bg: #16251d; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    --new: #e08a5c; --cold: #7fb7c6; --hot: #e39a6c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1a14; --surface: #16251d; --surface-2: #1d3027; --ink: #efe6d2; --ink-2: #a9b5ab;
  --line: rgba(240, 228, 203, .12); --accent: #d9c29a; --on-accent: #142219; --hero-bg: #13241b;
  --hero-ink: var(--cream); --chip-bg: #16251d; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  --new: #e08a5c; --cold: #7fb7c6; --hot: #e39a6c; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 15px; line-height: 1.6;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; border-radius: 10px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Masthead ---------- */
.hero { background: var(--hero-bg); color: var(--hero-ink); position: relative; isolation: isolate; }
.hero .wrap { padding-block: 14px 54px; display: grid; gap: 10px; }
.hero-tools { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tool {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgba(240, 228, 203, .35); background: rgba(240, 228, 203, .06);
  color: var(--hero-ink); cursor: pointer; font-weight: 600; font-size: 14px; letter-spacing: .02em;
}
.tool:hover { background: rgba(240, 228, 203, .14); }
.tool.round { width: 38px; padding: 0; justify-content: center; }
.brand { display: grid; justify-items: center; gap: 6px; text-align: center; padding-top: 8px; }
.brand img { width: min(260px, 64vw); height: auto; }
.tagline { margin: 0; font-family: var(--f-display); font-size: 18px; opacity: .9; display: inline-flex; align-items: center; gap: 8px; }
.tagline svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.palm-deco { position: absolute; inset-inline-end: -40px; bottom: 20px; width: 180px; opacity: .08; z-index: -1; pointer-events: none; }
/* torn brush edge, echoes the posters */
.brush { position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; width: 100%; color: var(--bg); display: block; }

/* ---------- Sticky bar ---------- */
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.bar.stuck { border-bottom-color: var(--line); }
.bar .wrap { padding-block: 10px; display: grid; gap: 10px; }
.search { position: relative; }
.search input {
  width: 100%; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: inherit; padding-inline: 44px 40px; outline: none; box-shadow: var(--shadow);
}
.search input::placeholder { color: var(--ink-2); }
.search input:focus { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.search > .icon { position: absolute; inset-inline-start: 14px; top: 13px; color: var(--ink-2); pointer-events: none; }
.search .clear { position: absolute; inset-inline-end: 6px; top: 6px; width: 34px; height: 34px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; color: var(--ink-2); display: grid; place-items: center; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-padding-inline: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--chip-bg); color: var(--ink); cursor: pointer; font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.chip .n { font-weight: 500; opacity: .55; margin-inline-start: 4px; font-size: 12px; }
.chip[aria-current="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ---------- Featured ---------- */
.featured { margin-top: 18px; }
.feature-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; overflow: hidden;
  border-radius: 24px; background: var(--palm); color: var(--cream); box-shadow: var(--shadow); cursor: pointer;
  border: 0; padding: 0; width: 100%; text-align: start;
}
.feature-card .ph { position: relative; min-height: 260px; }
.feature-card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #f4efe6; }
.feature-card .tx { padding: 20px 18px; display: grid; align-content: center; gap: 6px; min-width: 0; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.feature-card .eyebrow { color: #f2b48f; }
.feature-card h3 { margin: 0; font-family: var(--f-display); font-size: clamp(24px, 6vw, 34px); line-height: 1.15; }
.feature-card p { margin: 0; opacity: .82; font-size: 14px; }
.feature-card .price { font-size: 22px; color: var(--cream); }
.feature-card .cta { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; background: var(--cream); color: var(--palm); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; }

/* ---------- Sections ---------- */
.section { scroll-margin-top: 130px; padding-top: 26px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { margin: 0; font-family: var(--f-display); font-size: 26px; line-height: 1.2; text-wrap: balance; display: flex; align-items: center; gap: 10px; }
.section-head h2::before { content: ""; width: 22px; height: 22px; flex: none; background: currentColor; opacity: .85;
  -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; }
.section-head .count { color: var(--ink-2); font-size: 13px; }
:root { --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22c0-6 0-12 0-16M12 8c-3-4-7-4-9-3 1 3 5 5 9 5M12 8c3-4 7-4 9-3-1 3-5 5-9 5M12 13c-3-3-6-3-8-2 1 2 4 4 8 4M12 13c3-3 6-3 8-2-1 2-4 4-8 4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  position: relative; display: flex; flex-direction: column; min-width: 0; text-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) { .card:hover { transform: translateY(-2px); } }
.card .open { all: unset; cursor: pointer; display: flex; flex-direction: column; flex: 1; }
.card .open:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: -3px; border-radius: var(--radius); }
.card .ph { aspect-ratio: 4 / 5; max-width: 100%; background: var(--surface-2); position: relative; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
@media (hover: hover) { .card:hover .ph img { transform: scale(1.04); } }
.badges { position: absolute; top: 8px; inset-inline-start: 8px; display: flex; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255,252,246,.92); color: #1b2620; }
.badge .icon { width: 14px; height: 14px; }
.badge.new { background: var(--new); color: #fff; }
.badge.cold { color: #2d6475; }
.badge.hot { color: #9a4a22; }
.card .body { padding: 10px 12px 12px; display: grid; gap: 2px; flex: 1; align-content: start; }
.card h3 { margin: 0; font-size: 15.5px; line-height: 1.35; font-weight: 700; }
.card .desc { margin: 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px 12px; margin-top: auto; }
.price { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-weight: 600; font-size: .72em; opacity: .7; margin-inline-start: 3px; }
.price.ask { font-weight: 600; font-size: 12.5px; color: var(--ink-2); }

.add {
  width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .15s;
}
.add:active { transform: scale(.92); }
.qty { display: inline-flex; align-items: center; gap: 2px; background: var(--surface-2); border-radius: 12px; padding: 2px; }
.qty button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.qty button .icon { width: 16px; height: 16px; }
.qty output { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

.empty { text-align: center; padding: 48px 16px; color: var(--ink-2); }
.empty strong { display: block; font-family: var(--f-display); font-size: 22px; color: var(--ink); }

/* ---------- Footer ---------- */
.foot-site { margin-top: 48px; background: var(--hero-bg); color: var(--hero-ink); position: relative; }
.foot-site .brush { top: -1px; bottom: auto; transform: scaleY(-1); }
.foot-site .wrap { padding-block: 56px 120px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.foot-site img { width: 150px; }
.foot-site p { margin: 0; opacity: .8; font-size: 13px; }
.foot-site a { color: inherit; }

/* ---------- Cart bar ---------- */
.cartbar {
  position: fixed; z-index: 25; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  pointer-events: none; display: flex; justify-content: center;
}
.cartbar button {
  pointer-events: auto; width: min(560px, 100%); min-height: 58px; border: 0; border-radius: 18px; cursor: pointer;
  background: var(--palm); color: var(--cream); display: flex; align-items: center; gap: 12px; padding: 0 16px;
  box-shadow: 0 10px 30px rgba(15, 30, 22, .35); font-weight: 700; animation: rise .35s ease;
}
:root[data-theme="dark"] .cartbar button { background: var(--accent); color: var(--on-accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cartbar button { background: var(--accent); color: var(--on-accent); } }
.cartbar .count { min-width: 28px; height: 28px; border-radius: 9px; background: rgba(240,228,203,.18); display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cartbar .label { flex: 1; text-align: start; }
.cartbar .total { font-variant-numeric: tabular-nums; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Dialogs (bottom sheet on phones) ---------- */
dialog {
  border: 0; padding: 0; color: var(--ink); background: var(--surface); width: min(560px, 100%); max-width: 100%;
  max-height: 92dvh; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.35); overflow: hidden;
}
dialog::backdrop { background: rgba(10, 20, 15, .55); backdrop-filter: blur(2px); }
dialog[open] { animation: pop .25s ease; display: flex; flex-direction: column; }
@keyframes pop { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) {
  dialog { margin: auto 0 0; width: 100%; border-radius: 24px 24px 0 0; max-height: 94dvh; }
}
.sheet-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255,252,246,.92); color: #1b2620; box-shadow: var(--shadow); }
.poster { background: var(--surface-2); }
.poster img { width: 100%; height: auto; }
.sheet-body { padding: 18px 20px 8px; display: grid; gap: 10px; }
.sheet-body h2 { margin: 0; font-family: var(--f-display); font-size: 28px; line-height: 1.2; }
.sheet-body .alt { color: var(--ink-2); font-size: 13px; margin-top: -6px; }
.sheet-body p { margin: 0; color: var(--ink-2); }
.meta { display: flex; flex-wrap: wrap; gap: 6px; }
.meta .badge { background: var(--surface-2); color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 6px 0 0; min-width: 0; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; font-weight: 600; font-size: 14px; background: var(--surface); }
.opt input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.opt input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }
.sheet-foot { display: flex; align-items: center; gap: 12px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface); }
.btn {
  flex: 1; min-height: 50px; border-radius: 14px; border: 0; cursor: pointer; font-weight: 800; font-size: 15px;
  background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; text-decoration: none;
}
.btn.ghost { background: var(--surface-2); color: var(--ink); }
.btn.wa { background: #1f8a4c; color: #fff; }
.btn .p { opacity: .85; font-variant-numeric: tabular-nums; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.qty.big button { width: 42px; height: 42px; }
.qty.big output { min-width: 30px; font-size: 17px; }

/* cart */
.cart-head { padding: 18px 20px 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-head h2 { margin: 0; font-family: var(--f-display); font-size: 26px; }
.linkbtn { border: 0; background: none; color: var(--ink-2); cursor: pointer; text-decoration: underline; font-size: 13px; padding: 6px; }
.lines { list-style: none; margin: 0; padding: 4px 20px; display: grid; }
.line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.line .nm { font-weight: 700; line-height: 1.35; }
.line .sub { color: var(--ink-2); font-size: 12.5px; }
.line .r { display: grid; justify-items: end; gap: 6px; }
.form { padding: 12px 20px 4px; display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field textarea {
  width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; padding: 10px 12px; outline: none;
}
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.sum { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 20px 2px; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.note { padding: 0 20px 8px; color: var(--ink-2); font-size: 12.5px; margin: 0; }
.cart-actions { flex-wrap: wrap; }
.cart-actions .btn { flex: 1 1 200px; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); max-width: calc(100% - 32px); }

/* ---------- v2: sold out, cart steps, checkout ---------- */
.card.is-out .ph img { filter: grayscale(1); opacity: .55; }
.card.is-out .price { opacity: .5; }
.badge.out { background: #3a3f3c; color: #fff; }
.cart-head { position: relative; }
.cart-head .back { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink); flex: none; }
:root[dir="ltr"] .cart-head .back .icon, html[dir="ltr"] .cart-head .back .icon { transform: scaleX(-1); }
.cart-head { justify-content: flex-start; padding-inline-end: 64px; }
.steps { list-style: none; margin: 0; padding: 0 20px 8px; display: flex; gap: 6px; counter-reset: s; font-size: 12.5px; color: var(--ink-2); }
.steps li { flex: 1; counter-increment: s; border-top: 3px solid var(--line); padding-top: 6px; }
.steps li::before { content: counter(s) ". "; }
.steps li.on { border-color: var(--accent); color: var(--ink); font-weight: 700; }
.steps li.done { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.line { grid-template-columns: 56px minmax(0, 1fr) auto; }
.line .r { display: flex; align-items: center; gap: 6px; }
.line .rm { width: 34px; height: 34px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.line .rm:hover { color: #b3402a; background: var(--surface-2); }
.row-links { display: flex; justify-content: space-between; gap: 8px; padding: 4px 20px 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14.5px; }
.seg input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.seg input:disabled + span { opacity: .45; cursor: not-allowed; }
.seg input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.field-head .lbl { font-weight: 700; font-size: 14px; }
.branches { display: grid; gap: 8px; }
.branch { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.branch input { accent-color: var(--palm); width: 18px; height: 18px; flex: none; margin: 0; }
.branch span { display: grid; gap: 1px; flex: 1; min-width: 0; }
.branch small { color: var(--ink-2); font-size: 12.5px; }
.branch em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.branch a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-2); background: var(--surface-2); flex: none; }
.branch:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.locate { width: 100%; }
.status { border-radius: 12px; padding: 10px 12px; font-size: 13.5px; font-weight: 600; }
.status.ok { background: color-mix(in srgb, #2f8a55 14%, transparent); color: var(--ink); }
.status.warn { background: color-mix(in srgb, #c98a1b 16%, transparent); color: var(--ink); }
.status.bad { background: color-mix(in srgb, #b3402a 15%, transparent); color: var(--ink); }
#deliveryBox, #pickupBox { display: grid; gap: 10px; }
#deliveryBox[hidden], #pickupBox[hidden] { display: none; }
.field select { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; padding: 10px 12px; }
.totals { margin: 4px 20px 8px; padding: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--ink-2); } .totals dd { margin: 0; font-weight: 700; }
.totals .grand { font-size: 18px; } .totals .grand dt { color: var(--ink); font-weight: 800; } .totals .grand dd { font-weight: 800; }
.note.warn { color: #b3402a; font-weight: 600; }
.btn.is-disabled { opacity: .55; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.foot-branches { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 8px; justify-items: center; font-size: 13px; }
.foot-branches li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; justify-content: center; }
.foot-branches span { opacity: .75; }
.foot-branches a { display: inline-flex; align-items: center; gap: 4px; }
.foot-branches .icon { width: 16px; height: 16px; }

#cartDlg .cart-head { position: sticky; top: 0; z-index: 3; background: var(--surface); padding-block: 14px 8px; padding-inline-end: 64px; min-height: 64px; }
#cartDlg .cart-head .x { top: 12px; }
#cartDlg .cart-head .x { right: auto; left: auto; inset-inline-end: 12px; }
