/* ==========================================================================
   site.css — all non-hero page styling, built from tokens.css.
   Desktop is the strict 1:1 target; mobile is a deliberate responsive build.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--color-bg-deep); color-scheme: dark; }
body {
  margin: 0;
  background: var(--color-bg-deep);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-accent); color: var(--positive-ink);
  padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0; font: 600 13px var(--font-body);
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.wrap { width: min(100%, var(--maxw)); margin: 0 auto; padding-inline: var(--gutter); box-sizing: border-box; }
.wrap--footer { max-width: var(--maxw-footer); }
.wrap--read { max-width: var(--maxw-read); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- Buttons / badges ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 14px var(--font-body); letter-spacing: .04em; text-decoration: none;
  border-radius: var(--r-md); padding: 14px 22px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; min-height: 44px;
}
.btn--accent { background: var(--color-accent); color: var(--positive-ink); }
.btn--accent:hover { background: var(--color-accent-soft); }
.btn--ghost { background: var(--color-surface-strong); border-color: var(--color-line-strong); color: var(--color-text); }
.btn--ghost:hover { background: rgba(var(--fg-rgb), .12); }
.btn--discord { background: var(--discord); color: #fff; letter-spacing: .08em; font-size: 12px; padding: 12px 18px; border-radius: var(--r-sm); }
.btn--discord svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; font: 700 10px var(--font-body);
  letter-spacing: .14em; border-radius: var(--pill); padding: 6px 12px;
}
.badge--drop { background: var(--positive); color: var(--positive-ink); }
.badge--best { background: var(--color-accent); color: var(--positive-ink); font-size: 8px; letter-spacing: .12em; padding: 4px 9px; }

.pos { color: var(--positive); }
.strike { color: var(--color-text-muted); text-decoration: line-through; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50; margin-bottom: 0;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
/* Only pages with a full-bleed hero image directly under the nav (home, category) want the
   nav to float OVER the art via a big negative margin. Everywhere else (product, search…)
   that same margin dragged ordinary page content up underneath the nav — broken layout. */
body.has-hero-overlap .nav { margin-bottom: var(--nav-gap, -199px); }
/* Homepage is just the hero, exactly one screen tall, nothing to scroll past it — take
   nav out of flow entirely so it floats over the hero via transparency + z-index only,
   instead of pushing the (already viewport-height) hero down and past the fold. */
body.page-home .nav { position: fixed; left: 0; right: 0; }
/* Product/group pages: nav floats over the page (fixed, out of flow) so the warm .pdp-head
   background reaches y=0 and shows BEHIND the transparent nav. As a sticky flow element the
   nav instead reserved a strip of bare black body-bg at the very top (the "dark bar"). */
body.page-plain-nav .nav { position: fixed; left: 0; right: 0; }
/* Blog: nav out of flow so at the top it's invisible (transparent base) and its contents
   (logo / discord / flag) float over the full-height centred hero mosaic — which owns the first
   viewport. On scroll the shared .is-scrolled state still applies, so the bar turns glossy
   (blur + bg + hairline) exactly like every other nav once you move past the hero. */
body.page-blog .nav { position: fixed; left: 0; right: 0; }
body.page-blog .blog-hero__content { padding-top: 0; padding-bottom: 0; }
.nav.is-scrolled {
  background: var(--nav-scrolled);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom-color: var(--color-line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: min(100%, var(--maxw)); margin: 0 auto; padding: 14px var(--gutter);
  box-sizing: border-box; position: relative;
}
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 6px 4px; }
.brand__word { font: 800 24px var(--font-display); letter-spacing: .04em; color: #fff; line-height: 1; text-decoration: none; }

/* product switcher (braap.now › PRICEWATCH ▾ → Pricewatch / Articles) */
.prodswitch { position: relative; }
.prodswitch__btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font: 700 9px var(--font-body); letter-spacing: .22em; color: rgba(var(--fg-rgb), .6); text-transform: uppercase;
  border: 1px solid var(--color-line-strong); border-radius: var(--r-xs); padding: 4px 8px; margin-top: 1px; background: rgba(var(--fg-rgb), .04); }
.prodswitch__btn::-webkit-details-marker { display: none; }
.prodswitch__btn:hover { color: var(--color-text); border-color: rgba(var(--fg-rgb), .3); }
.prodswitch__chev { font-size: 8px; opacity: .7; transition: transform .18s; }
.prodswitch[open] .prodswitch__chev { transform: rotate(180deg); }
.prodswitch .prodswitch__panel { left: 0; right: auto; top: calc(100% + 8px); min-width: 236px; padding: 6px;
  /* uniform frosted glass to match the PRICEWATCH pill: flat light tint over blur + bright edge */
  background: linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)), rgba(42, 34, 26, .20);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(30px) saturate(1.3); backdrop-filter: blur(30px) saturate(1.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .16);
  /* stay laid out (override the UA display:none) so open/close can animate */
  display: block; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transform-origin: top left; pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s; }
.prodswitch[open] .prodswitch__panel { opacity: 1; visibility: visible; transform: none;
  pointer-events: auto; transition: opacity .15s ease, transform .15s ease, visibility 0s; }
.prodswitch__panel .prodswitch__item { transition: background .12s ease; }
.prodswitch__panel .prodswitch__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.prodswitch__panel .prodswitch__item:hover { background: rgba(255, 255, 255, .05); }
.prodswitch__panel .prodswitch__item.is-active { background: rgba(255, 255, 255, .05); }
.prodswitch__ic { display: flex; color: #cbb089; flex: none; }
.prodswitch__txt { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.prodswitch__txt b { font: 700 13px var(--font-body); color: var(--color-text); letter-spacing: 0; }
.prodswitch__txt small { font: 500 11px var(--font-body); color: rgba(var(--fg-rgb), .45); letter-spacing: 0; }
.nav__right { display: flex; align-items: center; gap: 16px; margin-left: 8px; }
.nav__icon { display: flex; align-items: center; color: var(--color-text); text-decoration: none; }
.nav__icon svg { width: 24px; height: 24px; fill: currentColor; }

.hamb { display: flex; flex-direction: column; gap: 4px; padding: 8px 4px; cursor: pointer; background: none; border: 0; }
.hamb span { width: 18px; height: 2px; background: rgba(var(--fg-rgb), .8); border-radius: 2px; }
.navmenu { display: none; }
@media (max-width: 900px) { .navmenu { display: inline-flex; } }
@media (max-width: 900px) { .nav__center .hmenu { display: none; } }

/* dropdowns (lang + menu) — CSS/details based */
.menu { position: relative; }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 40;
  background: var(--surface-2); border: 1px solid var(--color-line-strong);
  border-radius: var(--r-md); padding: 6px; min-width: 184px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .6);
}
.menu__panel a, .menu__item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 8px;
  font: 500 13px var(--font-body); color: var(--color-text-dim); text-decoration: none;
}
.menu__panel a:hover { background: var(--color-surface); color: var(--color-text); }
.menu__panel a[aria-current="true"] { background: rgba(var(--fg-rgb), .07); color: var(--color-text); font-weight: 600; }
.debugmenu__btn { display: flex; align-items: center; font: 700 10px var(--font-body); letter-spacing: .12em; color: var(--positive-ink); background: var(--color-accent); padding: 7px 10px; border-radius: var(--r-sm); cursor: pointer; }
.debug-panel { width: 240px; max-height: 80vh; overflow-y: auto; }
.debug-panel__head { font: 600 11px var(--font-body); letter-spacing: .08em; color: var(--color-text); padding: 10px 6px 6px; border-top: 1px solid var(--color-line); margin-top: 4px; }
.debug-panel__head:first-child { border-top: none; margin-top: 0; padding-top: 4px; }
.debug-panel label { display: flex; flex-direction: column; gap: 4px; font: 500 11px var(--font-body); color: var(--color-text-dim); padding: 6px 6px; }
.debug-panel input[type="range"] { width: 100%; }
.debug-panel__reset { width: calc(100% - 12px); margin: 4px 6px; }
.debug-panel__readout { font: 400 10px/1.5 monospace; white-space: pre-wrap; background: var(--color-surface); border-radius: 8px; padding: 8px; margin: 6px; color: var(--color-text-dim); }
.flag { display: inline-block; width: 26px; height: 18px; border-radius: 3px; overflow: hidden; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); flex: none; }
.flag span { display: block; height: 33.333%; }
.flag--nl span:nth-child(1) { background: #AE1C28; } .flag--nl span:nth-child(2) { background: #fff; } .flag--nl span:nth-child(3) { background: #21468B; }
.flag--sm { width: 22px; height: 15px; }

details.lang, details.hmenu { position: relative; }
details.lang > summary, details.hmenu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; }
details > summary::-webkit-details-marker { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: var(--footer-bg); border-top: 1px solid var(--color-hairline); padding: 52px var(--gutter) 0; margin-top: 44px; }
.footer__cols { max-width: var(--maxw-footer); margin: 0 auto; display: flex; gap: 56px; flex-wrap: wrap; }
.footer__brand { flex: 1; min-width: 260px; }
.footer__brand .brand { padding: 0; }
.footer__blurb { font: 400 14px/1.65 var(--font-body); color: rgba(var(--fg-rgb), .55); margin-top: 16px; max-width: 290px; }
.footer__col { display: flex; flex-direction: column; gap: 13px; }
.footer__h { font: 600 10px var(--font-body); letter-spacing: .24em; color: rgba(var(--fg-rgb), .4); }
.footer__col a { font: 400 13px var(--font-body); color: rgba(var(--fg-rgb), .55); text-decoration: none; }
.footer__col a:hover { color: var(--color-text); }
.footer__bar {
  max-width: var(--maxw-footer); margin: 44px auto 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 20px 0 22px;
  border-top: 1px solid var(--color-hairline); font: 400 12px var(--font-body); color: rgba(var(--fg-rgb), .55);
}
.footer__legal { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer__legal a { text-decoration: none; color: inherit; }
.footer__legal a:hover { color: var(--color-text); }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.crumbs { font: 500 12px var(--font-body); letter-spacing: .06em; color: rgba(var(--fg-rgb), .5); }
.crumbs a { text-decoration: none; color: inherit; }
.crumbs a:hover { color: var(--color-text); }
.crumbs .sep { opacity: .4; margin: 0 6px; }
.crumbs .current { color: var(--color-text); }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.pdp-head {
  position: relative; overflow: hidden;
  /* padding-top clears the fixed nav (~78px) with a small gap; the warm wash now fills the
     whole box top-to-bottom INCLUDING the strip behind the transparent nav. */
  padding-top: 76px; padding-bottom: 8px;
  background:
    radial-gradient(90% 120% at 78% -25%, rgba(255, 178, 112, .20) 0%, rgba(255, 178, 112, 0) 58%),
    linear-gradient(180deg, #2c1d11 0%, #1d1109 48%, #0d0a07 100%);
}
.pdp-head__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 10, 7, 0) 0%, rgba(13, 10, 7, .6) 55%, #0d0a07 100%); }
.pdp-head__wash { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(150, 92, 48, .28) 0%, rgba(30, 20, 11, 0) 58%); }
.pdp-crumbs { position: relative; z-index: 4; padding-top: 26px; }

.pdp { position: relative; z-index: 4; display: flex; gap: 44px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 46px; align-items: stretch; }
.pdp__media { flex: 40 1 0; min-width: 320px; display: flex; flex-direction: column; gap: 14px; justify-content: flex-end; }
.pdp__imgbox {
  background: var(--image-tile); border-radius: var(--r-lg); height: 100%; min-height: 360px;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.pdp__imgbox img { width: 360px; height: 360px; max-width: 80%; object-fit: contain; mix-blend-mode: darken; }
.pdp__imgbadge { position: absolute; top: 18px; left: 18px; }
.pdp__info { flex: 60 1 0; min-width: 360px; }
.pdp__eyebrow { display: flex; align-items: center; gap: 14px; }
.pdp__brand { font: 600 11px var(--font-body); letter-spacing: .24em; color: rgba(var(--fg-rgb), .5); }
.pdp__gtin { font: 500 11px var(--font-body); letter-spacing: .1em; color: rgba(var(--fg-rgb), .35); }
.pdp__title { font: 800 46px/1.1 var(--font-display); letter-spacing: .01em; text-transform: uppercase; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pdp__desc { font: 400 15px/1.6 var(--font-body); color: rgba(var(--fg-rgb), .6); margin: 16px 0 0; max-width: 520px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.bestprice {
  margin-top: 24px; padding: 22px 24px; border-radius: var(--r);
  background: rgba(var(--accent-rgb), .08); border: 1px solid rgba(var(--accent-rgb), .3);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.bestprice__now { font: 800 42px var(--font-display); color: #fff; line-height: 1; }
.bestprice__row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bestprice__was { font: 600 14px var(--font-body); }
.bestprice__save { font: 600 13px var(--font-body); color: var(--positive); margin-top: 4px; text-transform: lowercase; }
.bestprice__trend { font: 600 12px var(--font-body); color: rgba(var(--fg-rgb), .55); margin-top: 6px; }
.bestprice__omnibus { font: 500 11px var(--font-body); color: rgba(var(--fg-rgb), .55); margin-top: 6px; }

/* compare-all-shops table */
.section { position: relative; padding-top: 44px; }
.section__title { font: 800 30px var(--font-display); letter-spacing: .02em; text-transform: uppercase; }
.offers { margin-top: 20px; }
.offers__head, .offer {
  display: grid; grid-template-columns: 2fr 1fr 0.9fr 1.3fr; gap: 16px; align-items: center;
}
.offers__head { padding: 0 8px 12px; font: 600 9px var(--font-body); letter-spacing: .16em; color: rgba(var(--fg-rgb), .55); }
.offers__head span:nth-child(4) { text-align: right; }
.offer { padding: 16px 8px; border-top: 1px solid var(--color-line); }
.offer.is-best { background: rgba(var(--accent-rgb), .08); }
.offer.is-oos { opacity: .4; }
.offer.is-oos .offer__go { pointer-events: none; }
.offer__shop { display: flex; align-items: center; gap: 12px; min-width: 0; }
.offer__shopname { font: 700 20px var(--font-display); letter-spacing: .03em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.offer__logo { height: 24px; max-width: 88px; object-fit: contain; flex: none; filter: brightness(0) invert(1); }
.offer__logo--noinvert { filter: none; }
.offer__pay { display: flex; align-items: center; gap: 5px; }
.offer__pay img { height: 20px; width: auto; border-radius: 3px; }

/* colour / size pickers (design-faithful; variant data derived where possible) */
.picker { margin-top: 22px; }
.picker__label { font: 600 10px var(--font-body); letter-spacing: .2em; color: rgba(var(--fg-rgb), .4); margin-bottom: 10px; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 62px; height: 62px; background: var(--image-tile); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; border: 2px solid transparent; overflow: hidden; }
.swatch.is-active { border-color: var(--color-accent); }
.swatch:not(.is-active) { opacity: .5; }
.swatch img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: darken; }
.sizes { display: flex; gap: 9px; flex-wrap: wrap; }
.size { font: 600 14px var(--font-body); padding: 11px 17px; border-radius: var(--r-xs); border: 1px solid var(--color-line-strong); color: var(--color-text-dim); }
.size.is-active { border-color: var(--color-accent); background: var(--color-accent); color: var(--positive-ink); }

/* price-watch band (design's alert band; alerts are out of scope — CTA joins Discord) */
.pricewatch { position: relative; border-radius: var(--r-lg); background: linear-gradient(160deg, #241810, #140d07); border: 1px solid var(--color-hairline); padding: 40px 44px; overflow: hidden; margin-top: 44px; }
.pricewatch__eyebrow { font: 700 10px var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--color-accent); }
.pricewatch__title { font: 800 30px/1.08 var(--font-display); text-transform: uppercase; color: #fff; margin-top: 6px; max-width: 440px; }
.pricewatch__text { font: 400 14px/1.6 var(--font-body); color: rgba(var(--fg-rgb), .55); margin-top: 8px; max-width: 460px; }
.pricewatch__form { display: flex; gap: 10px; margin-top: 20px; max-width: 460px; }
.pricewatch__input { flex: 1; display: flex; align-items: center; gap: 8px; background: rgba(var(--fg-rgb), .05); border: 1px solid var(--color-line-strong); border-radius: var(--r-md); padding: 0 16px; }
.pricewatch__input span { font: 700 18px var(--font-display); color: rgba(var(--fg-rgb), .4); }
.pricewatch__input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: 700 20px var(--font-display); padding: 14px 0; }
.offer__meta { font: 500 13px var(--font-body); color: rgba(var(--fg-rgb), .7); }
.offer__pricebtn { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.offer__price { text-align: right; font: 800 24px var(--font-display); color: #fff; }
.offer__go {
  display: inline-flex; align-items: center; gap: 7px; padding: 11px 16px; flex: none;
  border-radius: var(--r-xs); text-decoration: none; font: 600 12px var(--font-body); min-height: 40px;
  background: var(--color-surface-strong); border: 1px solid rgba(var(--fg-rgb), .2); color: var(--color-text);
}
.offer.is-best .offer__go { background: var(--color-accent); border-color: var(--color-accent); color: var(--positive-ink); }

/* price history chart */
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; gap: 16px; }
.chart-label { font: 600 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(var(--fg-rgb), .55); }
.chart-today { font: 800 22px var(--font-display); color: var(--color-accent); line-height: 1; margin-top: 2px; }
.chart-sub { font: 700 11px var(--font-body); color: rgba(var(--fg-rgb), .5); margin-top: 4px; }
#chartWrap { position: relative; cursor: crosshair; min-height: 120px; }
#chartWrap svg { display: block; overflow: visible; width: 100%; height: 150px; }
.chart-svg-fade {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 18px; }
.chart-legend__item { display: inline-flex; align-items: center; gap: 9px; font: 600 12px var(--font-body); color: rgba(var(--fg-rgb), .72); background: none; border: 0; padding: 4px 0; cursor: pointer; }
.chart-legend__item:hover { color: var(--color-text); }
.chart-legend__item.is-off { color: rgba(var(--fg-rgb), .3); }
.chart-legend__item.is-off .chart-legend__swatch { opacity: .3; }
.chart-legend__swatch { width: 14px; height: 3px; border-radius: 2px; flex: none; }
.chart-tip {
  position: absolute; transform: translate(-50%, -116%); background: var(--surface-3);
  border: 1px solid var(--color-line-strong); border-radius: var(--r-sm); padding: 9px 12px;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 3;
}
.chart-line { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(var(--fg-rgb), .25); opacity: 0; pointer-events: none; }

/* accordion */
.acc__item { border-bottom: 1px solid var(--color-line); }
.acc__item > summary { list-style: none; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 2px; cursor: pointer; }
.acc__item > summary::-webkit-details-marker { display: none; }
.acc__title { font: 800 22px var(--font-display); letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.acc__chev { color: rgba(var(--fg-rgb), .5); display: flex; transition: transform .22s ease; }
.acc__item[open] .acc__chev { transform: rotate(180deg); }
.acc__body { padding: 0 2px 26px; }
.acc__body p { font: 400 15px/1.7 var(--font-body); color: rgba(var(--fg-rgb), .6); max-width: 720px; margin: 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid rgba(var(--fg-rgb), .09); }
.specs__k { font: 500 14px var(--font-body); color: rgba(var(--fg-rgb), .5); }
.specs__v { font: 600 14px var(--font-body); color: var(--color-text); text-align: right; }

/* ==========================================================================
   LISTING (category + search share this)
   ========================================================================== */
.cat-hero { position: relative; height: calc(460px + var(--hero-extend, 168px)); overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 10%, #2a1c10 0%, #160f08 55%, #0d0a07 100%); }
/* Oversized so the img (itself sized to 100% of THIS box, then shrunk by --bg-zoom via
   transform) still fully covers the visible hero at typical desktop widths — a smaller
   buffer left a bare gap on the right edge once the image scaled down below 100%. */
.cat-hero__bg { position: absolute; inset: -1100px; z-index: 0; }
.cat-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: var(--bg-opacity, .2); filter: saturate(.9); transform: translate(var(--bg-x, 0px), var(--bg-y, 150px)) scale(var(--bg-zoom, 0.75)); }
.cat-hero__wash { position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(150, 92, 48, .32) 0%, rgba(30, 20, 11, 0) 58%); }
.cat-hero__glow { position: absolute; inset: 0; z-index: 1; background: radial-gradient(90% 70% at 50% 100%, rgba(var(--accent-rgb), .18), rgba(13, 10, 7, 0) 60%); }
.cat-hero__word { position: absolute; left: 0; right: 0; top: 128px; text-align: center; font: 800 clamp(72px, 16vw, 220px)/1 var(--font-display); letter-spacing: -.01em; color: #f5e9d8; z-index: 2; user-select: none; text-transform: uppercase; text-shadow: 0 2px 40px rgba(0,0,0,.4); transform: translateY(var(--hero-title-y, 94px)); }
.cat-hero__chibi { position: absolute; left: 50%; top: var(--chibi-top, -352px); bottom: auto; transform: translate(calc(-50% + var(--chibi-x, 0px)), var(--chibi-y, 43px)); width: calc(440px * var(--chibi-scale, 1.06)); height: calc(360px * var(--chibi-scale, 1.06)); object-fit: contain; z-index: -1; pointer-events: none; --poster-color: transparent; background: transparent; filter: saturate(80%);
  -webkit-mask-image: linear-gradient(to bottom, #000 var(--chibi-fade-start, 80%), transparent var(--chibi-fade-end, 93%));
          mask-image: linear-gradient(to bottom, #000 var(--chibi-fade-start, 80%), transparent var(--chibi-fade-end, 93%)); }
.cat-hero__chibi:not(:defined) { visibility: hidden; }
.cat-hero__shadow { position: absolute; left: 50%; top: var(--chibi-shadow-top, 66px); bottom: auto; transform: translateX(-50%); width: 300px; height: 60px; z-index: 5; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,0) 70%); }
@media (max-width: 720px) { .cat-hero__chibi, .cat-hero__shadow { display: none; } .cat-hero__word { top: 90px; } }
.cat-hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 10, 7, 0) 0%, rgba(13, 10, 7, .65) 55%, #0d0a07 100%); }


/* filter dropdowns (Stores / Brands / Price) — independent <details name=filterpanel> */
.filterdrop > summary { list-style: none; cursor: pointer; }
.filterdrop > summary::-webkit-details-marker { display: none; }

/* ===== browse card: category chips + search + filter buttons (mockup) ===== */
/* --hero-extend grows the hero downward and pulls the browse card up by the same amount,
   so the hero's atmospheric background + dark fade reach down over the chips and the top
   of the search bar while the content stays put. Tunable via the DEBUG panel. */
.browse { background: var(--browse-bg, transparent); border-radius: 14px; padding: 0; margin-top: calc(22px - var(--hero-extend, 168px)); position: relative; z-index: 3; }
.browse__cats { display: flex; gap: 2px; flex-wrap: wrap; margin-bottom: 16px; }
.catchip { position: relative; z-index: 0; font: 600 12px var(--font-body); letter-spacing: .06em; padding: 7px 15px; border-radius: 999px; color: rgba(var(--fg-rgb), .5); text-decoration: none; transition: color .15s; }
.catchip:hover { color: var(--color-text); }
.catchip.is-active { color: var(--chip-active-ink); }
/* JS-off fallback bubble: a static background on the active chip. When nav-swap.js is live it
   adds .has-slide and this is hidden in favour of the single sliding .cat-pill below. */
.catchip.is-active::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: var(--chip-active-bg); }

/* Sliding bubble: ONE element that transforms between chips, behind the labels. It is a real
   DOM element (not a View-Transition-named one) precisely so it stays BEHIND the crisp text —
   a VT-named pill lifts into the overlay ABOVE the text and hides the label it slides over. */
.browse__catsbar { position: relative; }
.browse__cats.has-slide { position: relative; z-index: 1; }              /* labels above the pill */
.browse__cats.has-slide .catchip.is-active::before { display: none; }    /* one pill, not two */
.cat-pill { position: absolute; top: 0; left: 0; width: 0; height: 0; border-radius: 999px;
  background: var(--chip-active-bg); z-index: 0; opacity: 0; pointer-events: none;
  transition: transform .44s cubic-bezier(.22,.61,.36,1), width .44s cubic-bezier(.22,.61,.36,1); }
@media (prefers-reduced-motion: reduce) { .cat-pill { transition: none; } }
.browse__search { display: flex; align-items: center; gap: 10px;
  /* black tint layer (--search-dark) sits over the translucent white fill,
     so "darker" is a separate knob from the white --search-alpha opacity. */
  background:
    linear-gradient(rgba(0, 0, 0, var(--search-dark, .11)), rgba(0, 0, 0, var(--search-dark, .11))),
    rgba(255, 255, 255, var(--search-alpha, .05));
  border-radius: 9px; padding: 12px 16px; margin-bottom: 14px; position: relative; z-index: 0; }
.browse__sicon { color: rgba(var(--fg-rgb), .45); line-height: 1; display: inline-flex; flex: none; }
.browse__sicon svg { transform: scaleX(-1); }
.browse__search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--color-text); font: 400 15px var(--font-body); }
.browse__search input::placeholder { color: rgba(var(--fg-rgb), .45); }
.browse__filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fbtn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .18); color: var(--color-text-dim); background: none;
  font: 600 12px var(--font-body); letter-spacing: .06em; padding: 8px 12px; border-radius: 8px; cursor: pointer; list-style: none; white-space: nowrap; }
.fbtn::-webkit-details-marker { display: none; }
.fbtn:hover { border-color: rgba(255, 255, 255, .35); color: var(--color-text); }
.fbtn__chev { font-size: 10px; color: rgba(var(--fg-rgb), .4); }
.fbtn__n { background: var(--chip-active-bg); color: var(--chip-active-ink); border-radius: 999px; padding: 1px 6px; font: 700 10px var(--font-body); }
.fbtn.is-active, .filterdrop[open] > summary.fbtn { border-color: var(--chip-active-bg); color: var(--chip-active-bg); }
.fbtn.is-active .fbtn__chev, .filterdrop[open] > summary.fbtn .fbtn__chev { color: var(--chip-active-bg); }
.browse__clear { display: inline-flex; align-items: center; gap: 5px; color: rgba(var(--fg-rgb), .5); font: 600 12px var(--font-body); letter-spacing: .06em; padding: 8px 6px; text-decoration: none; }
.browse__clear:hover { color: var(--color-text); }
.browse__sort { margin-left: auto; }
.facets__n { opacity: .5; font-variant-numeric: tabular-nums; font-size: 12px; }
.menu__empty { display: block; padding: 10px 12px; color: rgba(var(--fg-rgb), .4); font-size: 13px; }

/* multiselect dropdowns (Stores / Brands): scrollable checkbox list + Apply */
.menu__panel--multi { left: 0; right: auto; min-width: 252px; padding: 6px; }
.facets__scroll { max-height: 300px; overflow-y: auto; padding-right: 6px;
  scrollbar-width: thin; scrollbar-color: rgba(var(--fg-rgb), .28) transparent; }
.facets__scroll::-webkit-scrollbar { width: 10px; }
.facets__scroll::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.facets__scroll::-webkit-scrollbar-track { background: transparent; }
.facets__scroll::-webkit-scrollbar-thumb { background: rgba(var(--fg-rgb), .22); border-radius: 8px; border: 3px solid transparent; background-clip: content-box; }
.facets__scroll::-webkit-scrollbar-thumb:hover { background: rgba(var(--fg-rgb), .4); background-clip: content-box; }
.facets__check { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer;
  font: 500 13px var(--font-body); color: var(--color-text-dim); }
.facets__check:hover { background: var(--color-surface); color: var(--color-text); }
.facets__check input { accent-color: var(--color-accent); width: 15px; height: 15px; flex: none; margin: 0; cursor: pointer; }
.facets__cName { flex: 1; }
.facets__apply { display: block; width: 100%; margin-top: 6px; padding: 11px; text-align: center; border: 0; cursor: pointer;
  background: var(--color-accent); color: var(--accent-ink); border-radius: var(--r-sm); font: 700 12px var(--font-body); letter-spacing: .06em; }
.facets__apply:hover { filter: brightness(1.07); }

/* price dropdown: quick presets + a clean € min – € max row */
.menu__panel--price { left: 0; right: auto; min-width: 288px; max-height: none; overflow: visible; padding: 14px; }
.price-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.price-presets a { padding: 7px 11px; border-radius: 999px; background: var(--surface-1); border: 1px solid var(--color-line-strong);
  color: var(--color-text-dim); font: 600 11px var(--font-body); text-decoration: none; white-space: nowrap; }
.price-presets a:hover { color: var(--color-text); border-color: rgba(var(--accent-rgb), .45); }
.facets__price { display: flex; gap: 6px; align-items: center; }
.facets__price input { width: 62px; padding: 9px 8px; background: var(--surface-1); border: 1px solid var(--color-line-strong); border-radius: var(--r-sm); color: var(--color-text); font: 500 13px var(--font-body); text-align: center; }
.facets__price input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.facets__price input::-webkit-outer-spin-button,
.facets__price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-cur { color: rgba(var(--fg-rgb), .5); font: 600 13px var(--font-body); }
.price-dash { color: rgba(var(--fg-rgb), .4); padding: 0 1px; }
.price-apply { width: auto; margin: 0 0 0 4px; padding: 9px 14px; }

.results { margin-top: 20px; margin-bottom: 10px; background: rgba(var(--fg-rgb), .025); border: 1px solid rgba(var(--fg-rgb), .09); border-radius: var(--r); overflow: hidden; }
.row {
  display: grid; grid-template-columns: var(--row-img, 60px) minmax(160px, 1fr) 84px 100px auto; align-items: center; gap: 16px;
  padding: 14px 22px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--color-hairline);
  transition: background .15s ease;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: rgba(var(--fg-rgb), .05); }
.row__thumb { width: var(--row-img, 60px); height: var(--row-img, 60px); background: var(--image-tile); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.row__thumb img { width: calc(var(--row-img, 60px) - 8px); height: calc(var(--row-img, 60px) - 8px); object-fit: contain; mix-blend-mode: darken; }
.row__main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row__brand { display: block; font: 600 10px var(--font-body); letter-spacing: .24em; color: rgba(var(--fg-rgb), .45); }
.row__name { display: block; font: 700 20px var(--font-display); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__meta { display: flex; align-items: center; gap: 8px; }
.row__save { font: 600 12px var(--font-body); color: var(--positive); }
.row__shops { font: 500 12px var(--font-body); color: rgba(var(--fg-rgb), .5); }
.row__spec { text-align: center; }
.row__spec-k { display: block; font: 600 9px var(--font-body); letter-spacing: .1em; color: rgba(var(--fg-rgb), .32); margin-bottom: 4px; }
.row__spec-v { display: block; font: 500 13px var(--font-body); color: rgba(var(--fg-rgb), .62); }
.row__trendprice { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.row__spark { display: flex; align-items: center; color: var(--color-text);
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 var(--spark-fade-in, 45%), #000 var(--spark-fade-out, 55%), transparent 100%);
  mask: linear-gradient(90deg, transparent 0, #000 var(--spark-fade-in, 45%), #000 var(--spark-fade-out, 55%), transparent 100%); }
.row__spark svg { display: block; width: 90px; height: 46px; }
/* Fixed width so the price never varies the column: otherwise a wider price (€1.228,99)
   shoves the sparkline left of a row with a narrow price (€45,99), so the charts look
   staggered/different-length down the list even though each SVG is identical. */
.row__price { text-align: right; flex: none; }
.row__from-val { display: block; font: 800 22px var(--font-display); color: var(--color-text); line-height: 1; font-variant-numeric: tabular-nums; }
.row__upto { display: block; font: 600 10px var(--font-body); color: rgba(var(--fg-rgb), .4); margin-top: 1px; }
.row__upto b { font: 700 13px var(--font-display); color: rgba(var(--fg-rgb), .75); }

/* Consolidated price block: one anchor (the price) + one delta pill (% below the dearest
   shop) + one quiet "save €X" line. The pill's % and the save figure reconcile — both are
   derived from the same highest-price anchor server-side, never a mismatched struck price. */
/* Productlist price: the from→to range (lowest on top, highest beneath), with the green
   %-off pill to the left of it. */
.row__priceline { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.row__delta { display: inline-flex; align-items: center; gap: 1px; font: 700 11px var(--font-body); color: var(--positive);
  background: rgba(var(--positive-rgb), .14); padding: 2px 7px 2px 4px; border-radius: 999px; line-height: 1; font-variant-numeric: tabular-nums; }
.row__delta-ic { flex: none; margin-top: -1px; }
/* Desktop: hide the mobile-only %-off pill and the filter funnel icon. */
@media (min-width: 721px) { .row__delta, .browse__filtericon { display: none; } }
/* Three lines: "from" label, the low price, then "to {high}". */
.row__range { display: block; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.row__range-lead { display: block; font: 500 11px var(--font-body); color: rgba(var(--fg-rgb), .5); }
.row__range-from { display: block; font: 800 24px var(--font-display); color: var(--color-text); line-height: 1.05; }
.row__range-to { display: block; font: 500 12px var(--font-body); color: rgba(var(--fg-rgb), .5); margin-top: 1px; }

/* Funnel/adjustments glyph flagging the pill row as filters (distinct from the chip nav). */
.browse__filtericon { display: none; align-items: center; color: rgba(var(--fg-rgb), .4); flex: none; }

/* Browse toolbar (category selector + search + filters), a sibling of .browse now. Sits above
   the hero fade like the card it visually continues; becomes position:sticky on mobile so the
   whole toolbar pins to the top on scroll (see the responsive block). */
.browse__pinned { position: relative; z-index: 3; }

/* pagination */
.pager { display: flex; justify-content: space-between; align-items: center; padding: 0 0 40px; gap: 16px; flex-wrap: wrap; }
.pager__pages { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pager a, .pager span.page { padding: 8px 13px; border-radius: var(--r-xs); border: 1px solid var(--color-line-strong); color: var(--color-text); text-decoration: none; font: 600 11px var(--font-body); min-width: 36px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; }
.pager span.page.is-current { background: var(--color-accent); color: #000; border-color: var(--color-accent); }
.pager .gap { border: 0; color: rgba(var(--fg-rgb), .35); min-width: 0; padding: 0 4px; }
/* rows-per-page selector (bottom-left of the pager) */
.pager__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pager__rows { position: relative; }
.pager__rows .fbtn { padding-right: 8px; }
.pager__rows .menu__panel { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; min-width: 0; width: max-content;
  display: flex; flex-direction: column; }
.pager__rows .menu__panel a { padding: 10px 14px 10px 12px; border: 0; border-radius: 8px;
  min-width: 0; min-height: 0; width: auto; justify-content: flex-start; font: 600 12px var(--font-body); }
.pager__next { background: var(--color-surface-strong); }
/* "Load more" — mobile-only alternative to the numeric pager (shown in the responsive block). */
.loadmore { display: none; width: 100%; padding: 13px; border-radius: var(--r-sm);
  border: 1px solid var(--color-line-strong); background: var(--color-surface-strong); color: var(--color-text);
  font: 600 12px var(--font-body); letter-spacing: .06em; cursor: pointer; transition: border-color .15s, background .15s; }
.loadmore:hover { border-color: rgba(255, 255, 255, .35); }
.loadmore.is-loading { opacity: .55; pointer-events: none; }

/* ===== Mobile filter/sort buttons + bottom sheets (shown only ≤720px) ===================== */
.browse__mbtn { display: none; align-items: center; gap: 7px; }
.browse__mbtn .fbtn__n { margin-left: 1px; }

.sheet { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s ease; }
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet__panel { position: relative; width: 100%; max-height: 86vh; overflow-y: auto; background: var(--color-bg);
  border-radius: 18px 18px 0 0; padding: 0 var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%); transition: transform .3s cubic-bezier(.22, .61, .36, 1); box-shadow: 0 -12px 44px rgba(0, 0, 0, .55); }
.sheet.is-open .sheet__panel { transform: translateY(0); }
.sheet__grip { display: block; width: 40px; height: 4px; border-radius: 999px; background: rgba(var(--fg-rgb), .28); margin: 10px auto 4px; }
.sheet__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 8px 0 12px; background: var(--color-bg); }
.sheet__title { font: 700 17px var(--font-display); color: var(--color-text); display: inline-flex; align-items: center; gap: 8px; }
.sheet__headr { display: flex; align-items: center; gap: 18px; }
.sheet__reset { font: 600 13px var(--font-body); color: var(--positive); text-decoration: none; }
.sheet__x { background: none; border: 0; color: rgba(var(--fg-rgb), .6); font-size: 17px; line-height: 1; padding: 4px; cursor: pointer; }

/* Sort options: title + description, selected row tinted with a check. */
.sheet__opts { padding: 4px 0; }
.sortopt { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--color-text);
  padding: 14px var(--gutter); margin: 0 calc(var(--gutter) * -1); border-bottom: 1px solid var(--color-hairline); }
.sortopt:last-child { border-bottom: 0; }
.sortopt__t { display: block; font: 600 15px var(--font-body); }
.sortopt__d { display: block; font: 400 12px var(--font-body); color: rgba(var(--fg-rgb), .5); margin-top: 2px; }
.sortopt__ck { flex: none; color: var(--color-accent); opacity: 0; }
.sortopt.is-sel { background: rgba(var(--accent-rgb), .16); }
.sortopt.is-sel .sortopt__ck { opacity: 1; }

/* Filter groups: heading + chips / toggle / range. */
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--color-hairline); }
.sheet__body .fgroup:last-of-type { border-bottom: 0; }
.fgroup__h { display: block; font: 700 13px var(--font-body); color: var(--color-text); margin-bottom: 12px; }
/* One horizontally-scrollable row (no wrapping to a second line). */
.chipset { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.chipset::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span { display: inline-flex; align-items: center; white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--color-line-strong);
  font: 600 13px var(--font-body); color: var(--color-text-dim); cursor: pointer; transition: background .12s, border-color .12s, color .12s; }
.chip input:checked + span { background: var(--color-accent); border-color: var(--color-accent); color: #0d0a07; }
.chip input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 1px; }

.ftoggle { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; cursor: pointer; }
.ftoggle .fgroup__h { margin: 0; }
.ftoggle input { position: absolute; opacity: 0; }
.ftoggle__sw { position: relative; width: 46px; height: 27px; border-radius: 999px; background: rgba(var(--fg-rgb), .2); transition: background .18s; flex: none; }
.ftoggle__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: transform .18s; }
.ftoggle input:checked + .ftoggle__sw { background: var(--color-accent); }
.ftoggle input:checked + .ftoggle__sw::after { transform: translateX(19px); }

/* Dual-handle price range: two overlaid range inputs, thumbs grab-able, tracks click-through. */
.rangepick { position: relative; height: 30px; }
.rangepick__rail, .rangepick__fill { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 999px; }
.rangepick__rail { left: 0; right: 0; background: rgba(var(--fg-rgb), .18); }
.rangepick__fill { background: var(--color-accent); }
.rangepick__inp { position: absolute; top: 0; left: 0; width: 100%; height: 30px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.rangepick__inp::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--color-accent); box-shadow: 0 1px 4px rgba(0, 0, 0, .4); cursor: pointer; }
.rangepick__inp::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  border: 2px solid var(--color-accent); box-shadow: 0 1px 4px rgba(0, 0, 0, .4); cursor: pointer; }
.rangepick__vals { display: flex; justify-content: space-between; font: 600 13px var(--font-body); color: var(--color-text-dim); margin-top: 6px; }

.sheet__apply { display: block; width: 100%; margin-top: 18px; padding: 15px; border: 0; border-radius: 12px;
  background: var(--color-accent); color: #0d0a07; font: 700 14px var(--font-body); letter-spacing: .04em; cursor: pointer; }
.sheet__apply:active { transform: translateY(1px); }
@media (min-width: 721px) { .sheet { display: none !important; } }

.empty { padding: 60px var(--gutter); text-align: center; color: var(--color-text-dim); }
.empty h2 { font-size: 26px; margin-bottom: 10px; }

/* ==========================================================================
   HOMEPAGE (built by inference from the design system)
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.cat-tile {
  position: relative; border-radius: var(--r); overflow: hidden; min-height: 160px; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: inherit;
  background: linear-gradient(180deg, rgba(13, 10, 7, .1), rgba(13, 10, 7, .82)), var(--surface-1);
  border: 1px solid var(--color-hairline); transition: border-color .18s, transform .18s;
}
.cat-tile:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateY(-2px); }
.cat-tile__name { font: 800 26px var(--font-display); text-transform: uppercase; color: #fff; }
.cat-tile__n { font: 600 12px var(--font-body); color: rgba(var(--fg-rgb), .5); margin-top: 4px; }

/* ==========================================================================
   BLOG + ARTICLE + TEXT
   ========================================================================== */
.blog-hero { position: relative; overflow: hidden; padding: 112px 0 44px;
  min-height: 85vh; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(110% 120% at 80% -10%, #2a1c10 0%, #160f08 50%, #0d0a07 100%); }
.blog-hero__bg { position: absolute; inset: 0; z-index: 0; }
.blog-hero__bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: var(--blog-bg-opacity, 5%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 35%, #000 45%, transparent 100%);
  mask-image: linear-gradient(to top, transparent 0%, #000 35%, #000 45%, transparent 100%);
}
.blog-hero__content { position: relative; z-index: 1; }
.blog-hero h1 { font: 800 clamp(48px, 7vw, 72px)/1 var(--font-display); text-transform: uppercase; color: #fff; }
.blog-hero p { font: 400 17px/1.5 var(--font-body); color: rgba(var(--fg-rgb), .6); margin-top: 14px; }

/* Article mosaic: big feature (left) + 3 recent side cards (right). */
.blog-recent { display: flex; gap: 28px; align-items: stretch; margin-top: 34px; flex-wrap: wrap; }
.blog-feature { flex: 1.2; min-width: 320px; position: relative; border-radius: 18px; min-height: 300px; display: flex; align-items: flex-end; text-decoration: none; color: inherit;
  background: linear-gradient(rgba(13, 10, 7, .18), rgba(13, 10, 7, .18)), linear-gradient(180deg, rgba(13, 10, 7, 0) 34%, rgba(13, 10, 7, .88)), var(--surface-1); }
.blog-feature__peek { position: absolute; top: -18px; right: 28px; width: 148px; transform: translateY(-70%); z-index: 5; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }
.blog-feature__peek img { display: block; width: 100%; }
.blog-feature__body { position: relative; z-index: 2; padding: 30px; }
.blog-side { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 26px; }
.blog-side a { display: grid; grid-template-columns: 150px 1fr; column-gap: 20px; row-gap: 8px;
  grid-template-areas: "thumb text" "thumb byline"; align-items: start; text-decoration: none; color: inherit; }
.blog-side__thumb { grid-area: thumb; width: 150px; height: 118px; flex: none; border-radius: 18px; overflow: hidden; background: var(--surface-1); background-size: cover; background-position: center; }
.blog-side__text { grid-area: text; }
.blog-side .byline { grid-area: byline; align-self: end; }

/* Featured-guide hero card: image left, text + CTA right (stacks on narrow screens). */
.guide-wrap { margin-top: 20px; }
.guide-hero { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  border: 1px solid var(--color-hairline); border-radius: 20px; overflow: hidden; background: var(--surface-1); }
.guide-hero__media { position: relative; min-height: 280px; background-size: cover; background-position: center; }
.guide-hero__badge { position: absolute; top: 20px; left: 20px; background: var(--color-accent); color: var(--accent-ink);
  font: 700 10px var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 7px 13px; border-radius: 99px; }
.guide-hero__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.guide-hero__title { font: 800 34px/1.05 var(--font-display); text-transform: uppercase; color: #fff; text-decoration: none; }
.guide-hero__excerpt { font: 400 15px/1.6 var(--font-body); color: rgba(var(--fg-rgb), .6); max-width: 460px; }
.guide-hero__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }
.btn--light { background: var(--color-text); color: var(--color-bg-deep); border-color: transparent; }

.byline { font: 500 13px var(--font-body); color: rgba(var(--fg-rgb), .7); }
.byline .dot { color: rgba(var(--fg-rgb), .5); }
.blog-card-title { font: 800 32px/1.02 var(--font-display); text-transform: uppercase; color: #fff; margin-top: 8px; }
.blog-card-title--sm { font-size: 20px; line-height: 1.05; }
.byline__date::before { content: "·"; padding: 0 .4em; opacity: .5; }
.blog-excerpt { font: 400 15px/1.6 var(--font-body); color: rgba(var(--fg-rgb), .72); margin-top: 10px; }
.blog-excerpt .dot { color: rgba(var(--fg-rgb), .5); }

.blog-more { margin-top: 56px; }
.blog-more__head { padding-bottom: 20px; }
.blog-more__head p { color: rgba(var(--fg-rgb), .55); margin-top: 8px; max-width: 580px; }
.blog-browse { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.blog-browse a { font: 500 13px var(--font-body); border: 1px solid var(--color-line); border-radius: 99px;
  padding: 8px 16px; color: rgba(var(--fg-rgb), .6); text-decoration: none; transition: border-color .12s, color .12s; }
.blog-browse a:hover { border-color: var(--color-line-strong); color: rgba(var(--fg-rgb), .85); }
.blog-browse a.is-active { background: var(--color-accent); border-color: var(--color-accent); color: var(--accent-ink); }
.blog-list { margin-top: 12px; }
.blog-list a { display: flex; gap: 22px; align-items: center; padding: 22px 4px; text-decoration: none; color: inherit; }
.blog-list a + a { border-top: 1px solid rgba(var(--fg-rgb), .09); }
.blog-list__text { flex: 1; min-width: 0; }
.blog-list__cat { font: 700 9px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--color-accent); }
.blog-list__thumb { width: 132px; height: 96px; flex: none; border-radius: var(--r-md); overflow: hidden; background: var(--surface-1); background-size: cover; background-position: center; }

.masthead-nav { position: sticky; top: 0; z-index: 50; margin-bottom: -73px; background: transparent; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.masthead-nav.is-scrolled { background: var(--nav-scrolled); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--color-line); }
.masthead-nav__inner { position: relative; display: flex; align-items: center; justify-content: center; width: min(100%, var(--maxw-narrow)); margin: 0 auto; padding: 16px var(--gutter); }
.masthead-nav__back { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); font: 600 11px var(--font-body); letter-spacing: .14em; color: rgba(var(--fg-rgb), .55); text-decoration: none; }
.masthead-nav__right { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 14px; }

.article-wash, .text-wash { position: absolute; top: 0; left: 0; right: 0; height: 520px; background: radial-gradient(120% 100% at 50% -30%, #241810 0%, #0d0a07 70%); z-index: 0; pointer-events: none; }
.doc { position: relative; z-index: 2; max-width: var(--maxw-read); margin: 0 auto; padding: 44px var(--gutter) 10px; }
.doc-head { position: relative; z-index: 2; max-width: var(--maxw-read); margin: 0 auto; padding: 96px var(--gutter) 0; text-align: center; }
.doc-head__crumb { display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(var(--fg-rgb), .4); margin-bottom: 24px; }
.doc-head h1 { font: 800 clamp(38px, 5vw, 52px)/1.02 var(--font-display); text-transform: uppercase; color: #fff; }
.doc-head__sub { font: 400 18px/1.5 var(--font-body); color: rgba(var(--fg-rgb), .55); margin-top: 20px; max-width: 480px; margin-inline: auto; }
.doc-head__meta { font: 500 13px var(--font-body); color: rgba(var(--fg-rgb), .4); margin-top: 16px; }
.doc h2 { font: 700 24px var(--font-display); text-transform: uppercase; color: #fff; letter-spacing: .02em; margin: 34px 0 12px; }
.doc p { font: 400 17px/1.75 var(--font-body); color: rgba(var(--fg-rgb), .72); margin: 0 0 26px; }
.article-body p { font-size: 19px; line-height: 1.85; }
.article-body p.lede { font-size: 21px; color: rgba(var(--fg-rgb), .9); }
.article-quote { margin: 40px 0; font: italic 500 26px/1.45 var(--font-display); color: #fff; }
.toc { position: fixed; left: max(24px, calc(50% - 500px)); top: 372px; width: 124px; z-index: 40; }
.toc__h { font: 600 11px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(var(--fg-rgb), .4); margin-bottom: 12px; padding-left: 16px; }
.toc a { display: block; font: 500 13px var(--font-body); color: rgba(var(--fg-rgb), .45); padding: 7px 0 7px 16px; border-left: 2px solid var(--color-line); text-decoration: none; }
.toc a:hover { color: var(--color-text-dim); }
.author { display: flex; gap: 28px; align-items: center; padding-top: 32px; border-top: 1px solid var(--color-line); flex-wrap: wrap; }
.author img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.author__name { font: 800 24px var(--font-display); text-transform: uppercase; color: #fff; }
.author__bio { font: 400 14px/1.6 var(--font-body); color: rgba(var(--fg-rgb), .55); margin-top: 8px; }
@media (max-width: 1160px) { .toc { display: none !important; } }

/* ==========================================================================
   COOKIE BANNER (placeholder) + 404
   ========================================================================== */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 520px; margin-inline: auto;
  background: var(--surface-2); border: 1px solid var(--color-line-strong); border-radius: var(--r); padding: 18px 20px; box-shadow: 0 22px 55px rgba(0, 0, 0, .6); }
.cookie p { margin: 0 0 12px; font: 400 13px/1.6 var(--font-body); color: var(--color-text-dim); }
.cookie[hidden] { display: none; }
.err { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px var(--gutter); }
.err h1 { font-size: clamp(72px, 14vw, 140px); color: var(--color-accent); line-height: 1; }
.err p { color: var(--color-text-dim); margin: 12px 0 24px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pdp__title { font-size: 38px; }
  .specs { grid-template-columns: 1fr; }
  .offers__head, .offer { grid-template-columns: 1.6fr 1fr; }
  .offers__head span:nth-child(2), .offers__head span:nth-child(3) { display: none; }
  /* Mobile compare table: shop name + price only — drop the stock/delivery meta and shop logos. */
  .offer__meta, .offer__logo, .offer__ship, .offer__pay { display: none; }
  .offer__price { font-size: 22px; }
  .guide-hero { grid-template-columns: 1fr; }
  .guide-hero__media { min-height: 200px; }
  .guide-hero__body { padding: 28px; }
  .guide-hero__title { font-size: 28px; }
}
@media (max-width: 720px) {
  .cat-hero { height: calc(300px + var(--hero-extend, 168px)); }
  /* Collapsing hero: a touch more breathing room above the giant category word, and it
     fades + lifts away as --sp goes 0→1 on scroll (site.js), handing off to the pinned bar. */
  .cat-hero__word { top: 118px; opacity: calc(1 - var(--sp, 0));
    transform: translateY(calc(var(--hero-title-y, 94px) - var(--sp, 0) * 46px)); }
  /* Hamburger + dev debug icons: hidden on mobile across every page. */
  .navmenu, .debugmenu { display: none; }
  /* Product page: drop the breadcrumb (kept as BreadcrumbList JSON-LD for SEO). */
  .pdp-crumbs { display: none; }
  /* Blog (mobile): hide the subtitle + the featured card's description. The hero shows one
     giant "BLOG" word, styled like the productlist category word. */
  .page-blog .blog-hero__content > p { display: none; }
  .blog-feature .blog-excerpt { display: none; }
  .blog-hero__word1 { display: none; }
  .page-blog .blog-hero h1 { display: none; }
  .blog-hero__blogword { display: block; }
  /* Word near the top (not vertically centred). Recreate the productlist hero bg exactly: a big,
     zoomed, subtle mountain (inset -1100 + scale .75, no band mask) with a bottom fade. */
  body.page-blog .blog-hero { justify-content: flex-start; min-height: 0; padding-top: 104px; }
  /* Copy the productlist cat-hero background exactly — the big scaled mountain confined to a
     468px band at the top (like .cat-hero's height), plus its warm wash, accent glow, and
     bottom fade. The blog hero is tall (word + cards), so the bg must be a top band, not full. */
  body.page-blog .blog-hero__bg { inset: auto; top: 0; left: 0; right: 0; height: 468px; overflow: hidden; z-index: 0; }
  body.page-blog .blog-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 64%; opacity: .18; filter: saturate(.9);
    transform: none; -webkit-mask-image: none; mask-image: none; }
  body.page-blog .blog-hero__bg::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(90% 70% at 50% 100%, rgba(var(--accent-rgb), .18), rgba(13, 10, 7, 0) 60%),
      linear-gradient(120deg, rgba(150, 92, 48, .32) 0%, rgba(30, 20, 11, 0) 58%); }
  body.page-blog .blog-hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
    z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, rgba(13, 10, 7, 0) 0%, rgba(13, 10, 7, .65) 55%, #0d0a07 100%); }
  .page-blog .blog-recent { margin-top: 20px; }
  /* Drop the featured-card chibi on mobile — it's visual noise here. */
  body.page-blog .blog-feature__peek { display: none; }
  /* No byline on the featured card, and a stronger bottom scrim so the white title stays readable. */
  body.page-blog .blog-feature .byline { display: none; }
  body.page-blog .blog-feature::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 18px;
    pointer-events: none; background: linear-gradient(180deg, transparent 40%, rgba(13, 10, 7, .92) 100%); }
  body.page-blog .blog-feature__body { position: relative; z-index: 2; }
  /* Date drops below the author on mobile (no separator dot). */
  body.page-blog .byline__date { display: block; }
  body.page-blog .byline__date::before { content: none; }
  /* Smaller card titles, clamped to two lines (list titles carry an inline font-size, hence !important). */
  body.page-blog .blog-card-title { font-size: 22px; display: -webkit-box; -webkit-line-clamp: 2;
    line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  body.page-blog .blog-card-title--sm { font-size: 16px !important; display: -webkit-box !important; }
  /* Nav floats over the hero art (absolute, scrolls away) instead of sitting on a black strip. */
  body.page-blog .nav { position: absolute; left: 0; right: 0; top: 0; }
  body.page-blog .nav.is-scrolled { border-bottom-color: transparent; }
  /* Blog nav: left-aligned "braap.now / BLOG" logo with the working product picker
     (arrow shown); side icons hidden. */
  body.page-blog .nav .nav__right { display: none; }
  /* Category chips: one horizontally-scrollable row (no wrapping), packed tighter.
     The JS sliding pill can't follow a scroll offset, so on mobile we drop it and
     re-enable the static per-chip bubble (::before) which scrolls WITH its chip. */
  .browse__cats { flex-wrap: nowrap; gap: 0; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; justify-content: safe center; }
  .browse__cats::-webkit-scrollbar { display: none; }
  .catchip { padding: 7px 11px; white-space: nowrap; }
  .cat-pill { display: none; }
  .browse__cats.has-slide .catchip.is-active::before { display: block; }
  /* Top navbar scrolls away with the page on mobile (not pinned to the top). Since it isn't
     sticky here, drop the on-scroll bottom hairline — it's meant for navs that stay put. */
  .nav { position: relative; }
  .has-hero-overlap .nav.is-scrolled { border-bottom-color: transparent; }
  /* Article masthead also scrolls away on mobile (not pinned). */
  .masthead-nav { position: relative; }
  /* Mobile filter bar: hide the desktop funnel + dropdowns, show the two sheet buttons
     (Filters on the left, current sort on the right). */
  .browse__filtericon, .browse__filters > .filterdrop, .browse__clear { display: none; }
  .browse__filters { flex-wrap: nowrap; gap: 8px; justify-content: space-between; overflow: visible; }
  .browse__mbtn { display: inline-flex; }
  .browse__mbtn--sort { margin-left: auto; }
  .fbtn { flex: 0 0 auto; min-width: 0; padding: 9px 14px; letter-spacing: .03em; white-space: nowrap; }

  /* Search + filters pin to the top of the viewport; the compact deal-count label
     crossfades in as the giant word leaves. Negative inline margin bleeds the pinned
     background to the screen edges. */
  /* top:-1px (not 0) so the bar over-covers the viewport's top edge — otherwise sub-pixel
     rounding at some scroll offsets / DPRs leaves a ~1px sliver of content peeking above it.
     The is-pinned padding-top absorbs the 1px so the content position is unchanged. */
  .browse__pinned { position: sticky; top: -1px; z-index: 20;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 16px;
    transition: background .2s ease, box-shadow .2s ease; }
  .browse__pinned.is-pinned { background: var(--color-bg-deep); padding-top: 11px;
    box-shadow: 0 12px 22px -16px rgba(0, 0, 0, .75); }
  /* Once pinned, tighten the toolbar's internal gaps so it stays compact up top. */
  .browse__pinned.is-pinned .browse__cats { margin-bottom: 10px; }
  .browse__pinned.is-pinned .browse__search { margin-bottom: 10px; }

  /* Card density: hairline dividers only (drop the container border/fill), tighter rows so
     ~5 fit above the fold. No rank badges. Whole row stays one tap target to the PDP. */
  .results { border: 0; background: transparent; border-radius: 0; margin-top: 14px; }
  .row { grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center;
    gap: 12px; height: auto; row-gap: 2px; padding: 11px 2px; }
  /* Force a 60px thumb on mobile (global --row-img is 80) so it fits its grid column
     instead of overflowing onto the text. */
  .row__thumb { width: 60px; height: 60px; }
  .row__thumb img { width: 52px; height: 52px; }
  .row__spark, .row__spec { display: none; }
  .row__main { gap: 3px; }
  /* Brand: small caps, weight 500 — scannable when hunting a specific make. */
  .row__brand { font: 500 11px var(--font-body); letter-spacing: .12em; color: rgba(var(--fg-rgb), .5); }
  /* Name: 13px / 500, body font, clamped to two lines. */
  .row__name { font: 500 13px/1.35 var(--font-body); letter-spacing: 0; white-space: normal;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .row__meta { gap: 5px; font-size: 12px; }

  /* Price column: one large anchor, delta pill, quiet save line — stacked, right-aligned. */
  .row__trendprice { display: block; }
  .row__price { width: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
  .row__from-val { font-size: 19px; }

  .bestprice { flex-direction: column; align-items: stretch; }
  .bestprice .btn { width: 100%; }
  .offer__go { padding: 12px; }

  /* Pagination on mobile: hide the numeric prev/next pager + per-page selector, show a
     single full-width "Load more" button that appends the next page in place. */
  .pager { padding-bottom: 8px; }
  .pager__pages, .pager__meta { display: none; }
  .loadmore { display: block; }
  /* Minimal gap between the load-more button and the footer. */
  .footer { margin-top: 14px; }
  /* Mobile footer: centred + simplified (desktop keeps its multi-column layout). */
  .footer__cols { justify-content: center; text-align: center; }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer__brand .brand { align-items: center; }
  .footer__col { display: none; }
  .footer__bar { flex-direction: column-reverse; justify-content: center; text-align: center; }
  /* Blog side cards (mobile): author/date drop under the thumbnail. */
  body.page-blog .blog-side a { display: grid; grid-template-columns: 150px 1fr; column-gap: 16px; row-gap: 6px;
    grid-template-areas: "thumb text" "byline text"; align-items: start; }
  body.page-blog .blog-side__thumb { grid-area: thumb; }
  body.page-blog .blog-side__text { grid-area: text; }
  body.page-blog .blog-side .byline { grid-area: byline; margin-top: 0; }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .pdp__title { font-size: 32px; }
  .section__title { font-size: 24px; }
  .offer { grid-template-columns: 1.4fr 1fr; gap: 10px; }
  .offer__shopname { font-size: 16px; }
}

/* --- Browse navigation transitions (View Transitions) --------------------
   Two cooperating layers:
   (1) nav-swap.js does SAME-document swaps of the [data-swap] regions inside
       document.startViewTransition() for chip/filter/pager/search navigation — the hero
       background + rider are never re-rendered, so they can't blink on those paths.
   (2) @view-transition covers every REMAINING real navigation (the "Other" chip, the /pricewatch/
       grid, product pages, search from non-browse pages, back/forward) with a plain
       cross-document crossfade instead of a hard cut.
   No per-element view-transition-name except `results` — naming nav/hero/rider lifted them
   into the overlay and caused stacking bugs. Do NOT add Speculation-Rules prerender: prerender
   activation SKIPS the transition, which is what produced the original blink. */
@view-transition { navigation: auto; }
::view-transition-group(*),
::view-transition-old(*),
::view-transition-new(*) { animation-duration: .45s; }

/* Same-document swap: results are replaced instantly (no rise/fade) on category-chip / filter /
   sort / pager navigation. Named ONLY on the results region so it doesn't join the root crossfade. */
[data-swap="results"] { view-transition-name: results; }
/* Results swap smoothly instead of snapping: the OLD rows fade + drift up while the NEW rows
   fade + rise into place. The new set is DELAYED (both-fill holds it invisible) until the old
   is most of the way gone, so the two never sit at full opacity on the same pixels — that
   overlap was the old "text clips into each other". A hair slower on purpose: the fetch is now
   ~150ms, so a hard cut reads as a blink; the motion gives the eye something to follow. */
@keyframes resultsOut { to { opacity: 0; } }
@keyframes resultsIn { from { opacity: 0; } to { opacity: 1; } }
/* Scoped to the same-document browse-swap: on a cross-PAGE nav the results just fade with
   everything else (uniform crossfade) instead of drifting on their own. */
:active-view-transition-type(browse-swap)::view-transition-old(results) { animation: resultsOut .22s ease both; }
:active-view-transition-type(browse-swap)::view-transition-new(results) { animation: resultsIn .22s ease both; }

/* Same-document swaps are tagged type=browse-swap (nav-swap.js): hold the ROOT (unchanged
   background + chrome) perfectly still instead of crossfading it — a full-viewport crossfade of
   identical pixels dips ~25% in brightness at its midpoint, the faint intermittent "blink". Only
   the results region animates; the word snaps. Cross-document full navs are untyped -> still crossfade. */
:active-view-transition-type(browse-swap)::view-transition-group(root),
:active-view-transition-type(browse-swap)::view-transition-old(root),
:active-view-transition-type(browse-swap)::view-transition-new(root) { animation: none; }

/* Blog entrance (cross-document view transition, tagged `blog-in` in base.html): a gentle
   cross-fade — old page (incl. its named `results` group) fades out, the blog fades in.
   To try another effect, change the two keyframe blocks (e.g. add transform for a slide
   or scale); the group/old/new targets stay the same. */
:active-view-transition-type(blog-in)::view-transition-group(results) { animation: none; }
:active-view-transition-type(blog-in)::view-transition-old(root),
:active-view-transition-type(blog-in)::view-transition-old(results) { animation: blogOut 450ms ease both; }
:active-view-transition-type(blog-in)::view-transition-new(root) { animation: blogIn 450ms ease both; }
@keyframes blogOut { to { opacity: 0; } }
@keyframes blogIn { from { opacity: 0; } }


/* The big word behind the rider is text-swapped by nav-swap.js (it can't be a VT shared
   element without lifting it in FRONT of the rider). Animate it in normal flow instead:
   nav-swap toggles .is-swapping on each real change, replaying a quick fade + rise. The
   end state matches the base transform (translateY var) so it settles exactly in place. */
@keyframes catWordIn {
  from { opacity: 0; transform: translateY(calc(var(--hero-title-y, 94px) + 18px)); }
  to   { opacity: 1; transform: translateY(var(--hero-title-y, 94px)); }
}
.cat-hero__word.is-swapping { animation: catWordIn .5s cubic-bezier(.22,.61,.36,1); }

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
  html.blog-slam main { animation: none !important; }
  .cat-hero__word.is-swapping { animation: none; }
  /* With animations off, restore the instant, overlap-free results swap. */
  ::view-transition-old(results) { opacity: 0 !important; }
  ::view-transition-new(results) { opacity: 1 !important; }
}

/* ------------------------------------------------------------------
   Mobile fixes (2026-07): blog mosaic hero + product-page sticky nav
   ------------------------------------------------------------------ */
/* Blog index tweaks (scoped via .blog-index; the productlist stays as-is).
   --blog-list-lift: how far the article list rides up over the rider's ground
   shadow. It's a deliberate overlap, so a negative margin is the right tool — it
   pulls the list (and the footer) up with no leftover gap. z-index keeps the
   cards in front of the shadow so it sits behind them, not over the text. */
body.blog-index { --blog-list-lift: 24px; }
/* Blog has two layouts: the original mosaic on desktop, the pricewatch shell on
   mobile (≤720px). They swap here; each block's markup lives in blog_list.html. */
.blog-shell { display: none; }
@media (max-width: 720px) {
  .blog-shell { display: block; }
  .blog-mosaic { display: none; }
}
.blog-shell [data-swap="results"] { margin-top: calc(-1 * var(--blog-list-lift)); position: relative; z-index: 6; }
/* ---- Blog article cards (spec: cover image on the right) ------------------
   Horizontal row: text column (flex:1) + a cover that stretches to the text
   height so there's never ragged whitespace beside it. Scoped to .blog-index. */
.blog-shell .blog-list { margin-top: 12px; }
.blog-shell .blog-list a { display: flex; gap: 14px; align-items: stretch; padding: 16px 18px;
  text-decoration: none; color: inherit; }
.blog-shell .blog-list a + a { border-top: 1px solid rgba(var(--fg-rgb), .09); }
.blog-shell .blog-list__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* 1. category eyebrow */
.blog-shell .blog-list__cat { font: 500 10px var(--font-body); letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-accent); }
/* 2. title — clamped to 2 lines; break long single words so they can't escape the clamp */
.blog-shell .blog-card-title { font: 600 16px/1.2 var(--font-display); text-transform: uppercase;
  color: #fff; margin: 6px 0 0; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 3. dek / excerpt — clamped to 2 lines */
.blog-shell .blog-excerpt { font: 400 13px/1.45 var(--font-body); color: rgba(var(--fg-rgb), .6); margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 4. meta — pinned to the bottom of the text column, never wraps */
.blog-shell .blog-list__meta { font: 500 12px var(--font-body); color: rgba(var(--fg-rgb), .7);
  margin-top: auto; padding-top: 10px; white-space: nowrap; }
/* cover — fixed square; on a two-line title it stays put and sticks to the bottom
   of the row (never elongates). Plain surface block when missing. */
.blog-shell .blog-list__cover { flex: none; width: 104px; height: 104px; align-self: flex-end;
  border-radius: var(--r-md); background-size: cover; background-position: center; }
.blog-shell .blog-list__cover--empty { background: var(--surface-1); }
/* Empty state (a topic filter with no posts, e.g. Gear reviews): the chibi with a
   soft shadow and the copy in front of it, low over the bottom ~20% of her legs.
   --empty-cap-bottom tunes how low the caption sits. */
.blog-empty { display: flex; justify-content: center; padding: 32px 20px 0; }
.blog-empty__stage { position: relative; display: inline-block; --empty-cap-bottom: 8%; }
.blog-empty__art img { display: block; width: 360px; max-width: 80vw; height: auto; }
/* Caption group, centred over the lower legs. */
.blog-empty__cap { position: absolute; left: 50%; bottom: var(--empty-cap-bottom);
  transform: translateX(-50%); width: 132%; text-align: center; }
/* Soft shadow behind the text (text sits in front via z-index). */
.blog-empty__shadow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 104%; height: 340%; z-index: 0; pointer-events: none; filter: blur(4px);
  background: radial-gradient(ellipse at center, rgba(13,10,7,1) 0%, rgba(13,10,7,1) 30%, rgba(13,10,7,.85) 50%, rgba(13,10,7,0) 80%); }
.blog-empty__title, .blog-empty__sub { position: relative; z-index: 1; }
.blog-empty__title { font: 600 30px/1.05 var(--font-display); text-transform: uppercase; color: #fff; }
.blog-empty__sub { font: 400 16px var(--font-body); color: rgba(var(--fg-rgb), .78); margin-top: -30px; }

@media (max-width: 720px) {
  /* Product (group) page: nav is not sticky on mobile — it scrolls away with
     the page instead of staying pinned at the top. */
  body.page-plain-nav .nav { position: absolute; }

  /* Blog: swap to the pricewatch-shell layout, hide the desktop mosaic. */
  .blog-mobile { display: block; }
  .blog-desktop { display: none; }
}
