:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #121826;
  --muted: #5b6474;
  --line: #dde2ea;
  --brand: #0f1b33;
  --accent: #1d5bd8;
  --accent-ink: #ffffff;
  --sale: #d4322c;
  --good: #137a3f;
  --belt-bar: #e33;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 2px 8px rgba(16, 24, 40, .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c111b;
    --surface: #141b28;
    --surface-2: #1b2433;
    --text: #e8ecf3;
    --muted: #9aa5b8;
    --line: #273246;
    --brand: #e8ecf3;
    --accent: #5b8cff;
    --accent-ink: #0c111b;
    --sale: #ff6b63;
    --good: #46c47e;
    --shadow: none;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); line-height: 1.15; margin: .4em 0 .35em; letter-spacing: -.01em; }
h2 { font-size: 1.3rem; margin: 2em 0 .7em; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.small { font-size: .85rem; color: var(--muted); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 860px; }
.lead strong { color: var(--text); }
.context { max-width: 860px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; }

/* header */
.site-head { background: var(--surface); position: sticky; top: 0; z-index: 20; }
.site-head::after { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #e9e9e4 0 20%, #2f6fd6 20% 40%, #7b4bb7 40% 60%, #8a5a2b 60% 80%, #111 80% 100%); }
.head-row { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.search { position: relative; flex: 1; min-width: 0; }
.search input { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--text); font: inherit; }
.q-res { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.15); max-height: 70vh; overflow: auto; }
.q-res a { display: flex; gap: 10px; align-items: center; padding: 8px 12px; color: var(--text); border-bottom: 1px solid var(--line); }
.q-res a:hover, .q-res a.on { background: var(--surface-2); text-decoration: none; }
.q-res img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.q-res .q-price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.cur select { padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; }
.main-nav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.main-nav a { padding: 6px 12px; border-radius: 999px; color: var(--text); white-space: nowrap; font-weight: 500; }
.main-nav a:hover { background: var(--surface-2); text-decoration: none; }
.main-nav a.hot { color: var(--sale); }

/* crumbs */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }

/* full-bleed sections inside .wrap */
body { overflow-x: clip; }
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffd84d; }

/* hero slideshow */
.hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; color: #fff; background: #0b0f17; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: heroSlide 35s infinite; will-change: opacity, transform; }
.hero-slide:nth-child(2) { animation-delay: 7s; }
.hero-slide:nth-child(3) { animation-delay: 14s; }
.hero-slide:nth-child(4) { animation-delay: 21s; }
.hero-slide:nth-child(5) { animation-delay: 28s; }
@keyframes heroSlide {
  0% { opacity: 0; transform: scale(1.12) translate3d(0, 0, 0); }
  4% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; transform: scale(1) translate3d(-1.5%, -1%, 0); }
  100% { opacity: 0; transform: scale(1); }
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 15, .88) 0%, rgba(5, 8, 15, .55) 55%, rgba(5, 8, 15, .2) 100%), linear-gradient(0deg, rgba(5, 8, 15, .75) 0%, rgba(5, 8, 15, 0) 45%); }
.hero-inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 64px; width: 100%; }
.hero h1 { font-size: clamp(2.1rem, 5.6vw, 4rem); line-height: 1.04; letter-spacing: -.02em; margin: .25em 0 .3em; max-width: 820px; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.hero .hl { background: linear-gradient(90deg, #ffd84d, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 620px; color: rgba(255, 255, 255, .85); margin: 0 0 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn.big { margin: 0; padding: 14px 26px; }
.btn.light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 36px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: .85rem; color: rgba(255, 255, 255, .7); }
.hero-belt { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; display: flex; z-index: 2; }
.hero-belt span { flex: 1; opacity: .25; animation: beltOn 35s infinite; }
.hero-belt span:nth-child(1) { background: #f4f4f0; }
.hero-belt span:nth-child(2) { background: #2f6fd6; animation-delay: 7s; }
.hero-belt span:nth-child(3) { background: #7b4bb7; animation-delay: 14s; }
.hero-belt span:nth-child(4) { background: #8a5a2b; animation-delay: 21s; }
.hero-belt span:nth-child(5) { background: #111; box-shadow: inset 0 0 0 1px #444; animation-delay: 28s; }
@keyframes beltOn { 0% { opacity: .25; } 3%, 20% { opacity: 1; } 25%, 100% { opacity: .25; } }

/* brand marquee */
.marquee { background: var(--brand); color: var(--bg); overflow: hidden; padding: 12px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; }
.marquee a { color: inherit; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; }
.marquee .dot { color: #ffd84d; font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* photo tiles */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.split-tile, .cat-tile { position: relative; display: block; overflow: hidden; border-radius: 16px; color: #fff; isolation: isolate; background: #111; }
.split-tile { aspect-ratio: 16 / 10; }
.cat-tile { aspect-ratio: 4 / 5; }
.split-tile img, .cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.split-tile:hover, .cat-tile:hover { text-decoration: none; }
.split-tile:hover img, .cat-tile:hover img { transform: scale(1.07); }
.tile-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 15, .88) 0%, rgba(5, 8, 15, .25) 55%, rgba(5, 8, 15, .05) 100%); z-index: -1; }
.tile-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.tile-text strong { font-size: clamp(1.1rem, 2.2vw, 1.6rem); line-height: 1.15; }
.cat-tile .tile-text strong { font-size: 1.1rem; }
.tile-text > span { color: rgba(255, 255, 255, .82); font-size: .9rem; }
.tile-cta { margin-top: 6px; font-weight: 700; color: #ffd84d !important; transition: transform .25s; }
.split-tile:hover .tile-cta { transform: translateX(6px); }
.cat-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.more { font-size: .9rem; font-weight: 500; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.how-step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.how-step span:last-child { color: var(--muted); font-size: .92rem; }
.how-n { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }

/* page banners */
.banner { position: relative; color: #fff; background: #0b0f17; overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; margin-bottom: 8px; }
.banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: bannerZoom 18s ease-out both; }
@keyframes bannerZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 15, .85) 0%, rgba(5, 8, 15, .45) 55%, rgba(5, 8, 15, .1) 100%), linear-gradient(0deg, rgba(5, 8, 15, .55) 0%, rgba(5, 8, 15, 0) 60%); }
.banner-inner { position: relative; z-index: 1; width: 100%; padding-top: 18px; padding-bottom: 26px; }
.banner h1 { color: #fff; margin: .5em 0 .2em; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.banner-lead { margin: 0; max-width: 760px; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.banner .crumbs, .banner .crumbs a { color: rgba(255, 255, 255, .75); padding-top: 0; }
.banner .pr { color: #ffd84d; font-weight: 700; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .9rem; }
.chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-1px); }
.card-img { position: relative; aspect-ratio: 1; background: #fff; }
.card-img { overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-img img { transform: scale(1.06); }
.card:hover { box-shadow: 0 10px 28px rgba(16, 24, 40, .14); }
.badge { position: absolute; top: 8px; font-size: .75rem; font-weight: 700; padding: 3px 7px; border-radius: 6px; }
.badge.sale { left: 8px; background: var(--sale); color: #fff; }
.badge.multi { right: 8px; background: var(--brand); color: var(--bg); }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-brand { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.card-title { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-colors { display: flex; gap: 3px; min-height: 12px; margin: 2px 0; }
.card-price { margin-top: auto; font-weight: 800; font-size: 1.1rem; }
.card-price .from { font-weight: 400; font-size: .8rem; color: var(--muted); }
.card-price s { font-weight: 400; font-size: .85rem; color: var(--muted); }
.card-store { font-size: .8rem; color: var(--muted); }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(127,127,127,.45); vertical-align: middle; }

/* browse */
.browse { display: grid; grid-template-columns: 250px 1fr; gap: 24px; margin-top: 16px; align-items: start; }
.filters { position: sticky; top: 110px; max-height: calc(100vh - 120px); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.filters .filters-toggle { display: none; width: 100%; }
.facet { border: 0; padding: 0; margin: 0 0 16px; }
.facet legend { font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.facet .opt { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: .92rem; cursor: pointer; }
.facet .opt em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .8rem; }
.facet[data-facet="b"] { max-height: 260px; overflow: auto; }
.facet input[type=range] { width: 100%; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.results-bar select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; }
#more { display: block; margin: 20px auto; }

/* buttons */
.btn { display: inline-block; padding: 8px 16px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; border: 1px solid var(--accent); cursor: pointer; font: inherit; font-weight: 700; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.big { display: block; text-align: center; padding: 12px 16px; margin-top: 12px; font-size: 1.05rem; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
.offers td .small { display: block; }
.offers tr.best { background: color-mix(in srgb, var(--good) 9%, transparent); }
.offers tr.oos { opacity: .55; }
.offers s { color: var(--muted); font-size: .85rem; }
.approx { display: block; }

/* product */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 12px; }
.product-media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; align-self: start; }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.best-box { background: var(--surface); border: 2px solid var(--good); border-radius: var(--radius); padding: 14px 16px; margin: 12px 0; }
.best-price { font-size: 2rem; font-weight: 800; line-height: 1.2; }
.best-price .approx { display: inline; font-size: 1rem; font-weight: 500; color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 16px 0 0; }
.specs div { border-top: 1px solid var(--line); padding-top: 6px; }
.specs dt { font-size: .8rem; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.history { margin-top: 8px; }
.spark { width: 100%; max-width: 420px; height: 70px; color: var(--accent); }

/* picks */
.picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 18px 0; }
.pick { display: grid; grid-template-columns: 80px 1fr; grid-template-rows: auto 1fr auto; column-gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.pick:hover { border-color: var(--accent); text-decoration: none; }
.pick img { grid-row: 1 / 4; width: 80px; height: 80px; object-fit: contain; background: #fff; border-radius: 8px; }
.pick-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--good); letter-spacing: .05em; }
.pick-title { font-weight: 600; line-height: 1.3; }
.pick-price { font-weight: 800; }
.pick-price small { font-weight: 400; color: var(--muted); }

/* faq, guides, brands */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; color: var(--muted); }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.brand-row { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); overflow: hidden; }
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.guide-text { display: flex; flex-direction: column; gap: 4px; padding: 14px; position: relative; background: var(--surface); }
.guide-card:hover img { transform: scale(1.06); }
.guide-card:hover, .brand-row:hover { border-color: var(--accent); text-decoration: none; }
.brand-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.prose { max-width: 780px; }
.prose li { margin-bottom: 6px; }
.spec td:first-child { font-weight: 700; }

/* footer */
.site-foot { margin-top: 56px; background: var(--surface); border-top: 1px solid var(--line); padding: 28px 0; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot-grid a { display: block; color: var(--muted); padding: 2px 0; }
.foot-grid p { color: var(--muted); }

/* scroll reveal (only when JS is running and motion is allowed) */
.js .reveal-ready { opacity: 0; transform: translateY(18px); }
.js .reveal-ready.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-belt span, .marquee-track, .banner-img { animation: none !important; }
  .hero-slide:first-child { opacity: 1; }
  .js .reveal-ready { opacity: 1; transform: none; }
  * { transition: none !important; }
}

@media (max-width: 1000px) {
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .browse { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .filters .filters-toggle { display: block; }
  .filters-body { display: none; margin-top: 12px; }
  .filters.open .filters-body { display: block; }
  .product { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .head-row { flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; }
  .logo { margin-right: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 48px; padding-bottom: 40px; }
  .hero-stats { gap: 12px 24px; margin-top: 26px; }
  .banner { min-height: 200px; }
  .specs { grid-template-columns: 1fr; }
  .offers thead { display: none; }
  .offers tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .offers td { border: 0; padding: 0; }
  .offers td:nth-child(4) { grid-column: 1 / -1; }
  .offers td:last-child { grid-column: 1 / -1; }
  .offers td:last-child .btn { display: block; text-align: center; }
}
