/* =====================================================================================================
   Shopping Lite — website design system. Mobile-first, one stylesheet, no build step, cached for a year
   (Asset::url versions it). Fonts are the device's own: no download, nothing for the security policy
   to block, and Devanagari renders natively.

   Identity
   - Lite Indigo (--brand) is the brand: navigation, primary actions, the hero.
   - Saffron (--accent) marks what is worth a second look: the hero's main action, "limited" badges.
   - Saving green (--save) only ever means "cheaper": lowest price, price drops, money saved.
   - Deal red (--deal) only ever means a discount ("23% off").
   - Everything else is ink on white/soft surfaces. No other colours are introduced.
   Shape: 16px cards, 12px controls, pills for tags. Depth: one soft shadow, a stronger one on hover.
   Motif: the rising-and-falling price line, drawn in the hero.
   ===================================================================================================== */
:root {
    color-scheme: light;
    /* Brand (an admin colour in Settings → Site replaces --brand) */
    --brand: #4b2ae8; --brand-600: #3b1fd0; --brand-700: #2c169f; --brand-900: #170c5c;
    --brand-050: #f4f1ff; --brand-100: #e7e1ff;
    --brand-solid: var(--brand); /* filled buttons: white text on it stays readable in both themes */
    --accent: #ffb020; --accent-600: #f29a00; --accent-050: #fff5df; --accent-ink: #3d2600;
    --save: #08955e; --save-050: #e6f6ee;
    --deal: #e5364f; --deal-050: #ffedf0;
    /* Ink & surfaces */
    --ink: #0e1330; --ink-2: #3a4163; --muted: #6a7190; --line: #e5e7f1; --line-2: #eff1f7;
    --bg: #ffffff; --surface: #f5f6fb; --card: #ffffff;
    /* Shape & depth */
    --radius: 16px; --radius-sm: 12px; --radius-xs: 8px;
    --shadow: 0 1px 2px rgba(14, 19, 48, .05), 0 6px 18px -10px rgba(14, 19, 48, .16);
    --shadow-lg: 0 2px 6px rgba(14, 19, 48, .06), 0 18px 40px -18px rgba(28, 16, 120, .32);
    --max: 1240px; --tabbar: 62px; --header: 60px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", "Helvetica Neue", Arial, sans-serif;
    /* Older names, kept so every page keeps its colours */
    --sale: var(--deal); --ok: var(--save); --ok-bg: var(--save-050); --warn: #a35c00; --warn-bg: #fff4e0;
    --pink: var(--deal); --orange: var(--accent-600); --teal: var(--save); --sky: var(--brand);
    --grad: linear-gradient(135deg, var(--brand) 0%, #6a3cf2 100%);
    --grad-warm: linear-gradient(135deg, var(--deal) 0%, #f0586e 100%);
    --grad-cool: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
}
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --brand: #8f7bff; --brand-600: #a594ff; --brand-700: #2a1d7a; --brand-900: #120a3d;
        --brand-050: #191538; --brand-100: #241d52; --brand-solid: #5a40f0;
        --accent: #ffbd45; --accent-600: #ffa91a; --accent-050: #2d2210; --accent-ink: #2a1a00;
        --save: #3ccf8e; --save-050: #0f2a1e; --deal: #ff6b80; --deal-050: #33141b;
        --ink: #eef0f8; --ink-2: #c0c5d8; --muted: #8e95ad; --line: #262b3d; --line-2: #1d2131;
        --bg: #0b0d16; --surface: #121522; --card: #151927;
        --warn: #f5a524; --warn-bg: #2d2010;
        --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 8px 22px -12px rgba(0, 0, 0, .8);
        --shadow-lg: 0 4px 12px rgba(0, 0, 0, .5), 0 22px 44px -20px rgba(0, 0, 0, .9);
    }
}

/* ---------------------------------------------------------------- Base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15.5px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 70%, transparent); outline-offset: 2px; border-radius: 8px; }
button { font: inherit; }
h1, h2, h3 { color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-xs { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } html { scroll-behavior: auto; } }

/* ---------------------------------------------------------------- Disclosure & outage */
.disclosure { background: var(--surface); color: var(--muted); font-size: 12px; line-height: 1.45; padding: 6px 0; border-bottom: 1px solid var(--line); }
.disclosure a { text-decoration: underline; color: inherit; }
.outage { background: var(--warn-bg); color: var(--warn); font-size: 14px; padding: 10px 0; font-weight: 600; display: none; }
.outage.show { display: block; }

/* ---------------------------------------------------------------- Header */
header.site { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent);
              backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 12px; min-height: var(--header); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 850; font-size: 19px; letter-spacing: -.5px; color: var(--ink); white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 850;
             box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--brand) 80%, transparent); }
.logo b { color: var(--brand); }
/* An uploaded logo (Settings -> Site -> Logo) replaces the mark and wordmark; its own shape sets the width. */
.logo-img { height: 38px; width: auto; max-width: 220px; object-fit: contain; display: block; }
@media (max-width: 560px) { .logo-img { height: 32px; max-width: 160px; } }
nav.primary { display: none; gap: 2px; margin-left: 18px; }
nav.primary a { color: var(--ink-2); font-size: 14.5px; font-weight: 650; padding: 8px 12px; border-radius: 10px; position: relative; }
nav.primary a:hover { color: var(--ink); background: var(--surface); text-decoration: none; }
nav.primary a[aria-current] { color: var(--brand); }
nav.primary a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -11px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
            transition: background .15s, color .15s, border-color .15s; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); background: var(--brand-050); text-decoration: none; }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.get-app { display: none; }

/* ---------------------------------------------------------------- Search (opened from the header) */
.search-panel { border-top: 1px solid var(--line); background: var(--bg); padding: 10px 0 12px; }
.search-panel[hidden] { display: none; }
.search { position: relative; max-width: 760px; margin: 0 auto; }
.search form { position: relative; }
.search input { width: 100%; height: 48px; padding: 0 16px 0 46px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
                border-radius: 14px; font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s, background .15s; -webkit-appearance: none; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--brand); background: var(--bg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.search .s-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; pointer-events: none; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: 16px;
           box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 60; max-height: min(70vh, 520px); overflow-y: auto; }
.suggest.open { display: block; animation: pop .14s ease-out; }
.suggest .sg-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; padding: 10px 10px 4px; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; color: var(--ink); }
.suggest a:hover, .suggest a.active { background: var(--brand-050); text-decoration: none; }
.suggest img, .suggest .sg-ph { width: 40px; height: 40px; border-radius: 9px; object-fit: contain; background: var(--surface); flex: none; }
.suggest .sg-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.suggest .sg-price { font-weight: 800; font-size: 14px; }
.suggest .sg-empty { padding: 16px; color: var(--muted); font-size: 14px; text-align: center; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.sk { background: linear-gradient(90deg, var(--line-2) 0, var(--line) 40%, var(--line-2) 80%); background-size: 800px 100%; animation: shimmer 1.2s linear infinite; border-radius: 8px; }

/* ---------------------------------------------------------------- Mobile tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: color-mix(in srgb, var(--bg) 95%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
          border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tabbar) + env(safe-area-inset-bottom));
          padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 650; position: relative; }
.tabbar a svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a[aria-current], .tabbar a:hover { color: var(--brand); text-decoration: none; }
.tabbar a[aria-current]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand); }
body { padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); }

/* ---------------------------------------------------------------- Page rhythm */
main { min-height: 60vh; }
section { margin: 30px 0; }
h1 { font-size: clamp(26px, 6vw, 42px); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 12px; font-weight: 850; }
h2 { font-size: clamp(19px, 4vw, 24px); letter-spacing: -.02em; margin: 0; line-height: 1.25; font-weight: 800; }
.lede { color: var(--ink-2); font-size: 16.5px; margin: 0 0 22px; max-width: 64ch; }
.section-head, .hs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.section-head p, .hs-head p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.section-head a { font-weight: 700; font-size: 14px; white-space: nowrap; }
.hs-more { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 13.5px; white-space: nowrap; color: var(--brand);
           padding: 6px 12px; border-radius: 999px; background: var(--brand-050); }
.hs-more:hover { text-decoration: none; background: var(--brand-100); }

/* ---------------------------------------------------------------- Buttons, tags, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: inherit; font-size: 14.5px; font-weight: 700; padding: 11px 18px; line-height: 1.2;
       border: 0; border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap; transition: transform .1s, filter .15s, box-shadow .15s, background .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--brand-solid); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--brand-solid) 88%, #000); color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn-accent:hover { background: var(--accent-600); color: var(--accent-ink); }
.btn-onbrand { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-onbrand:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-quiet { background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.btn-quiet:hover { color: var(--brand); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 40%, var(--line)); }
.btn-grad { background: var(--grad); color: #fff; }
.btn-grad:hover { filter: brightness(1.07); color: #fff; }
.btn-deal { background: var(--deal); color: #fff; }
.btn-deal:hover { filter: brightness(1.06); color: #fff; }
.btn-outline { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.btn-soft { background: var(--brand-050); color: var(--brand); }
.btn-soft:hover { background: var(--brand-100); }
.btn-lg { padding: 14px 22px; font-size: 15.5px; border-radius: 14px; }
.btn-sm { padding: 8px 12px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }
.tag { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; line-height: 1.35; white-space: nowrap; }
.tag-deal { background: var(--deal); color: #fff; }
.tag-save { background: var(--save-050); color: var(--save); }
.tag-accent { background: var(--accent); color: var(--accent-ink); }
.tag-new { background: var(--brand-050); color: var(--brand); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
        color: var(--ink-2); font-size: 13.5px; font-weight: 650; white-space: nowrap; flex: none; }
.chip:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.chip[aria-current], .chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.badge-sale { background: var(--deal-050); color: var(--deal); }
.badge-best { background: var(--save-050); color: var(--save); }
.badge-new { background: var(--brand-050); color: var(--brand); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }

/* ---------------------------------------------------------------- Hero */
.hx { position: relative; margin: 14px 0 6px; border-radius: 24px; padding: 24px 20px 22px; color: #fff; overflow: hidden; display: grid; gap: 22px;
      background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='220' viewBox='0 0 560 220'%3E%3Cpath d='M0 170 70 120l60 34 72-74 64 46 70-88 80 60 74-36 70 26' fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right -40px bottom -24px / 560px auto no-repeat,
        radial-gradient(520px 260px at 92% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%),
        radial-gradient(600px 320px at 0% 110%, rgba(255, 255, 255, .10), transparent 70%),
        linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 55%, var(--brand) 100%); }
.hx h1 { color: #fff; font-size: clamp(30px, 7.4vw, 52px); max-width: 14ch; margin: 10px 0 10px; }
.hx h1 span { color: var(--accent); }
.hx-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .9);
             background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 5px 11px; border-radius: 999px; }
.vs-hero .hx-kicker { color: var(--brand); background: var(--brand-050); border-color: var(--brand-100); }
.hx-lede { margin: 0 0 18px; color: rgba(255, 255, 255, .86); font-size: 16px; max-width: 46ch; }
.hx-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 460px; }
.hx-ctas .btn { padding: 12px 8px; font-size: 14.5px; white-space: normal; text-align: center; min-width: 0; }
@media (max-width: 400px) {
    .hx { padding: 20px 16px 18px; gap: 18px; }
    .hx-kicker { display: none; }
    .hx h1 { margin-top: 0; }
    .hx-lede { font-size: 15px; margin-bottom: 16px; }
    .hx-ctas .btn svg { display: none; }
    .hx-stats { margin-top: 16px; gap: 18px; }
    .hx-stats strong { font-size: 19px; }
}
.hx-stats { list-style: none; display: flex; gap: 22px; margin: 20px 0 0; padding: 0; flex-wrap: wrap; }
.hx-stats strong { display: block; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; }
.hx-stats span { font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.hx-visual { min-width: 0; }
.hx-picks { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.hx-picks::-webkit-scrollbar { display: none; }
.hx-pick { scroll-snap-align: start; }
.hx-pick a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: #fff; color: #0e1330; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .6); height: 100%; }
.hx-pick a:hover { text-decoration: none; }
.hx-pick-img { width: 64px; height: 64px; border-radius: 12px; background: #f5f6fb; display: grid; place-items: center; flex: none; overflow: hidden; }
.hx-pick-img img { max-width: 56px; max-height: 56px; object-fit: contain; mix-blend-mode: multiply; }
.hx-pick-text { display: grid; gap: 1px; min-width: 0; }
.hx-pick-title { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hx-pick-text strong { font-size: 16px; letter-spacing: -.02em; }
.hx-pick-note { font-size: 11.5px; font-weight: 700; color: #08955e; }
.hx-art { width: 100%; max-width: 360px; height: auto; margin: 0 auto; display: block; }

/* ---------------------------------------------------------------- Rails (sideways lists) */
.hs { margin: 30px 0; }
.rail-wrap { position: relative; }
.rail { list-style: none; margin: 0 -16px; padding: 2px 16px 12px; display: grid; grid-auto-flow: column; grid-auto-columns: var(--rail-w, 46%); gap: 12px;
        overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > li { scroll-snap-align: start; display: flex; min-width: 0; }
.rail > li > * { flex: 1; min-width: 0; }
.rail-deals, .rail-price-drops { --rail-w: 46%; }
.rail-compare { --rail-w: 86%; }
.rail-brand-comparisons { --rail-w: 58%; }
.rail-stores { --rail-w: 30%; }
.rail-articles { --rail-w: 80%; }
.rail-categories { grid-template-rows: repeat(2, auto); grid-auto-columns: 80px; gap: 10px 8px; }
.rail-arrow { position: absolute; top: calc(50% - 30px); z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink);
              display: none; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: opacity .15s, color .15s; }
.rail-arrow:hover { color: var(--brand); }
.rail-arrow[disabled] { opacity: 0; pointer-events: none; }
.rail-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rail-arrow.prev { left: -18px; }
.rail-arrow.next { right: -18px; }

/* ---------------------------------------------------------------- ProductCard / DealCard / PriceDropCard */
.pc, .dc { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
           transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.pc:hover, .dc:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 26%, var(--line)); }
.pc-media { position: relative; aspect-ratio: 1; background: var(--surface); display: grid; place-items: center; padding: 14px; }
.pc-media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.pc-media > .tag, .pc-media > .tags { position: absolute; top: 9px; left: 9px; }
.pc-media .tags { display: flex; flex-wrap: wrap; gap: 4px; right: 9px; }
.pc-ph { width: 44px; height: 44px; stroke: var(--muted); stroke-opacity: .55; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pc-body { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-brand { font-size: 11.5px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.pc-title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.pc-title a { color: var(--ink); }
.pc-title a:hover { color: var(--brand); text-decoration: none; }
.pc-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.pc-price .price { font-size: 18px; }
.pc-noprice { font-size: 13.5px; font-weight: 650; color: var(--ink-2); }
.pc-offer { font-size: 14px; font-weight: 800; color: var(--deal); }
.pc-store { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-store b { color: var(--save); font-weight: 750; }
.pc-media > .tag-count { left: auto; right: 9px; background: color-mix(in srgb, var(--card) 92%, transparent); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.pc-actions { margin-top: auto; padding-top: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.pc-actions .btn { padding: 8px 6px; font-size: 12.5px; }
.pc-actions .btn svg { width: 15px; height: 15px; }
/* Phones: the compare button is just its icon (the whole card opens the comparison too). */
@media (max-width: 639px) {
    .pc-actions { grid-template-columns: 36px 1fr; }
    .pc-actions .btn-quiet .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .pc-actions .btn-quiet:only-child { grid-column: 1 / -1; }
    .pc-actions .btn-quiet:only-child .lbl { position: static; width: auto; height: auto; clip: auto; }
}
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.over { position: relative; z-index: 2; }
.pd-flow { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.pd-flow .price { font-size: 18px; color: var(--ink); }
.pd-arrow { color: var(--save); font-weight: 800; }
.pd-save { font-size: 13px; font-weight: 800; color: var(--save); }
.price { font-weight: 850; font-size: 19px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.was { color: var(--muted); text-decoration: line-through; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.off { color: var(--deal); font-weight: 800; font-size: 13.5px; }

/* ---------------------------------------------------------------- CategoryCard */
.cat { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 4px 2px; text-align: center; color: var(--ink); border-radius: var(--radius-sm); }
.cat:hover { text-decoration: none; }
.cat-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand); border: 1px solid var(--brand-100);
          transition: transform .16s, background .16s, color .16s; }
.cat-ic .ic { width: 28px; height: 28px; stroke-width: 1.7; }
.cat-ic img { width: 40px; height: 40px; object-fit: contain; }
.cat:hover .cat-ic { transform: translateY(-2px); background: var(--brand); color: #fff; }
.cat-name { font-size: 12.5px; font-weight: 650; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------------------------------------------------------- CompareCard ("Compare before you buy") */
.cmp { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.cmp-head { display: flex; gap: 12px; align-items: center; }
.cmp-img { width: 76px; height: 76px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; flex: none; padding: 6px; }
.cmp-img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.cmp-what { min-width: 0; }
.cmp-what .pc-title { min-height: 0; font-size: 15px; }
.cmp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cmp-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; background: var(--surface); font-size: 14px; }
.cmp-list li.is-best { background: var(--save-050); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--save) 45%, transparent); }
.cmp-store { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; min-width: 0; }
.cmp-store img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; background: #fff; }
.cmp-initial { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand); font-size: 12px; font-weight: 800; }
.cmp-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.cmp-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cmp-save { font-size: 13px; font-weight: 800; color: var(--save); }

/* ---------------------------------------------------------------- ComparisonCard ("Apple vs Samsung") */
.vs { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 12px 14px; width: 100%; border-radius: var(--radius);
      background: linear-gradient(180deg, var(--brand-050), var(--card) 70%); border: 1px solid var(--line); color: var(--ink); transition: transform .16s, box-shadow .16s, border-color .16s; }
.vs:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 26%, var(--line)); }
.vs-pics { display: flex; align-items: center; margin-bottom: 4px; }
.vs-pic { width: 62px; height: 62px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
          font-weight: 850; font-size: 22px; color: var(--brand); box-shadow: var(--shadow); }
.vs-pic img { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.vs-mark { position: relative; z-index: 1; margin: 0 -8px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 900; text-transform: uppercase;
           width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--card); }
.vs-title { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.vs-sub { font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- StoreCard */
.st { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 8px 12px; width: 100%; border-radius: var(--radius); background: var(--card);
      border: 1px solid var(--line); color: var(--ink); transition: transform .16s, box-shadow .16s, border-color .16s; }
.st:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 26%, var(--line)); }
.st-logo { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); overflow: hidden; }
.st-logo img { width: 44px; height: 44px; object-fit: contain; }
.st-initial { font-size: 22px; font-weight: 850; color: var(--brand); }
.st-name { font-size: 13px; font-weight: 700; line-height: 1.25; }
.st-sale { font-size: 11.5px; font-weight: 750; color: var(--deal); line-height: 1.25; }

/* ---------------------------------------------------------------- ArticleCard */
.ac { position: relative; display: flex; flex-direction: column; width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
      transition: transform .16s, box-shadow .16s, border-color .16s; }
.ac:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 26%, var(--line)); }
.ac-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-050), var(--accent-050)); display: grid; place-items: center; overflow: hidden; }
.ac-media img { width: 100%; height: 100%; object-fit: cover; }
.ac-body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ac-cat { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.ac-title { margin: 0; font-size: 16px; font-weight: 750; line-height: 1.32; letter-spacing: -.01em; }
.ac-title a { color: var(--ink); }
.ac-title a:hover { color: var(--brand); text-decoration: none; }
.ac-text { margin: 0; font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ac-meta { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 12px; color: var(--muted); }
.ac-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 750; }

/* ---------------------------------------------------------------- Banners & promo */
.banners { display: grid; gap: 12px; }
.banner { border-radius: var(--radius); overflow: hidden; display: block; box-shadow: var(--shadow); }
.banner img { width: 100%; }
.promo { border-radius: 24px; padding: clamp(22px, 5vw, 40px); color: #fff; display: grid; gap: 16px; align-items: center;
         background: radial-gradient(420px 200px at 100% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), var(--grad-cool); }
.promo h2 { color: #fff; }
.promo p { margin: 6px 0 0; color: rgba(255, 255, 255, .85); }

/* ---------------------------------------------------------------- Brand comparison page */
.vs-hero { margin-top: 8px; }
.vs-hero h1 { margin-top: 12px; }
.vs-word { color: var(--accent-600); font-size: .7em; vertical-align: .12em; padding: 0 .1em; }
.vs-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 640px; }
.vs-side { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.vs-side-name { font-weight: 800; font-size: 16px; }
.vs-side-fig { font-size: 13px; color: var(--muted); }
.vs-side-fig b { color: var(--save); }
.vs-cols { display: grid; gap: 8px; }
.vs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vs-grid > li { display: flex; }
.vs-grid > li > * { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- Grids & older cards (listing pages) */
.grid { display: grid; gap: 12px; }
.g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-wide { grid-template-columns: 1fr; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
            scrollbar-width: none; padding: 2px 16px 8px; margin: 0 -16px; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
        position: relative; color: var(--ink); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 26%, var(--line)); text-decoration: none; }
.card .shot { aspect-ratio: 1; background: var(--surface); display: grid; place-items: center; padding: 14px; }
.card .shot img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.card .body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card .name { font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { color: var(--muted); font-size: 12.5px; margin-top: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ribbon { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--deal); color: #fff; font-size: 11.5px; font-weight: 850; padding: 3px 9px; border-radius: 999px; }
.stores-pill { position: absolute; top: 10px; right: 10px; z-index: 1; background: var(--card); color: var(--ink-2); font-size: 11.5px; font-weight: 800;
               padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); }
.tile { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 8px; text-align: center; background: var(--card); color: var(--ink);
        transition: transform .16s, box-shadow .16s, border-color .16s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); text-decoration: none; }
.tile img { height: 46px; width: auto; margin: 0 auto 9px; object-fit: contain; }
.tile .label { font-size: 13px; font-weight: 700; line-height: 1.3; }
.tile .sale { font-size: 11.5px; color: var(--deal); font-weight: 750; margin-top: 3px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.empty { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 36px 22px; text-align: center; color: var(--muted); background: var(--surface); }
.empty strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* ---------------------------------------------------------------- Product page */
.p-top { display: grid; gap: 20px; margin-top: 8px; }
.p-gallery { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; aspect-ratio: 1; display: grid; place-items: center; padding: 24px; }
.p-gallery.empty { aspect-ratio: 3 / 1; }
.p-gallery img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.p-title { font-size: clamp(21px, 4.2vw, 30px); letter-spacing: -.02em; line-height: 1.25; margin: 6px 0 10px; }
.p-best { border-radius: 18px; padding: 16px 18px; background: linear-gradient(135deg, var(--save-050), var(--card));
          border: 1px solid color-mix(in srgb, var(--save) 35%, var(--line)); margin: 14px 0; }
.p-best .price { font-size: 30px; }
.p-best .label { color: var(--save); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.compare { display: grid; gap: 10px; }
.offer { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px;
         background: var(--card); transition: border-color .15s, box-shadow .15s; }
.offer:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow); }
.offer.best { border: 2px solid var(--save); }
.offer .o-logo { width: 48px; height: 48px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; overflow: hidden; font-weight: 850; color: var(--brand); }
.offer .o-logo img { max-width: 40px; max-height: 40px; object-fit: contain; }
.offer .o-store { font-weight: 750; }
.offer .o-sub { font-size: 12.5px; color: var(--muted); }
.offer .o-price { text-align: right; }
.offer .o-price .price { font-size: 18px; display: block; }
.offer .btn { margin-top: 6px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 650; width: 38%; }
.history { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.history svg { width: 100%; height: auto; display: block; overflow: visible; }
.history .h-grid { stroke: var(--line); stroke-width: 1; }
.history .h-tick { fill: var(--muted); font-size: 11px; }
.history .h-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.note { font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- Listing filters */
.toolbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 12px 0 16px; }
.toolbar select, .field input, .field select { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 14.5px; }
.filters-panel { display: none; }
.filters-panel.open { display: block; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 700; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------------------------------------------------------------- Crumbs / pager / prose */
.crumbs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 16px 0 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.pager { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager .now { color: var(--muted); font-size: 14px; padding: 0 6px; }
.prose { max-width: 72ch; color: var(--ink-2); }
.prose h2 { font-size: 21px; margin: 30px 0 10px; color: var(--ink); }
.prose h3 { font-size: 17.5px; margin: 24px 0 8px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }

/* ---------------------------------------------------------------- Footer */
footer.site { margin-top: 56px; padding: 40px 0 28px; background: #0d1030; color: #c3c7de; }
footer.site .cols { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
footer.site .f-brand { grid-column: 1 / -1; }
footer.site .logo { color: #fff; }
footer.site .logo b { color: #b6a8ff; }
footer.site .f-tag { margin: 10px 0 14px; max-width: 38ch; font-size: 14px; color: #a8adc8; }
footer.site .f-app { display: inline-flex; }
footer.site h3 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: #8a90b3; margin: 0 0 10px; font-weight: 800; }
footer.site .cols a:not(.btn):not(.logo) { display: block; color: #d3d6ea; padding: 4px 0; font-size: 14px; }
footer.site .cols a:not(.btn):not(.logo):hover { color: #fff; }
footer.site .fine { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); color: #8a90b3; font-size: 12.5px; }

/* ---------------------------------------------------------------- Sharing & app banner */
[data-share-link] { cursor: pointer; font: inherit; }
.share-sheet { position: fixed; inset: 0; z-index: 90; background: rgba(10, 12, 30, .5); display: grid; align-items: end; justify-items: center; padding: 12px; }
.share-sheet .ss-box { width: min(440px, 100%); background: var(--card); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 18px; animation: pop .16s ease-out; }
.share-sheet h3 { margin: 0 0 4px; font-size: 17px; }
.share-sheet .ss-url { display: flex; gap: 8px; margin: 12px 0; }
.share-sheet .ss-url input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 14px; background: var(--surface); color: var(--ink); }
.share-sheet .ss-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.share-sheet .ss-apps a { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 14px; color: var(--ink-2); font-size: 12.5px; font-weight: 650; }
.share-sheet .ss-apps a:hover { background: var(--surface); text-decoration: none; }
.share-sheet .ss-apps span.ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 850; }
.app-banner { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tabbar) + 10px + env(safe-area-inset-bottom)); z-index: 44; display: flex; align-items: center; gap: 10px;
              background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px 10px 10px 12px; animation: pop .2s ease-out; }
.app-banner .ab-text { flex: 1; min-width: 0; display: grid; font-size: 13px; line-height: 1.3; }
.app-banner .ab-text span { color: var(--muted); }
.app-banner .ab-close { background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; padding: 4px 6px; cursor: pointer; }

/* ---------------------------------------------------------------- Dark-mode details */
@media (prefers-color-scheme: dark) {
    .pc-media img, .card .shot img, .p-gallery img, .cmp-img img, .vs-pic img { mix-blend-mode: normal; }
    .pc-media, .card .shot, .cmp-img { background: #f3f4f8; }
    .vs-pic { background: #f3f4f8; }
}

/* ---------------------------------------------------------------- Larger phones & tablets */
@media (min-width: 480px) {
    .get-app { display: inline-flex; }
}
@media (min-width: 640px) {
    .g-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
    .g-tiles { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
    .g-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
    .scroller { grid-auto-columns: minmax(200px, 30%); }
    .rail { --rail-w: 31%; gap: 14px; }
    .rail-deals, .rail-price-drops { --rail-w: 31%; }
    .rail-compare { --rail-w: 60%; }
    .rail-brand-comparisons { --rail-w: 36%; }
    .rail-stores { --rail-w: 19%; }
    .rail-articles { --rail-w: 46%; }
    .hx { padding: 32px 30px 30px; }
    .hx-picks { grid-auto-columns: 46%; }
    .banners { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
    .promo { grid-template-columns: 1fr auto; }
    footer.site .cols { grid-template-columns: 1.6fr repeat(3, 1fr); }
    footer.site .f-brand { grid-column: auto; }
    .vs-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
}

/* ---------------------------------------------------------------- Desktop */
@media (min-width: 960px) {
    body { padding-bottom: 0; font-size: 16px; }
    .tabbar { display: none; }
    .app-banner { display: none !important; }
    nav.primary { display: flex; }
    section { margin: 40px 0; }
    .hs { margin: 44px 0; }
    .hs-head { margin-bottom: 18px; }
    .wrap { padding: 0 24px; }

    .hx { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 30px; padding: 46px 48px; margin-top: 22px; border-radius: 28px; }
    .hx-ctas { display: flex; gap: 12px; max-width: none; }
    .hx-ctas .btn { padding: 14px 22px; }
    .hx-picks { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; gap: 12px; overflow: visible; max-width: 420px; margin-left: auto; }
    .hx-pick a { padding: 12px 14px; }
    .hx-pick-2 { transform: translateX(-34px); }
    .hx-pick-3 { transform: translateX(14px); }
    .hx-pick-img { width: 72px; height: 72px; }
    .hx-pick-img img { max-width: 62px; max-height: 62px; }

    .rail { margin: 0; padding: 4px 2px 14px; gap: 16px; scroll-padding: 0; --rail-w: calc((100% - 4 * 16px) / 5); }
    .rail-deals, .rail-price-drops { --rail-w: calc((100% - 4 * 16px) / 5); }
    .rail-stores { --rail-w: calc((100% - 7 * 16px) / 8); }
    .rail-brand-comparisons { --rail-w: calc((100% - 3 * 16px) / 4); }
    /* These fit on one screen: a plain grid, no paging. */
    .rail-compare, .rail-articles, .rail-categories { grid-auto-flow: row; overflow: visible; }
    .rail-compare { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rail-articles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rail-categories { grid-template-rows: none; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 18px 10px; }
    .rail-arrow { display: grid; }

    .scroller { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); overflow: visible; margin: 0; padding: 0; gap: 16px; }
    .p-top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px; align-items: start; }
    .p-gallery { position: sticky; top: 90px; }
    .listing { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
    .filters-panel { display: block !important; position: sticky; top: 90px; }
    .filters-toggle { display: none !important; }
    .vs-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
    .vs-cols .hs { margin-top: 30px; }
}
@media (min-width: 1240px) {
    .rail-arrow.prev { left: -20px; }
    .rail-arrow.next { right: -20px; }
}
@media print { header.site, .tabbar, footer.site, .disclosure, .rail-arrow { display: none; } }
