/* Roboto (SIL Open Font License, assets/fonts/LICENSE-roboto.txt), served from this site: one variable file for every
   weight, Latin only; a second small file only for the rupee sign. swap: text shows at once in the fallback font. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/roboto-latin.woff2") format("woff2");
  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; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/roboto-latin-ext.woff2") format("woff2"); unicode-range: U+20B9; }

/* Price Check: navy brand, orange for actions, green / red only for price going down / up. */
:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --ink: #0f1b2d;
  --ink-2: #3b4a5e;
  --muted: #5a6577;
  --line: #e1e6ed;
  --brand: #12305c;
  --brand-2: #1b4384;
  --brand-ink: #ffffff;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-ink: #ffffff;
  --accent-soft: #fff0e6;
  --link: #1b4fa3;
  --good: #0b7a43;
  --good-soft: #e3f5eb;
  --warn: #8f5600;
  --warn-soft: #fff3d9;
  --bad: #c0362c;
  --chart: #1f5fbf;
  --chart-area: rgb(31 95 191 / .08);
  --radius: 14px;
  --shadow: 0 1px 2px rgb(15 27 45 / .06), 0 4px 16px rgb(15 27 45 / .05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b111a;
    --surface: #131b27;
    --surface-2: #18212f;
    --ink: #e8edf4;
    --ink-2: #b7c2d1;
    --muted: #8a97a9;
    --line: #253142;
    --brand: #0e1a2c;
    --brand-2: #1a2c47;
    --accent: #ff7a33;
    --accent-hover: #ff8f52;
    --accent-ink: #1a0b02;
    --accent-soft: #3a2010;
    --link: #8db4ff;
    --good: #4fd08d;
    --good-soft: #12301f;
    --warn: #f2c066;
    --warn-soft: #332810;
    --bad: #ff8a80;
    --chart: #74a6ff;
    --chart-area: rgb(116 166 255 / .1);
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  overflow-wrap: break-word;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.45rem, 3.4vw, 2rem); }
h2 { font-size: 1.2rem; }
h3 { font-size: 1rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 30; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- header ---------- */
.top { background: var(--brand); color: var(--brand-ink); position: sticky; top: 0; z-index: 25; }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; color: #fff; text-decoration: none; white-space: nowrap; letter-spacing: -.02em; }
.logo img { display: block; }
.top-search { flex: 1; display: flex; max-width: 640px; background: #fff; border-radius: 10px; }
.top-search input { flex: 1; min-width: 0; border: 0; padding: 10px 14px; font: inherit; color: #0f1b2d; background: transparent; border-radius: 10px 0 0 10px; }
.top-search input:focus { outline: none; }
.top-search:focus-within { outline: 3px solid var(--accent); outline-offset: 1px; }
.top-search button { border: 0; background: var(--accent); color: #fff; padding: 0 18px; font: inherit; font-weight: 700; cursor: pointer; border-radius: 0 10px 10px 0; }
.top-search button:hover { background: var(--accent-hover); }
.nav { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav a { color: rgb(255 255 255 / .85); text-decoration: none; white-space: nowrap; font-size: .92rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { color: #fff; background: rgb(255 255 255 / .12); }

/* ---------- page parts ---------- */
main { padding-top: 24px; padding-bottom: 48px; min-height: 60vh; }
/* breadcrumb: Home > Amazon > Electronics - chevrons drawn in CSS, one line, the current page in ink */
.crumbs { margin: 0 0 14px; font-size: .84rem; line-height: 1.4; }
.crumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; color: var(--muted); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px 0 8px; flex: none;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .55; }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 3px 6px; margin: 0 -6px; border-radius: 6px; }
.crumbs a:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.crumbs a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.crumbs-home { display: inline-flex; align-items: center; gap: 5px; }
.crumbs-home::before { content: ""; width: 13px; height: 13px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E") center / contain no-repeat; }
.crumbs [aria-current] span { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; display: block; }
.block { margin-top: 36px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.block-head h2 { margin: 0; }
.block-head a { font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.lead { font-size: 1.05rem; color: var(--ink-2); max-width: 680px; margin: 0 0 12px; }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--ink-2); }

/* hero (home, checker) */
.hero-band { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; margin-top: -24px; padding-top: 36px; padding-bottom: 44px;
  /* full width, content still in the page column */
  margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
.hero-band h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); margin-bottom: 8px; }
.hero-band p { color: rgb(255 255 255 / .85); margin: 0 0 18px; font-size: 1.08rem; max-width: 640px; }
.hero-band .crumbs li, .hero-band .crumbs a, .hero-band .crumbs [aria-current] span { color: rgb(255 255 255 / .9); }
.hero-band .crumbs a:hover { color: #fff; background: rgb(255 255 255 / .14); }
.big-search { display: flex; background: #fff; border-radius: 12px; max-width: 720px; box-shadow: 0 8px 24px rgb(0 0 0 / .18); }
.big-search--full { max-width: none; }
.big-search--full input { padding: 18px 20px; font-size: 1.1rem; }
.hero-band--home { padding-top: 40px; padding-bottom: 40px; text-align: center; }
.hero-band--home p { margin-left: auto; margin-right: auto; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; margin-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.tabs a small { color: var(--muted); font-weight: 500; margin-left: 2px; }
.tabs a:hover { border-color: var(--brand); color: var(--ink); }
.tabs a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.tabs a[aria-current] small { color: rgb(255 255 255 / .75); }
#deals[aria-busy="true"] { opacity: .5; transition: opacity .15s; }
.load-more[hidden] { display: none; }
.load-more { display: flex; justify-content: center; margin-top: 24px; }
.load-more a { padding: 12px 28px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; text-decoration: none; }
.load-more a:hover { border-color: var(--brand); }
.load-more a[aria-busy="true"] { opacity: .6; pointer-events: none; }
.big-search input { flex: 1; min-width: 0; border: 0; padding: 16px 18px; font: inherit; font-size: 1.05rem; color: #0f1b2d; border-radius: 12px 0 0 12px; background: transparent; }
.big-search input:focus { outline: none; }
.big-search:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.big-search button { border: 0; background: var(--accent); color: #fff; padding: 0 24px; font: inherit; font-weight: 700; cursor: pointer; border-radius: 0 12px 12px 0; }
.big-search button:hover { background: var(--accent-hover); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.chips span { font-size: .85rem; color: rgb(255 255 255 / .7); }
.chip { padding: 5px 12px; border-radius: 999px; background: rgb(255 255 255 / .12); color: #fff; text-decoration: none; font-size: .88rem; }
.chip:hover { background: rgb(255 255 255 / .22); }
.stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; font-size: .92rem; color: rgb(255 255 255 / .8); }
.stats b { color: #fff; font-size: 1.1rem; margin-right: 4px; font-variant-numeric: tabular-nums; }
.page-head { margin-bottom: 16px; }
.page-head p { color: var(--muted); margin: 0; }

/* steps + faq */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 56px; position: relative; color: var(--ink-2); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; }
.steps b { display: block; color: var(--ink); margin-bottom: 2px; }
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 8px 0 0; }

/* ---------- product cards ---------- */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; position: relative;
  transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #b9c4d3; box-shadow: var(--shadow); }
.card-in { display: flex; flex-direction: column; gap: 6px; padding: 12px; color: var(--ink); text-decoration: none; flex: 1; }
.card-img { aspect-ratio: 1; display: grid; place-items: center; background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 4px; position: relative; }
.img-badge { position: absolute; top: 8px; right: 8px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800; padding: 3px 8px;
  border-radius: 7px; font-variant-numeric: tabular-nums; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.card-name { font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card-price strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.card-price s { color: var(--muted); font-size: .82rem; }
.card-price em { color: var(--good); font-style: normal; font-size: .82rem; font-weight: 700; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; min-height: 22px; }
.tag { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 6px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.tag-good { background: var(--good-soft); color: var(--good); }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-plain { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.spark { width: 100%; height: 30px; display: block; }
.spark-line { fill: none; stroke: var(--chart); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.spark-now { fill: var(--accent); }
.card-meta { display: flex; justify-content: space-between; gap: 6px; font-size: .76rem; color: var(--muted); margin-top: auto; padding-top: 2px; }
.store-chip { font-weight: 700; color: var(--ink-2); }
.card-buy { margin: 0 12px 12px; text-align: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; font-size: .84rem; font-weight: 650;
  text-decoration: none; color: var(--ink-2); background: var(--surface-2); }
.card-buy:hover { border-color: var(--accent); color: var(--accent); }
.cards-ranked { counter-reset: rank; }
.cards-ranked .card-in::before { counter-increment: rank; content: "#" counter(rank); position: absolute; top: 18px; left: 18px; z-index: 1;
  background: var(--brand); color: #fff; border-radius: 7px; padding: 1px 7px; font-size: .74rem; font-weight: 800; }

/* known products without a price yet */
.more-list { list-style: none; padding: 0; margin: 12px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.more-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.more-list li:last-child { border-bottom: 0; }
.more-list li span { min-width: 0; color: var(--ink-2); }
.more-list .card-buy { margin: 0; flex: none; color: var(--accent); border-color: var(--accent); background: transparent; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.filters a { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); background: var(--surface); font-size: .9rem; }
.filters a[aria-current] { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 24px; }

/* ---------- product page ---------- */
.p-top { display: grid; gap: 24px; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; }
.p-img { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 18px; display: grid; place-items: center; aspect-ratio: 1; }
.p-img img { max-height: 100%; object-fit: contain; }
.p-info h1 { margin-bottom: 4px; }
.fullname { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.p-sub { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.p-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.p-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.p-price strong { font-size: 2.2rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.p-price s { color: var(--muted); }
.p-price em { color: var(--good); font-style: normal; font-weight: 700; }
.verdict { margin: 10px 0 14px; padding: 10px 12px; border-radius: 10px; font-weight: 650; font-size: .95rem; }
.verdict-good { background: var(--good-soft); color: var(--good); }
.verdict-ok { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.verdict-wait { background: var(--warn-soft); color: var(--warn); }
.meter { width: 100%; height: auto; display: block; }
.meter-track { fill: var(--line); }
.meter-good { fill: var(--good); opacity: .35; }
.meter-avg { stroke: var(--ink-2); stroke-width: 2; }
.meter-now { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.meter-scale { display: flex; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.meter-scale b { display: block; color: var(--ink); font-size: .95rem; font-variant-numeric: tabular-nums; }
.meter-scale div:nth-child(2) { text-align: center; }
.meter-scale div:last-child { text-align: right; }
.buy { display: block; text-align: center; margin-top: 16px; border-radius: 10px; padding: 13px 20px; background: var(--accent); color: var(--accent-ink);
  font-weight: 800; text-decoration: none; font-size: 1.02rem; }
.buy:hover { background: var(--accent-hover); }
.checked { font-size: .8rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.two-col { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.buybar { display: none; }

/* chart (SVG drawn on the server) */
.chart-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 8px; }
.chart { width: 100%; height: auto; display: block; }
.chart-sm { display: none; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-txt { fill: var(--muted); font-size: 11px; }
.ch-line { fill: none; stroke: var(--chart); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ch-area { fill: var(--chart-area); }
.ch-low { fill: var(--good); stroke: var(--surface); stroke-width: 2; }
.ch-now { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.legend { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 6px; margin: 6px 0 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.dot-low { background: var(--good); }
.dot-now { background: var(--accent); margin-left: 12px; }
.range { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.range input { position: absolute; opacity: 0; }
.range label { padding: 4px 12px; border-radius: 8px; cursor: pointer; font-size: .85rem; color: var(--ink-2); }
.range input:checked + label { background: var(--brand); color: #fff; }
.range input:focus-visible + label { outline: 3px solid var(--accent); }
.range > div:not(.ch-tip) { flex-basis: 100%; display: none; margin-top: 8px; }
#r-all:checked ~ .range-all, #r-1y:checked ~ .range-1y { display: block; }

/* tables */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); }
.changes td:nth-child(2), .changes td:nth-child(3) { font-variant-numeric: tabular-nums; }
.down { color: var(--good); font-weight: 650; }
.up { color: var(--bad); font-weight: 650; }
.specs th[scope="row"] { width: 40%; color: var(--ink-2); font-weight: 500; }
.specs th[scope="colgroup"] { background: var(--surface-2); }

/* status pages */
.loading { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink-2); }
.spinner { width: 20px; height: 20px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.status { max-width: 640px; margin: 24px auto; text-align: center; }
.status .big-search { margin: 18px auto 0; box-shadow: none; border: 1px solid var(--line); }
.btn { display: inline-block; border-radius: 10px; padding: 11px 20px; background: var(--accent); color: var(--accent-ink); font-weight: 750; text-decoration: none; }
code { background: var(--surface-2); border: 1px solid var(--line); padding: 0 4px; border-radius: 4px; }

/* search suggestions */
.has-suggest { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; margin: 0; padding: 4px; list-style: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgb(15 27 45 / .2);
  max-height: min(60vh, 420px); overflow-y: auto; text-align: left; }
.suggest li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--surface-2); }
.suggest-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-meta { flex: none; font-size: .82rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }

/* footer */
/* the footer stays at the bottom on short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
.foot { background: var(--brand); color: rgb(255 255 255 / .72); padding: 40px 0 0; font-size: .9rem; }
.foot-in { display: grid; gap: 32px 48px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); padding-bottom: 32px; }
.foot-brand .logo { margin-bottom: 12px; }
.foot-brand p { margin: 0; max-width: 360px; line-height: 1.6; }
.foot-col b { color: #fff; display: block; margin-bottom: 12px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.foot-col a { color: rgb(255 255 255 / .82); text-decoration: none; display: block; padding: 5px 0; }
.foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { border-top: 1px solid rgb(255 255 255 / .14); padding: 16px 0 20px; }
.foot-bottom p { margin: 0; font-size: .8rem; line-height: 1.6; color: rgb(255 255 255 / .58); }

@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; gap: 8px 12px; }
  .top-search { flex-basis: 100%; max-width: none; order: 3; }
  .nav a { padding: 6px 8px; font-size: .88rem; }
  .hero-band { padding-top: 24px; padding-bottom: 30px; }
  .big-search input { padding: 13px 14px; font-size: 1rem; }
  .big-search button { padding: 0 14px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-in { padding: 10px; }
  .card-buy { margin: 0 10px 10px; }
  .p-top, .two-col { grid-template-columns: minmax(0, 1fr); }
  .p-img { max-width: 280px; margin: 0 auto; width: 100%; }
  .chart-lg { display: none; }
  .chart-sm { display: block; }
  .foot { padding-top: 28px; }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 20px; padding-bottom: 24px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col a { padding: 7px 0; }
  .more-list li { flex-direction: column; align-items: stretch; }
  /* product page: the buy button stays in reach */
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgb(15 27 45 / .08); }
  .buybar strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
  .buybar a { background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; }
  /* the fixed buy bar must not cover the end of the footer */
  body:has(.buybar) .foot-bottom { padding-bottom: 92px; }
}

/* the card box holds both the link (page / history) and the store button */
.card { padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card:hover { border-color: var(--accent); }
.card .card-in { padding: 0; border: 0; border-radius: 0; background: none; }
.cards-ranked .card { position: relative; }
.cards-ranked .card-in::before { top: -4px; left: -4px; }
#deals-block { scroll-margin-top: 76px; }
.info { margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 36px; }
.info h2 { font-size: 1.3rem; margin: 36px 0 16px; }
.info-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.info-intro h2 { margin-top: 0; }
.info-text p { color: var(--ink-2); margin: 0 0 14px; line-height: 1.65; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.features li { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.features b { display: block; margin-bottom: 4px; }
.features span { color: var(--ink-2); font-size: .92rem; line-height: 1.5; }
.info .steps li { background: var(--surface-2); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; max-width: none; margin-bottom: 0; }
.faq-grid details { align-self: start; }
@media (max-width: 860px) {
  .info { padding: 22px 18px; border-radius: 14px; }
  .info-intro, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-grid { gap: 0; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: minmax(0, 1fr); }
}
.faq { margin-bottom: 24px; }
.info { margin-bottom: 32px; }

/* ---------- layout polish ---------- */
.card-buy { display: block; }
.info--page { margin-top: 8px; }
.info--page h2 { margin: 0 0 8px; font-size: 1.1rem; }
.info--page .info-text h2 + p { margin-bottom: 22px; }
.features--one { grid-template-columns: minmax(0, 1fr); }
.status { padding: 24px 0 8px; }
.status h1 { margin-bottom: 10px; }
.status .lead { margin-left: auto; margin-right: auto; }

@media (max-width: 760px) {
  /* compact header: logo and links on one line, the search (when shown) below; not sticky, so it does not eat the screen */
  .top { position: static; }
  .top-in { flex-wrap: wrap; gap: 8px 6px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .logo { font-size: 1.02rem; gap: 6px; }
  .logo img { width: 24px; height: 24px; }
  .nav { margin-left: auto; gap: 0; }
  .nav a { padding: 5px 7px; font-size: .84rem; }
  .top-search { order: 3; flex-basis: 100%; }
  .top-search input { padding: 9px 12px; }
  main { padding-top: 20px; }
  .hero-band { margin-top: -20px; }
  h1 { font-size: 1.4rem; }
  .page-head { margin-bottom: 14px; }
  .page-head p { font-size: .9rem; }
  .p-img { max-width: 230px; padding: 12px; }
  .p-price strong { font-size: 1.9rem; }
  .p-box { padding: 16px; }
  .block { margin-top: 28px; }
  .info { margin-top: 36px; }
  .info h2 { margin-top: 28px; }
  .info--page .info-text h2 { margin-top: 0; }
  .status { padding-top: 12px; }
}

/* ---------- product page extras ---------- */
.share { display: inline-flex; gap: 6px; margin-left: auto; }
.share-btn { font: inherit; font-size: .8rem; font-weight: 650; padding: 3px 10px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--brand); color: var(--ink); }
.p-sub { align-items: center; }
.key-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 14px; }
.key-specs div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.key-specs dt { font-size: .74rem; color: var(--muted); }
.key-specs dd { margin: 0; font-size: .88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.insights { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.insight { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.insight span { font-size: .8rem; color: var(--muted); }
.insight strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.insight small { font-size: .8rem; color: var(--ink-2); }
.prose .verdict { display: inline-block; }

/* chart look: soft gradient fill, round numbers, labels for the lowest and today's price, dashed average */
.chart-box { position: relative; }
.ch-g1 { stop-color: var(--chart); stop-opacity: .18; }
.ch-g2 { stop-color: var(--chart); stop-opacity: 0; }
.ch-area { stroke: none; }
.ch-line { stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.ch-grid { stroke: var(--line); stroke-dasharray: 0; }
.ch-tick { stroke: var(--line); }
.ch-txt { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.ch-avg { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 4 4; opacity: .6; }
.ch-label { font-size: 11.5px; font-weight: 700; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }
.ch-label-low { fill: var(--good); }
.ch-label-now { fill: var(--accent); }
.ch-cross { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; }
.ch-dot { fill: var(--surface); stroke: var(--chart); stroke-width: 2.5; }
.ch-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: var(--surface); border-radius: 8px; padding: 6px 10px;
  font-size: .82rem; display: flex; flex-direction: column; line-height: 1.3; white-space: nowrap; box-shadow: 0 6px 16px rgb(0 0 0 / .2); }
.ch-tip[hidden] { display: none; }
.ch-tip b { font-size: .95rem; font-variant-numeric: tabular-nums; }
.ch-tip span { opacity: .75; font-size: .76rem; }
.chart { touch-action: pan-y; cursor: crosshair; }
.dash { display: inline-block; width: 16px; border-top: 2px dashed var(--ink-2); opacity: .6; margin-left: 12px; vertical-align: middle; }
#r-7d:checked ~ .range-7d, #r-1m:checked ~ .range-1m, #r-3m:checked ~ .range-3m, #r-6m:checked ~ .range-6m { display: block; }
.range label { border: 1px solid transparent; }
.range label:hover { border-color: var(--line); }

@media (max-width: 760px) {
  .insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight strong { font-size: 1.05rem; }
  .share { margin-left: 0; }
  .key-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* ================= product page: shopping-page layout ================= */
.sp { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.sp-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.sp-photo { background: #fff; border-radius: 16px; aspect-ratio: 1; display: grid; place-items: center; padding: 28px; position: sticky; top: 84px; }
.sp-photo img { max-height: 100%; width: auto; object-fit: contain; }
.sp-store { margin: 0 0 6px; color: var(--link); font-weight: 650; font-size: .9rem; }
.sp-main h1 { font-size: 1.5rem; line-height: 1.3; font-weight: 650; margin: 0 0 18px; letter-spacing: -.005em; }
.sp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.sp-price strong { font-size: 2.6rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.sp-mrp { color: var(--muted); }
.sp-off { color: var(--good); font-weight: 750; font-size: 1.05rem; }
.sp-checked { margin: 8px 0 18px; color: var(--muted); font-size: .85rem; }
.sp-verdict { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; font-weight: 650; line-height: 1.45; }
.sp-verdict span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; color: #fff; margin-top: -1px; }
.sp-verdict--good { color: var(--good); }
.sp-verdict--good span { background: var(--good); }
.sp-verdict--ok { color: var(--ink); }
.sp-verdict--ok span { background: var(--link); }
.sp-verdict--wait { color: var(--warn); }
.sp-verdict--wait span { background: var(--warn); }
.sp-range { padding: 14px 0 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.sp-buy { display: block; text-align: center; padding: 15px 20px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 800;
  font-size: 1.08rem; text-decoration: none; box-shadow: 0 4px 14px rgb(232 89 12 / .25); }
.sp-buy:hover { background: var(--accent-hover); }
.sp-note { margin: 8px 0 0; color: var(--muted); font-size: .82rem; text-align: center; }
.sp-share { display: flex; justify-content: center; gap: 22px; margin-top: 16px; }
.sp-share a, .sp-share button { font: inherit; font-size: .9rem; font-weight: 600; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.sp-share a:hover, .sp-share button:hover { text-decoration: underline; }

.sp-sec { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 28px; }
.sp-sec h2 { font-size: 1.2rem; margin: 0 0 16px; }
.sp-text { color: var(--ink-2); line-height: 1.7; margin: 0; max-width: 820px; }
.sp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 18px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sp-stats div { padding: 14px 18px; border-left: 1px solid var(--line); }
.sp-stats div:first-child { border-left: 0; }
.sp-stats dt { font-size: .8rem; color: var(--muted); }
.sp-stats dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.sp-stats small { font-size: .74rem; font-weight: 500; color: var(--muted); }
.sp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.sp-table { width: 100%; border-collapse: collapse; }
.sp-table th, .sp-table td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; text-align: left; }
.sp-table thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 650; padding-top: 0; }
.sp-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.sp .spec-cols { padding: 0; }

/* chart section: title left, range buttons right */
.sp-sec.chart-box { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; position: relative; }
.sp-sec.chart-box h2 { flex: 1; margin: 0; }
.sp-sec.chart-box > div:not(.ch-tip) { margin-top: 14px; }
.sp-sec.chart-box .legend { flex-basis: 100%; }
.legend-note { margin-left: auto; color: var(--muted); }

@media (max-width: 900px) {
  .sp-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sp-photo { position: static; max-width: 340px; width: 100%; margin: 0 auto; padding: 16px; }
}
@media (max-width: 760px) {
  .sp { padding: 18px 16px; border-radius: 14px; }
  .sp-main h1 { font-size: 1.2rem; margin-bottom: 14px; }
  .sp-price strong { font-size: 2.1rem; }
  .sp-sec { margin-top: 24px; padding-top: 22px; }
  .sp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-stats div:nth-child(3) { border-left: 0; }
  .sp-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sp-two { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .legend-note { flex-basis: 100%; margin-left: 0; }
}

/* label / value rows in two columns (product details, specifications) */
.spec-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.spec-group { grid-column: 1 / -1; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 16px 0 2px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; min-width: 0; }
.spec-row span { color: var(--muted); flex: none; max-width: 45%; }
.spec-row b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 760px) { .spec-cols { grid-template-columns: minmax(0, 1fr); } }

/* shopping layout, part 2: title on top, the buy-decision scale, price summary */
.sp-head { margin-bottom: 24px; }
.sp-head h1 { font-size: 1.7rem; margin: 0 0 6px; }
.sp-full { color: var(--muted); margin: 0; font-size: .92rem; line-height: 1.5; max-width: 900px; }
.sp-decide { margin: 0 0 18px; padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.sp-decide-q { margin: 0 0 10px; font-weight: 700; font-size: .95rem; }
.sp-scale { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.sp-scale li { text-align: center; padding: 8px 4px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  font-size: .85rem; font-weight: 650; }
.sp-scale li.is-on { color: #fff; border-color: transparent; }
.sp-scale li.lv0 { background: var(--bad); }
.sp-scale li.lv1 { background: var(--link); }
.sp-scale li.lv2 { background: var(--good); }
.sp-scale li.lv3 { background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.sp-decide .sp-verdict { margin: 0; font-size: .92rem; }
.sp-held { flex-basis: 100%; margin: 8px 0 0; color: var(--ink-2); font-size: .92rem; }
.sp-kv th { color: var(--muted); font-weight: 500; }
.sp-kv small { color: var(--muted); font-weight: 400; margin-left: 4px; }
/* the chart sits on the white page, not in another box */
.sp .sp-sec.chart-box { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 28px 0 0; }
.sp .sp-sec.chart-box > div:not(.ch-tip) { border-top: 0; padding: 0; }
.sp .sp-sec.chart-box .legend { padding: 0; }
@media (max-width: 760px) {
  .sp-head h1 { font-size: 1.3rem; }
  .sp-scale li { font-size: .78rem; padding: 7px 2px; }
}

.sp-two .spec-cols { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .sp-photo { max-width: 260px; padding: 12px; } }

/* product page: answer first, story, variants, questions, data source */
.sp-updated { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.sp-answer { margin: 0 0 24px; padding: 16px 18px; border-left: 4px solid var(--brand-2); background: var(--surface-2); border-radius: 0 10px 10px 0; }
.sp-answer h2 { margin: 0 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sp-answer p { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--ink); max-width: 860px; }
.sp-sec .sp-text + .sp-text { margin-top: 12px; }
.sp-table-wrap { overflow-x: auto; margin-top: 14px; }
.sp-table tr.is-this td { font-weight: 700; }
.sp-table td small { color: var(--muted); font-weight: 400; }
.sp-faq h3 { font-size: 1rem; margin: 20px 0 6px; }
.sp-faq h3:first-of-type { margin-top: 0; }
.sp-faq p { margin: 0; color: var(--ink-2); line-height: 1.7; max-width: 820px; }
.sp-source p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.7; max-width: 860px; }
.sp-source a { color: var(--link); }
.sp-answer strong, .sp-text strong, .sp-faq p strong { color: var(--ink); font-weight: 700; }

/* product page polish: tables, fact list, FAQ accordion, data note */
.sp-table tr:last-child th, .sp-table tr:last-child td { border-bottom: 1px solid var(--line); }
.sp-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; max-width: 820px; }
.sp-facts li { position: relative; padding-left: 20px; color: var(--ink-2); line-height: 1.6; }
.sp-facts li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); }
.sp-facts strong { color: var(--ink); }
.sp-faq .faq { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 860px; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--surface-2); }
.faq-item summary:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; }
.faq-item summary h3 { margin: 0; font-size: 1rem; font-weight: 650; line-height: 1.4; }
.faq-item summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .15s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); line-height: 1.7; }
.faq-item p strong { color: var(--ink); }
.sp-sec.sp-faq h3:first-of-type { margin-top: 0; }
.sp-source { padding-top: 20px; margin-top: 28px; }
.sp-source p { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; }
.sp-source-i { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  border: 1.5px solid var(--muted); font: 700 .7rem/1 Georgia, serif; font-style: italic; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

.sp-intro { margin: -8px 0 24px; max-width: 860px; }
.sp-intro p { margin: 0 0 10px; color: var(--ink-2); line-height: 1.7; }
/* HTML sitemap: a header with category chips, main pages as small cards, one white card per category */
.sm-head { margin: 8px 0 24px; }
.sm-head h1 { margin: 0 0 6px; font-size: 1.9rem; letter-spacing: -.02em; }
.sm-head p { margin: 0; color: var(--muted); }
.sm-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sm-jump a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--surface);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 600; }
.sm-jump a:hover { border-color: var(--brand-2); color: var(--brand-2); }
.sm-jump span { padding: 0 7px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: .76rem; }
.sm-sec { margin: 0 0 20px; scroll-margin-top: 16px; }
.sm-h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font-size: 1.1rem; }
.sm-h small { font-size: .82rem; font-weight: 500; color: var(--muted); }
.sm-main { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.sm-main a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s; }
.sm-main a:hover { border-color: var(--brand-2); }
.sm-main b { font-size: .96rem; color: var(--brand-2); }
.sm-main span { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.sm-card { padding: 18px 20px 8px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sm-list { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.sm-list li { border-top: 1px solid var(--line); }
.sm-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; color: var(--ink); text-decoration: none; }
.sm-list a:hover .sm-name { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.sm-name { min-width: 0; font-size: .93rem; line-height: 1.4; }
.sm-meta { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sm-store { padding: 1px 7px; border-radius: 6px; font-size: .7rem; font-weight: 700; }
.sm-amazon { background: #fff4e5; color: #b45309; }
.sm-flipkart { background: #eaf1ff; color: #1d4ed8; }
.sm-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 28px; }
.sm-pages a, .sm-pages span { min-width: 36px; padding: 6px 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface);
  text-align: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.sm-pages a:hover { border-color: var(--brand-2); }
.sm-pages span { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 760px) {
  .sm-head h1 { font-size: 1.5rem; }
  .sm-card { padding: 14px 14px 4px; }
  .sm-list { grid-template-columns: minmax(0, 1fr); }
  .sm-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sm-main a { padding: 12px; }
}
.adm-files { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; font-size: .88rem; }
.adm-files a { color: #1d4ed8; font-weight: 600; text-decoration: none; }
.adm-files a:hover { text-decoration: underline; }

/* home: about the site, editorial (one text column, real numbers beside it, a plain numbered list, one-column questions) */
.hi { margin: 64px 0 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.hi-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hi-kicker { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hi-text h2 { margin: 0 0 16px; font-size: 1.9rem; line-height: 1.2; letter-spacing: -.02em; max-width: 620px; }
.hi-text p { margin: 0 0 14px; max-width: 640px; font-size: 1.04rem; line-height: 1.75; color: var(--ink-2); }
.hi-nums { padding: 22px 24px; border-radius: 16px; background: var(--brand); color: #fff; }
.hi-nums-h { margin: 0 0 14px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .7); }
.hi-nums dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.hi-nums dt { font-size: .82rem; color: rgb(255 255 255 / .72); }
.hi-nums dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 750; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hi-block { margin-top: 48px; }
.hi-h { margin: 0 0 14px; font-size: 1.25rem; }
.hi-steps { list-style: none; margin: 0; padding: 0; counter-reset: hs; max-width: 860px; }
.hi-steps li { display: grid; grid-template-columns: 44px 200px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 14px 0;
  border-top: 1px solid var(--line); }
.hi-steps li:last-child { border-bottom: 1px solid var(--line); }
.hi-steps li::before { counter-increment: hs; content: "0" counter(hs); font-size: .9rem; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums; }
.hi-steps b { font-size: 1rem; }
.hi-steps span { color: var(--ink-2); line-height: 1.6; }
.hi-faq { max-width: 860px; border-top: 1px solid var(--line); }
.hi-faq details { border-bottom: 1px solid var(--line); }
.hi-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1rem; }
.hi-faq summary::-webkit-details-marker { display: none; }
.hi-faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.hi-faq details[open] summary::after { content: "−"; }
.hi-faq summary:hover { color: var(--link); }
.hi-faq p { margin: -4px 0 18px; max-width: 720px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 860px) {
  .hi { margin-top: 44px; padding-top: 28px; }
  .hi-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hi-text h2 { font-size: 1.5rem; }
  .hi-steps li { grid-template-columns: 36px minmax(0, 1fr); }
  .hi-steps li span { grid-column: 2; }
  .hi-nums dd { font-size: 1.35rem; }
}

/* home: about the site, as a modern landing section (a hero with a live example, a stats strip, a full-width
   "how it works" band, questions beside a call to action) */
body { overflow-x: clip; }
.hx { margin: 72px 0 0; }
.hx-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hx-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 99px; background: var(--accent-soft);
  color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.hx-copy h2 { margin: 16px 0 18px; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
.hx-copy p { margin: 0 0 14px; max-width: 560px; font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.hx-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 13px 22px; border-radius: 12px; background: var(--accent);
  color: var(--accent-ink); font-weight: 750; text-decoration: none; box-shadow: 0 8px 20px rgb(232 89 12 / .25); transition: transform .15s, box-shadow .15s; }
.hx-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgb(232 89 12 / .3); }
.hx-cta--soft { background: var(--surface); color: var(--brand-2); border: 1px solid var(--line); box-shadow: none; }
.hx-cta--soft:hover { box-shadow: var(--shadow); }

/* the live example card */
.hx-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 22px; background: var(--surface);
  color: var(--ink); text-decoration: none; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(15 27 45 / .05), 0 24px 48px -12px rgb(18 48 92 / .22); transform: rotate(-1.2deg); transition: transform .25s; }
.hx-card:hover { transform: rotate(0deg) translateY(-2px); }
.hx-card-label { position: absolute; top: -12px; left: 22px; padding: 4px 10px; border-radius: 99px; background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.hx-card-top { display: flex; align-items: center; gap: 14px; }
.hx-card-top img { flex: none; width: 64px; height: 64px; object-fit: contain; border-radius: 14px; background: #fff; border: 1px solid var(--line); padding: 4px; }
.hx-card-name { display: flex; flex-direction: column; gap: 2px; font-weight: 700; line-height: 1.35; }
.hx-card-name small { font-weight: 600; font-size: .8rem; color: var(--muted); }
.hx-card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.hx-card-price b { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hx-card-price s { color: var(--muted); font-size: 1rem; }
.hx-badge { padding: 3px 10px; border-radius: 99px; background: var(--good-soft); color: var(--good); font-size: .78rem; font-weight: 750; }
.hx-card-chart .hx-chart { display: block; width: 100%; height: auto; }
.hx-card-foot { padding-top: 10px; border-top: 1px dashed var(--line); font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* stats strip */
.hx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 0; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); border: 1px solid var(--line); }
.hx-stats div { padding: 24px 26px; border-left: 1px solid var(--line); }
.hx-stats div:first-child { border-left: 0; }
.hx-stats dt { font-size: .86rem; color: var(--muted); font-weight: 600; }
.hx-stats dd { margin: 6px 0 0; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--brand); }

/* how it works: a full-width dark band */
.hx-how { margin: 72px calc(50% - 50vw) 0; padding: 64px 16px; color: #fff;
  background: radial-gradient(1200px 400px at 10% 0%, rgb(232 89 12 / .18), transparent 60%), linear-gradient(160deg, #12305c 0%, #0c2141 100%); }
.hx-how-in { max-width: 1180px; margin: 0 auto; }
.hx-how h2 { margin: 0 0 32px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); letter-spacing: -.03em; font-weight: 800; }
.hx-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.hx-how li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; background: rgb(255 255 255 / .06);
  border: 1px solid rgb(255 255 255 / .12); }
.hx-num { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .55); }
.hx-how li b { font-size: 1.12rem; }
.hx-how li > span:last-child { color: rgb(255 255 255 / .78); line-height: 1.6; }

/* questions */
.hx-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; margin: 72px 0 56px; align-items: start; }
.hx-faq-side { position: sticky; top: 24px; }
.hx-faq-side h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.hx-faq-side p { margin: 0 0 8px; color: var(--ink-2); line-height: 1.65; }
.hx-faq-list { display: flex; flex-direction: column; gap: 10px; }
.hx-faq-list details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .15s, border-color .15s; }
.hx-faq-list details[open] { border-color: transparent; box-shadow: 0 10px 30px -10px rgb(18 48 92 / .25); }
.hx-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer;
  list-style: none; font-weight: 700; font-size: 1.02rem; }
.hx-faq-list summary::-webkit-details-marker { display: none; }
.hx-faq-list summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.hx-faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-3px); border-color: var(--accent); }
.hx-faq-list p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .hx-card, .hx-cta { transition: none; } .hx-card { transform: none; } }
@media (max-width: 900px) {
  .hx { margin-top: 52px; }
  .hx-hero, .hx-faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hx-card { transform: none; }
  .hx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-stats div:nth-child(3) { border-left: 0; }
  .hx-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hx-stats div { padding: 18px; }
  .hx-stats dd { font-size: 1.5rem; }
  .hx-how { padding: 44px 16px; margin-top: 52px; }
  .hx-faq { margin-top: 52px; }
  .hx-faq-side { position: static; }
}

/* ---------- app feel on phones: tab bar, compact header, touch feedback, page transitions (no JS needed) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
.top { view-transition-name: top; }
.tabbar { view-transition-name: tabbar; }
html { -webkit-tap-highlight-color: transparent; text-size-adjust: 100%; }
h1, h2, h3, .logo, .hx-copy h2 { letter-spacing: -.02em; }
.top-find, .tabbar { display: none; }
.big-search--page { margin: 0 0 18px; max-width: 720px; box-shadow: 0 2px 10px rgb(15 27 45 / .08); border: 1px solid var(--line); }
.offline { max-width: 420px; margin: 18vh auto 0; padding: 0 24px; text-align: center; }
.offline h1 { margin: 18px 0 8px; }
.offline p { color: var(--ink-2); line-height: 1.6; margin: 0 0 20px; }

@media (max-width: 760px) {
  /* compact app bar: logo + search icon; the search box opens below it */
  .top { padding-top: env(safe-area-inset-top); box-shadow: 0 1px 0 rgb(255 255 255 / .06), 0 4px 14px rgb(0 0 0 / .12); }
  .top-in { min-height: 56px; flex-wrap: wrap; gap: 0 10px; padding-top: 0; padding-bottom: 0; }
  .top .nav { display: none; }
  .top-find { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: 12px; color: #fff; }
  .top-find:active { background: rgb(255 255 255 / .12); }
  .top .top-search { display: none; flex-basis: 100%; order: 3; margin: 0 0 10px; max-width: none; }
  .top.is-search-open .top-search { display: flex; animation: drop .18s ease-out; }
  .top.is-search-open .top-find { background: rgb(255 255 255 / .14); }
  @keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

  /* the tab bar at the bottom */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .92);
    backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-top: 1px solid rgb(15 27 45 / .08); box-shadow: 0 -6px 20px rgb(15 27 45 / .06); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; border-radius: 12px;
    color: #6b7585; text-decoration: none; font-size: .7rem; font-weight: 650; }
  .tabbar a svg { transition: transform .15s; }
  .tabbar a[aria-current] { color: var(--accent); }
  .tabbar a[aria-current] svg { transform: translateY(-1px); stroke-width: 2.3; }
  .tabbar a:active { background: rgb(15 27 45 / .05); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .buybar { bottom: calc(64px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; }
  body:has(.buybar) .foot-bottom { padding-bottom: 92px; }

  /* touch: things you tap answer the finger */
  .card, .hx-card, .hx-cta, .adm-btn, .big-search button, .tabs a, .sm-main a, .sm-list a { transition: transform .12s ease; }
  .card:active, .sm-main a:active { transform: scale(.98); }
  .hx-cta:active, .big-search button:active { transform: scale(.97); }
  button, a, summary { touch-action: manipulation; }

  /* swipeable category tabs */
  .tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-left: -16px; margin-right: -16px;
    padding-left: 16px; padding-right: 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { scroll-snap-align: start; flex: none; }

  /* app-like page tops and rounded sheets */
  .hero-band--home { border-radius: 0 0 24px 24px; }
  .crumbs { font-size: .8rem; margin-bottom: 10px; }
  .crumbs ol { flex-wrap: nowrap; }
  .crumbs li:last-child { flex: 1 1 auto; }
  .crumbs [aria-current] span { max-width: none; }
  .big-search--page input { padding: 14px 14px; }
}

/* opened from the home screen: no browser bar, so the site footer is not needed */
@media (display-mode: standalone) and (max-width: 760px) {
  .foot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .top.is-search-open .top-search { animation: none; }
}
@media (prefers-color-scheme: dark) {
  .tabbar { background: rgb(19 27 39 / .92); border-top-color: rgb(255 255 255 / .08); }
  .tabbar a { color: #8a97a9; }
}
/* search page with nothing typed: popular searches and categories as chips */
.srch-h { margin: 18px 0 10px; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.srch-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.srch-chips a { padding: 9px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: .92rem; }
.srch-chips a:hover { border-color: var(--brand-2); }
.srch-chips--cats a { background: var(--surface-2); }
.srch-chips--cats a:last-child { color: var(--accent); }
@media (max-width: 760px) {
  .srch-chips a:active { transform: scale(.97); }
  /* product page: the range buttons go under the "Price history" heading */
  .sp-sec.chart-box h2 { flex-basis: 100%; margin-bottom: 8px; }
}

/* home hero quick links (an app's home row); on phones the hero is compact and left-aligned */
.hero-quick { display: none; }
@media (max-width: 760px) {
  .hero-band--home { text-align: left; padding-top: 18px; padding-bottom: 18px; }
  .hero-band--home h1 { font-size: 1.45rem; line-height: 1.2; margin: 0 0 4px; }
  .hero-band--home > p { font-size: .9rem; margin: 0 0 14px; color: rgb(255 255 255 / .78); }
  .hero-band--home .big-search { box-shadow: 0 6px 18px rgb(0 0 0 / .18); }
  .hero-band--home .big-search input { padding: 14px; font-size: 1rem; }
  .hero-band--home .big-search button { padding: 0 16px; }
  .hero-quick { display: grid; grid-auto-flow: column; grid-auto-columns: 68px; gap: 6px; margin: 16px 0 0; padding: 0 0 2px;
    overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .hero-quick::-webkit-scrollbar { display: none; }
  .hero-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; scroll-snap-align: start; color: #fff;
    text-decoration: none; font-size: .72rem; font-weight: 600; text-align: center; line-height: 1.2; }
  .hero-quick a span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgb(255 255 255 / .12);
    border: 1px solid rgb(255 255 255 / .16); transition: transform .12s, background .12s; }
  .hero-quick a:active span { transform: scale(.94); background: rgb(255 255 255 / .2); }
  .hero-quick a:last-child span { background: var(--accent); border-color: transparent; }
}

/* hamburger menu (phones): a drawer from the left */
.top-burger, .drawer { display: none; }
@media (max-width: 760px) {
  .top-burger { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border-radius: 12px; color: #fff; }
  .top-burger:active { background: rgb(255 255 255 / .12); }
  .top-in { gap: 0 4px; }
  .drawer:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 60; }
  .drawer-bg { position: absolute; inset: 0; background: rgb(8 15 28 / .45); opacity: 0; transition: opacity .2s; }
  .drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(84vw, 330px); display: flex; flex-direction: column;
    padding: calc(12px + env(safe-area-inset-top)) 0 calc(16px + env(safe-area-inset-bottom)); background: var(--surface);
    box-shadow: 12px 0 40px rgb(0 0 0 / .2); transform: translateX(-102%); transition: transform .22s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; }
  .drawer.is-open .drawer-bg { opacity: 1; }
  .drawer.is-open .drawer-panel { transform: none; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 12px 18px; border-bottom: 1px solid var(--line); }
  .drawer-head .logo { color: var(--ink); }
  .drawer-x { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--surface-2); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
  .drawer-nav { display: flex; flex-direction: column; padding: 8px 10px; }
  .drawer-nav > a { padding: 13px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .drawer-nav > a[aria-current] { background: var(--accent-soft); color: var(--accent); }
  .drawer-nav > a:active { background: var(--surface-2); }
  .drawer-h { margin: 14px 12px 6px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .drawer-cats { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 6px; }
  .drawer-cats a { padding: 8px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
    text-decoration: none; font-size: .86rem; font-weight: 600; }
  .drawer-install { margin: 14px 12px 0; padding: 13px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font: inherit;
    font-weight: 700; cursor: pointer; }
  html.no-scroll, html.no-scroll body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .drawer-panel, .drawer-bg { transition: none; } }
.drawer-install[hidden] { display: none !important; }
/* hamburger on the right, drawer from the right */
@media (max-width: 760px) {
  .top-burger { margin-left: 0; margin-right: -10px; order: 2; }
  .top-find { order: 1; }
  .logo + .top-burger, .logo ~ .nav + .top-burger { margin-left: auto; }
  .drawer-panel { left: auto; right: 0; transform: translateX(102%); box-shadow: -12px 0 40px rgb(0 0 0 / .2); }
  .top .top-search { order: 3; }
}
/* "browse instead" on empty pages */
.browse-next { max-width: 560px; margin: 28px auto 0; text-align: left; }
.status .browse-next .srch-h { margin-top: 0; }
.ed-checks { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #f8f9fb; }
.ed-checks label { display: flex; align-items: center; gap: 10px; font-weight: 550; font-size: .9rem; }
.ed-checks input { width: 18px; height: 18px; accent-color: #1d4ed8; }
.ed-tabs { overflow-x: auto; scrollbar-width: none; }
.ed-tabs button { white-space: nowrap; }
.adm-form .ed-checks label { flex-direction: row; align-items: center; text-align: left; font-weight: 550; }
/* product page: key features from the store's title */
.sp-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.sp-features li { position: relative; padding: 12px 14px 12px 38px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line);
  line-height: 1.45; font-weight: 550; }
.sp-features li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--good);
  border-bottom: 2.5px solid var(--good); transform: rotate(-45deg); }
.sp-src-note { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }

/* legal pages and contact: one readable column */
.doc { max-width: 760px; margin: 8px 0 48px; padding: 32px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.doc h1 { margin: 0 0 14px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -.02em; }
.doc h2 { margin: 28px 0 8px; font-size: 1.15rem; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.75; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 20px; }
.doc li { margin: 4px 0; }
.doc a { color: var(--link); }
.doc-more { margin-top: 28px !important; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.note { margin: 16px 0; padding: 14px 16px; border-radius: 12px; line-height: 1.6; }
.note--good { background: var(--good-soft); color: var(--good); }
.note--bad { background: #fdecea; color: #b42318; }
.cform { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.cform label { display: flex; flex-direction: column; gap: 6px; font-weight: 650; font-size: .92rem; }
.cform label span { font-weight: 400; color: var(--muted); }
.cform input, .cform select, .cform textarea { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  color: var(--ink); font: inherit; font-weight: 400; }
.cform textarea { resize: vertical; line-height: 1.55; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 0; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgb(27 67 132 / .15); }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform .hx-cta { align-self: flex-start; border: 0; cursor: pointer; font: inherit; font-weight: 750; }
.cform-note { margin: 0 !important; font-size: .84rem; color: var(--muted) !important; }
.cform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.foot-legal a { color: rgb(255 255 255 / .75); font-size: .82rem; text-decoration: none; }
.foot-legal a:hover { color: #fff; text-decoration: underline; }
.drawer-legal { margin: 18px 12px 0; font-size: .8rem; color: var(--muted); }
.drawer-legal a { color: var(--muted); }
@media (max-width: 760px) {
  .doc { padding: 22px 18px; border-radius: 16px; }
  .cform-row { grid-template-columns: minmax(0, 1fr); }
  .cform .hx-cta { align-self: stretch; justify-content: center; }
}
/* product page: key features and questions in one row of two columns */
.sp-pair--two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px; align-items: start; }
.sp-pair h2 { font-size: 1.2rem; margin: 0 0 16px; }
.sp-pair--two .sp-features { grid-template-columns: minmax(0, 1fr); }
.sp-pair .faq { max-width: none; }
@media (max-width: 900px) { .sp-pair--two { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- product card: every part in a fixed place, so the cards of a row line up; the buy button at the bottom ---------- */
.cards { align-items: stretch; }
.cards .card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line);
  background: var(--surface); transition: border-color .15s, box-shadow .15s, transform .15s; }
.cards .card:hover { border-color: #c9d3e1; box-shadow: 0 8px 24px -8px rgb(18 48 92 / .18); }
.cards .card .card-in { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 12px 12px 0; }
.card-img { margin: 0 0 2px; border-radius: 12px; background: #fff; }
.card-name { min-height: 2.7em; margin: 0; font-weight: 550; color: var(--ink); }
.card-price { min-height: 1.6rem; align-items: baseline; }
.card-price strong { font-size: 1.18rem; font-weight: 800; letter-spacing: -.01em; }
/* tags: room for two lines on every card, so what is below starts at the same height */
.card-tags { height: 50px; min-height: 0; align-content: flex-start; overflow: hidden; gap: 4px 6px; }
.card-tags .tag { height: 22px; }
.card-spark { display: block; height: 30px; }
.card-spark .spark { height: 30px; }
.card-meta { margin-top: auto; padding: 8px 0 0; border-top: 1px dashed var(--line); align-items: center; }
.store-chip { padding: 1px 7px; border-radius: 6px; font-size: .72rem; font-weight: 750; }
.store-chip--amazon { background: #fff4e5; color: #b45309; }
.store-chip--flipkart { background: #eaf1ff; color: #1d4ed8; }
.cards .card .card-buy { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; margin: 10px 12px 12px; padding: 0 10px;
  border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-size: .86rem; font-weight: 750; text-decoration: none;
  box-shadow: 0 4px 10px -4px rgb(232 89 12 / .55); transition: background .15s, transform .12s; }
.cards .card .card-buy:hover { background: var(--accent-hover); color: #fff; }
.cards .card .card-buy:active { transform: scale(.97); }
.cards-ranked .card-in::before { top: 18px; left: 18px; }
@media (max-width: 760px) {
  .cards .card .card-in { padding: 10px 10px 0; gap: 7px; }
  .cards .card .card-buy { height: 38px; margin: 8px 10px 10px; font-size: .82rem; }
  .card-price strong { font-size: 1.08rem; }
  .card-tags { height: 48px; }
}

/* card buy button: its text follows the theme (dark text on the lighter orange of dark mode) */
.cards .card .card-buy, .cards .card .card-buy:hover { color: var(--accent-ink); }

/* the price chart, livelier: a deeper gradient, a soft glow, the line draws itself once, today's point pulses */
.ch-g1 { stop-color: var(--chart); stop-opacity: .32; }
.ch-g2 { stop-color: var(--chart); stop-opacity: 0; }
.chart .ch-line { vector-effect: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 3px 6px rgb(31 95 191 / .28));
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: ch-draw 1.1s cubic-bezier(.4, 0, .2, 1) .1s forwards; }
.chart .ch-area { opacity: 0; animation: ch-fade .7s ease-out .5s forwards; }
.chart .ch-low, .chart .ch-now, .chart .ch-low-ring, .chart .ch-label { opacity: 0; animation: ch-fade .35s ease-out 1s forwards; }
.ch-low-ring { fill: var(--good); fill-opacity: .14; stroke: none; }
.ch-now-halo { fill: var(--accent); transform-box: fill-box; transform-origin: center; opacity: 0;
  animation: ch-pulse 2.2s ease-out 1.2s infinite; }
@keyframes ch-draw { to { stroke-dashoffset: 0; } }
@keyframes ch-fade { to { opacity: 1; } }
@keyframes ch-pulse { 0% { transform: scale(1); opacity: .45; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
.ch-dot { stroke-width: 3; filter: drop-shadow(0 2px 4px rgb(15 27 45 / .25)); }
.ch-cross { stroke: var(--chart); opacity: .55; }
@media (prefers-reduced-motion: reduce) {
  .chart .ch-line { animation: none; stroke-dashoffset: 0; stroke-dasharray: none; }
  .chart .ch-area, .chart .ch-low, .chart .ch-now, .chart .ch-low-ring, .chart .ch-label { animation: none; opacity: 1; }
  .ch-now-halo { animation: none; }
}

/* product page: "Should you buy now?" score (a half-circle gauge, the number, the label and up to three reasons) */
.bs-top { display: flex; align-items: center; gap: 14px; }
.bs-dial { position: relative; width: 112px; flex: none; }
.bs-gauge { display: block; width: 100%; height: auto; }
.bs-track, .bs-fill { fill: none; stroke-width: 12; stroke-linecap: round; }
.bs-track { stroke: var(--line); }
.bs-gauge--good .bs-fill { stroke: var(--good); }
.bs-gauge--ok .bs-fill { stroke: var(--link); }
.bs-gauge--wait .bs-fill { stroke: var(--warn); }
.bs-dial b { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 1.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.bs-dial small { font-size: .7rem; font-weight: 600; color: var(--muted); margin-left: 1px; }
.bs-label { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.bs-label strong { font-size: 1.12rem; }
.bs--good .bs-label strong { color: var(--good); }
.bs--wait .bs-label strong { color: var(--warn); }
.bs-label span { font-size: .8rem; color: var(--muted); }
.bs-why { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .88rem; color: var(--ink-2); }
.bs-why li { position: relative; padding-left: 16px; }
.bs-why li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }

/* product page: Amazon vs Flipkart (the same model on the other store) */
.vs { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.vs h2 { margin: 0 0 10px; font-size: 1rem; }
.vs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.vs-row.is-best { background: var(--good-soft); box-shadow: inset 3px 0 0 var(--good); }
.vs-row .store-chip { justify-self: start; }
.vs-price { display: flex; flex-direction: column; line-height: 1.2; }
.vs-price b { font-size: 1.05rem; }
.vs-price small { font-size: .75rem; color: var(--muted); white-space: nowrap; }
.vs-here { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.vs-link { font-size: .85rem; font-weight: 600; color: var(--link); white-space: nowrap; }
.vs-buy { font-size: .85rem; font-weight: 700; color: var(--accent); border: 1px solid currentColor; border-radius: 8px; padding: 5px 10px; text-decoration: none; white-space: nowrap; }
.vs-buy:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.vs-note { margin: 10px 0 0; font-size: .82rem; color: var(--ink-2); }
.vs-note strong { color: var(--good); }
@media (max-width: 380px) { .vs-row { grid-template-columns: auto 1fr auto; } .vs-here, .vs-link { display: none; } }

/* ================= product page v2: a clean hero (photo | name, price, buy) and one row of decision cards ================= */
.pp-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "media head" "media buy"; gap: 10px 44px; align-items: start; }
.pp-head { grid-area: head; margin: 0; }
.pp-head .sp-store { margin: 0 0 6px; }
.pp-media { grid-area: media; background: #fff; border: 1px solid var(--line); border-radius: 16px; aspect-ratio: 1; max-height: 400px;
  display: grid; place-items: center; padding: 24px; overflow: hidden; }
.pp-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pp-buy { grid-area: buy; max-width: 460px; padding-top: 8px; }
.pp-buy .sp-checked { margin: 8px 0 16px; }
.pp-buy .sp-share { justify-content: flex-start; }
.pp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 28px 0 26px; }
.pp-card { min-width: 0; margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: flex; flex-direction: column; }
.pp-card .pp-card-h { margin: 0 0 12px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pp-card .bs-why { margin-top: auto; }
.pp-card .bs-top { margin-bottom: 12px; }
.pp-card .sp-verdict { margin: 0; font-size: .92rem; }
.pp-card.vs { margin: 0; }
.pp-card .vs-row { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; padding: 8px 10px; }
.pp-card .vs-note { margin-top: auto; padding-top: 10px; }
.pp-range .meter { width: 100%; height: auto; margin: 4px 0 6px; }
.pp-range-note { margin: auto 0 0; padding-top: 12px; font-size: .86rem; color: var(--ink-2); }
@media (max-width: 760px) {
  .pp-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "buy"; gap: 14px; }
  .pp-media { width: 100%; max-width: 240px; max-height: none; margin: 0 auto; padding: 12px; }
  .pp-buy { max-width: none; padding-top: 0; }
  .pp-buy .sp-share { justify-content: center; }
  .pp-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 20px 0; }
}

/* similar products: two rows of cards on wide screens; on phones a side-scrolling rail (like an app) */
@media (max-width: 760px) {
  .cards-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 8px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
  .cards-rail::-webkit-scrollbar { display: none; }
  .cards-rail > .card { flex: 0 0 46%; scroll-snap-align: start; }
}
/* hero: the name and the price block sit together at the top (the photo spans both rows) */
.pp-hero { grid-template-rows: auto 1fr; }
.pp-media img { max-height: 350px; }
@media (max-width: 760px) { .pp-hero { grid-template-rows: none; } .pp-media img { max-height: 214px; } }

/* product page: share as round icon buttons (WhatsApp, Facebook, Telegram, copy link) */
.pp-share { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.pp-share-l { font-size: .85rem; font-weight: 600; color: var(--muted); margin-right: 2px; }
.sh { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; color: #fff;
  transition: transform .12s, box-shadow .12s; }
.sh svg { width: 21px; height: 21px; fill: currentColor; }
.sh:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgb(0 0 0 / .15); }
.sh-wa { background: #1a8f4a; }
.sh-fb { background: #1564d9; }
.sh-tg { background: #1b84c4; }
.sh-copy { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.sh-copy .sh-i-done { display: none; }
.sh-copy.is-copied { background: var(--good-soft); color: var(--good); border-color: var(--good); }
.sh-copy.is-copied .sh-i-link { display: none; }
.sh-copy.is-copied .sh-i-done { display: block; }
@media (max-width: 760px) { .pp-share { justify-content: center; } }

/* product page: insights as tiles (3 a row), the month / change tables as two cards */
.pp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pp-stats dd small { display: block; margin: 2px 0 0; font-size: .75rem; font-weight: 500; color: var(--muted); }
.pp-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.pp-tables .pp-card { padding: 16px 18px 6px; }
.pp-tables .sp-table { margin: 0; }
.pp-tables .sp-table tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) { .pp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pp-tables { grid-template-columns: minmax(0, 1fr); } }
/* tile lines drawn by the 1px gap (works for any number of rows) */
.pp-stats { gap: 1px; background: var(--line); }
.pp-stats div { border: 0; background: var(--surface); }

/* ---------- a shorter card: 4:3 photo, one line of tags, the store next to the price (no row of its own) ---------- */
.cards .card .card-in { gap: 6px; padding: 10px 10px 0; }
.cards .card-img { aspect-ratio: 4 / 3; margin: 0; }
.cards .card-img img { padding: 4px; }
.card-name { min-height: 2.6em; font-size: .88rem; line-height: 1.3; }
.card-price { min-height: 0; flex-wrap: nowrap; }
.card-price s { white-space: nowrap; }
.card-price .store-chip { margin-left: auto; flex: none; align-self: center; }
.card-tags { height: 22px; overflow: hidden; }
.card-spark, .card-spark .spark { height: 22px; }
.cards .card .card-buy { height: 36px; margin: 8px 10px 10px; }
@media (max-width: 760px) {
  .cards .card .card-in { padding: 8px 8px 0; gap: 5px; }
  .card-tags { height: 22px; }
  /* phones: price + store on one line; the photo badge already shows the % off the M.R.P. */
  .card-price s { display: none; }
  .cards .card .card-buy { height: 34px; margin: 6px 8px 8px; }
}

/* header search on a page with its own search box: hidden until that box scrolls away (app.js), its space kept */
@media (min-width: 761px) {
  .top--late .top-search { visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
  .top--late.is-scrolled .top-search { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
}
@media (prefers-reduced-motion: reduce) { .top--late .top-search { transition: none; } }

/* ---------- header, polished: a logo tile with a tagline, store links with their colour dot, the checker as a button,
   a rounded search with its icon, a soft gradient and a shadow once the page scrolls ---------- */
.top { background: var(--brand); border-bottom: 1px solid rgb(255 255 255 / .07); transition: box-shadow .2s, border-color .2s; }
/* above a page's own blue hero (home): one surface until the page scrolls */
.top--late:not(.is-stuck) { border-bottom-color: transparent; }
.top.is-stuck { box-shadow: 0 6px 20px -8px rgb(4 14 32 / .55); }
.top-in { min-height: 64px; gap: 24px; }
.logo { gap: 10px; }
.logo-tile { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgb(255 255 255 / .1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.logo-tile img { width: 26px; height: 26px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.12rem; }
.logo-txt small { font-size: .7rem; font-weight: 500; letter-spacing: .01em; color: rgb(255 255 255 / .66); margin-top: 2px; }
.top-search { position: relative; align-items: center; border-radius: 999px; padding: 4px; box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.top-search-ico { position: absolute; left: 16px; color: #7a8699; pointer-events: none; }
.top-search input { padding: 8px 12px 8px 40px; border-radius: 999px; }
.top-search button { height: 36px; padding: 0 20px; border-radius: 999px; }
.top-search:focus-within { outline: 0; box-shadow: 0 0 0 3px rgb(232 89 12 / .55); }
.nav { gap: 6px; align-items: center; }
.nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 650;
  color: rgb(255 255 255 / .88); transition: background .15s, color .15s; }
.nav a i { width: 8px; height: 8px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgb(255 255 255 / .08); }
.nav-amazon i { background: #ff9900; }
.nav-flipkart i { background: #ffd814; }
.nav a:hover { background: rgb(255 255 255 / .1); color: #fff; }
.nav a[aria-current]:not(.nav-cta) { background: rgb(255 255 255 / .12); color: #fff; }
.nav a.nav-cta { margin-left: 6px; background: var(--accent); color: var(--accent-ink, #fff); box-shadow: 0 4px 12px -4px rgb(232 89 12 / .7); }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current] { background: var(--accent-hover); color: var(--accent-ink, #fff); }
@media (max-width: 1100px) { .logo-txt small { display: none; } .top-in { gap: 16px; } }
@media (max-width: 760px) {
  .logo-tile { width: 32px; height: 32px; border-radius: 9px; }
  .logo-tile img { width: 22px; height: 22px; }
  .top-in { min-height: 56px; }
}
@media (prefers-reduced-motion: reduce) { .top, .nav a { transition: none; } }
