/* ═══════════════════════════════════════════════════════════════════
   SRIDHA & SONS storefront
   Brand: #c82254 (logo magenta), used for the header, primary actions and prices only.
   Neutrals: one cool zinc family. Corners: 8px controls, 12px cards, pills only for filter chips.
   Type: Geist (UI), Noto Sans Tamil (Tamil), the swan wordmark for the brand.
   ═══════════════════════════════════════════════════════════════════ */
/* Geist (SIL OFL), self-hosted. latin-ext carries the rupee sign. */
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/fonts/geist-latin-ext-wght.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/fonts/geist-latin-wght.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Cinzel (logo wordmark) and Noto Sans Tamil, self-hosted: no visitor data goes to Google. SIL OFL 1.1, see /fonts/OFL-*.txt */
@font-face { font-family: 'Cinzel'; font-style: normal; font-display: swap; font-weight: 600; src: url('/fonts/cinzel-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-display: swap; font-weight: 700; src: url('/fonts/cinzel-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Noto Sans Tamil'; font-style: normal; font-display: swap; font-weight: 500; src: url('/fonts/noto-sans-tamil-tamil-500-normal.woff2') format('woff2'); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Tamil'; font-style: normal; font-display: swap; font-weight: 700; src: url('/fonts/noto-sans-tamil-tamil-700-normal.woff2') format('woff2'); unicode-range: U+0964-0965, U+0B82-0BFA, U+200C-200D, U+25CC; }

:root {
  --brand: #c82254;
  --brand-deep: #9c1640;
  --brand-ink: #6d0f2c;
  --tint: #c82254;
  --tint-press: #ab1b47;
  --tint-fill: #c82254; --tint-fill-press: #ab1b47; /* backgrounds under white text */
  --tint-soft: #fcedf1;
  --tint-soft-2: #f7d6df;
  --wine: #6d0f2c;
  --wine-2: #4d0a1f;
  --gold: #a8741f;
  --gold-soft: #fbf1dd;
  --star: #e8930c;
  --green: #17803a;
  --green-soft: #e5f4ea;
  --red: #c8102e;
  --orange: #b45309;

  --bg: #f1f2f4;
  --surface: #ffffff;
  --surface-2: #f8f9fa;
  --well: #f4f4f5;
  --label: #18181b;
  --label-2: #46464f;
  --label-3: #63636c;
  --label-4: #a1a1aa;
  --fill: rgba(24, 24, 27, .07);
  --fill-2: rgba(24, 24, 27, .04);
  --sep: rgba(24, 24, 27, .09);
  --sep-strong: rgba(24, 24, 27, .16);

  --r-xs: 6px; --r-sm: 8px; --r: 12px; --r-lg: 14px; --r-xl: 18px;
  --sh-1: 0 1px 2px rgba(24, 24, 27, .05);
  --sh-2: 0 1px 2px rgba(24, 24, 27, .05), 0 8px 24px -6px rgba(24, 24, 27, .12);
  --sh-3: 0 24px 60px -12px rgba(24, 24, 27, .28);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --spring: cubic-bezier(.34, 1.3, .64, 1);

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: var(--font);
  --font-brand: 'Cinzel', 'Times New Roman', serif;
  --font-tamil: 'Noto Sans Tamil', sans-serif;
  --container: 1440px;
  --head-total: 112px;

  /* aliases used by admin + account templates */
  --font-body: var(--font);
  --magenta: var(--tint); --magenta-600: var(--tint-press); --magenta-700: var(--tint-press);
  --rose-50: var(--tint-soft); --rose-100: var(--tint-soft-2);
  --ink: var(--label); --ink-2: var(--label-2); --muted: var(--label-3);
  --line: var(--sep); --line-2: var(--sep-strong);
  --cream: var(--bg); --paper: var(--surface); --sand: var(--well);
  --leaf: var(--green); --leaf-50: var(--green-soft); --gold-50: var(--gold-soft);
  --ok: var(--green); --warn: var(--orange); --danger: var(--red);
  --radius: var(--r); --radius-lg: var(--r-lg); --radius-sm: var(--r-xs);
  --shadow-sm: var(--sh-1); --shadow: var(--sh-2); --shadow-lg: var(--sh-3);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-total) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--label);
  font-family: var(--font); font-size: 15px; line-height: 1.5; letter-spacing: -.006em; font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.022em; margin: 0; color: var(--label); text-wrap: balance; }
p { margin: 0; }
code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .88em; background: var(--fill-2); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--tint); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--tint-soft-2); }
[hidden] { display: none !important; }

/* ── Utilities ── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.muted { color: var(--label-3); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.tamil { font-family: var(--font-tamil); }
.tamil-lg { font-family: var(--font-tamil); font-size: 22px; font-weight: 700; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--tint); }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.stack-1 { display: grid; gap: 6px; } .stack-2 { display: grid; gap: 10px; } .stack-3 { display: grid; gap: 16px; } .stack-4 { display: grid; gap: 24px; }
.nowrap { white-space: nowrap; }
.strike { text-decoration: line-through; color: var(--label-3); }
.price-lg { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 200; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: var(--r-sm); background: var(--surface); color: var(--label); font-weight: 600; box-shadow: var(--sh-2); }
.link { color: var(--tint); font-weight: 600; }
.link:hover { text-decoration: underline; }
@media (max-width: 640px) { .hide-sm { display: none !important; } }
@media (max-width: 900px) { .hide-md { display: none !important; } }
@media (min-width: 901px) { .show-md { display: none !important; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; list-style: none;
  transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn::-webkit-details-marker { display: none; }
.btn:active { transform: scale(.96); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .38; pointer-events: none; }
.btn--primary { background: var(--tint-fill); color: #fff; }
.btn--primary:hover { background: var(--tint-fill-press); }
.btn--ghost { background: var(--fill); color: var(--label); }
.btn--ghost:hover { background: rgba(118, 118, 128, .2); }
.btn--tinted { background: var(--tint-soft); color: var(--tint); }
.btn--tinted:hover { background: var(--tint-soft-2); }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--wine-2); }
.btn--leaf { background: #187a35; color: #fff; } /* fixed shade: white text stays readable in dark mode too */
.btn--light { background: #fff; color: #1d1d1f; }
.btn--outline-light { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .26); }
.btn--danger { background: #fdecee; color: var(--red); }
.btn--sm { min-height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn--xs { min-height: 28px; padding: 0 10px; font-size: 12px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 0; background: transparent; color: var(--label-2); transition: background .2s, transform .2s var(--ease); }
.icon-btn:hover { background: var(--fill); color: var(--label); }
.icon-btn:active { transform: scale(.92); }
.icon-btn--fill { background: var(--fill); }
.icon-btn--muted { color: var(--label-3); }

/* ── Forms (iOS filled fields) ── */
.field { display: grid; gap: 6px; }
.field > span, .label { font-size: 13px; font-weight: 600; color: var(--label-2); }
.field small { color: var(--label-3); font-size: 12px; }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px;
  border: 1px solid transparent; background: var(--fill-2); color: var(--label);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.input::placeholder, .textarea::placeholder { color: var(--label-4); }
.input:hover, .select:hover, .textarea:hover { background: var(--fill); }
.input:focus, .select:focus, .textarea:focus { outline: none; background: var(--surface); border-color: var(--tint); box-shadow: 0 0 0 4px rgba(194, 30, 86, .12); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px; }
.check input { width: 20px; height: 20px; accent-color: var(--tint); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field-error { color: var(--red); font-size: 12.5px; font-weight: 600; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--red); background: var(--surface); }

/* ── Feedback & surfaces ── */
.alert { padding: 12px 16px; border-radius: 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert svg { flex-shrink: 0; margin-top: 1px; }
.alert--error { background: #fdecee; color: #9b1c2e; }
.alert--ok { background: var(--green-soft); color: #145c29; }
.alert--info { background: var(--gold-soft); color: #74500f; }
.flash { padding-top: 14px; }
.flash .alert { box-shadow: var(--sh-1); animation: rise .5s var(--ease) both; }
.panel { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.panel-pad { padding: 22px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--plain::before { display: none; }
.pill--ok { background: var(--green-soft); color: var(--green); }
.pill--warn { background: #fdf0d8; color: var(--orange); }
.pill--bad { background: #fdecee; color: var(--red); }
.pill--info { background: #e8effc; color: #2759c4; }
.pill--muted { background: var(--fill); color: var(--label-2); }
.pill--brand { background: var(--tint-soft); color: var(--tint); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--tint-soft); color: var(--tint); font-size: 13px; font-weight: 600; }
.empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 44px 16px; color: var(--label-3); }
.empty__icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-soft); color: var(--tint); }
.empty h3 { font-size: 20px; }
.badge-dot { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--tint-fill); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center; border: 2px solid #fff; line-height: 1; }

/* ── Logo ── */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--tint); }
.logo__mark { display: grid; place-items: center; flex-shrink: 0; }
.logo__mark svg { max-width: none; }
.logo__text { display: grid; line-height: 1; }
.logo__word { font-size: 19px; color: var(--tint); display: flex; }
.logo__word svg { height: 1em; width: auto; max-width: none; display: block; }
.logo__tag { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--label-3); margin-top: 5px; font-weight: 600; }
.logo--light, .logo--light .logo__word { color: #fff; }

/* ═════════ Header: brand masthead + category bar ═════════ */
.site-head { position: sticky; top: 0; z-index: 50; }
.masthead { background: var(--brand); color: #fff; }
.head { display: flex; align-items: center; gap: 14px; height: 68px; }
.head__menu { display: none; width: 40px; height: 40px; margin-left: -8px; border: 0; border-radius: var(--r-sm); background: transparent; color: #fff; place-items: center; }
.head__logo { flex-shrink: 0; display: flex; align-items: center; padding: 6px 8px; margin-left: -8px; border-radius: var(--r-sm); border: 1px solid transparent; }
.head__logo:hover, .eta:hover, .head-link:hover, .head-icon:hover, .cartbtn:hover { border-color: rgba(255, 255, 255, .55); }
.head__logo .logo__tag { color: rgba(255, 255, 255, .95); }
.head__logo .logo__mark svg { width: 56px; height: auto; }

.eta-pop { position: relative; flex-shrink: 0; }
.eta { display: grid; gap: 0; padding: 6px 8px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; list-style: none; line-height: 1.2; }
.eta::-webkit-details-marker { display: none; }
.eta__sub { font-size: 12px; color: rgba(255, 255, 255, .95); white-space: nowrap; }
.eta__title { display: flex; align-items: center; gap: 3px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.eta-pop__panel { position: absolute; top: calc(100% + 8px); left: 0; width: 330px; padding: 18px; background: var(--surface); color: var(--label); border-radius: var(--r); box-shadow: var(--sh-3); display: grid; gap: 10px; animation: pop .3s var(--ease) both; transform-origin: top left; z-index: 5; }
.eta-pop__panel b { font-size: 16px; }
.eta-pop__panel .row { gap: 8px; }

.search { position: relative; flex: 1; display: flex; align-items: stretch; height: 42px; min-width: 0; border-radius: var(--r-sm); background: #fff; overflow: visible; box-shadow: 0 0 0 0 transparent; transition: box-shadow .2s var(--ease); }
.search:focus-within { box-shadow: 0 0 0 3px rgba(255, 200, 120, .9); }
.search input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: 0; background: transparent; font-size: 15px; color: #18181b; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.search input::placeholder { color: #71717a; transition: opacity .3s; }
.search__go { flex-shrink: 0; width: 52px; border: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; background: #f4b740; color: #2a1606; display: grid; place-items: center; transition: background .2s; }
.search__go:hover { background: #eaa21c; }

.head__actions { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.head-link { display: grid; line-height: 1.2; padding: 6px 8px; border-radius: var(--r-sm); border: 1px solid transparent; color: #fff; }
.head-link small { font-size: 12px; color: rgba(255, 255, 255, .95); white-space: nowrap; }
.head-link b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.head-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; color: #fff; }
.head-icon .badge-dot { top: 2px; right: 0; }
.cartbtn { display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 8px; border-radius: var(--r-sm); border: 1px solid transparent; color: #fff; }
.cartbtn__ic { position: relative; display: grid; place-items: center; }
.cartbtn__ic em { position: absolute; top: -6px; left: 50%; transform: translateX(-35%); min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #f4b740; color: #2a1606; font-style: normal; font-size: 12px; font-weight: 800; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cartbtn--empty .cartbtn__ic em { background: rgba(255, 255, 255, .25); color: #fff; }
.cartbtn__meta { display: grid; line-height: 1.15; }
.cartbtn__meta small { font-size: 12px; color: rgba(255, 255, 255, .95); }
.cartbtn__meta b { font-size: 14px; font-variant-numeric: tabular-nums; }
.cartbtn.bump .cartbtn__ic { animation: bump .45s var(--spring); }
.head-search-m { padding-bottom: 10px; }

.navbar { background: var(--brand-deep); color: #fff; }
.navbar__track { display: flex; align-items: center; gap: 2px; height: 40px; overflow-x: auto; scrollbar-width: none; }
.navbar__track::-webkit-scrollbar { display: none; }
.navbar a, .navbar__all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid transparent; border-radius: var(--r-xs); background: transparent; color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
.navbar__all { font-weight: 700; margin-left: -10px; }
.navbar a:hover, .navbar__all:hover { border-color: rgba(255, 255, 255, .6); }
.navbar a.is-active { background: rgba(255, 255, 255, .16); font-weight: 600; }
.navbar a.is-spot { font-weight: 700; }
.navbar a.is-spot::before { content: '★'; color: #f4b740; }
.navbar__end { margin-left: auto; display: flex; gap: 2px; padding-left: 16px; }

/* Left menu drawer (All categories) */
.drawer--left { left: 0; right: auto; top: 0; bottom: 0; width: min(360px, 88vw); border-radius: 0; transform: translateX(-100%); }
.menu-drawer__head { display: flex; align-items: center; gap: 10px; padding: 16px 16px; background: var(--brand); color: #fff; font-weight: 700; font-size: 17px; }
.menu-drawer__head a { flex: 1; }
.menu-drawer__head .icon-btn { color: #fff; }
.menu-drawer__body { flex: 1; overflow-y: auto; padding: 8px 0 24px; background: var(--surface); overscroll-behavior: contain; }
.menu-drawer__body h2 { font-size: 16px; padding: 18px 20px 6px; }
.menu-drawer__body h2 + .menu-row { border-top: 0; }
.menu-row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 20px; border: 0; background: none; text-align: left; font-size: 14.5px; color: var(--label); }
.menu-row:hover, .menu-row.is-active { background: var(--fill-2); }
.menu-row b { display: block; font-weight: 500; }
.menu-row small { display: block; font-size: 12px; color: var(--label-3); }
.menu-row em { font-style: normal; font-size: 12px; color: var(--label-3); font-variant-numeric: tabular-nums; }
.menu-row .ico { color: var(--label-3); }

@media (max-width: 900px) {
  .head { height: 58px; gap: 4px; }
  .head__menu { display: grid; }
  .head__logo { margin-left: 0; padding: 4px; }
  .head__logo .logo__tag { display: none; }
  .head__logo .logo__mark svg { width: 38px; }
  .head__logo .logo__word { font-size: 14px; }
  .head-icon { width: 40px; height: 40px; }
  .cartbtn { height: 44px; padding: 0 6px; }
  .navbar__track { height: 40px; }
  .is-shop .navbar { display: none; }
}

/* ═════════ Tab bar & floating basket bar ═════════ */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: none;
  background: var(--glass); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 -1px 0 var(--sep); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
}
.tabbar a { display: grid; justify-items: center; gap: 2px; padding: 4px 0; font-size: 10.5px; font-weight: 600; color: var(--label-3); transition: color .2s; }
.tabbar a.is-active { color: var(--tint); }
.tabbar__ic { position: relative; }
@media (max-width: 900px) {
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}

.cartbar { position: fixed; left: 50%; bottom: 22px; z-index: 45; width: min(520px, calc(100% - 24px)); transform: translateX(-50%); animation: barIn .55s var(--spring) both; }
.cartbar__btn {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 9px 9px 18px; border: 0; border-radius: 20px; text-align: left; color: #fff;
  background: rgba(94, 11, 46, .9); backdrop-filter: saturate(160%) blur(22px); -webkit-backdrop-filter: saturate(160%) blur(22px);
  box-shadow: 0 18px 44px -12px rgba(61, 7, 32, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .25s var(--ease);
}
.cartbar__btn:active { transform: scale(.98); }
.cartbar__thumbs { display: flex; }
.cartbar__thumbs span { width: 38px; height: 38px; border-radius: 11px; overflow: hidden; background: #fff; border: 2px solid #fff; margin-left: -14px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.cartbar__thumbs span:first-child { margin-left: 0; }
.cartbar__thumbs svg, .cartbar__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cartbar__text { flex: 1; display: grid; line-height: 1.2; min-width: 0; }
.cartbar__text b { font-size: 15px; }
.cartbar__text small { font-size: 12.5px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cartbar__cta { display: flex; align-items: center; gap: 2px; padding: 11px 12px 11px 16px; border-radius: 13px; background: #fff; color: var(--wine); font-weight: 700; font-size: 14px; white-space: nowrap; }
@media (max-width: 900px) { .cartbar { bottom: calc(70px + env(safe-area-inset-bottom)); } }
@media (min-width: 901px) { .cartbar { left: auto; right: 24px; transform: none; width: 400px; animation-name: barInRight; } }

/* ═════════ Sheets (basket, pack sizes) ═════════ */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .32); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 90; top: 12px; right: 12px; bottom: 12px; width: min(430px, calc(100vw - 24px));
  display: flex; flex-direction: column; overflow: hidden; background: var(--bg); border-radius: 26px; box-shadow: var(--sh-3);
  transform: translateX(calc(100% + 24px)); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.drawer--center { top: 50%; left: 50%; right: auto; bottom: auto; width: min(480px, calc(100vw - 24px)); max-height: min(640px, 86vh); transform: translate(-50%, -46%) scale(.96); opacity: 0; transition: transform .35s var(--ease), opacity .25s, visibility 0s .35s; }
.drawer--center.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; transition: transform .45s var(--spring), opacity .2s; }
#cart-drawer-inner, #options-sheet-inner { display: contents; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 12px; background: var(--bg); }
.drawer__head h2 { font-size: 24px; letter-spacing: -.03em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 14px 16px; display: grid; gap: 12px; align-content: start; overscroll-behavior: contain; }
.drawer__foot { padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); background: rgba(245, 245, 247, .9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 -1px 0 var(--sep); }
@media (max-width: 900px) {
  .drawer, .drawer--center { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 90vh; border-radius: 26px 26px 0 0; transform: translateY(100%); opacity: 1; }
  .drawer.is-open, .drawer--center.is-open { transform: none; }
  .drawer::before { content: ''; position: absolute; top: 7px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 9px; background: var(--label-4); z-index: 2; }
  .drawer__head { padding-top: 22px; }
}
.sheet-card { background: var(--surface); border-radius: var(--r-lg); padding: 14px 16px; border: 1px solid var(--sep); }
.eta-card { display: flex; align-items: center; gap: 12px; }
.eta-card__ic { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.eta-card b { display: block; font-size: 15px; }
.eta-card small { color: var(--label-3); font-size: 12.5px; }
.meter p { font-size: 13px; color: var(--label-2); display: flex; gap: 6px; align-items: center; }
.meter p b { color: var(--label); }
.meter__bar { height: 6px; margin-top: 9px; border-radius: 9px; background: var(--fill); overflow: hidden; }
.meter__bar span { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #36b25c, var(--green)); transition: width .6s var(--ease); }
.meter--done p { color: var(--green); font-weight: 600; }
.meter--done p.small { color: var(--label-3); font-weight: 400; }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.lines li + li { border-top: 1px solid var(--sep); }
.lines__img { width: 58px; height: 58px; border-radius: 12px; overflow: hidden; background: var(--well); }
.lines__img svg, .lines__img img { width: 100%; height: 100%; object-fit: cover; }
.lines__info { min-width: 0; display: grid; gap: 2px; }
.lines__name { font-size: 14px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lines__meta { font-size: 12.5px; color: var(--label-3); }
.lines__end { display: grid; justify-items: end; gap: 6px; }
.lines__end b { font-size: 14px; font-variant-numeric: tabular-nums; }
.bill { background: var(--surface); border-radius: var(--r-lg); padding: 16px 18px; border: 1px solid var(--sep); }
.bill h3 { font-size: 16px; font-weight: 650; margin-bottom: 6px; letter-spacing: -.015em; }
.bill__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0; font-size: 14px; color: var(--label-2); }
.bill__row > span:first-child { display: flex; align-items: center; gap: 8px; }
.bill__row b { color: var(--label); font-weight: 600; font-variant-numeric: tabular-nums; }
.bill__note { margin: 0 0 6px; font-size: 12px; line-height: 1.4; }
.bill__row s { color: var(--label-3); font-weight: 400; margin-right: 4px; }
.bill__row--save, .bill__row--save b { color: var(--green); }
.bill__row--muted { font-size: 12.5px; color: var(--label-3); }
.free { color: var(--green); font-weight: 700; }
.bill__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--sep); font-size: 17px; font-weight: 700; }
.bill__total b { font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.savings { margin-top: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.paybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 8px 8px 18px; border-radius: var(--r); background: var(--tint-fill); color: #fff; box-shadow: none; transition: transform .25s var(--ease), background .2s; }
.paybar:hover { background: var(--tint-fill-press); }
.paybar:active { transform: scale(.985); }
.paybar__total { display: grid; line-height: 1.1; }
.paybar__total b { font-size: 18px; font-variant-numeric: tabular-nums; }
.paybar__total small { font-size: 11px; opacity: .8; letter-spacing: .06em; font-weight: 600; }
.paybar__cta { display: flex; align-items: center; gap: 4px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .16); font-weight: 700; font-size: 15px; }
.paybar[aria-disabled='true'] { background: var(--label-4); box-shadow: none; pointer-events: none; }
.coupon { display: flex; gap: 8px; }
.coupon .input { height: 42px; text-transform: uppercase; font-weight: 600; letter-spacing: .04em; }
.coupon .btn { min-height: 42px; }
.coupon-on { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--green-soft); color: var(--green); font-size: 14px; }
.coupon-on b { color: #145c29; }
.coupon-on button { border: 0; background: none; color: var(--red); font-weight: 600; font-size: 13px; }
.opts { list-style: none; margin: 0; padding: 4px 14px; background: var(--surface); border-radius: 18px; }
.opt { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 12px 0; }
.opt + .opt { border-top: 1px solid var(--sep); }
.opt b { display: block; font-size: 15px; }
.opt small { font-size: 12.5px; color: var(--label-3); }
.opt__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.thumb-sm { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--well); }
.thumb-sm svg, .thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.sheet-loading { display: grid; place-items: center; min-height: 220px; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--fill); border-top-color: var(--tint); animation: spin .8s linear infinite; }

.toast { position: fixed; left: 50%; top: calc(var(--head-total) + 12px); z-index: 100; transform: translate(-50%, -12px) scale(.96); padding: 11px 18px; border-radius: 999px; background: rgba(29, 29, 31, .88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .35s var(--spring); white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* ═════════ ADD / stepper controls ═════════ */
.cc, .pcc { position: relative; display: inline-flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.cc form { margin: 0; }
.add {
  min-width: 74px; height: 38px; padding: 0 14px; gap: 5px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: var(--brand); color: #fff;
  font-weight: 600; font-size: 14px;
  transition: transform .2s var(--ease), background .2s;
}
.add:hover { background: var(--tint-fill-press); }
.add:active { transform: scale(.97); }
a.add:not(.add--filled) { background: var(--surface); color: var(--label); box-shadow: inset 0 0 0 1px var(--sep-strong); }
a.add:not(.add--filled):hover { box-shadow: inset 0 0 0 1px var(--label-3); background: var(--surface-2); }
.add--filled { background: var(--brand); color: #fff; }
.add--out { background: var(--fill-2); color: var(--label-3); font-weight: 500; cursor: default; font-size: 13px; }
.add--out:hover { background: var(--fill-2); }
.cc__cap { display: none; }
.stepper {
  display: inline-flex; align-items: center; height: 38px; min-width: 96px; border-radius: var(--r-sm);
  background: var(--brand); color: #fff;
  animation: pop .3s var(--ease);
}
.stepper button { width: 36px; height: 100%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; border-radius: var(--r-sm); transition: background .15s; }
.stepper button:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper span { flex: 1; text-align: center; font-weight: 650; font-size: 15px; font-variant-numeric: tabular-nums; }
.pc__foot .pcc, .pc__foot .cc, .pc__foot form { display: flex; width: 100%; }
.is-busy { opacity: .6; pointer-events: none; }
.buy .stepper button { width: 48px; }

/* ═════════ Product card ═════════ */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 12px; overflow-x: auto; padding: 2px 20px 16px; margin-inline: -20px; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 640px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rail { grid-auto-columns: 46%; gap: 8px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
}
.pc { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--r); background: var(--surface); border: 1px solid var(--sep); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.pc:hover { border-color: var(--sep-strong); box-shadow: var(--sh-2); }
.pc__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--well); }
.pc__media svg, .pc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pc:hover .pc__media img { transform: scale(1.04); }
.pc__flag { align-self: flex-start; padding: 2px 7px; border-radius: var(--r-xs); background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 600; }
.pc__flag--out { background: var(--label); color: var(--surface); }
.pc__tag { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 8px; border-radius: var(--r-xs); font-size: 11.5px; font-weight: 600; background: var(--surface); color: var(--label); box-shadow: var(--sh-1); }
.pc__tag--best { background: var(--brand); color: #fff; }
.pc__tag--out { background: var(--label); color: var(--surface); }
.pc__wishform { position: absolute; top: 8px; right: 8px; z-index: 2; margin: 0; }
.pc__wish { width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--surface); color: var(--label-2); box-shadow: var(--sh-1); transition: transform .3s var(--spring), color .2s; }
.pc__wish:hover { color: var(--tint); }
.pc__wish:active { transform: scale(.88); }
.pc__wish.is-on { color: var(--tint); }
.pc__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 10px 12px 12px; }
.pc__name { font-size: 14.5px; font-weight: 500; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--label); }
.pc__name:hover { color: var(--tint); text-decoration: underline; text-underline-offset: 2px; }
.pc__size { font-size: 12.5px; color: var(--label-3); }
.pc__size em { font-style: normal; }
.pc__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 7px; margin-top: 2px; }
.pc__price b { font-size: 19px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pc__price s { font-size: 12.5px; color: var(--label-3); }
.pc__price small { flex-basis: 100%; font-size: 12px; color: var(--label-3); font-variant-numeric: tabular-nums; }
.pc__foot { margin-top: auto; padding-top: 8px; }
.pc__foot .cc, .pc__foot .add, .pc__foot .stepper { width: 100%; }
@media (max-width: 640px) {
  .pc__body { padding: 8px 9px 10px; }
  .pc__name { font-size: 13.5px; }
  .pc__price b { font-size: 17px; }
}

/* Shop sidebar: department list */
.catrail { position: sticky; top: calc(var(--head-total) + 12px); max-height: calc(100vh - var(--head-total) - 24px); overflow-y: auto; padding: 14px 0; border-radius: var(--r); background: var(--surface); border: 1px solid var(--sep); scrollbar-width: thin; }
.catrail::before { content: 'Department'; display: block; padding: 0 16px 8px; font-size: 15px; font-weight: 650; color: var(--label); }
.catrail a { display: flex; align-items: baseline; gap: 10px; padding: 6px 16px; border-left: 3px solid transparent; font-size: 14px; color: var(--label-2); line-height: 1.3; }
.catrail a:hover { color: var(--tint); background: var(--fill-2); }
.catrail a.is-active { border-left-color: var(--brand); color: var(--label); font-weight: 650; background: var(--fill-2); }
.catrail a.is-spot span:first-child::before { content: '★ '; color: var(--star); }
.catrail__n { margin-left: auto; font-size: 12px; color: var(--label-3); font-variant-numeric: tabular-nums; }

/* ═════════ Home: hero, overlapping cards, promise band ═════════ */
.hero { background: linear-gradient(180deg, var(--tint-soft) 0%, var(--tint-soft) 62%, var(--bg) 100%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 44px; }
.hero__copy { display: grid; gap: 18px; max-width: 34rem; }
.hero__copy h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 650; line-height: 1.06; letter-spacing: -.035em; color: var(--brand-ink); }
.hero__copy p { font-size: 17px; line-height: 1.55; color: var(--label-2); max-width: 46ch; }
.hero__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.hero__cta .btn--lg { border-radius: var(--r-sm); height: 50px; min-height: 0; font-size: 16px; }
.hero__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-ink); }
.hero__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero__photos { display: grid; gap: 12px; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; height: 400px; }
.hero__photos--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.hero__photos--2 { grid-template-rows: 1fr; }
.hero__photo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-2); }
.hero__photos--3 .hero__photo:first-child { grid-row: span 2; }
.hero__photo img, .hero__photo svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero__photo:hover img { transform: scale(1.04); }

.quads { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.quad { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--sep); box-shadow: var(--sh-1); }
.quad h2 { font-size: 19px; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.quad__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.quad__item { display: grid; gap: 5px; min-width: 0; }
.quad__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); background: var(--well); }
.quad__img img, .quad__img svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.quad__item:hover img { transform: scale(1.05); }
.quad__name { font-size: 12.5px; line-height: 1.3; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quad__item:hover .quad__name { color: var(--tint); }
.quad__more { margin-top: auto; font-size: 14px; font-weight: 500; color: var(--tint); }
.quad__more:hover { text-decoration: underline; text-underline-offset: 2px; }
.quad--account p { font-size: 14px; line-height: 1.5; color: var(--label-2); }
.quad--account .btn { border-radius: var(--r-sm); min-height: 42px; }
.quad__note { font-size: 12.5px !important; color: var(--label-3) !important; }
.quad__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quad__links a { display: grid; justify-items: start; gap: 8px; padding: 14px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--sep); font-size: 14px; font-weight: 500; }
.quad__links a .ico { color: var(--tint); }
.quad__links a:hover { border-color: var(--sep-strong); }
.quad__promise { margin-top: auto; display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--sep); font-size: 13px; color: var(--label-2); }
.quad__promise span { display: flex; align-items: center; gap: 8px; }
.quad__promise .ico { color: var(--green); }

.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--sep); }
.promise > div { display: grid; gap: 6px; align-content: start; padding: 22px 22px 24px; }
.promise > div + div { border-left: 1px solid var(--sep); }
.promise__ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--tint-soft); color: var(--tint); margin-bottom: 6px; }
.promise b { font-size: 16px; font-weight: 650; }
.promise p { font-size: 14px; line-height: 1.5; color: var(--label-2); }

@media (max-width: 1100px) {
  .quads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise > div:nth-child(3) { border-left: 0; }
  .promise > div:nth-child(n+3) { border-top: 1px solid var(--sep); }
}
@media (max-width: 760px) {
  .hero__inner { grid-template-columns: 1fr; gap: 22px; padding-top: 24px; padding-bottom: 96px; }
  .hero__copy h1 { font-size: 32px; }
  .hero__copy p { font-size: 15.5px; }
  .hero__photos { height: 230px; }
  .quads { grid-template-columns: 1fr; margin-top: -72px; gap: 12px; }
  .quad__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .quad__name { font-size: 11.5px; }
  .promise { grid-template-columns: 1fr; }
  .promise > div + div { border-left: 0; border-top: 1px solid var(--sep); }
}

/* ═════════ Home ═════════ */
.sec { padding-top: 30px; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec__head h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; }
.sec__head p { color: var(--label-3); font-size: 14px; margin-top: 3px; }
.sec__more { display: inline-flex; align-items: center; gap: 2px; color: var(--tint); font-weight: 600; font-size: 15px; white-space: nowrap; }
.sec__more:hover { text-decoration: underline; }

.banners { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; padding-top: 18px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.banners::-webkit-scrollbar { display: none; }
@media (max-width: 1000px) { .banners { grid-auto-columns: 78%; } }
@media (max-width: 640px) { .banners { grid-auto-columns: 88%; gap: 12px; padding-top: 12px; } }
.banner { position: relative; isolation: isolate; overflow: hidden; min-height: 232px; padding: 24px; border-radius: var(--r-xl); color: #fff; display: flex; flex-direction: column; justify-content: space-between; scroll-snap-align: start; transition: transform .5s var(--ease); }
.banner:hover { transform: scale(.99); }
.banner__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.banner h2 { color: inherit; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.04; letter-spacing: -.035em; max-width: 62%; margin-top: 8px; }
.banner p { font-size: 14px; opacity: .85; max-width: 56%; margin-top: 8px; line-height: 1.35; }
.banner__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 2px; margin-top: 16px; padding: 9px 14px 9px 16px; border-radius: 999px; background: var(--surface); color: var(--label); font-weight: 700; font-size: 13.5px; }
.banner__art { position: absolute; right: -22px; bottom: -26px; z-index: -1; width: 50%; aspect-ratio: 1; border-radius: 26px; overflow: hidden; transform: rotate(-8deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); transition: transform .8s var(--ease); }
.banner:hover .banner__art { transform: rotate(-4deg) translateY(-6px); }
.banner__art svg { width: 100%; height: 100%; }
.banner--wine { background: radial-gradient(130% 120% at 0% 0%, #9b1d50 0%, #5e0b2e 55%, #33061a 100%); }
.banner--honey { background: radial-gradient(130% 120% at 0% 0%, #f7c65c 0%, #df8f1c 58%, #a85c06 100%); color: #2b1600; }
.banner--honey .banner__cta { background: #2b1600; color: #fff; }
.banner--leaf { background: radial-gradient(130% 120% at 0% 0%, #5fae6c 0%, #237440 58%, #123e22 100%); }

.assure { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 2px; scrollbar-width: none; }
.assure::-webkit-scrollbar { display: none; }
.assure span { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-1); font-size: 13px; font-weight: 600; color: var(--label-2); }
.assure svg { color: var(--tint); }

.cat-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px 14px; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; } }
.cat-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 14px 12px; }
/* The first tile (the top pick) is double width: 19 categories + 1 = 20 slots, so rows of 10, 5 and 4 always fill. */
.cat-grid > .cat-tile:first-child { grid-column: span 2; }
.cat-grid > .cat-tile:first-child .cat-tile__box { aspect-ratio: auto; height: 100%; }
.cat-grid > .cat-tile:first-child .cat-tile__box > * { position: absolute; inset: 0; } /* the row's other tiles set the height */
.cat-grid > .cat-tile:first-child .cat-tile__name, .cat-grid > .cat-tile:first-child .cat-tile__ta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cat-tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cat-tile__box { position: relative; width: 100%; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--well); border: 1px solid var(--sep); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.cat-tile__box img, .cat-tile__box svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile:hover .cat-tile__box { border-color: var(--sep-strong); box-shadow: var(--sh-2); }
.cat-tile:hover .cat-tile__box img { transform: scale(1.05); }
.cat-tile__name { font-size: 14px; font-weight: 550; line-height: 1.25; color: var(--label); }
.cat-tile:hover .cat-tile__name { color: var(--tint); text-decoration: underline; text-underline-offset: 2px; }
.cat-tile__ta { font-family: var(--font-tamil); font-size: 11.5px; color: var(--label-3); margin-top: -3px; line-height: 1.25; }
@media (max-width: 700px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; } .cat-tile__name { font-size: 12.5px; } .cat-tile__ta { display: none; } }

.statement { position: relative; overflow: hidden; margin-top: 34px; padding: 56px 28px 0; border-radius: var(--r-xl); background: var(--surface); text-align: center; }
.statement h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.045em; }
.statement h2 span { background: linear-gradient(95deg, var(--tint) 10%, #e2742a 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement p { max-width: 600px; margin: 14px auto 22px; font-size: 19px; line-height: 1.4; color: var(--label-2); letter-spacing: -.02em; }
.statement__arts { display: flex; justify-content: center; align-items: flex-end; gap: 18px; margin-top: 34px; }
.statement__arts > div { width: 190px; aspect-ratio: 1; border-radius: 28px 28px 0 0; overflow: hidden; box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, .25); transition: transform .8s var(--ease); }
.statement__arts > div:nth-child(2) { width: 230px; }
.statement:hover .statement__arts > div:nth-child(odd) { transform: translateY(-8px); }
@media (max-width: 640px) { .statement { padding-top: 40px; } .statement p { font-size: 16px; } .statement__arts > div { width: 104px; border-radius: 20px 20px 0 0; } .statement__arts > div:nth-child(2) { width: 128px; } }

.storecard { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; margin-top: 34px; border-radius: var(--r-xl); background: var(--wine); color: #f4d9e3; }
.storecard__copy { padding: 40px; display: grid; gap: 14px; align-content: center; }
.storecard__copy h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; }
.storecard__list { display: grid; gap: 10px; font-size: 14.5px; }
.storecard__list div { display: flex; gap: 10px; align-items: flex-start; }
.storecard__list svg { flex-shrink: 0; color: #f3b9cc; margin-top: 2px; }
.storecard__side { position: relative; overflow: hidden; padding: 36px; display: grid; gap: 14px; align-content: center; background: radial-gradient(120% 120% at 100% 0%, #d23a6c 0%, #a3164a 50%, #6b0d33 100%); }
.storecard__side .swan-bg { position: absolute; right: -40px; bottom: -30px; color: rgba(255, 255, 255, .08); }
.storecard__side h3 { position: relative; color: #fff; font-size: 22px; }
.tagcloud { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 13px; }
.services { position: relative; padding: 10px 14px; border-radius: 12px; background: #ffe34d; color: #1f1407; font-size: 12px; font-weight: 800; letter-spacing: .05em; }
@media (max-width: 860px) { .storecard { grid-template-columns: 1fr; } .storecard__copy, .storecard__side { padding: 26px; } }

/* ═════════ Shop / category (Instamart-style rail) ═════════ */
.shop2 { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 20px; padding-bottom: 56px; }
.shop2__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.shop2__head h1 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; }
.shop2__head .tamil { display: block; color: var(--gold); font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.shop2__head p { color: var(--label-3); font-size: 14px; margin-top: 3px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--sep); font-size: 13px; font-weight: 600; color: var(--label-2); white-space: nowrap; transition: background .2s, color .2s; }
.fchip:hover { color: var(--label); box-shadow: inset 0 0 0 1px var(--sep-strong); }
.fchip.is-on { background: var(--label); color: var(--on-label); box-shadow: none; }
.sortsel { height: 36px; padding: 0 34px 0 14px; border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px var(--sep); font-size: 13px; font-weight: 600; background-color: var(--surface); color: var(--label); background-position: right 12px center; width: auto; }
.shop2 .empty { background: var(--surface); border-radius: 22px; }
@media (max-width: 900px) {
  .shop2 { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .catrail { position: sticky; top: 0; z-index: 4; display: flex; gap: 6px; max-height: none; overflow-x: auto; overflow-y: hidden; margin-inline: -20px; padding: 10px 20px; border: 0; border-radius: 0; border-bottom: 1px solid var(--sep); scrollbar-width: none; }
  .catrail::-webkit-scrollbar { display: none; }
  .catrail::before { display: none; }
  .catrail a { flex-shrink: 0; padding: 6px 12px; border: 1px solid var(--sep-strong); border-radius: 999px; font-size: 13px; white-space: nowrap; }
  .catrail a.is-active { border-color: var(--label); background: var(--label); color: var(--surface); }
  .catrail__n { display: none; }
  .shop2__main { padding-top: 14px; min-width: 0; }
  .shop2__head h1 { font-size: 22px; }
  .shop2 .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

.pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); box-shadow: var(--sh-1); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.pagination a:hover { color: var(--tint); }
.pagination .is-current { background: var(--label); color: var(--on-label); }
.pagination .is-disabled { opacity: .4; box-shadow: none; background: transparent; }

/* ═════════ Product page: photos | details | buy box ═════════ */
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 14px; font-size: 13px; color: var(--label-3); }
.crumbs a:hover { color: var(--tint); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }

.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding: 16px 0 36px; }
.pdp__media { position: sticky; top: calc(var(--head-total) + 16px); display: grid; gap: 10px; }
.pdp__img { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); background: var(--surface); border: 1px solid var(--sep); }
.pdp__img svg, .pdp__img img { width: 100%; height: 100%; object-fit: cover; }
.pdp__img > a { display: block; height: 100%; cursor: zoom-in; }
.pdp__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pdp__thumbs::-webkit-scrollbar { display: none; }
.pdp__thumb { flex: 0 0 auto; width: 72px; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); border: 1px solid var(--sep); opacity: .75; transition: opacity .2s, border-color .2s; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb:hover, .pdp__thumb:focus-visible { opacity: 1; }
.pdp__thumb.is-on { opacity: 1; border: 2px solid var(--brand); }

.pdp__info { display: grid; gap: 16px; min-width: 0; }
.pdp__cat { justify-self: start; color: var(--tint); font-size: 14px; font-weight: 500; }
.pdp__cat:hover { text-decoration: underline; }
.pdp__cat .tamil { color: var(--label-3); margin-left: 4px; }
.pdp__title { margin-top: -8px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.pdp__rating { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: -6px; font-size: 14px; }
.pdp__rating b { font-weight: 600; }
.pdp__rating span { color: var(--tint); }
.pdp__rating:hover span { text-decoration: underline; }
.pdp__price { display: grid; gap: 2px; padding: 14px 0; border-block: 1px solid var(--sep); }
.pdp__price-now { font-size: 30px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pdp__price-meta { font-size: 13.5px; color: var(--label-3); }
.pdp__pick { display: grid; gap: 10px; }
.pdp__pick h2 { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--label-2); }
.pdp__pick h2 b { color: var(--label); font-weight: 650; }
.pdp__pick h2 span { margin-left: 6px; font-size: 13px; color: var(--label-3); font-weight: 400; }

.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.size { position: relative; display: grid; gap: 1px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--sep-strong); transition: border-color .15s, box-shadow .15s; }
.size:hover { border-color: var(--label-3); }
.size b { font-size: 15px; font-weight: 600; }
.size span { font-size: 14px; font-variant-numeric: tabular-nums; }
.size small { font-size: 11.5px; color: var(--label-3); }
.size.is-on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--tint-soft); }
.size.is-out { opacity: .5; }
.size__in { font-style: normal; font-size: 11px; font-weight: 600; color: var(--tint); }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.type { display: grid; gap: 1px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--sep-strong); transition: border-color .15s; }
.type:hover { border-color: var(--label-3); }
.type b { font-size: 14px; font-weight: 600; }
.type small { font-family: 'Noto Sans Tamil', var(--font); font-size: 12px; color: var(--label-3); }
.type.is-on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--tint-soft); }
.type.is-on small { color: var(--tint); }
.type.is-out { opacity: .5; }

.pdp__about h2 { font-size: 16px; margin-bottom: 6px; }
.pdp__about ul, .pdp-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.55; color: var(--label-2); max-width: 70ch; }

.buybox { position: sticky; top: calc(var(--head-total) + 16px); display: grid; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--sep-strong); }
.buybox__price { font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.buybox__line { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.45; color: var(--label-2); }
.buybox__line .ico { flex-shrink: 0; margin-top: 1px; color: var(--label-3); }
.buybox__line b { color: var(--label); font-weight: 600; }
.stock-note { font-size: 15px; font-weight: 600; }
.stock-note--ok { color: var(--green); }
.stock-note--low { color: var(--orange); }
.stock-note--out { color: var(--red); }
.buy { display: grid; gap: 8px; }
.buy form { margin: 0; }
.buy .cc, .buy .cc form, .buy .add, .buy .stepper, .buy .btn { width: 100%; }
.buy .add, .buy .stepper, .btn--buy { height: 44px; font-size: 15px; }
.btn--buy { border-radius: var(--r-sm); background: var(--brand-ink); color: #fff; }
.btn--buy:hover { background: var(--wine-2); }
.buybox__facts { margin: 0; display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid var(--sep); font-size: 12.5px; }
.buybox__facts div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; }
.buybox__facts dt { color: var(--label-3); }
.buybox__facts dd { margin: 0; color: var(--label-2); }
.buybox__wish { margin: 0; }
.buybox__wish .btn { height: 38px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; }

.pdp-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; padding: 8px 0 12px; border-top: 1px solid var(--sep); }
.pdp-sec { padding: 22px 0; border-bottom: 1px solid var(--sep); }
.pdp-sec h2 { font-size: 19px; margin-bottom: 12px; }
.specs { margin: 0; display: grid; gap: 0; font-size: 14px; }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 7px 0; }
.specs div:nth-child(odd) { background: var(--fill-2); padding-inline: 10px; margin-inline: -10px; border-radius: var(--r-xs); }
.specs dt { color: var(--label-3); }
.specs dd { margin: 0; }

@media (max-width: 1180px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buybox { grid-column: 2; position: static; }
  .pdp__media { grid-row: span 2; }
}
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 18px; padding-top: 8px; }
  .pdp__media { position: static; grid-row: auto; }
  .buybox { grid-column: auto; padding: 14px; }
  .pdp-more { grid-template-columns: 1fr; }
  /* Add / Buy now stay within thumb reach above the tab bar */
  .buy { position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 45; grid-template-columns: 1fr 1fr; padding: 10px 14px; background: var(--surface); box-shadow: 0 -1px 0 var(--sep), 0 -8px 20px -12px rgba(24, 24, 27, .25); }
  .is-product main { padding-bottom: 72px; }
}

/* ═════════ Basket & checkout pages ═════════ */
.page-head { padding: 14px 0 22px; }
.page-head h1 { font-size: clamp(26px, 3vw, 32px); font-weight: 650; letter-spacing: -.025em; }
.page-head p { color: var(--label-3); margin-top: 6px; max-width: 640px; }
.page-head .tamil { display: block; color: var(--gold); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; padding-bottom: 64px; }
.two-col > * { min-width: 0; }
.aside-sticky { position: sticky; top: calc(var(--head-total) + 16px); display: grid; gap: 12px; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .aside-sticky { position: static; } }
.group { background: var(--surface); border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--sep); }
.group__title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.group__title span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-fill); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0; }
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); cursor: pointer; box-shadow: inset 0 0 0 1px var(--sep-strong); transition: box-shadow .2s, background .2s; }
.choice:hover { box-shadow: inset 0 0 0 1px var(--label-3); }
.choice.is-on { background: var(--tint-soft); box-shadow: inset 0 0 0 2px var(--tint); }
.choice.is-disabled { opacity: .5; cursor: not-allowed; }
.choice input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 2px solid var(--label-4); background: var(--surface); transition: all .2s; }
.choice input:checked { border-color: var(--tint); background: var(--tint); box-shadow: inset 0 0 0 4px #fff; }
.choice__ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--tint-soft); color: var(--tint); }
.choice__text { flex: 1; min-width: 0; }
.choice__text b { display: block; font-size: 15px; letter-spacing: -.015em; }
.choice__text small { font-size: 13px; color: var(--label-3); }
.choice__tag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--green-soft); color: var(--green); white-space: nowrap; }
.mini-lines { display: grid; gap: 10px; max-height: 280px; overflow-y: auto; }
.mini-line { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.mini-line__img { position: relative; width: 48px; height: 48px; border-radius: var(--r-sm); overflow: visible; }
.mini-line__img > svg, .mini-line__img > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); background: var(--well); }
.mini-line__qty { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--label); color: var(--on-label); font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--surface); }
.secure-note { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12.5px; color: var(--label-3); }
.sum-rows { display: grid; gap: 9px; font-size: 14px; }
.sum-rows > div { display: flex; justify-content: space-between; gap: 12px; }
.sum-total { padding-top: 12px; border-top: 1px solid var(--sep); font-weight: 700; font-size: 16px; }
.sum-total b { font-size: 22px; letter-spacing: -.02em; }

/* ═════════ Orders, account, content ═════════ */
.success-hero { display: grid; justify-items: center; gap: 12px; padding: 44px 20px 28px; text-align: center; }
.success-hero h1 { letter-spacing: -.04em; }
.success-hero__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 16px 40px -14px rgba(27, 135, 59, .7); animation: pop .6s var(--spring) both; }
.success-hero__icon--warn { background: var(--orange); box-shadow: 0 16px 40px -14px rgba(180, 95, 6, .6); }
.success-hero__icon--bad { background: var(--red); box-shadow: 0 16px 40px -14px rgba(215, 38, 61, .6); }
.progress-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.progress-steps div { display: grid; gap: 7px; text-align: center; font-size: 12px; font-weight: 600; color: var(--label-3); }
.progress-steps div::before { content: ''; height: 6px; border-radius: 9px; background: var(--fill); }
.progress-steps .is-done { color: var(--green); }
.progress-steps .is-done::before { background: var(--green); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding-bottom: 18px; }
.timeline li::before { content: ''; position: absolute; left: 12px; top: 24px; bottom: 0; width: 2px; background: var(--fill); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--label-4); color: #fff; }
.timeline .is-done .dot { background: var(--green); }
.timeline .is-current .dot { background: var(--tint); box-shadow: 0 0 0 5px var(--tint-soft); }
.timeline b { font-size: 14px; }
.timeline small { display: block; font-size: 12.5px; color: var(--label-3); }
.table-scroll { overflow-x: auto; }
.table-simple { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-simple th, .table-simple td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--sep); }
.table-simple th { font-size: 12px; font-weight: 600; color: var(--label-3); }
.addr { font-style: normal; font-size: 14px; line-height: 1.6; }
.demo-gateway { display: grid; gap: 12px; padding: 20px; border-radius: 18px; background: var(--gold-soft); box-shadow: inset 0 0 0 1px rgba(183, 128, 42, .35); }
.auth-wrap { display: grid; place-items: center; padding: 48px 20px 80px; }
.auth-card { width: min(440px, 100%); display: grid; gap: 18px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--sep); box-shadow: var(--sh-1); }
.auth-card h1 { font-size: 28px; font-weight: 650; letter-spacing: -.025em; }
.prose { max-width: 760px; display: grid; gap: 14px; padding-bottom: 64px; font-size: 17px; line-height: 1.55; color: var(--label-2); letter-spacing: -.015em; }
.prose h2 { margin-top: 18px; font-size: 24px; color: var(--label); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.section { padding-block: 40px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }

/* ═════════ Footer: perks, "Back to top", then a deep wine band ═════════ */
.site-foot { --foot-bg: #2a0c18; --foot-top: #4b1a2d; --foot-line: rgba(255, 255, 255, .12); --foot-text: rgba(255, 255, 255, .72); margin-top: 56px; font-size: 13.5px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 36px; }
.perk { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--sep); }
.perk b { display: block; font-size: 14.5px; color: var(--label); letter-spacing: -.015em; }
.perk span { font-size: 12.5px; color: var(--label-3); }
.perk__icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--tint-soft); color: var(--tint); }
@media (max-width: 960px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }
.foot-top { display: block; padding: 15px; background: var(--foot-top); color: #fff; text-align: center; font-size: 13px; font-weight: 500; transition: background .2s; }
.foot-top:hover { background: #5a2238; }
.foot-band { background: var(--foot-bg); color: var(--foot-text); }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 1.4fr; gap: 32px; padding-top: 40px; padding-bottom: 36px; }
.foot-grid h2 { margin-bottom: 12px; font-family: var(--font); font-size: 15px; font-weight: 650; color: #fff; letter-spacing: -.01em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--foot-text); }
.foot-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.foot-visit p { display: flex; gap: 8px; margin-bottom: 9px; line-height: 1.5; }
.foot-visit svg { flex-shrink: 0; margin-top: 2px; color: #f59ab8; }
.foot-visit__note { font-size: 12px; color: rgba(255, 255, 255, .5); }
.foot-mid { border-top: 1px solid var(--foot-line); }
.foot-mid__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.foot-logo { color: #fff; }
.foot-logo .logo__word { font-size: 15px; }
.pay-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pay-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: var(--r-xs); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .85); font-size: 11.5px; font-weight: 600; border: 1px solid var(--foot-line); }
.pay-chip svg { flex-shrink: 0; color: #f59ab8; }
.foot-legal { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 16px; padding-bottom: 28px; border-top: 1px solid var(--foot-line); font-size: 12px; color: rgba(255, 255, 255, .5); text-align: center; }
.foot-legal nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.foot-legal a { color: rgba(255, 255, 255, .72); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(255, 255, 255, .35); }
.foot-legal a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { gap: 26px 18px; padding-top: 28px; } .foot-visit { grid-column: 1 / -1; } .foot-mid__inner { justify-content: center; } }

/* ═════════ Motion ═════════ */
.reveal { animation: rise .7s var(--ease) both; animation-delay: calc(min(var(--i, 0), 10) * 45ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes pop { from { opacity: .4; transform: scale(.82); } }
@keyframes bump { 40% { transform: scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes barIn { from { opacity: 0; transform: translate(-50%, 130%); } }
@keyframes barInRight { from { opacity: 0; transform: translateY(130%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-head, .site-foot, .tabbar, .cartbar, .no-print, .admin-side, .admin-top { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* ── Header at laptop / tablet-landscape widths ── */
.search, .eta-pop, .head__logo { min-width: 0; }
@media (max-width: 1240px) {
  .logo__tag { display: none; }
  .head-link--in .head-link__txt { display: none; }
  .head-link--in { padding: 3px; }
  .head-link { padding: 0 10px; }
  .head { gap: 10px; }
}
@media (max-width: 1080px) {
  .eta { max-width: 190px; }
  .eta__title { font-size: 15.5px; }
  .search__go { display: none; }
  .search { padding-right: 14px; }
  .cartbtn { padding: 0 12px; }
}

.cartbtn__meta b, .cartbtn__meta span, .cartbtn > span { white-space: nowrap; }

/* Desktop uses the header basket button; the floating bar is a phone pattern */
@media (min-width: 901px) { .cartbar { display: none !important; } }

/* Product page has its own sticky buy bar on phones; basket stays in the tab bar */
.is-product .cartbar { display: none !important; }

/* ═════════ Account area (Swiggy / Blinkit style) ═════════ */
.acct { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 24px; padding-bottom: 56px; }
.acct__side { position: sticky; top: calc(var(--head-total) + 16px); display: grid; gap: 12px; }
.acct__me { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 22px; background: linear-gradient(150deg, var(--wine), #8f1340); color: #fff; }
.acct__me .icon-btn { background: rgba(255, 255, 255, .16); color: #fff; margin-left: auto; flex-shrink: 0; }
.acct__avatar { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wine); font-size: 22px; font-weight: 800; }
.acct__who { display: grid; min-width: 0; line-height: 1.3; }
.acct__who b { font-size: 16px; letter-spacing: -.02em; }
.acct__who small { font-size: 12.5px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct__nav { display: grid; padding: 6px; border-radius: 22px; background: var(--surface); box-shadow: var(--sh-1); }
.acct__nav a, .acct__nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 14px; background: none; font-size: 14.5px; font-weight: 600; color: var(--label-2); text-align: left; transition: background .2s, color .2s; }
.acct__nav a:hover, .acct__nav button:hover { background: var(--fill-2); color: var(--label); }
.acct__nav a.is-active { background: var(--tint-soft); color: var(--tint); }
.acct__nav em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--label-3); font-weight: 600; }
.acct__nav form { margin: 0; border-top: 1px solid var(--sep); margin-top: 4px; padding-top: 4px; }
.acct__nav button { color: var(--red); }
.acct__main { min-width: 0; display: grid; gap: 16px; align-content: start; }
.acct__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acct__head h1 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.04em; margin-top: 4px; }
.acct__head p { color: var(--label-3); margin-top: 4px; }
.nudge { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--gold-soft); color: #6d4a0c; transition: transform .25s var(--ease); }
.nudge:hover { transform: translateY(-2px); }
.nudge__ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--gold); }
.nudge b { display: block; font-size: 15px; }
.nudge small { font-size: 13px; opacity: .85; }
.nudge > svg { margin-left: auto; flex-shrink: 0; }
.group__sub { font-size: 15px; letter-spacing: -.015em; color: var(--label-2); }
@media (max-width: 900px) {
  .acct { grid-template-columns: 1fr; gap: 14px; padding-top: 14px; }
  .acct__side { position: static; }
  .acct__nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; border-radius: 16px; }
  .acct__nav::-webkit-scrollbar { display: none; }
  .acct__nav a, .acct__nav button { flex-shrink: 0; width: auto; padding: 9px 12px; font-size: 13.5px; white-space: nowrap; }
  .acct__nav em { margin-left: 4px; }
  .acct__nav form { border: 0; margin: 0; padding: 0; }
}

/* Orders list */
.ocard { background: var(--surface); border-radius: 22px; padding: 16px; display: grid; gap: 12px; }
.ocard__head { display: flex; align-items: center; gap: 12px; }
.ocard__status { width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; background: var(--fill-2); color: var(--label-2); }
.ocard__status--ok { background: var(--green-soft); color: var(--green); }
.ocard__status--warn { background: #fdf0d8; color: var(--orange); }
.ocard__status--bad { background: #fdecee; color: var(--red); }
.ocard__status--info, .ocard__status--brand { background: var(--tint-soft); color: var(--tint); }
.ocard__title { display: grid; min-width: 0; }
.ocard__title b { font-size: 16px; letter-spacing: -.02em; }
.ocard__title small { font-size: 12.5px; color: var(--label-3); }
.ocard__total { margin-left: auto; font-size: 17px; font-variant-numeric: tabular-nums; }
.ocard__items { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ocard__thumb { position: relative; width: 60px; height: 60px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--well); }
.ocard__thumb svg, .ocard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ocard__thumb em { position: absolute; right: 3px; bottom: 3px; padding: 1px 5px; border-radius: 6px; background: rgba(29, 29, 31, .75); color: #fff; font-size: 10px; font-style: normal; font-weight: 700; }
.ocard__more { width: 60px; height: 60px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: var(--fill-2); color: var(--label-2); font-weight: 700; }
.ocard__names { font-size: 13px; color: var(--label-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ocard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--sep); }
.ocard__foot form { margin: 0; }

/* Address cards */
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.addr-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, transform .3s var(--ease); }
.addr-card.is-default { box-shadow: inset 0 0 0 2px var(--tint); }
.addr-card header { display: flex; align-items: center; gap: 10px; }
.addr-card header b { font-size: 16px; letter-spacing: -.02em; }
.addr-card header .pill { margin-left: auto; }
.addr-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--tint-soft); color: var(--tint); }
.addr-card__lines { font-size: 14px; line-height: 1.5; color: var(--label); }
.addr-card__who { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--label-3); }
.addr-card footer { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--sep); }
.addr-card footer form { margin: 0; }
.addr-card--add { align-items: center; justify-content: center; text-align: center; min-height: 190px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--sep-strong); border: 0; }
.addr-card--add:hover { background: var(--surface); transform: translateY(-2px); }
.link-btn { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--tint); font-size: 13.5px; font-weight: 600; }
.link-btn:hover { text-decoration: underline; }
.link-btn--danger { color: var(--red); }

/* Home / Work / Other segmented control */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-sm); background: var(--fill-2); align-self: flex-start; }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg__opt span { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--label-2); transition: background .2s, color .2s, box-shadow .2s; }
.seg__opt input:checked + span { background: var(--surface); color: var(--tint); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.seg__opt input:focus-visible + span { outline: 3px solid rgba(194, 30, 86, .35); }
.field .seg + .input { margin-top: 8px; }

/* Checkout saved-address picker */
.addr-pick { display: grid; gap: 10px; margin-bottom: 14px; }
.addr-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r); cursor: pointer; box-shadow: inset 0 0 0 1px var(--sep-strong); transition: box-shadow .2s, background .2s; }
.addr-opt:hover { box-shadow: inset 0 0 0 1px var(--label-3); }
.addr-opt.is-on { background: var(--tint-soft); box-shadow: inset 0 0 0 2px var(--tint); }
.addr-opt input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 22px; height: 22px; margin: 0; border-radius: 50%; border: 2px solid var(--label-4); background: var(--surface); }
.addr-opt input:checked { border-color: var(--tint); background: var(--tint); box-shadow: inset 0 0 0 4px #fff; }
.addr-opt__text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.addr-opt__text b { font-size: 15px; display: flex; align-items: center; gap: 6px; }
.addr-opt__text small { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.addr-opt__text em { font-style: normal; }
.addr-opt--new .addr-ic { background: var(--fill-2); color: var(--label-2); }
.addr-new { padding-top: 4px; }

/* First-run setup */
.setup { max-width: 760px; padding-top: 32px; padding-bottom: 56px; display: grid; gap: 20px; }
.setup__intro { text-align: center; display: grid; justify-items: center; gap: 8px; }
.setup__intro h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.04em; max-width: 620px; }
.setup__badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 14px 34px -14px rgba(27, 135, 59, .7); animation: pop .6s var(--spring) both; }

/* Payment page */
.pay2 { max-width: 640px; padding-top: 28px; padding-bottom: 56px; }
.pay2__card { display: grid; gap: 16px; padding: 24px; border-radius: 28px; background: var(--surface); box-shadow: var(--sh-2); }
.pay2__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.pay2__head h1 { font-size: 30px; letter-spacing: -.04em; margin: 4px 0 4px; }
.pay2__amount { text-align: right; display: grid; }
.pay2__amount small { font-size: 12px; color: var(--label-3); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pay2__amount b { font-size: 34px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pay2__items { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--bg); }
.payalt { border-radius: 18px; background: var(--bg); padding: 6px; }
.payalt__title { padding: 8px 10px 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--label-3); }
.payalt form { margin: 0; }
.payalt__row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 14px; background: none; text-align: left; color: var(--label); transition: background .2s; }
.payalt__row:hover { background: var(--surface); }
.payalt__row > svg { color: var(--label-3); flex-shrink: 0; }

/* Order page actions */
.oactions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.oactions form { margin: 0; }
.cancel-pop { position: relative; }
.cancel-pop summary { list-style: none; cursor: pointer; }
.cancel-pop summary::-webkit-details-marker { display: none; }
.cancel-pop__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; width: min(300px, calc(100vw - 40px)); display: grid; gap: 8px; padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: var(--sh-3); animation: pop .35s var(--spring) both; transform-origin: top left; }

/* ═════════ Roller: continuously rolling two-row category strip (endless loop) ═════════ */
.roller { position: relative; }
.roller__viewport { overflow-x: auto; overflow-y: hidden; padding: 4px 0 8px; border-radius: 22px; scrollbar-width: none; }
.roller__viewport::-webkit-scrollbar { display: none; }
.roller__viewport:focus-visible { outline: 3px solid rgba(194, 30, 86, .35); outline-offset: 4px; }
.roller.is-rolling .roller__viewport { overflow: hidden; touch-action: pan-y; cursor: grab; }
.roller.is-dragging .roller__viewport { cursor: grabbing; }
.roller.is-dragging .roller__set > * { pointer-events: none; }
.roller__rail { display: flex; gap: 14px; width: max-content; }
.roller.is-rolling .roller__rail { will-change: transform; backface-visibility: hidden; }
.roller__set { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: 148px; gap: 18px 14px; }
.roller__set > * { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.roller__edge {
  position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; background: none;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility 0s .25s;
}
.roller__edge--prev { left: -12px; }
.roller__edge--next { right: -12px; }
.roller:hover.can-prev .roller__edge--prev, .roller:hover.can-next .roller__edge--next,
.roller:focus-within.can-prev .roller__edge--prev, .roller:focus-within.can-next .roller__edge--next { opacity: 1; visibility: visible; transition: opacity .25s var(--ease); }
.roller__edge span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--label); border: 1px solid var(--sep-strong); box-shadow: var(--sh-2); transition: transform .2s var(--ease); }
.roller__edge:hover span { transform: scale(1.06); }
.roller__edge:active span { transform: scale(.94); }
.roller__edge:focus-visible { outline: none; }
.roller__edge:focus-visible span { box-shadow: 0 0 0 3px var(--tint); }
@media (max-width: 900px), (hover: none) { .roller__edge { display: none; } }
@media (max-width: 700px) {
  .roller__rail { gap: 10px; }
  .roller__set { grid-auto-columns: 88px; gap: 14px 10px; }
}

/* Rolling variants: product rows, banners, chips */
.roller--bleed { margin-inline: -20px; }
.roller--bleed .roller__viewport { padding-inline: 20px; border-radius: 0; }
.roller--cards .roller__viewport { padding-top: 6px; padding-bottom: 22px; }
.roller--cards .roller__rail, .roller__set--cards { gap: 14px; }
.roller__set--cards { display: flex; align-items: stretch; }
.roller__set--cards > * { width: 190px; flex-shrink: 0; }
.roller--banners { margin-top: 18px; }
.roller--banners .roller__viewport { border-radius: var(--r-xl); padding: 0; }
.roller--banners .roller__rail, .roller__set--banners { gap: 16px; }
.roller__set--banners { display: flex; }
.roller__set--banners > .banner { flex-shrink: 0; width: calc((min(100vw, var(--container)) - 40px - 32px) / 3); }
.roller--chips .roller__viewport { padding: 16px 0 4px; border-radius: 0; }
.roller--chips .roller__rail, .roller__set--chips { gap: 8px; }
.roller__set--chips { display: flex; }
.roller__set--chips > span { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--sh-1); font-size: 13px; font-weight: 600; color: var(--label-2); }
.roller__set--chips > span svg { color: var(--tint); }
@media (max-width: 1000px) { .roller__set--banners > .banner { width: 78vw; } }
@media (max-width: 640px) {
  .roller--cards .roller__rail, .roller__set--cards { gap: 10px; }
  .roller__set--cards > * { width: 44vw; }
  .roller__set--banners > .banner { width: 86vw; }
  .roller--banners .roller__rail, .roller__set--banners { gap: 12px; }
}
/* Phones: swipe instead of arrows — a lighter, narrower shade that lets taps through */
@media (max-width: 900px) {
}

/* ═════════ Log in or sign up · OTP ═════════ */
.auth-card--login { gap: 16px; }
.auth-head { display: grid; justify-items: center; gap: 6px; text-align: center; }
.auth-head h1 { font-size: 28px; font-weight: 650; letter-spacing: -.025em; }
.auth-mark { color: var(--tint); margin-bottom: 4px; }
.auth-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-soft); color: var(--tint); margin-bottom: 4px; }
.auth-ic--ok { background: var(--green); color: #fff; box-shadow: 0 14px 30px -14px rgba(27, 135, 59, .7); }
.seg--full { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
.seg__tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: var(--r-xs); font-size: 14px; font-weight: 600; color: var(--label-2); transition: background .2s, color .2s, box-shadow .2s; }
.seg__tab:hover { color: var(--label); }
.seg__tab.is-on { background: var(--surface); color: var(--tint); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.seg--3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.auth-new { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--sep); text-align: center; font-size: 13px; color: var(--label-3); }
.pw-input { position: relative; display: block; }
.pw-input .input { width: 100%; padding-right: 48px; }
.pw-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--label-3); }
.pw-toggle:hover, .pw-toggle[aria-pressed='true'] { color: var(--tint); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 4px; }
.pw-meter i { border-radius: 2px; background: var(--fill-2); transition: background .2s; }
.pw-meter[data-score='0'] i:nth-child(-n+1), .pw-meter[data-score='1'] i:nth-child(-n+1) { background: var(--red); }
.pw-meter[data-score='2'] i:nth-child(-n+2) { background: #d98a00; }
.pw-meter[data-score='3'] i:nth-child(-n+3), .pw-meter[data-score='4'] i { background: var(--green); }

/* Sign-up page: one wider card, grouped sections */
.auth-card.signup { width: min(560px, 100%); gap: 16px; }
.signup__sec { display: grid; gap: 14px; margin: 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--sep); min-width: 0; }
.signup__sec legend { float: left; width: 100%; padding: 0 0 2px; font-size: 15px; font-weight: 650; }
.signup__sec legend + * { clear: both; }
.signup__addr { gap: 0; }
.signup__addr summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.signup__addr summary::-webkit-details-marker { display: none; }
.signup__addr summary > span { display: grid; gap: 2px; }
.signup__addr summary small { font-size: 12.5px; color: var(--label-3); }
.signup__addr summary .ico { color: var(--label-3); transition: transform .2s var(--ease); }
.signup__addr[open] summary .ico { transform: rotate(180deg); }
.signup__addr-body { padding-top: 14px; }
.pw-change > summary { list-style: none; width: max-content; }
.pw-change > summary::-webkit-details-marker { display: none; }
.pw-change[open] > summary { display: none; }
.pw-change form { max-width: 420px; }
.phone-input--sm > span { font-size: 15px; padding-left: 12px; }
.phone-input.is-invalid { border-color: var(--red); }
.check.is-invalid { color: var(--red); }
.input--lg { height: 50px; font-size: 16px; border-radius: var(--r-sm); }
.phone-input { display: flex; align-items: stretch; border-radius: var(--r-sm); background: var(--fill-2); border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.phone-input:focus-within { background: var(--surface); border-color: var(--tint); box-shadow: 0 0 0 4px rgba(194, 30, 86, .12); }
.phone-input > span { display: flex; align-items: center; padding: 0 2px 0 16px; font-size: 17px; font-weight: 700; color: var(--label-2); }
.phone-input .input { background: transparent; border: 0; box-shadow: none !important; letter-spacing: .02em; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--label-3); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--sep); }
.social { display: grid; gap: 10px; }
.social__btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: var(--r-sm); font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; transition: transform .2s var(--ease), background .2s; }
.social__btn:active { transform: scale(.98); }
.social__btn--google { background: #fff; color: #1f1f1f; box-shadow: inset 0 0 0 1px var(--sep-strong); }
.social__btn--google:hover { background: #f7f7f9; }
.social__btn--apple { background: #000; color: #fff; }
.social__btn--apple:hover { background: #1d1d1f; }
.otp-input { width: 100%; height: 66px; padding-left: .55em; border: 1px solid transparent; border-radius: var(--r); background: var(--fill-2); color: var(--label); text-align: center; font: 700 30px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .55em; transition: background .2s, border-color .2s, box-shadow .2s; }
.otp-input:focus { outline: none; background: var(--surface); border-color: var(--tint); box-shadow: 0 0 0 4px rgba(194, 30, 86, .12); }
.otp-input::placeholder { color: var(--label-4); }
.otp-resend { margin: 0; text-align: center; }
.otp-resend .link-btn:disabled { color: var(--label-3); cursor: default; text-decoration: none; }
.demo-code { align-items: center; justify-content: space-between; flex-wrap: wrap; }
.demo-code b { font: 800 22px/1 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .22em; color: var(--label); }

/* ═════════ Security, coupons, offers, suggestions, recommendations (v5) ═════════ */
.pill-s { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0; white-space: nowrap; vertical-align: middle; }
.pill-s--ok { background: var(--green-soft); color: var(--green); }
.pill-s--warn { background: #fdf0d8; color: var(--orange); }
.flip { transform: rotate(180deg); }
.sec__ic { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 10px; background: var(--tint-soft); color: var(--tint); vertical-align: 3px; }
.shelf .sec__head h2 { display: flex; align-items: center; }
.roller.is-rolling .roller__viewport { overscroll-behavior-x: contain; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid rgba(194, 30, 86, .35); outline-offset: 2px; }

/* Coupons: usable ones first and bright, the rest dimmed with the reason */
.coupons { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--sep); }
.coupons__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.coupons__head h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 650; letter-spacing: -.015em; }
.coupons__head h3 svg { color: var(--tint); }
.cpns { list-style: none; margin: 0; padding: 0; display: grid; }
.cpn { display: block; padding: 12px 0; }
.cpn + .cpn { border-top: 1px solid var(--sep); }
.cpn__stub { display: none; }
.cpn__body { display: grid; gap: 3px; min-width: 0; }
.cpn__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cpn__code { font: 700 13px/1.2 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .05em; padding: 4px 8px; border-radius: var(--r-xs); border: 1.5px dashed var(--tint); color: var(--tint); background: var(--tint-soft); }
.cpn__title { font-weight: 600; font-size: 14px; color: var(--label); margin-top: 4px; }
.cpn__desc { font-size: 13px; color: var(--label-2); line-height: 1.4; }
.cpn__terms { font-size: 12px; color: var(--label-3); }
.cpn__save { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12.5px; font-weight: 650; color: var(--green); }
.cpn__why { margin-top: 2px; font-size: 12.5px; color: var(--label-2); }
.cpn__bar { display: block; height: 4px; margin-top: 5px; border-radius: 99px; background: var(--fill); overflow: hidden; }
.cpn__bar i { display: block; height: 100%; border-radius: inherit; background: var(--label-3); }
.cpn__apply { height: 30px; padding: 0 14px; border: 1px solid var(--tint); border-radius: var(--r-sm); background: var(--surface); color: var(--tint); font-size: 13px; font-weight: 650; display: inline-flex; align-items: center; transition: background .2s, color .2s; }
.cpn__apply:hover { background: var(--tint-fill); color: #fff; }
.cpn__apply--ghost { border-color: var(--sep-strong); color: var(--label); }
.cpn__apply--ghost:hover { background: var(--fill); color: var(--tint); }
.cpn__lock { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 650; color: var(--label-3); white-space: nowrap; }
.cpn.is-applied .cpn__code { border-color: var(--green); color: var(--green); background: var(--green-soft); }
.cpn.is-locked .cpn__code { border-color: var(--label-4); color: var(--label-3); background: transparent; }
.cpn.is-locked .cpn__title, .cpn.is-locked .cpn__desc { color: var(--label-3); }
.coupons__enter summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--tint); }
.coupons__enter summary::-webkit-details-marker { display: none; }
.coupons__enter[open] summary svg { transform: rotate(180deg); }
.coupons__enter .coupon { margin-top: 10px; }
.coupons__enter .field-error { margin-top: 6px; }
.coupons--compact { padding: 14px; }

/* Basket page: Amazon-style lines on the left, subtotal and checkout on the right */
.basket-page { padding-top: 20px; }
.two-col--basket { grid-template-columns: minmax(0, 1fr) 340px; }
.basket { padding: 20px 22px 16px; border: 1px solid var(--sep); box-shadow: none; }
.basket__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--sep); }
.basket__head h1 { font-size: 26px; font-weight: 650; letter-spacing: -.025em; }
.basket__col { font-size: 13px; color: var(--label-3); }
.basket .alert { margin-top: 14px; }
.bline-list { list-style: none; margin: 0; padding: 0; }
.bline { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--sep); }
.bline__img { width: 132px; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--well); }
.bline__img img, .bline__img svg { width: 100%; height: 100%; object-fit: cover; }
.bline__info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.bline__name { font-size: 17px; font-weight: 550; line-height: 1.3; }
.bline__name:hover { color: var(--tint); }
.bline__stock { font-size: 13px; font-weight: 600; color: var(--green); }
.bline__stock.is-low { color: var(--red); }
.bline__meta { font-size: 13px; color: var(--label-2); }
.bline__meta b { font-weight: 600; color: var(--label); }
.bline__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; }
.bline__actions form { margin: 0; display: flex; }
.bline__actions form + form { padding-left: 14px; border-left: 1px solid var(--sep); }
.bline__link { border: 0; background: none; padding: 0; font-size: 13px; color: var(--tint); cursor: pointer; }
.bline__link:hover { text-decoration: underline; text-underline-offset: 2px; }
.bline__price { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bline__mprice { display: none; font-size: 16px; font-weight: 700; }
.basket__sub { padding-top: 14px; text-align: right; font-size: 18px; }
.basket__sub b, .checkout-box__sub b { font-weight: 700; font-variant-numeric: tabular-nums; }
.checkout-box { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--sep); box-shadow: none; }
.checkout-box .meter { padding: 0; border: 0; }
.checkout-box__sub { font-size: 18px; }
.checkout-box__save { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--green); }
.checkout-box .secure-note { justify-content: flex-start; }
.basket-empty { display: flex; align-items: center; gap: 24px; margin: 4px 0 32px; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--sep); }
.basket-empty__ic { width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--tint-soft); color: var(--tint); }
.basket-empty h1 { font-size: 26px; font-weight: 650; letter-spacing: -.025em; }
.basket-empty p { margin-top: 6px; color: var(--label-2); }
@media (max-width: 960px) {
  .two-col--basket { grid-template-columns: 1fr; gap: 12px; }
  .two-col--basket > aside { display: contents; }
  .two-col--basket .checkout-box { order: -1; }
}
@media (max-width: 640px) {
  .basket { padding: 14px 14px 12px; }
  .basket__head h1 { font-size: 22px; }
  .bline { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
  .bline__img { width: 88px; }
  .bline__name { font-size: 15px; }
  .bline__price { grid-column: 2; grid-row: 1; align-self: start; justify-self: end; display: none; }
  .bline__mprice { display: block; }
  .bline__actions form + form { padding-left: 0; border-left: 0; }
  .basket-empty { flex-direction: column; text-align: center; padding: 24px 18px; }
  .basket-empty .row { justify-content: center; }
}

/* Offer cards: extra styles and layouts */
.banner { gap: 14px; }
.banner__copy { display: grid; align-content: start; }
.banner__foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.banner__foot .banner__cta { margin-top: 0; }
.banner--midnight { background: radial-gradient(120% 140% at 100% 0%, rgba(194, 30, 86, .55) 0%, rgba(194, 30, 86, 0) 55%), linear-gradient(160deg, #1d1b22, #0b0a0d); }
.banner--blush { background: radial-gradient(130% 120% at 0% 0%, #ffe3ec 0%, #f9c4d6 55%, #f19bb8 100%); color: #3d0720; }
.banner--ocean { background: radial-gradient(130% 120% at 0% 0%, #3fb6b2 0%, #17728c 55%, #0b3a5c 100%); }
.banner--sunset { background: radial-gradient(130% 120% at 0% 0%, #ffb36b 0%, #f0645a 50%, #b3246b 100%); }
.banner--cream { background: linear-gradient(160deg, #fffaf1, #f3e6cf); color: var(--wine); box-shadow: inset 0 0 0 1px rgba(94, 11, 46, .08); }
.banner--blush .banner__cta, .banner--cream .banner__cta { background: var(--wine); color: #fff; }
.banner--cream .banner__eyebrow { color: var(--tint); opacity: 1; }
.banner__ticket { display: inline-grid; line-height: 1.05; padding: 7px 14px; border-radius: 12px; border: 1.5px dashed currentColor; background: rgba(255, 255, 255, .12); }
.banner__ticket small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.banner__ticket b { font: 800 17px/1.2 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .08em; }
.banner__glyph { position: absolute; right: -18px; bottom: -30px; z-index: -1; opacity: .16; transform: rotate(-12deg); }
.banner__glyph svg { width: 170px; height: 170px; stroke-width: 1.6; }
.banner__glyph--swan { right: -30px; bottom: -40px; opacity: .14; color: currentColor; }
.banner--coupon h2, .banner--spotlight h2 { max-width: 80%; }
.banner--coupon p, .banner--spotlight p { max-width: 78%; }
.banner--spotlight { justify-content: center; text-align: center; align-items: center; }
.banner--spotlight .banner__copy { justify-items: center; }
.banner--spotlight h2 { font-size: clamp(26px, 2.6vw, 34px); margin-inline: auto; }
.banner--spotlight p { margin-inline: auto; }
.banner--spotlight .banner__foot { justify-content: center; }
@media (max-width: 640px) {
  .banner { min-height: 210px; padding: 20px; }
  .banner h2 { max-width: 70%; }
  .banner--coupon h2, .banner--spotlight h2 { max-width: 100%; }
}

/* Search suggestions */
.search { position: relative; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 90; display: grid; gap: 2px; max-height: min(70vh, 520px); overflow-y: auto; padding: 8px; border-radius: 20px; background: rgba(255, 255, 255, .98); box-shadow: 0 0 0 1px var(--sep), var(--sh-3); backdrop-filter: saturate(180%) blur(20px); animation: sgIn .18s var(--ease); }
@keyframes sgIn { from { opacity: 0; transform: translateY(-4px); } }
.sg-row, .sg-fix, .sg-all { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; color: var(--label); transition: background .15s; }
.sg-row:hover, .sg-fix:hover, .sg-all:hover, .suggest .is-active { background: var(--fill-2); }
.suggest .is-active { box-shadow: inset 0 0 0 1.5px rgba(194, 30, 86, .35); }
.sg-row__t { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.sg-row__t b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-row__t small { font-size: 12px; color: var(--label-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-item__img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--well); }
.sg-item__img svg, .sg-item__img img { width: 100%; height: 100%; object-fit: cover; }
.sg-item__p { font-size: 14px; }
.sg-cat__ic { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--tint-soft); color: var(--tint); }
.sg-cat > svg { color: var(--label-3); }
.sg-fix { color: var(--label-2); font-size: 14px; }
.sg-fix svg { color: var(--tint); }
.sg-all { justify-content: center; gap: 6px; margin-top: 4px; border-top: 1px solid var(--sep); border-radius: 0 0 14px 14px; font-size: 13.5px; font-weight: 700; color: var(--tint); }
.sg-empty { padding: 14px; text-align: center; font-size: 14px; color: var(--label-3); }
.fuzzy-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding: 10px 14px; border-radius: 14px; background: var(--gold-soft); font-size: 14px; color: var(--label-2); }
.fuzzy-note svg { color: var(--gold); }

/* Basket add-ons */
.picks { display: grid; gap: 10px; }
.picks__title { display: flex; align-items: center; gap: 6px; font-size: 15px; letter-spacing: -.02em; }
.picks__title svg { color: var(--tint); }
.picks__row { display: flex; gap: 10px; overflow-x: auto; margin-inline: -4px; padding: 2px 4px 8px; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain; }
.picks__row::-webkit-scrollbar { display: none; }
.pick { flex: 0 0 136px; display: grid; gap: 6px; align-content: start; padding: 8px; border-radius: 16px; background: var(--surface); box-shadow: var(--sh-1); scroll-snap-align: start; }
.pick__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--well); }
.pick__img svg, .pick__img img { width: 100%; height: 100%; object-fit: cover; }
.pick__name { font-size: 12.5px; font-weight: 600; line-height: 1.25; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 13px; }
.pick__foot .pctl, .pick__foot form { flex-shrink: 0; }

/* Profile: verified contacts + login sessions */
.contact { border-radius: 16px; background: var(--fill-2); transition: background .2s; }
.contact[open] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--sep); }
.contact__row { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.contact__row::-webkit-details-marker { display: none; }
.contact__ic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: var(--tint); box-shadow: var(--sh-1); }
.contact__text { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.contact__text small { font-size: 12px; color: var(--label-3); }
.contact__text b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact__cta { font-size: 13.5px; font-weight: 700; color: var(--tint); }
.contact__form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; padding: 0 14px 14px; }
@media (max-width: 560px) { .contact__form { grid-template-columns: 1fr; } .contact__row .pill-s { display: none; } }
.linked { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.linked__item { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--fill-2); font-size: 13px; font-weight: 600; color: var(--label-3); }
.linked__item.is-on { background: var(--surface); color: var(--label); box-shadow: inset 0 0 0 1px var(--sep-strong); }
.sessions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.session { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--fill-2); }
.session.is-current { background: var(--green-soft); }
.session__ic { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: var(--label-2); box-shadow: var(--sh-1); }
.session.is-current .session__ic { color: var(--green); }
.session__text { display: grid; gap: 1px; min-width: 0; flex: 1; line-height: 1.3; }
.session__text b { font-size: 14.5px; }
.session__text small { font-size: 12.5px; color: var(--label-3); overflow: hidden; text-overflow: ellipsis; }
.session form { margin: 0; flex-shrink: 0; }
.session__out { color: var(--red); }
.auth-note { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; }

/* Small UX polish */
.pc { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) { .pc:hover { transform: translateY(-2px); box-shadow: var(--sh-2); } }
.sec { scroll-margin-top: calc(var(--head-total) + 12px); }
.btn:disabled, [aria-disabled="true"] { opacity: .5; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .suggest { animation: none; } .pc, .cpn { transition: none; } }

/* ═════════ Rounded everywhere: native controls are square, so draw our own ═════════ */
/* Controls that already have a bespoke look (payment choice, address picker, segmented
   tabs, style swatches) keep it — these defaults are for every other checkbox and radio.
   The exclusions sit inside :where() so they add no specificity; otherwise this base rule
   outranks the :checked rule below and ticked boxes render white, like unticked ones. */
input[type='checkbox']:not(:where(.choice, .addr-opt, .seg__opt, .style-pick, .layout-pick) input),
input[type='radio']:not(:where(.choice, .addr-opt, .seg__opt, .style-pick, .layout-pick) input) {
  appearance: none; -webkit-appearance: none; flex-shrink: 0;
  width: 20px; height: 20px; margin: 0; display: inline-grid; place-content: center;
  border: 1.5px solid var(--sep-strong); border-radius: 7px; background: var(--surface);
  cursor: pointer; transition: background .18s, border-color .18s, box-shadow .18s;
}
input[type='radio']:not(:where(.choice, .addr-opt) input) { border-radius: 50%; }
input[type='checkbox']:hover, input[type='radio']:not(:where(.choice, .addr-opt) input):hover { border-color: var(--label-3); }
input[type='checkbox']:checked, input[type='radio']:not(:where(.choice, .addr-opt) input):checked { background: var(--tint); border-color: var(--tint); }
input[type='checkbox']:checked::after {
  content: ''; width: 5px; height: 9px; margin-top: -2px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
input[type='radio']:not(:where(.choice, .addr-opt) input):checked::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--surface); }
input[type='checkbox']:focus-visible, input[type='radio']:focus-visible { outline: 3px solid rgba(194, 30, 86, .35); outline-offset: 2px; }
input[type='checkbox']:disabled, input[type='radio']:disabled { opacity: .5; cursor: default; }

/* Colour picker, file picker and range: rounded like every other control */
input[type='color'] { border-radius: 12px; overflow: hidden; border: 1px solid var(--sep-strong); background: var(--surface); }
input[type='color']::-webkit-color-swatch-wrapper { padding: 3px; }
input[type='color']::-webkit-color-swatch { border: 0; border-radius: 8px; }
input[type='file'] { border-radius: 14px; }
input[type='file']::file-selector-button {
  margin-right: 10px; padding: 8px 14px; border: 0; border-radius: 999px;
  background: var(--fill); color: var(--label); font: inherit; font-weight: 600; cursor: pointer;
}
input[type='file']::file-selector-button:hover { background: var(--fill-2); }
input[type='range'] { accent-color: var(--tint); }

/* Scrollbars, where the browser lets us round them */
* { scrollbar-width: thin; scrollbar-color: var(--sep-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--sep-strong); border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: var(--label-4); background-clip: content-box; }

/* Tables: the header strip picks up the card's corners even without a clipping parent */
table { border-radius: var(--r); overflow: hidden; }
.spec, .atable { border-radius: 0; }          /* these sit inside rounded cards already */

/* Phone chrome: the bars are panels too, so give them corners */
@media (max-width: 900px) {
  .site-head { border-radius: 0 0 22px 22px; }
  .tabbar { border-radius: 22px 22px 0 0; }
}

/* Rolling strips clip their contents, so the clip itself needs corners — otherwise the
   card at each end is sliced off square. Applies to the full-bleed product shelves and chips. */
.roller--bleed .roller__viewport,
.roller--chips .roller__viewport { border-radius: 22px; }
@media (max-width: 640px) {
  .roller--bleed .roller__viewport,
  .roller--chips .roller__viewport { border-radius: 18px; }
}

/* Spotlight category (Immunity Booster): stands out in the category rail and strip */
.catstrip a.is-spot { background: linear-gradient(135deg, #fff1f6, #fff8e6); box-shadow: inset 0 0 0 1.5px rgba(194, 30, 86, .35); font-weight: 700; }
.catstrip a.is-spot::before { content: '★'; color: var(--tint); margin-right: 2px; }

/* ═════════ Dark mode ═════════
   Follows the phone/computer setting; the header switch (sun/moon) overrides it and is remembered. */
:root {
  --on-label: #fff;
  --glass: rgba(255, 255, 255, .86);
  --glass-strong: rgba(255, 255, 255, .96);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --tint: #ff4d8a; --tint-press: #ff6b9d; --tint-soft: #3a1424; --tint-soft-2: #4d1a30; --tint-fill: #c82254; --tint-fill-press: #b81e4c; --brand-ink: #f6a6c0;
    --gold: #e0a84a; --gold-soft: #33270f; --green: #3ccf68; --green-soft: #12301c; --red: #ff5a6e; --orange: #f0a04b;
    --bg: #0f0f11; --surface: #1c1c1f; --surface-2: #232327; --well: #26231f;
    --label: #f2f2f4; --label-2: #c4c4c9; --label-3: #8e8e95; --label-4: #5d5d63;
    --fill: rgba(118, 118, 128, .24); --fill-2: rgba(118, 118, 128, .16);
    --sep: rgba(255, 255, 255, .1); --sep-strong: rgba(255, 255, 255, .18);
    --sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 2px 6px rgba(0, 0, 0, .35), 0 14px 36px rgba(0, 0, 0, .45);
    --on-label: #111113; --glass: rgba(22, 22, 25, .82); --glass-strong: rgba(30, 30, 34, .96);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --tint: #ff4d8a; --tint-press: #ff6b9d; --tint-soft: #3a1424; --tint-soft-2: #4d1a30; --tint-fill: #c82254; --tint-fill-press: #b81e4c; --brand-ink: #f6a6c0;
  --gold: #e0a84a; --gold-soft: #33270f; --green: #3ccf68; --green-soft: #12301c; --red: #ff5a6e; --orange: #f0a04b;
  --bg: #0f0f11; --surface: #1c1c1f; --surface-2: #232327; --well: #26231f;
  --label: #f2f2f4; --label-2: #c4c4c9; --label-3: #8e8e95; --label-4: #5d5d63;
  --fill: rgba(118, 118, 128, .24); --fill-2: rgba(118, 118, 128, .16);
  --sep: rgba(255, 255, 255, .1); --sep-strong: rgba(255, 255, 255, .18);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 2px 6px rgba(0, 0, 0, .35), 0 14px 36px rgba(0, 0, 0, .45);
  --on-label: #111113; --glass: rgba(22, 22, 25, .82); --glass-strong: rgba(30, 30, 34, .96);
  color-scheme: dark;
}

/* The switch shows the mode you would go to: a moon in light mode, a sun in dark mode. */
.theme-btn { position: relative; }
.theme-btn .ico { transition: transform .45s var(--spring), opacity .25s var(--ease); }
.theme-btn__sun { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme='dark'] .theme-btn__moon { opacity: 0; transform: rotate(90deg) scale(.6); }
:root[data-theme='dark'] .theme-btn__sun { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-btn__moon { opacity: 0; transform: rotate(90deg) scale(.6); }
  :root:not([data-theme='light']) .theme-btn__sun { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .theme-btn .ico { transition: none; } }

/* Dark mode: light status chips and panels */
:root[data-theme='dark'] .btn--danger, :root[data-theme='dark'] .pill--bad, :root[data-theme='dark'] .ocard__status--bad, :root[data-theme='dark'] .alert--error { background: rgba(255, 90, 110, .14); color: #ff8595; }
:root[data-theme='dark'] .pill--warn, :root[data-theme='dark'] .ocard__status--warn, :root[data-theme='dark'] .pill-s--warn { background: rgba(240, 160, 75, .15); color: #f5b46b; }
:root[data-theme='dark'] .pill--info { background: rgba(120, 160, 255, .15); color: #9db8ff; }
:root[data-theme='dark'] .cpn.is-locked { background: var(--surface-2); }
:root[data-theme='dark'] .cpn.is-locked .cpn__stub::after { background-image: radial-gradient(circle at 5px 5px, var(--surface-2) 3.5px, transparent 4px); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn--danger, :root:not([data-theme='light']) .pill--bad, :root:not([data-theme='light']) .ocard__status--bad, :root:not([data-theme='light']) .alert--error { background: rgba(255, 90, 110, .14); color: #ff8595; }
  :root:not([data-theme='light']) .pill--warn, :root:not([data-theme='light']) .ocard__status--warn, :root:not([data-theme='light']) .pill-s--warn { background: rgba(240, 160, 75, .15); color: #f5b46b; }
  :root:not([data-theme='light']) .pill--info { background: rgba(120, 160, 255, .15); color: #9db8ff; }
  :root:not([data-theme='light']) .cpn.is-locked { background: var(--surface-2); }
  :root:not([data-theme='light']) .cpn.is-locked .cpn__stub::after { background-image: radial-gradient(circle at 5px 5px, var(--surface-2) 3.5px, transparent 4px); }
}

/* ═════════ Reviews wall & feedback ═════════ */
.stars { display: inline-flex; gap: 2px; vertical-align: -2px; }
.stars svg { fill: var(--label-4); }
.stars svg.on { fill: #f5a623; }
.roller--reviews .roller__rail, .roller__set--reviews { gap: 14px; }
.roller__set--reviews { display: flex; align-items: stretch; }
.roller__set--reviews > .rv { width: 320px; flex-shrink: 0; }
.rv { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; background: var(--surface); box-shadow: var(--sh-1); }
.rv__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rv__src { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--fill-2); color: var(--label-2); white-space: nowrap; }
.rv__src--site { background: var(--green-soft); color: var(--green); }
.rv__body { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.55; color: var(--label); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-grid .rv__body { -webkit-line-clamp: unset; display: block; }
.rv__who { display: flex; align-items: center; gap: 10px; }
.rv__who b { display: block; font-size: 14px; }
.rv__who small { display: block; font-size: 12px; color: var(--label-3); }
.rv__avatar { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--tint-soft); color: var(--tint); font-weight: 800; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.reviews-wall__cta { margin-top: 14px; }
@media (max-width: 640px) { .roller__set--reviews > .rv { width: 82vw; } }

.feedback-card { width: min(560px, 100%); }
.rate { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
.rate legend { padding: 0; margin-bottom: 4px; }
.rate legend b { display: block; font-size: 14.5px; }
.rate legend small { display: block; color: var(--label-3); font-size: 12px; font-weight: 500; }
.rate__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rate__stars label { cursor: pointer; padding: 2px; border-radius: 8px; }
.rate__stars svg { width: 32px; height: 32px; fill: var(--fill); stroke: var(--label-4); stroke-width: 1; transition: fill .15s, transform .2s var(--spring); }
.rate__stars label:hover svg, .rate__stars label:hover ~ label svg, .rate__stars input:checked ~ label svg { fill: #f5a623; stroke: #e08e0b; }
.rate__stars label:active svg { transform: scale(.88); }
.rate__stars input:focus-visible + label { outline: 2px solid var(--tint); outline-offset: 2px; }
.rate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.rate-grid .rate__stars svg { width: 26px; height: 26px; }
.seg-inline { display: flex; gap: 18px; }
@media (max-width: 520px) { .rate-grid { grid-template-columns: 1fr; } }

.feedback-cta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 14px 16px; border-radius: 18px; background: var(--gold-soft); color: var(--label); box-shadow: inset 0 0 0 1px var(--sep); }
.feedback-cta b { display: block; }
.feedback-cta small { display: block; color: var(--label-2); font-size: 13px; }
.feedback-cta > span:nth-child(2) { flex: 1; }
.feedback-cta__ic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: #e08e0b; }
.feedback-cta:hover { box-shadow: inset 0 0 0 1.5px #e0a84a; }
.wish-btn.is-on { color: var(--tint); box-shadow: inset 0 0 0 1px var(--tint); background: var(--tint-soft); }

/* Account → Appearance */
.theme-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.theme-pick__opt { display: grid; justify-items: center; gap: 8px; padding: 16px 10px; border-radius: var(--r-sm); border: 1px solid var(--sep-strong); background: var(--surface); color: var(--label-2); font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s; }
.theme-pick__opt:hover { border-color: var(--label-3); }
.theme-pick__opt.is-on { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--tint-soft); color: var(--tint); }

/* ═════════ Cookie choice banner, map gate ═════════ */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 20px; max-width: 980px; margin: 0 auto; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--sep-strong); box-shadow: var(--sh-3); }
.consent[hidden] { display: none; }
.consent__text { flex: 1; min-width: 0; }
.consent h2 { font-size: 16px; font-weight: 650; margin-bottom: 4px; }
.consent p { font-size: 13.5px; line-height: 1.5; color: var(--label-2); }
.consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent__actions .btn { min-width: 136px; }
@media (max-width: 900px) { .consent { bottom: calc(70px + env(safe-area-inset-bottom)); } }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; gap: 12px; left: 10px; right: 10px; padding: 16px; } .consent__actions .btn { flex: 1; min-width: 0; } }
.cookie-choice { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--sep); }
.map-gate { display: grid; place-items: center; align-content: center; gap: 10px; height: 100%; min-height: 360px; padding: 24px; text-align: center; color: var(--label-2); background: var(--surface-2); }
.map-gate p { max-width: 34ch; font-size: 14px; }
.map-gate iframe { border: 0; width: 100%; height: 100%; min-height: 360px; }
.foot-legal span + span { display: block; }

/* ═════════ Dialog, floating buttons, progress, busy and copy states, FAQ, error page ═════════ */
.cdialog { width: min(420px, calc(100% - 32px)); padding: 0; border: 1px solid var(--sep-strong); border-radius: var(--r-lg); background: var(--surface); color: var(--label); box-shadow: var(--sh-3); }
.cdialog::backdrop { background: rgba(10, 10, 12, .45); }
.cdialog__body { display: grid; gap: 18px; padding: 22px; }
.cdialog__msg { font-size: 15.5px; line-height: 1.5; }
.cdialog__actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.btn--danger-solid { background: #b3261e; color: #fff; }
.btn--danger-solid:hover { background: #8f1d17; }
.cdialog[open] { animation: dlgIn .18s var(--ease, ease) both; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--tint); transform: scaleX(0); transform-origin: 0 50%; }

.floats { position: fixed; right: 16px; bottom: var(--float-bottom, 20px); z-index: 44; display: grid; justify-items: end; gap: 10px; transition: bottom .25s var(--ease, ease); }
.float-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; height: 48px; padding: 0 12px; border-radius: 999px; box-shadow: var(--sh-2); transition: transform .2s var(--ease, ease), background .2s; }
.float-btn:hover { transform: translateY(-2px); }
.float-btn[hidden] { display: none; }
.float-btn--wa { background: #187a35; color: #fff; padding: 0 16px 0 12px; }
.float-btn--wa:hover { background: #136a2d; }
.float-btn--top { width: 44px; min-width: 44px; height: 44px; padding: 0; background: var(--surface); color: var(--label); border: 1px solid var(--sep-strong); }
.float-btn__label { font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .float-btn__label { display: none; } .float-btn--wa { width: 50px; padding: 0; } }

.btn.is-loading, button.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading > *, button.is-loading > * { visibility: hidden; }
.btn.is-loading::after, button.is-loading::after { content: ''; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn--ghost.is-loading::after, .link-btn.is-loading::after { border-color: var(--fill); border-top-color: var(--tint); }

.copy-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 4px; vertical-align: middle; border: 0; border-radius: var(--r-xs); background: transparent; color: var(--label-3); cursor: pointer; }
.copy-btn:hover { background: var(--fill-2); color: var(--tint); }
.copy-btn.is-copied { color: var(--green); }
.cpn__codewrap { display: inline-flex; align-items: center; }

.faq { display: grid; gap: 28px; max-width: 820px; padding-bottom: 56px; }
.faq__group h2 { font-size: 19px; font-weight: 650; margin-bottom: 10px; }
.faq__item { border-bottom: 1px solid var(--sep); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 2px; cursor: pointer; list-style: none; font-weight: 600; font-size: 15.5px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ico { flex-shrink: 0; color: var(--label-3); transition: transform .2s var(--ease, ease); }
.faq__item[open] summary .ico { transform: rotate(180deg); }
.faq__item summary:hover span { color: var(--tint); }
.faq__a { padding: 0 2px 18px; color: var(--label-2); line-height: 1.6; max-width: 70ch; }

.errorpage { text-align: center; justify-items: center; }
.errorpage__mark { color: var(--tint); }
.errorpage__search { display: flex; gap: 8px; width: 100%; }
.errorpage__search .input { flex: 1; min-width: 0; }
.errorpage__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

/* Print: just the content (orders, policies, product details), no site chrome */
@media print {
  .site-head, .navbar, .site-foot, .tabbar, .cartbar, .floats, .scroll-progress, .consent, .drawer, .scrim, .toast, .skip-link,
  .no-print, .crumbs, .copy-btn, form .btn, .roller__edge, .shelf, .sec__more { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  body { padding: 0 !important; font-size: 12pt; }
  .container { max-width: none; padding: 0; }
  .panel, .group, .sheet-card, .bill, .card { box-shadow: none !important; border: 1px solid #ccc !important; background: #fff !important; break-inside: avoid; }
  a { color: #000 !important; text-decoration: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .two-col { grid-template-columns: 1fr !important; }
  .aside-sticky, .pdp__media, .buybox { position: static !important; }
  img { max-width: 100% !important; }
  .faq__item { break-inside: avoid; }
  .faq__item:not([open]) .faq__a { display: block; }
}
.pw-toggle .pw-hide, .pw-toggle[aria-pressed='true'] .pw-show { display: none; }
.pw-toggle[aria-pressed='true'] .pw-hide { display: inline; }

/* ═════════ Human touches: eyebrow, story, tactile feedback (Apple-style: things respond to the finger) ═════════ */
.hero__eyebrow { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: var(--brand-ink); font-size: 13px; font-weight: 600; }
.storecard__story { color: rgba(255, 255, 255, .86); font-size: 15.5px; line-height: 1.6; max-width: 46ch; }
.btn, .pc, .quad__item, .cat-tile, .float-btn, .tabbar a, .cartbar__btn, .fchip, .seg__tab, .choice, .addr-opt { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .btn:active, .float-btn:active, .cartbar__btn:active, .fchip:active { transform: scale(.96); transition: transform .08s; }
  .pc:active, .quad__item:active, .cat-tile:active, .choice:active, .addr-opt:active { transform: scale(.98); transition: transform .08s; }
}
.cartbtn.is-bump .cartbtn__ic, .tabbar a.is-bump .tabbar__ic { animation: bump .45s var(--spring, cubic-bezier(.34, 1.56, .64, 1)); }
@keyframes bump { 30% { transform: scale(1.22); } 60% { transform: scale(.94); } }
.btn.is-added { background: var(--green) !important; color: #fff !important; }
.pc__wish.is-on svg { animation: heartPop .35s var(--spring, cubic-bezier(.34, 1.56, .64, 1)); }
@keyframes heartPop { 40% { transform: scale(1.35); } }
@media (prefers-reduced-motion: reduce) { .cartbtn.is-bump .cartbtn__ic, .tabbar a.is-bump .tabbar__ic, .pc__wish.is-on svg { animation: none; } .btn:active, .pc:active { transform: none; } }

/* ═════════ Calm phones: one thing at a time, generous spacing, nothing repeated ═════════ */
@media (max-width: 760px) {
  .m-hide { display: none !important; }
  /* Header: logo + search only. Categories live in the tab bar and the menu. */
  .navbar { display: none; }
  :root { --head-total: 108px; }
  body { -webkit-font-smoothing: antialiased; }

  /* Hero: one message, one button, one photo */
  .hero__inner { gap: 16px; padding-top: 20px; padding-bottom: 88px; }
  .hero__copy { gap: 12px; }
  .hero__copy h1 { font-size: 30px; line-height: 1.1; }
  .hero__copy p:not(.hero__eyebrow) { font-size: 15px; }
  .hero__eyebrow { font-size: 12px; }
  .hero__link { display: none; }
  .hero__cta .btn--lg { width: 100%; justify-content: center; }
  .hero__photos { height: 180px; grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .hero__photo:not(:first-child) { display: none; }

  /* Quad cards: a swipeable row instead of a stack */
  .quads { display: flex; gap: 12px; margin: -64px -16px 0; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .quads::-webkit-scrollbar { display: none; }
  .quad { flex: 0 0 84%; scroll-snap-align: start; padding: 16px; }
  .quad__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .quad h2 { font-size: 18px; }

  /* Sections: fewer words, more air */
  .sec { padding-top: 34px; }
  .sec__head { margin-bottom: 12px; }
  .sec__head h2 { font-size: 22px; letter-spacing: -.02em; }
  .sec__head p { display: none; }
  .sec__ic { display: none; }

  /* Promises: a quiet 2 x 2, titles only */
  .promise { grid-template-columns: 1fr 1fr; margin-top: 30px; }
  .promise > div { padding: 16px 14px; gap: 4px; }
  .promise > div + div { border-left: 0; border-top: 0; }
  .promise > div:nth-child(odd) { border-right: 1px solid var(--sep); }
  .promise > div:nth-child(-n+2) { border-bottom: 1px solid var(--sep); }
  .promise p { display: none; }
  .promise b { font-size: 14px; line-height: 1.3; }
  .promise__ic { width: 36px; height: 36px; margin-bottom: 4px; }

  /* Product cards: name, size, price, button. The per-kg price lives on the product page. */
  .pc__price small, .pc__size em { display: none; }
  .pc__body { gap: 3px; padding: 10px 10px 12px; }
  .pc__name { font-size: 14px; }
  .pc__flag { font-size: 11px; padding: 2px 7px; }

  /* Store card: the story and two buttons */
  .storecard { margin-top: 30px; }
  .storecard__copy { padding: 24px 20px; gap: 12px; }
  .storecard__copy h2 { font-size: 24px; }
  .storecard__side { display: none; }
  .storecard__list > div:nth-child(2) { display: none; }

  /* Footer: shorter. Promises are on the home page already; the shop list is in the menu. */
  .perks { display: none; }
  .site-foot { margin-top: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 28px; padding-bottom: 24px; }
  .foot-grid > div:nth-child(2) { display: none; }
  .foot-visit { grid-column: 1 / -1; }
  .foot-visit__note { display: none; }
  .foot-grid ul { gap: 11px; }
  .pay-chips { gap: 4px; }
  .pay-chip { padding: 4px 8px; font-size: 11px; }

  /* Floating chat: smaller, and out of the way of buy bars (store.js also hides it there) */
  .float-btn--wa { width: 46px; height: 46px; min-width: 46px; }
  .float-btn--top { display: none; }
}

/* ═════════ Signed in: a pill with your initial and a green dot ═════════ */
.head-link--in { display: flex; flex-shrink: 0; align-items: center; gap: 9px; padding: 4px 14px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); transition: background .2s; }
.head-link--in:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); }
.head-link__txt { display: grid; line-height: 1.2; }
.head-avatar { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 15px; font-weight: 750; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.head-avatar__dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #34c759; border: 2px solid var(--brand); }
.tab-avatar { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-fill, var(--brand)); color: #fff; font-size: 12.5px; font-weight: 750; }
.tabbar a.is-active .tab-avatar { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--tint); }

/* ═════════ Sign-in invitation (desktop) ═════════ */
.nudge { width: min(760px, calc(100% - 48px)); padding: 0; border: 0; border-radius: 22px; background: var(--surface); color: var(--label); box-shadow: 0 40px 100px -20px rgba(20, 8, 14, .45); overflow: hidden; }
.nudge[open] { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: stretch; animation: nudgeIn .45s var(--spring, cubic-bezier(.34, 1.56, .64, 1)) both; }
.nudge::backdrop { background: rgba(26, 10, 18, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fadeIn .3s ease both; }
@keyframes nudgeIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }
.nudge__art { position: relative; align-self: stretch; min-height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; padding: 32px; background: radial-gradient(120% 90% at 30% 20%, #e0447a 0%, var(--brand) 45%, #7a1033 100%); color: #fff; overflow: hidden; }
.nudge__art::after { content: ''; position: absolute; inset: auto -20% -35% -20%; height: 55%; background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent); }
.nudge__swan { animation: swanFloat 4.5s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .25)); }
.nudge__word { display: block; color: #fff; margin-top: 12px; }
.nudge__word svg { height: 15px; width: auto; display: block; margin: 0 auto; }
.nudge__body { position: relative; display: grid; align-content: center; gap: 14px; padding: 40px 40px 30px; }
.nudge__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--fill-2); color: var(--label-2); cursor: pointer; transition: background .2s, transform .2s; }
.nudge__close:hover { background: var(--fill); color: var(--label); transform: rotate(90deg); }
.nudge__eyebrow { font-size: 12.5px; font-weight: 650; color: var(--tint); letter-spacing: .01em; }
.nudge h2 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.nudge__sub { color: var(--label-2); font-size: 15px; line-height: 1.5; }
.nudge__list { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 10px; }
.nudge__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.4; }
.nudge__list .ico { flex-shrink: 0; color: var(--tint); margin-top: 1px; }
.nudge__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.nudge__actions .btn { justify-content: center; border-radius: 12px; }
.nudge__later { justify-self: center; border: 0; background: none; color: var(--label-3); font-size: 13.5px; cursor: pointer; padding: 6px 10px; }
.nudge__later:hover { color: var(--label); text-decoration: underline; }
@keyframes swanFloat { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }

/* ═════════ Loading screen: the swan floating on rippling water ═════════ */
.pageload { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.pageload[hidden] { display: none; }
.pageload.is-on { opacity: 1; }
.pageload__card { display: grid; justify-items: center; gap: 18px; }
.pageload__mark { position: relative; width: 112px; height: 112px; display: grid; place-items: center; }
.pageload__swan { position: relative; z-index: 2; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e0447a, var(--brand) 55%, #8a1238); color: #fff; box-shadow: 0 14px 30px -10px rgba(200, 34, 84, .65); animation: swanFloat 1.8s ease-in-out infinite; }
.pageload__ripple { position: absolute; left: 50%; bottom: 2px; width: 70px; height: 16px; margin-left: -35px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--brand) 55%, transparent); opacity: 0; animation: ripple 1.8s ease-out infinite; }
.pageload__ripple:nth-of-type(3) { animation-delay: .6s; }
.pageload__ripple:nth-of-type(4) { animation-delay: 1.2s; }
@keyframes ripple { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.pageload__txt { font-size: 14px; font-weight: 600; color: var(--label-2); letter-spacing: .01em; animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) {
  .pageload__swan, .nudge__swan, .pageload__txt { animation: none; }
  .pageload__ripple { display: none; }
  .nudge[open], .nudge::backdrop { animation: none; }
}

/* ═════════ Quick-commerce phone layout (inspired by Zepto / Blinkit) ═════════ */
.add__short { display: none; }
.trust-strip { display: none; }

/* Offers pop-up: a centred window on desktop, a bottom sheet on phones */
.offers-pop { width: min(520px, calc(100% - 32px)); max-height: min(78vh, 680px); padding: 0; border: 0; border-radius: 22px; background: var(--surface); color: var(--label); box-shadow: 0 40px 100px -20px rgba(20, 8, 14, .45); overflow: hidden; }
.offers-pop[open] { display: flex; flex-direction: column; animation: nudgeIn .4s var(--spring, cubic-bezier(.34, 1.56, .64, 1)) both; }
.offers-pop::backdrop { background: rgba(26, 10, 18, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.offers-pop__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 20px 56px 14px 20px; border-bottom: 1px solid var(--sep); }
.offers-pop__head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.offers-pop__head .nudge__close { top: 14px; right: 14px; }
.offers-pop__grab { display: none; }
.offers-pop__badge { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #e0447a, var(--brand)); color: #fff; }
.offers-pop__body { flex: 1; overflow-y: auto; padding: 8px 16px; overscroll-behavior: contain; }
.offers-pop__foot { display: grid; gap: 4px; padding: 12px 16px 16px; border-top: 1px solid var(--sep); }
.offers-list { display: grid; gap: 10px; padding: 8px 0; }
.offer-row, .coupon-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-2, var(--bg)); border: 1px solid var(--sep); }
.offer-row:hover { border-color: var(--sep-strong); }
.offer-row__ic { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--tint-soft); color: var(--tint); }
.offer-row__txt, .coupon-row__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.offer-row__txt b, .coupon-row__txt b { font-size: 14.5px; font-weight: 650; }
.offer-row__txt small, .coupon-row__txt small { font-size: 12.5px; color: var(--label-3); }
.coupon-row__off { flex-shrink: 0; width: 64px; min-height: 52px; display: grid; place-items: center; padding: 6px; border-radius: 12px; background: var(--fill-2); color: var(--label-2); font-size: 13px; font-weight: 800; line-height: 1.15; text-align: center; }
.coupon-row.is-ok .coupon-row__off { background: linear-gradient(135deg, #e0447a, var(--brand)); color: #fff; }
.coupon-row__why { color: var(--label-2) !important; font-weight: 600; }
.coupon-row__code { flex-shrink: 0; display: grid; justify-items: end; gap: 2px; }
.offers-page { max-width: 760px; }
.offers-banners { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 22px; }

@media (max-width: 760px) {
  /* Header: delivery promise on the left, like the quick-commerce apps; the swan stays as the brand mark */
  .head { height: 60px; gap: 8px; }
  .head__logo .logo__text { display: none; }
  .head__logo { padding: 4px; margin-left: -4px; }
  .head__menu { display: none; }
  .eta-pop--m { flex: 1; min-width: 0; }
  .eta-m { display: grid; gap: 1px; list-style: none; cursor: pointer; padding: 4px 0; color: #fff; }
  .eta-m::-webkit-details-marker { display: none; }
  .eta-m__title { font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .eta-m__sub { display: flex; align-items: center; gap: 3px; font-size: 12.5px; color: rgba(255, 255, 255, .92); white-space: nowrap; overflow: hidden; }
  .eta-pop--m[open] .eta-m::before { content: ''; position: fixed; inset: 0; z-index: 94; background: rgba(10, 4, 8, .4); }
  .eta-sheet { position: fixed !important; left: 0 !important; right: 0; top: auto !important; bottom: 0; z-index: 95; width: auto !important; padding: 12px 18px calc(22px + env(safe-area-inset-bottom)) !important; border-radius: 22px 22px 0 0 !important; display: grid; gap: 12px; animation: sheetUp .3s var(--ease, ease) both; }
  .eta-sheet__grab, .offers-pop__grab { display: block; justify-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--fill); }
  @keyframes sheetUp { from { transform: translateY(100%); } }

  /* Home: offers first, then categories, then product rails */
  .is-home .hero { display: none; }
  .is-home main > .container { display: flex; flex-direction: column; }
  .is-home main > .container > * { order: 5; }
  .is-home main > .container > .trust-strip { order: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; margin: 12px 0 0; font-size: 12.5px; color: var(--label-2); }
  .is-home .trust-strip .ico { color: var(--tint); }
  .is-home main > .container > .sec--offers { order: 1; padding-top: 12px; }
  .is-home .sec--offers .sec__head { display: none; }
  .is-home main > .container > .sec--cats { order: 2; padding-top: 22px; }
  .is-home .quads { display: none; }

  /* Product cards: picture first, a big ADD on its corner, then size, name, price (Zepto / Blinkit style) */
  .pc { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; border: 0; background: transparent; border-radius: 0; overflow: visible; box-shadow: none !important; }
  .pc:hover { box-shadow: none; }
  .pc__media { grid-area: 1 / 1; border-radius: 14px; border: 1px solid var(--sep); background: var(--well); }
  .pc__body { display: contents; }
  .pc__flag { grid-area: 1 / 1; align-self: start; justify-self: start; z-index: 2; margin: 8px; font-size: 10.5px; padding: 2px 6px; }
  .pc__wishform { top: 6px; right: 6px; }
  .pc__wish { width: 30px; height: 30px; }
  .pc__foot { grid-area: 1 / 1; align-self: end; justify-self: end; z-index: 3; margin: 0 6px -16px 0; padding: 0; }
  .pc__name { margin-top: 2px; font-size: 13.5px; font-weight: 550; min-height: 2.6em; }
  .pc__size { order: -1; margin-top: 22px; }
  .pc__size, .pc__size em { display: block; font-size: 12px; }
  .pc__size em { display: inline; }
  .pc__price { margin-top: 2px; }
  .pc__price b { font-size: 15.5px; font-weight: 700; }
  .pc__foot .cc, .pc__foot .add, .pc__foot .stepper { width: auto; }
  .pc__foot .add { min-width: 74px; height: 34px; padding: 0 14px; border-radius: 10px; background: var(--surface); color: var(--tint); border: 1.5px solid var(--tint); font-size: 14px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; box-shadow: 0 6px 14px -6px rgba(24, 24, 27, .35); }
  .pc__foot .add .ico { display: none; }
  .pc__foot .add--filled { background: var(--tint-fill); color: #fff; text-transform: none; font-size: 12.5px; letter-spacing: 0; }
  .pc__foot .add--out { border-color: var(--sep-strong); color: var(--label-3); text-transform: none; font-size: 12px; }
  .pc__foot .stepper { height: 34px; min-width: 92px; border-radius: 10px; box-shadow: 0 6px 14px -6px rgba(200, 34, 84, .5); }
  .pc__foot .stepper button { width: 30px; }
  .add__long { display: none; }
  .add__short { display: inline; }
  .roller__set--cards > * { width: 38vw; }
  .roller--cards .roller__viewport { padding-bottom: 12px; }

  /* Basket pill: Blinkit-style, sits just above the tab bar */
  .cartbar { bottom: calc(70px + env(safe-area-inset-bottom)); width: calc(100% - 20px); }

  /* Offers: a bottom sheet */
  .offers-pop { width: 100%; max-width: 100%; max-height: 82vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .offers-pop[open] { animation: sheetUp .32s var(--ease, ease) both; }
  .offers-pop__head { padding: 24px 52px 12px 16px; }
  .offers-pop__grab { position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; }
  .offers-pop__foot { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .offers-banners { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .offers-pop[open], .eta-sheet { animation: none; } }
@media (max-width: 760px) { .is-home main > .container > .home-rails, .is-home main > .container > .shelf { order: 3; } }

/* Offers now open the page under the hero */
.is-home main > .container > .sec--offers { padding-top: 22px; }

/* ═════════ Profile photos (default: the SRIDHA swan) ═════════ */
.head-avatar img, .tab-avatar img, .acct__avatar--img img, .photo-pick__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.head-avatar { padding: 0; overflow: visible; background: #fff; }
.head-avatar img { border: 2px solid #fff; }
.tab-avatar { padding: 0; overflow: hidden; background: var(--brand); }
.acct__avatar--img { padding: 0; overflow: hidden; background: var(--brand); border: 2px solid rgba(255, 255, 255, .7); }
.photo-pick { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.photo-pick__img { width: 96px; height: 96px; flex-shrink: 0; border-radius: 50%; overflow: hidden; background: var(--brand); box-shadow: 0 0 0 4px var(--tint-soft); }
.photo-pick__form { margin: 0; }
.photo-pick__form label { cursor: pointer; }
.photo-pick__form input:focus-visible + * , .photo-pick__form label:focus-within { outline: 2px solid var(--tint); outline-offset: 2px; }
.photo-pick > .stack-2 { flex: 1; min-width: 220px; }

/* Shopper guides */
.guide-list { list-style: none; margin: 0 0 64px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; max-width: 900px; }
.guide-card { display: grid; gap: 8px; height: 100%; padding: 20px; border-radius: 16px; background: var(--surface, #fff); border: 1px solid var(--sep); color: inherit; text-decoration: none; }
.guide-card b { font-size: 18px; letter-spacing: -.01em; }
.guide-card span { color: var(--label-3); font-size: 15px; line-height: 1.45; }
.guide-card em { font-style: normal; color: var(--tint); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.guide-card:hover { border-color: var(--tint); }
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-toc a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--sep); font-size: 14px; color: var(--label); text-decoration: none; }
.guide-toc a em { font-style: normal; color: var(--label-3); margin-left: 2px; }
.guide section { scroll-margin-top: 140px; }
.guide-items { list-style: none; padding: 0 !important; display: grid; gap: 0 !important; border-top: 1px solid var(--sep); }
.guide-items li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sep); }
.guide-items a { display: grid; gap: 2px; color: var(--label); text-decoration: none; min-width: 0; }
.guide-items a span { font-size: 14px; color: var(--label-3); }
.guide-items a:hover b { color: var(--tint); }
.guide-items em { font-style: normal; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--label-2); }
.guide-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.guide-table th, .guide-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--sep); vertical-align: top; }
.guide-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--label-3); }
.tamil-s { display: block; font-family: var(--font-tamil); font-size: 14px; color: var(--label-3); }
.guide-cta { margin-top: 12px; padding: 20px; border-radius: 16px; background: var(--fill, #f5f5f7); }
.guide-cta h2 { margin-top: 0 !important; }
.cat-intro { max-width: 640px; margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--label-2); }
.guide-packs { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-packs span { padding: 6px 12px; border-radius: 10px; background: var(--fill); font-size: 15px; }

/* Gift balance at checkout */
.gift-use { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 18px; border-radius: 14px; border: 1px solid var(--tint); background: rgba(200, 34, 84, .06); cursor: pointer; }
.gift-use input { margin-top: 4px; accent-color: var(--tint); }
.gift-use__ic { color: var(--tint); display: grid; }
.gift-use span:last-child { display: grid; gap: 2px; }
.gift-use small { color: var(--label-3); }

/* ───────────── Gift cards ───────────── */
.gcard { position: relative; overflow: hidden; aspect-ratio: 1.586; border-radius: 18px; padding: 7% 7.5%; color: var(--gc-ink); background: var(--gc-bg); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); isolation: isolate; container-type: inline-size; }
.gcard__kolam { position: absolute; inset: 0; z-index: -1; opacity: .16; background-image: radial-gradient(circle, var(--gc-accent) 1.4px, transparent 1.6px); background-size: 16px 16px; mask-image: linear-gradient(120deg, transparent 35%, #000 100%); }
.gcard__swan { position: absolute; right: -6%; bottom: -14%; width: 62%; opacity: .14; z-index: -1; color: var(--gc-ink); }
.gcard__swan svg { width: 100%; height: auto; }
.gcard__top { display: grid; gap: 2px; }
.gcard__tamil { font-family: var(--font-tamil); font-weight: 700; color: var(--gc-accent); font-size: clamp(10px, 5.2cqi, 17px); }
.gcard__title { font-size: clamp(14px, 8.4cqi, 30px); line-height: 1.1; letter-spacing: -.01em; }
.gcard__to { font-size: clamp(10px, 4.6cqi, 16px); opacity: .9; }
.gcard__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.gcard__word { display: grid; gap: 3px; }
.gcard__word svg { height: clamp(7px, 3.6cqi, 13px); width: auto; display: block; }
.gcard__word small { font-size: clamp(8px, 3.4cqi, 12px); letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.gcard__amount { font-size: clamp(16px, 11cqi, 40px); font-weight: 800; letter-spacing: -.02em; }
.gcard__from { position: absolute; left: 7.5%; bottom: 30%; font-size: clamp(9px, 4cqi, 14px); opacity: .85; }
.gcard--xs { border-radius: 10px; box-shadow: none; }
.gcard--xs .gcard__to, .gcard--xs .gcard__from, .gcard--xs .gcard__amount { display: none; }

.gift-buy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; padding-bottom: 64px; align-items: start; }
.gift-buy__sticky { position: sticky; top: 140px; display: grid; gap: 12px; }
.gift-offer { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; background: rgba(200, 34, 84, .07); color: var(--label-2); font-size: 14px; }
.gift-designs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gift-design { display: grid; gap: 6px; cursor: pointer; font-size: 12.5px; text-align: center; color: var(--label-2); }
.gift-design input { position: absolute; opacity: 0; pointer-events: none; }
.gift-design .gcard { outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s, transform .15s; }
.gift-design input:checked + .gcard { outline-color: var(--tint); transform: translateY(-2px); }
.gift-design input:focus-visible + .gcard { outline-color: var(--tint); }
.gift-denoms { display: flex; gap: 10px; flex-wrap: wrap; }
.gift-denom { position: relative; cursor: pointer; }
.gift-denom input { position: absolute; opacity: 0; }
.gift-denom b { display: block; padding: 12px 22px; border-radius: 12px; border: 1.5px solid var(--sep); font-size: 18px; }
.gift-denom input:checked + b { border-color: var(--tint); background: rgba(200, 34, 84, .07); color: var(--tint); }
.gift-denom input:focus-visible + b { outline: 2px solid var(--tint); outline-offset: 2px; }
.gift-qty { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: end; margin-top: 14px; }
.gift-total { font-size: 17px; margin-top: 10px; }
.gift-total b { font-size: 22px; }
.gift-paylist { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.gift-paylist li { display: flex; gap: 8px; align-items: center; }
.gift-done__list { display: grid; gap: 18px; margin-bottom: 18px; }
.gift-done__card { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 20px; align-items: center; padding: 16px; border: 1px solid var(--sep); border-radius: 18px; }
.gift-view { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px 0 72px; }
.gift-view__msg { margin: 0; padding: 16px 20px; border-left: 3px solid var(--tint); background: var(--fill-2); border-radius: 0 12px 12px 0; font-size: 18px; line-height: 1.5; }
.gift-view__msg cite { display: block; margin-top: 6px; font-style: normal; font-size: 14px; color: var(--label-3); }
@media (max-width: 760px) {
  .gift-buy__grid, .gift-view, .gift-done__card { grid-template-columns: 1fr; gap: 20px; }
  .gift-buy__sticky { position: static; }
  .gift-designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Printable card: A4 sheet, two A6 panels side by side, cut and fold. */
.gift-print { background: #fff; color: #1d1d1f; padding: 16px; }
.gift-print__bar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; font-size: 14px; }
.gift-print__sheet { display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 297mm); border: 1px dashed #bbb; }
.gift-print__front, .gift-print__back { aspect-ratio: 148 / 105; padding: 7mm; display: grid; align-content: center; }
.gift-print__front { border-right: 1px dashed #bbb; }
.gift-print__front .gcard { box-shadow: none; }
.gift-print__msg { font-size: 15px; line-height: 1.5; margin: 0; }
.gift-print__from { margin: 4px 0 12px; color: #555; }
.gift-print__redeem { display: grid; grid-template-columns: 34mm 1fr; gap: 5mm; font-size: 12px; }
.gift-print__redeem ol { margin: 4px 0; padding-left: 16px; }
.gift-print__qr svg { width: 100%; height: auto; }
@media print {
  @page { size: A4 landscape; margin: 8mm; }
  .gift-print { padding: 0; }
  .gcard, .gcard__kolam { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* Speed: phones skip laying out below-the-fold sections until they are scrolled near (no visual change). */
.home-rails, .sec--cats, .site-foot { content-visibility: auto; contain-intrinsic-size: auto 900px; }
@media print { .home-rails, .sec--cats, .site-foot { content-visibility: visible; } }

/* Help chat (public/js/support-chat.js) */
.schat { position: fixed; right: 16px; bottom: 84px; z-index: 45; width: min(340px, calc(100vw - 32px)); max-height: min(520px, 70vh); display: grid; grid-template-rows: auto 1fr auto auto auto; background: var(--surface); color: var(--label); border: 1px solid var(--sep-strong); border-radius: 16px; box-shadow: var(--sh-2); overflow: hidden; }
.schat[hidden] { display: none; }
.schat__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: #187a35; color: #fff; }
.schat__x { background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; min-width: 32px; min-height: 32px; }
.schat__log { overflow-y: auto; padding: 12px; display: grid; gap: 8px; align-content: start; min-height: 120px; }
.schat__msg { max-width: 88%; padding: 8px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4; white-space: pre-line; }
.schat__msg--bot { background: var(--fill, #f2f2f4); justify-self: start; }
.schat__msg--me { background: #187a35; color: #fff; justify-self: end; }
.schat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
.schat__chips button { border: 1px solid var(--sep-strong); background: transparent; color: inherit; border-radius: 999px; padding: 6px 10px; font-size: 13px; cursor: pointer; }
.schat__form { display: flex; gap: 6px; padding: 8px 12px; border-top: 1px solid var(--sep-strong); }
.schat__form input { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid var(--sep-strong); border-radius: 10px; font: inherit; font-size: 16px; background: transparent; color: inherit; }
.schat__form button { border: 0; background: #187a35; color: #fff; border-radius: 10px; padding: 0 14px; font-weight: 600; cursor: pointer; }
.schat__wa { display: block; text-align: center; padding: 10px; font-size: 13px; font-weight: 600; color: #187a35; border-top: 1px solid var(--sep-strong); }
@media (max-width: 900px) { .schat { bottom: 150px; } }
@media (prefers-reduced-motion: no-preference) { .schat:not([hidden]) { animation: dlgIn .18s ease both; } }

/* Home-page ad strip: square picture ads, 2 side by side on a computer, one at a time (with a peek of the next) on a phone */
.sec--features { padding-top: 6px; }
.features { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.features::-webkit-scrollbar { display: none; }
.feature { flex: 0 0 min(560px, 86%); aspect-ratio: 1; scroll-snap-align: center; border-radius: 22px; overflow: hidden; display: block; background: var(--well); box-shadow: 0 14px 34px -16px rgba(60, 10, 30, .55); transition: transform .2s ease, box-shadow .2s ease; }
.feature:first-child { margin-left: auto; }
.feature:last-child { margin-right: auto; }
.feature:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(60, 10, 30, .65); }
.feature:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; }
.feature img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .feature { flex-basis: 88%; border-radius: 18px; }
  .is-home main > .container > .sec--features { order: 1; padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ad, .feature:hover { transition: none; transform: none; } }

/* ───────────── Grouped navigation (menu bar dropdowns, sidebar groups, phone menu groups) ───────────── */
.nav-dd { position: relative; flex-shrink: 0; }
.navbar .nav-dd__btn { cursor: pointer; }
.nav-dd__btn svg { opacity: .85; transition: transform .15s ease; }
.nav-dd.is-open .nav-dd__btn svg { transform: rotate(180deg); }
.nav-dd.is-open .nav-dd__btn { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); }
.nav-dd__panel { display: none; position: fixed; z-index: 90; min-width: 240px; padding: 6px; border-radius: 12px; background: var(--surface); color: var(--label); border: 1px solid var(--sep); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .4); }
.nav-dd.is-open .nav-dd__panel { display: block; }
.navbar .nav-dd__panel a { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: auto; padding: 9px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--label); font-size: 14px; font-weight: 500; white-space: nowrap; }
.navbar .nav-dd__panel a:hover { background: var(--fill-2); color: var(--tint); border: 0; }
.navbar .nav-dd__panel a.is-active { background: var(--fill-2); font-weight: 650; }
.nav-dd__panel small { color: var(--label-3); font-size: 12px; font-variant-numeric: tabular-nums; }

/* Sidebar on the shop page: one collapsible group per heading, the current one open, so the whole list fits on a laptop screen */
.catrail { overscroll-behavior: contain; }
.catrail__tree { display: block; }
.catrail__chips { display: none; }
.catrail__grp > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 7px 16px; border-left: 3px solid transparent; font-size: 14px; font-weight: 600; color: var(--label); cursor: pointer; line-height: 1.3; }
.catrail__grp > summary::-webkit-details-marker { display: none; }
.catrail__grp > summary:hover { background: var(--fill-2); color: var(--tint); }
.catrail__grp > summary svg { margin-left: auto; flex-shrink: 0; color: var(--label-3); transition: transform .15s ease; }
.catrail__grp[open] > summary svg { transform: rotate(180deg); }
.catrail__grp.has-active > summary { border-left-color: var(--brand); }
.catrail__grp > a { padding-left: 30px; font-size: 13.5px; }
.catrail__tree > a { font-weight: 600; color: var(--label); }
@media (max-width: 900px) {
  .catrail__tree { display: none; }
  .catrail__chips { display: contents; }
}

/* Phone menu */
.menu-grp > summary { list-style: none; cursor: pointer; }
.menu-grp > summary::-webkit-details-marker { display: none; }
.menu-grp > summary svg { margin-left: auto; transition: transform .15s ease; }
.menu-grp[open] > summary svg { transform: rotate(180deg); }
.menu-row--sub { padding-left: 34px; }

/* Categories page: group headings */
.cat-group { margin: 26px 0 12px; font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.cat-group:first-of-type { margin-top: 6px; }

/* Compact footer */
.site-foot { margin-top: 36px; }
.perks { margin-bottom: 22px; }
.perk { padding: 11px 14px; }
.foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 1.7fr; gap: 24px; padding-top: 26px; padding-bottom: 22px; }
.foot-grid ul { gap: 6px; }
.foot-grid h2 { margin-bottom: 8px; }
.foot-mid__inner { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-visit { grid-column: 1 / -1; } }

/* Product cards: a clearer title, ratings and "bought" line */
.pc__name { font-size: 16px; font-weight: 600; line-height: 1.3; min-height: 2.6em; letter-spacing: -.01em; }
.pc__rate { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--label-2); }
.pc__rate small { color: var(--label-3); }
.pc__bought { font-size: 12px; color: var(--label-3); }

/* Product page: wishlist heart + share on the photo, zoom, "bought" line, buyer reviews */
.pdp__stage { position: relative; }
.pdp__acts { position: absolute; top: 12px; right: 12px; z-index: 5; display: grid; gap: 10px; justify-items: end; }
.pdp__acts form { margin: 0; }
.pdp__act { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--surface); color: var(--label-2); box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer; list-style: none; transition: transform .25s var(--spring), color .2s; }
.pdp__act::-webkit-details-marker { display: none; }
.pdp__act:hover { color: var(--tint); }
.pdp__act:active { transform: scale(.9); }
.pdp__act.is-on { color: var(--tint); }
.share { position: relative; }
.share[open] > .pdp__act { color: var(--tint); }
.share__panel { position: absolute; top: 52px; right: 0; width: 250px; display: grid; gap: 2px; padding: 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--sep); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.share__panel > b { padding: 4px 8px 8px; font-size: 14px; }
.share__row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 8px; border: 0; border-radius: var(--r-sm); background: none; color: var(--label); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.share__row:hover { background: var(--fill-2); }
.share__row small { margin-left: auto; color: var(--label-3); font-size: 12px; }
.share__url { margin: 6px 8px 2px; padding: 8px 10px; border: 1px solid var(--sep); border-radius: var(--r-sm); background: var(--well); color: var(--label-2); font-size: 13px; width: calc(100% - 16px); }
@media (max-width: 700px) {
  .share__panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; border-radius: 18px 18px 0 0; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); z-index: 60; }
  .share__row { padding: 14px 8px; font-size: 16px; }
}
.pdp__bought { display: flex; align-items: center; gap: 6px; margin: -4px 0 0; font-size: 14px; color: var(--label-2); }
.pdp__bought svg { color: var(--tint); }
.pdp__title { font-size: clamp(26px, 2.6vw, 34px); }
@media (hover: hover) and (min-width: 1000px) {
  .pdp__img[data-zoom] img, .pdp__img[data-zoom] svg { transition: transform .12s ease-out; }
  .pdp__img[data-zoom].is-zoom img, .pdp__img[data-zoom].is-zoom svg { transform: scale(2.2); transform-origin: var(--zx, 50%) var(--zy, 50%); }
}
.pdp-reviews__sum { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.pdp-reviews__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pdp-reviews__list li { padding: 12px 14px; border: 1px solid var(--sep); border-radius: var(--r); background: var(--surface); }
.pdp-reviews__list p { margin: 4px 0; }
.pdp-reviews__list small { color: var(--label-3); }
.rate-items { display: grid; gap: 12px; }
.rate-items h2 { font-size: 17px; }
.rate-item { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--sep); border-radius: var(--r); }
.rate-item__name { font-size: 15px; }

/* Grouped categories page: every tile in a group is the same size (the first tile is not stretched) */
.cat-group + .cat-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 128px)); }
.cat-group + .cat-grid > .cat-tile:first-child { grid-column: auto; }
.cat-group + .cat-grid > .cat-tile:first-child .cat-tile__box { aspect-ratio: 1 / 1; height: auto; }

/* Festival promotion pictures sit at the very top of the home page */
.features-top { padding-top: 14px; }
.features-top .sec--features { margin: 0; padding-top: 0; }
.features-top .feature { flex-basis: min(420px, 86%); border-radius: 18px; }
.features-top .features { padding-bottom: 6px; }

/* Dark mode: the hero's small "family-run" chip was pale text on a pale chip */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__eyebrow { background: rgba(255, 255, 255, .1); color: #ffd9e3; } }
:root[data-theme="dark"] .hero__eyebrow { background: rgba(255, 255, 255, .1); color: #ffd9e3; }

/* Gift card: engraved-note look. A brass double frame, a foil amount, a seal, and a soft glow of light on the card */
.gcard {
  background: radial-gradient(120% 90% at 88% 0%, rgba(255, 255, 255, .2), transparent 58%), radial-gradient(90% 80% at 0% 100%, rgba(0, 0, 0, .22), transparent 60%), var(--gc-bg);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.gcard__kolam { opacity: .22; background-image: repeating-radial-gradient(circle at 100% 100%, transparent 0 9px, var(--gc-accent) 9px 9.6px); background-size: auto; mask-image: linear-gradient(135deg, transparent 38%, #000 100%); }
.gcard__frame { position: absolute; inset: 3.4%; z-index: -1; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--gc-accent) 78%, transparent);
  box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--gc-accent) 0%, transparent), inset 0 0 0 6px color-mix(in srgb, var(--gc-accent) 30%, transparent); }
.gcard__frame::before, .gcard__frame::after { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gc-accent); top: 7px; left: 7px; box-shadow: calc(100cqi - 7% - 14px - 3.4cqi) 0 0 var(--gc-accent); }
.gcard__frame::after { top: auto; bottom: 7px; }
.gcard__seal { position: absolute; top: 8%; right: 7.5%; width: 13cqi; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--gc-accent);
  border: 1px solid color-mix(in srgb, var(--gc-accent) 75%, transparent); background: color-mix(in srgb, var(--gc-bg) 70%, #000 30%);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gc-accent) 22%, transparent); }
.gcard__seal svg, .gcard__seal img { width: 62%; height: 62%; object-fit: contain; }
.gcard__title { font-family: var(--font-brand); font-weight: 700; letter-spacing: .01em; }
.gcard__top { padding-right: 17cqi; }
.gcard__amount {
  font-family: var(--font-brand); font-weight: 700; letter-spacing: 0; font-size: clamp(18px, 13cqi, 46px); line-height: 1;
  background: linear-gradient(100deg, var(--gc-accent) 5%, #fff7d8 38%, var(--gc-accent) 62%, #fff1b5 92%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .25));
}
.gcard__word small { letter-spacing: .26em; }
.gcard--xs .gcard__seal, .gcard--xs .gcard__frame { display: none; }
@media (prefers-contrast: more) { .gcard__amount { background: none; color: var(--gc-accent); } }
[data-gift-preview][data-seal="swan"] .gcard__seal-diya, [data-gift-preview][data-seal="diya"] .gcard__seal-swan { display: none; }
/* Small picker thumbnails: titles scale down so nothing is cut off */
.gcard--xs { padding: 8% 8%; }
.gcard--xs .gcard__top { padding-right: 0; }
.gcard--xs .gcard__title { font-size: clamp(8px, 6.6cqi, 12px); letter-spacing: 0; line-height: 1.15; }
.gcard--xs .gcard__tamil { font-size: clamp(6px, 4.6cqi, 9px); }
.gcard--xs .gcard__word small { display: none; }
