/* Shop: clean white grocery-store layout (BigBasket-style) with a deep kumkum red for actions. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --sunk: #f4f4f4;
  --shelf: #f6f6f6;
  --line: #e3e3e3;
  --ink: #1b1b1b;
  --muted: #5f5f5f;
  --kumkum: #c62828;
  --kumkum-dark: #a31f1f;
  --kumkum-soft: #fdecec;
  --marigold: #f08c00;
  --marigold-soft: #fff4e2;
  --tulsi: #4a7c00;
  --tulsi-soft: #eef6e2;
  --amber: #a15c00;
  --amber-soft: #fff3d6;
  --body: "Figtree", "Noto Sans Kannada", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --deva: "Noto Sans Kannada", "Noto Sans Devanagari", "Nirmala UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, .08);
  --shadow-lg: 0 6px 24px rgba(0, 0, 0, .12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--body); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h3 { font-size: 1.1rem; }
p { margin: 0; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1400px; margin-inline: auto; padding-left: max(clamp(16px, 3vw, 40px), env(safe-area-inset-left, 0px)); padding-right: max(clamp(16px, 3vw, 40px), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--kumkum); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.notice { background: var(--ink); color: #fff; text-align: center; padding: 10px 16px; font-weight: 600; }
.site-header { background: var(--surface); position: sticky; top: 0; z-index: 20; border-top: 3px solid var(--kumkum); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.header-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 20px; padding-block: 12px 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--kumkum); color: #fff; display: grid; place-items: center; font-family: var(--deva); font-size: 1.45rem; line-height: 1; }
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-text b { font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.brand-text small { font-size: .78rem; color: var(--muted); font-weight: 500; }
.search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid #cfcfcf; border-radius: 8px; padding: 0 14px; width: 100%; max-width: 720px; justify-self: center; }
.search:focus-within { border-color: var(--kumkum); box-shadow: 0 0 0 3px var(--kumkum-soft); }
.search .icon { color: var(--kumkum); }
.search input { border: 0; background: none; outline: none; padding: 11px 0; width: 100%; min-width: 0; font-size: .95rem; }
.search input::placeholder { color: #8a8a8a; }
.pickup-pill { display: grid; background: var(--sunk); border-radius: 8px; padding: 6px 12px; text-decoration: none; line-height: 1.25; max-width: 220px; }
.pickup-pill b { color: var(--tulsi); font-size: .82rem; font-weight: 700; }
.pickup-pill span { font-size: .8rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pickup-pill:hover { background: #ececec; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-link { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 9px 12px; border-radius: 8px; white-space: nowrap; }
.header-link:hover { background: var(--sunk); }
.lang-btn { border: 1px solid #cfcfcf; background: var(--surface); border-radius: 8px; padding: 8px 12px; font-weight: 700; font-size: .92rem; cursor: pointer; white-space: nowrap; font-family: var(--body); }
.lang-btn:hover { border-color: var(--kumkum); color: var(--kumkum); }
/* Kannada letters are taller; give text a little more room */
html[lang="kn"] body { line-height: 1.6; }
html[lang="kn"] .card-name { min-height: 2.9em; line-height: 1.45; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 10px 16px; border-radius: 8px; background: var(--kumkum); color: #fff; position: relative; }
.cart-btn:hover { background: var(--kumkum-dark); }
.cart-btn b { background: #fff; color: var(--kumkum); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .8rem; padding: 0 6px; }

.nav-row { display: flex; align-items: center; gap: 16px; padding-block: 0 10px; }
.cat-menu { position: relative; flex: none; }
.cat-menu-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--kumkum); color: #fff; border: 0; border-radius: 6px; padding: 8px 12px 8px 14px; font-weight: 700; font-size: .92rem; cursor: pointer; }
.cat-menu-btn:hover { background: var(--kumkum-dark); }
.cat-menu-list { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 6px; width: 280px; max-height: 70vh; overflow: auto; display: grid; }
.cat-menu-list a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.cat-menu-list a:hover { background: var(--sunk); }
.cat-menu-list .glyph { width: 34px; height: 34px; border-radius: 8px; background: var(--marigold-soft); color: var(--kumkum); display: grid; place-items: center; font-family: var(--deva); font-size: 1rem; flex: none; }
.cat-menu-list small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }
.cat-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.cat-links::-webkit-scrollbar { display: none; }
.cat-links a { white-space: nowrap; text-decoration: none; font-size: .92rem; font-weight: 500; padding: 7px 12px; border-radius: 6px; color: #333; }
.cat-links a:hover { background: var(--sunk); color: var(--ink); }
.cat-links a.on { background: var(--kumkum-soft); color: var(--kumkum); font-weight: 700; }

@media (max-width: 1100px) {
  .pickup-pill { display: none; }
  .header-row { grid-template-columns: auto minmax(0, 1fr) auto; }
}
@media (max-width: 760px) {
  .site-header { border-top-width: 2px; }
  .header-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding-block: 10px 8px; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.2rem; border-radius: 8px; }
  .brand-text b { font-size: 1.02rem; white-space: normal; }
  .brand-text small { display: none; }
  .header-actions { gap: 6px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .search input { padding: 10px 0; }
  .cart-btn { padding: 9px 12px; }
  .nav-row { gap: 10px; padding-bottom: 8px; }
  .cat-menu-btn { padding: 7px 10px; font-size: .85rem; }
  .cat-menu-btn .label-long { display: none; }
  .cat-links a { font-size: .86rem; padding: 6px 10px; }
}

/* ---------- layout ---------- */
main { flex: 1; padding-block: 20px 48px; outline: none; }
.stack { display: grid; gap: 28px; }
.section { display: grid; gap: 14px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.section-head a { color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 2px; }
.section-head a:hover { color: var(--kumkum); }
.shelf { background: var(--shelf); border-radius: 12px; padding: 20px; }
@media (max-width: 520px) { .shelf { padding: 14px 10px; margin-inline: -6px; border-radius: 10px; } }
.eyebrow { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--kumkum); }
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.crumbs a:hover { color: var(--kumkum); text-decoration: underline; }

/* ---------- buttons & form ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; padding: 11px 18px; font-weight: 700; cursor: pointer; text-decoration: none; background: var(--kumkum); color: #fff; transition: background .15s; line-height: 1.2; }
.btn:hover { background: var(--kumkum-dark); }
.btn:disabled, .btn[aria-disabled="true"] { background: #e6e6e6; color: #8a8a8a; cursor: not-allowed; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: #cfcfcf; }
.btn.ghost:hover { border-color: var(--ink); }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #333; }
.btn.green { background: var(--tulsi); }
.btn.block { width: 100%; }
.btn.lg { padding: 14px 20px; font-size: 1.02rem; }
.btn.sm { padding: 7px 12px; font-size: .9rem; border-radius: 6px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--kumkum); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
.input { width: 100%; border: 1px solid #cfcfcf; background: var(--surface); border-radius: 8px; padding: 11px 14px; outline: none; }
.input:focus { border-color: var(--kumkum); box-shadow: 0 0 0 3px var(--kumkum-soft); }
textarea.input { resize: vertical; min-height: 80px; }
.error-text { color: var(--kumkum); font-size: .9rem; font-weight: 600; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; width: fit-content; white-space: nowrap; }
.chip.in { background: var(--tulsi-soft); color: var(--tulsi); }
.chip.low { background: var(--amber-soft); color: var(--amber); }
.chip.out { background: var(--kumkum-soft); color: var(--kumkum); }
.chip.plain { background: var(--sunk); color: var(--muted); }

/* ---------- home ---------- */
.banners { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; border-radius: 12px; scrollbar-width: none; }
.banners::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .banners.two { grid-auto-columns: calc(50% - 8px); } }
.banner { scroll-snap-align: start; position: relative; overflow: hidden; border-radius: 12px; background: #2a1d14; color: #fff; min-height: 210px; display: grid; align-content: end; gap: 8px; padding: 28px; text-decoration: none; isolation: isolate; }
.banner:nth-child(2n) { background: var(--kumkum); }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22;
  background: radial-gradient(circle at 88% 22%, var(--marigold) 0 64px, transparent 65px),
              radial-gradient(circle at 88% 22%, transparent 0 86px, rgba(255,255,255,.4) 87px 88px, transparent 89px); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.05)); }
.banner .eyebrow { color: #ffc46b; }
.banner h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 800; max-width: 20ch; }
.banner p { opacity: .92; max-width: 46ch; font-size: .98rem; }
.banner .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 6px; background: #fff; color: var(--ink); width: fit-content; padding: 8px 14px; border-radius: 6px; font-size: .92rem; }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #d0d0d0; padding: 0; cursor: pointer; }
.dots button.on { background: var(--kumkum); width: 22px; border-radius: 4px; }

.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.how > div { display: flex; gap: 12px; align-items: center; background: var(--sunk); border-radius: 10px; padding: 14px 16px; }
.how > div > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 8px; background: var(--surface); color: var(--kumkum); }
.how span { display: grid; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.how strong { color: var(--ink); font-weight: 700; font-size: .98rem; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; gap: 8px; } .how > div { padding: 10px 12px; } }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; }
.cat { display: grid; text-decoration: none; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.cat:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cat .glyph { aspect-ratio: 16 / 10; display: grid; place-items: center; font-family: var(--deva); font-size: 2rem; color: var(--kumkum); background: var(--marigold-soft); }
.cat:nth-child(3n+2) .glyph { background: #fdeeee; }
.cat:nth-child(3n) .glyph { background: #eef4e6; color: var(--tulsi); }
.cat-text { display: grid; padding: 10px 12px; gap: 1px; }
.cat strong { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.cat-text span { font-size: .8rem; color: var(--muted); }
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat .glyph { font-size: 1.5rem; }
  .cat-text { padding: 8px; }
  .cat strong { font-size: .82rem; }
  .cat-text span { font-size: .72rem; }
}

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; padding: 8px; transition: box-shadow .15s; }
.card:hover { box-shadow: var(--shadow-lg); }
.card-img { display: block; text-decoration: none; aspect-ratio: 1 / 1; background: var(--sunk); border: 1px solid #ececec; border-radius: 8px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .badge { position: absolute; top: 0; left: 0; background: var(--tulsi); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 0 0 8px 0; letter-spacing: .02em; }
.card.soldout .card-img > :not(.badge) { opacity: .5; filter: grayscale(.6); }
.card-body { padding: 10px 4px 2px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .78rem; color: var(--muted); line-height: 1.2; }
.card-name { font-weight: 500; font-size: .98rem; color: var(--ink); text-decoration: none; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-name:hover { color: var(--kumkum); }
.card-size { width: 100%; border: 1px solid #cfcfcf; border-radius: 6px; background: var(--surface); padding: 6px 8px; font-size: .88rem; color: #333; cursor: pointer; }
.card-size.static { cursor: default; background: var(--surface); }
.card-size:focus { outline: none; border-color: var(--kumkum); }
.card-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price { font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; font-size: .78rem; color: var(--muted); }
.mrp { text-decoration: line-through; color: #8a8a8a; font-weight: 400; font-size: .82rem; }
.card-stock { min-height: 22px; }
.add-btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 1px solid var(--kumkum); color: var(--kumkum); background: var(--surface); border-radius: 6px; padding: 8px 12px; font-weight: 700; cursor: pointer; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.add-btn:hover:not(:disabled) { background: var(--kumkum); color: #fff; }
.add-btn.added { background: var(--kumkum-soft); }
.add-btn .icon { width: 1em; height: 1em; }
.add-btn:disabled { border-color: #dcdcdc; color: #8a8a8a; background: var(--sunk); cursor: not-allowed; }
@media (max-width: 520px) {
  .card { padding: 6px; }
  .card-body { padding: 8px 2px 2px; gap: 5px; }
  .card-name { font-size: .9rem; }
  .card-size { font-size: .82rem; padding: 5px 6px; }
  .price { font-size: .98rem; }
  .add-btn { padding: 7px 8px; font-size: .9rem; }
}

/* The letter tile stands in when a product has no photo yet */
.tile { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--deva); font-weight: 600; color: var(--kumkum); font-size: clamp(2.2rem, 6vw, 3.2rem);
  background: radial-gradient(circle at 50% 50%, #fff 0 30%, transparent 31%), linear-gradient(160deg, var(--marigold-soft), #fbe3e3); }
.tile .icon { width: 40%; height: 40%; }

/* ---------- listing ---------- */
.list-head { display: grid; gap: 12px; }
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle-chip { border: 1px solid #cfcfcf; background: var(--surface); border-radius: 6px; padding: 6px 14px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.toggle-chip[aria-pressed="true"] { background: var(--kumkum-soft); border-color: var(--kumkum); color: var(--kumkum); }
.select { border: 1px solid #cfcfcf; background: var(--surface); border-radius: 6px; padding: 7px 12px; font-size: .9rem; font-weight: 500; }
.cat-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip a { white-space: nowrap; text-decoration: none; border: 1px solid #cfcfcf; background: var(--surface); padding: 6px 14px; border-radius: 6px; font-size: .9rem; font-weight: 600; }
.cat-strip a.on { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
.empty { text-align: center; padding: 48px 16px; display: grid; gap: 12px; justify-items: center; background: var(--shelf); border-radius: 12px; }
.empty .tile { width: 84px; height: 84px; border-radius: 50%; font-size: 2rem; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 20px; } }
.gallery { display: grid; gap: 10px; position: sticky; top: 140px; }
@media (max-width: 860px) { .gallery { position: static; } }
.gallery-main { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--sunk); border: 1px solid var(--line); max-height: 560px; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-main .tile { font-size: clamp(4rem, 12vw, 7rem); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { width: 68px; height: 68px; flex: none; border-radius: 8px; overflow: hidden; padding: 0; border: 2px solid var(--line); cursor: pointer; background: var(--sunk); }
.thumbs button.on { border-color: var(--kumkum); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: grid; gap: 18px; }
.pdp-info h1 { font-weight: 700; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pdp-price .price { font-size: 1.7rem; }
.save { background: var(--tulsi); color: #fff; font-weight: 700; font-size: .8rem; padding: 3px 8px; border-radius: 4px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { border: 1.5px solid #cfcfcf; background: var(--surface); border-radius: 8px; padding: 8px 14px; cursor: pointer; display: grid; text-align: left; line-height: 1.3; min-width: 96px; }
.variant b { font-weight: 700; }
.variant span { font-size: .85rem; color: var(--muted); }
.variant[aria-pressed="true"] { border-color: var(--kumkum); background: var(--kumkum-soft); }
.variant:disabled { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.buy-row .btn { flex: 1 1 180px; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid #cfcfcf; border-radius: 8px; background: var(--surface); overflow: hidden; }
.qty button { width: 40px; align-self: stretch; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--kumkum); }
.qty button:hover:not(:disabled) { background: var(--kumkum-soft); }
.qty button:disabled { color: #c8c8c8; cursor: not-allowed; }
.qty output { min-width: 36px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty.sm button { width: 32px; height: 32px; }
.qty.sm output { min-width: 28px; }
.pickup-box { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 14px 16px; background: var(--sunk); border-radius: 10px; }
.pickup-box .icon { color: var(--tulsi); width: 22px; height: 22px; grid-row: span 2; margin-top: 2px; }
.pickup-box b { font-weight: 700; }
.pickup-box span { color: var(--muted); font-size: .92rem; }
.desc { color: #333; max-width: 62ch; white-space: pre-line; }

/* ---------- cart & checkout ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr; gap: 20px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: grid; gap: 16px; }
.summary { position: sticky; top: 140px; background: var(--shelf); border-color: transparent; }
@media (max-width: 920px) { .summary { position: static; } }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-img { width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: var(--sunk); border: 1px solid #ececec; display: block; text-decoration: none; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-img .tile { font-size: 1.8rem; }
.line-info { display: grid; gap: 4px; min-width: 0; }
.line-info a { font-weight: 600; text-decoration: none; }
.line-info a:hover { color: var(--kumkum); }
.line-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.line-total { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; display: grid; gap: 4px; justify-items: end; }
.remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; display: inline-flex; border-radius: 6px; }
.remove:hover { color: var(--kumkum); background: var(--kumkum-soft); }
.warn { font-size: .85rem; font-weight: 600; color: var(--amber); }
@media (max-width: 520px) {
  .line { grid-template-columns: 64px minmax(0, 1fr); }
  .line-img { width: 64px; height: 64px; }
  .line-total { grid-column: 2; justify-items: start; text-align: left; grid-auto-flow: column; justify-content: space-between; align-items: center; }
}
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.sum-row.total { font-size: 1.2rem; font-weight: 800; border-top: 1px solid #dcdcdc; padding-top: 12px; }
.pay-options { display: grid; gap: 10px; }
.pay-opt { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start; border: 1.5px solid #cfcfcf; border-radius: 10px; padding: 14px 16px; cursor: pointer; background: var(--surface); }
.pay-opt input { margin: 4px 0 0; accent-color: var(--kumkum); width: 18px; height: 18px; grid-row: span 2; }
.pay-opt b { font-weight: 700; }
.pay-opt span { color: var(--muted); font-size: .9rem; }
.pay-opt:has(input:checked) { border-color: var(--kumkum); background: var(--kumkum-soft); }
.pay-opt.disabled { opacity: .55; cursor: not-allowed; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.mini-lines { display: grid; gap: 8px; max-height: 280px; overflow: auto; }
.mini-line { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.mini-line span:first-child { min-width: 0; }

/* ---------- order page ---------- */
.order-hero { display: grid; gap: 6px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding: 4px 12px; border-radius: 6px; font-size: .9rem; width: fit-content; }
.status-pill.wait { background: var(--amber-soft); color: var(--amber); }
.status-pill.ok { background: var(--tulsi-soft); color: var(--tulsi); }
.status-pill.bad { background: var(--kumkum-soft); color: var(--kumkum); }
.pay-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 680px) { .pay-card { grid-template-columns: 1fr; justify-items: stretch; } }
.qr-wrap { display: grid; gap: 10px; justify-items: center; background: var(--sunk); border-radius: 12px; padding: 16px; }
.qr { width: 208px; max-width: 100%; aspect-ratio: 1 / 1; background: #fff; border-radius: 10px; padding: 8px; box-shadow: var(--shadow); }
.qr svg { width: 100%; height: 100%; display: block; }
.amount { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.upi-id { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px 4px 10px; max-width: 100%; }
.upi-id span { overflow: hidden; text-overflow: ellipsis; }
.upi-id button { border: 0; background: var(--sunk); border-radius: 6px; padding: 4px; cursor: pointer; display: inline-flex; }
.timer { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--amber); background: var(--amber-soft); padding: 4px 10px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.steps-pay { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.utr-input { font-family: var(--mono); font-size: 1.15rem; letter-spacing: .12em; }
details.help { background: var(--sunk); border-radius: 8px; padding: 10px 14px; }
details.help summary { cursor: pointer; font-weight: 600; }
details.help ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; font-size: .92rem; }
.file-pick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.file-pick img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 24px 1fr; gap: 12px; position: relative; padding-bottom: 18px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #d0d0d0; background: var(--surface); display: grid; place-items: center; color: #fff; }
.tl i .icon { width: 14px; height: 14px; }
.tl.done i { background: var(--tulsi); border-color: var(--tulsi); }
.tl.done::before { background: var(--tulsi); }
.tl.now i { border-color: var(--marigold); background: var(--marigold-soft); box-shadow: 0 0 0 4px var(--marigold-soft); }
.tl b { font-weight: 700; }
.tl span { display: block; color: var(--muted); font-size: .88rem; }
.order-code { font-family: var(--mono); font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 500; letter-spacing: .04em; color: var(--kumkum); }
.big-state { text-align: center; display: grid; gap: 10px; justify-items: center; padding: 8px 0; }
.big-state .ring { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; }
.big-state .ring .icon { width: 36px; height: 36px; }
.ring.ok { background: var(--tulsi-soft); color: var(--tulsi); }
.ring.wait { background: var(--amber-soft); color: var(--amber); }
.ring.bad { background: var(--kumkum-soft); color: var(--kumkum); }

/* ---------- visit page ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.info { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.info .icon { color: var(--kumkum); width: 22px; height: 22px; grid-row: span 2; margin-top: 2px; }
.prose { display: grid; gap: 10px; max-width: 68ch; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

/* ---------- footer ---------- */
.site-footer { background: #f2f2f2; color: #333; margin-top: auto; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer-grid h3 { color: var(--ink); font-size: 1.2rem; font-weight: 800; }
.footer-grid h4 { margin: 0 0 10px; font-size: .95rem; font-weight: 700; color: var(--ink); }
.footer-grid a { color: #333; text-decoration: none; }
.footer-grid a:hover { color: var(--kumkum); text-decoration: underline; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer-grid p { color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- floating cart bar (phones) ---------- */
.cart-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none;
  background: var(--kumkum); color: #fff; font-weight: 700;
  padding: 14px max(16px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
.cart-bar span:last-child { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 760px) { .cart-bar:not([hidden]) { display: flex; } body.has-cart-bar .site-footer { padding-bottom: 60px; } }

/* ---------- skeleton & toast ---------- */
.skel { background: linear-gradient(90deg, #f0f0f0, #e6e6e6, #f0f0f0); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 600; z-index: 60; max-width: min(92vw, 460px); text-align: center; transition: opacity .2s, transform .2s; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-error { background: var(--kumkum); }
body.has-cart-bar .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.show-sm { display: none; }
@media (max-width: 760px) {
  .header-link { padding: 8px 10px; font-size: .9rem; }
  .lang-btn { padding: 7px 9px; font-size: .85rem; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}
