/*
 * Proteinguden v2 – designförslag v50 inflyttat i Laravel-appen.
 * Laddas av resources/views/layouts/v2.blade.php i stället för style.css.
 * Typsnitt: Barlow Condensed och Manrope (SIL Open Font License), självhostade.
 */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/v2/barlow-condensed-600.woff) format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/v2/barlow-condensed-700.woff) format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/v2/barlow-condensed-800.woff) format("woff"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/v2/manrope-400.woff) format("woff"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/v2/manrope-500.woff) format("woff"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/v2/manrope-600.woff) format("woff"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/v2/manrope-700.woff) format("woff"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/v2/manrope-800.woff) format("woff"); }

:root {
  --ink: #122128;
  --ink-soft: #223943;
  --paper: #ffffff;
  --surface: #f3f6f8;
  --accent: #09679c;
  --accent-hover: #08517b;
  --accent-light: #9ed8fa;
  --accent-soft: #e6f3fb;
  --line: #d9e3e8;
  --control-line: #687b86;
  --muted: #52646e;
  --silver: #c0cfd6;
  --danger: #a8412d;
  --heading: "Barlow Condensed", sans-serif;
  --body: "Manrope", sans-serif;
  --radius: 8px;
  --section-padding: 40px;
  --section-heading-gap: 24px;
  --section-grid-gap: 16px;
  --section-rule: 1px solid var(--line);
  /* Typografi: Barlow Condensed (--heading) bara för H1 och siffror; Manrope (--body)
     för allt annat, med högst −0,02 em spärrning så att rubrikerna är samma röst som texten. */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.hero :focus-visible { outline-color: var(--accent-light); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h2 { font-size: 2rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; margin-bottom: 0; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; padding: 12px 20px; background: var(--accent-light); font-weight: 700; }
.skip-link:focus-visible { top: 8px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Sidhuvud */
.announcement { display: flex; justify-content: flex-end; padding: 0 max(48px, calc((100% - 1240px) / 2)); background: var(--accent-soft); color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .07em; }
.announcement a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .875rem; letter-spacing: 0; }
.announcement a:hover { text-decoration: underline; text-underline-offset: 3px; }
.announcement svg { width: 15px; height: 15px; }
.header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; width: fit-content; align-items: center; flex-shrink: 0; }
.logo-window { display: block; position: relative; overflow: hidden; width: 84px; aspect-ratio: 370 / 316; }
.logo-window img { position: absolute; width: 135.136%; max-width: none; height: auto; top: -25.316%; left: -17.297%; }
.main-nav { flex: 1; min-width: 0; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 4px; font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.main-nav a:hover { background: var(--surface); }
.main-nav a[aria-current="page"] { color: var(--accent); }
.header-search { display: flex; flex: 0 1 330px; min-width: 0; min-height: 44px; border: 1px solid var(--control-line); border-radius: 5px; background: var(--surface); }
.header-search:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.header-search input { flex: 1; min-width: 0; padding: 8px 0 8px 13px; border: 0; background: transparent; color: var(--ink); font-size: .875rem; }
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus-visible { outline: 0; }
.header-search button { display: grid; width: 44px; min-height: 44px; flex-shrink: 0; place-items: center; padding: 0; background: transparent; border-radius: 4px; }
.header-search button:hover { background: var(--accent-soft); }
.header-search button svg { width: 19px; height: 19px; }

/* Knappar och länkar */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 13px 22px; border: 1px solid transparent; border-radius: 5px; font-weight: 800; font-size: .875rem; line-height: 1.4; white-space: nowrap; transition: background 160ms ease, transform 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--paper); border-color: var(--accent-light); }
.button-primary:hover { background: var(--accent-hover); }
.button-outline { border-color: var(--control-line); background: var(--paper); color: var(--ink); }
.button-outline:hover { background: var(--surface); }
.section-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--section-grid-gap); color: var(--accent); font-size: .9375rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.section-link:hover { color: var(--accent-hover); }

/* Hero med topplista */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 488px; align-items: center; gap: 24px; padding-block: 36px; }
.hero-copy { container-type: inline-size; min-width: 0; position: relative; z-index: 2; padding-block: 22px 30px; }
.hero h1 { margin-bottom: 24px; font-family: var(--heading); font-size: min(5.5rem, 11.25cqi); line-height: 1.02; letter-spacing: -.012em; font-weight: 800; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 > span:last-child { color: var(--accent-light); }
.hero-description { max-width: 460px; margin-bottom: 24px; color: var(--silver); font-size: 1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-secondary { border-color: #81949e; color: var(--paper); }
.hero-secondary:hover { background: var(--ink-soft); border-color: var(--accent-light); }
.hero-copy .section-link { margin-top: 8px; color: var(--silver); font-weight: 600; }
.hero-copy .section-link:hover { color: var(--paper); }
.hero-leaderboard { position: relative; min-width: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 9px; padding: 22px 24px 12px; }
.leaderboard-heading { font-size: clamp(1.25rem, 2.4vw, 1.65rem); letter-spacing: -.02em; margin-bottom: 2px; }
.leaderboard-note { margin: 0 0 12px; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.leaderboard-list { margin: 0; padding: 0; list-style: none; }
.leaderboard-list > li { border-top: 1px solid var(--line); }
.leaderboard-row { position: relative; display: grid; grid-template-columns: 30px 56px minmax(0, 1fr) 5rem; align-items: center; gap: 10px; min-height: 88px; padding: 10px 0; }
.leaderboard-name::after { content: ""; position: absolute; inset: 0; }
.leaderboard-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero .leaderboard-row a:focus-visible { outline-color: var(--ink); outline-offset: 2px; }
.leaderboard-row > .offer-badge-line { grid-column: 3 / -1; position: relative; }
.leaderboard-position { color: var(--muted); font-family: var(--heading); font-size: 1.25rem; font-weight: 700; text-align: left; white-space: nowrap; }
.leaderboard-product { display: grid; min-width: 0; gap: 2px; line-height: 1.35; }
.leaderboard-product strong { font-size: .9375rem; overflow-wrap: anywhere; }
.leaderboard-brand { color: var(--muted); font-size: .8125rem; }
.leaderboard-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.leaderboard-price > span { white-space: nowrap; }
.leaderboard-shop { position: relative; display: inline-flex; gap: .25em; align-items: center; min-height: 28px; color: var(--accent); font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.leaderboard-shop:hover { color: var(--accent-hover); }
.leaderboard-value { background: var(--accent-soft); border-radius: 5px; padding: 6px 4px; text-align: center; font-variant-numeric: tabular-nums; }
.leaderboard-value > strong { display: block; font-family: var(--heading); font-size: 2rem; line-height: 1; }
.leaderboard-value > small { display: block; font-size: .8125rem; white-space: nowrap; }
.leaderboard-list > li:first-child .leaderboard-value { background: var(--accent-light); }

/* Produktbilder */
.packshot { display: grid; place-items: center; overflow: hidden; min-width: 0; }
.packshot img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.packshot-placeholder { width: 60%; aspect-ratio: 3 / 4; border-radius: 6px; background: var(--surface); }

/* Sektioner */
.section { padding-block: var(--section-padding); }
main > .section + .section, main > .section + .newsletter-wrap, main > .newsletter-wrap + .section { border-top: var(--section-rule); }
.section-heading { margin-bottom: var(--section-heading-gap); }
.section-heading p { margin: 8px 0 0; color: var(--muted); }

/* Jämförelse med flikar och sortering */
.category-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; border-bottom: 1px solid var(--line); }
.category-controls .section-link { justify-self: start; margin-top: 0; font-weight: 600; }
.filter-tabs { display: flex; flex-wrap: wrap; column-gap: 22px; }
.filter-tab { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 2px; background: transparent; border-bottom: 3px solid transparent; font-size: 1rem; font-weight: 600; line-height: 1.4; text-align: left; }
.filter-tab:hover { color: var(--accent); background: var(--surface); }
.filter-tab.is-active, .filter-tab[aria-current="page"] { color: var(--accent); border-bottom-color: currentColor; font-weight: 800; }
.results-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-block: 20px 14px; }
.comparison .results-toolbar { justify-content: flex-end; }
.comparison-caption { min-width: 0; margin: 0; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: .875rem; font-weight: 700; }
.comparison-caption span { color: var(--muted); font-weight: 600; }
.sort-control { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: .875rem; color: var(--muted); max-width: 100%; }
.sort-field { position: relative; display: inline-flex; min-width: 0; max-width: 100%; }
.sort-field select { appearance: none; width: 100%; min-height: 44px; padding: 8px 34px 8px 12px; border: 1px solid var(--control-line); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: .875rem; font-weight: 700; }
.sort-field svg { position: absolute; pointer-events: none; right: 12px; top: 50%; transform: translateY(-50%); height: 15px; width: 15px; color: var(--ink); }
.comparison-more { display: flex; justify-content: center; margin-top: var(--section-grid-gap); }
.comparison-more .button { white-space: normal; text-align: center; }

/* Produktkort */
ol.product-grid, ol.compact-product-grid { list-style: none; padding: 0; }
ol.product-grid { margin: 0; }
.panel-note { margin: 0 0 12px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.panel-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--section-grid-gap); }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; background: var(--paper); display: grid; grid-template-columns: 1fr; grid-template-rows: 190px 1fr auto; transition: border-color 160ms ease; }
.product-card:hover { border-color: var(--muted); }
.product-rank { position: absolute; top: 15px; left: 17px; z-index: 1; font-size: .75rem; font-weight: 800; letter-spacing: .03em; padding: 5px 9px; border-radius: 3px; background: var(--surface); }
.product-media { height: 180px; }
.product-media img { width: min(100%, 164px); }
.product-info { min-width: 0; }
.product-brand { color: var(--muted); font-size: .8125rem; font-weight: 800; letter-spacing: .1em; margin: 8px 0 3px; text-transform: uppercase; }
.product-brand a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.product-name { font-size: 1.0625rem; font-weight: 800; line-height: 1.4; margin: 0 0 5px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.product-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-variant { margin-bottom: 17px; color: var(--muted); font-size: .875rem; }
.product-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 10px; align-items: end; background: var(--surface); padding: 12px 14px; border-radius: 4px; margin-bottom: 17px; }
.metric { display: grid; gap: 2px; margin: 0; min-width: 0; color: var(--muted); }
.metric-value { font-family: var(--heading); font-size: 1.375rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric-unit { font-size: .75rem; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.metric.is-active { color: var(--ink); }
.metric.is-active .metric-value { font-size: 2.5rem; }
.metric.is-active .metric-unit { font-size: .8125rem; }
.product-buy { min-width: 0; }
.purchase-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 1px; }
.product-price { font-variant-numeric: tabular-nums; }
.product-price strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.4; }
.product-price s { margin-left: 6px; color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: 0; }
.product-price span { display: block; font-size: .75rem; color: var(--muted); }
.product-buy .button { min-height: 44px; padding: 10px 15px; font-size: .875rem; }
.offer-context { margin-bottom: 10px; }

/* Historikmärken */
.offer-badge-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.offer-badge-line small { color: var(--muted); font-size: .75rem; }
.period-low { display: inline-flex; flex-wrap: wrap; gap: 0 4px; padding: 2px 7px; border-radius: 3px; background: var(--accent-soft); color: var(--accent-hover); font-size: .875rem; }
.period-low-days { white-space: nowrap; }

/* Kompakta kort (plats 4 och nedåt) */
.compact-product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--section-grid-gap); list-style: none; margin: var(--section-grid-gap) 0 0; padding: 0; }
.compact-product { position: relative; display: flex; flex-direction: column; height: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); overflow-wrap: anywhere; }
.compact-product:hover { border-color: var(--control-line); }
.compact-product:hover .compact-product-name { text-decoration: underline; text-underline-offset: 3px; }
.compact-product-rank { position: absolute; z-index: 1; background: var(--surface); padding: 1px 5px; border-radius: 3px; font-size: .75rem; font-weight: 800; }
.compact-product-media { height: 100px; margin-bottom: 8px; }
.compact-product-media img { width: min(100%, 94px); }
.compact-product-brand, .compact-product-weight { color: var(--muted); font-size: .8125rem; }
.compact-product-brand { font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.compact-product-name { font-size: .9375rem; line-height: 1.35; }
.compact-product-weight { margin: 4px 0 8px; }
.compact-product-offer { display: grid; gap: 4px; margin-top: auto; }
.compact-product .period-low { padding-inline: 5px; font-size: .75rem; }
.compact-product-metric { display: block; color: var(--ink); font-size: .8125rem; font-weight: 700; }
.compact-product-metric strong { font-family: var(--heading); font-size: 1.625rem; line-height: 1; font-variant-numeric: tabular-nums; }
.compact-product-store { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--muted); font-size: .75rem; }
.compact-product-go { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: .875rem; font-weight: 800; transition: background 160ms ease, transform 160ms ease; }
.compact-product:hover .compact-product-go { background: var(--accent-soft); transform: translateX(2px); }
/* Topplistans kompakta kort har en egen butikslänk under kortlänken. */
.compact-product-grid--shop .compact-product { padding-bottom: 48px; }
.compact-shop { position: absolute; left: 12px; right: 12px; bottom: 8px; z-index: 2; display: flex; align-items: center; min-height: 36px; color: var(--accent); font-size: .8125rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.compact-shop:hover { color: var(--accent-hover); }
.compact-product-grid--shop > li { position: relative; }

.empty-state { grid-column: 1/-1; padding: 48px 24px; background: var(--surface); border-radius: var(--radius); text-align: center; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 1rem; margin: 0; }

/* Kategorier */
.category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--section-grid-gap); }
.category-card { position: relative; background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column; padding: 22px; min-width: 0; border: 1px solid transparent; transition: border-color 160ms ease, transform 160ms ease; }
.category-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.category-media { height: 157px; margin-bottom: 16px; mix-blend-mode: multiply; }
.category-media img { width: min(100%, 136px); }
.category-card strong { display: block; font-size: 1rem; line-height: 1.5; font-weight: 800; }
.category-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--section-grid-gap); margin-top: var(--section-grid-gap); }
.category-links a { display: flex; align-items: center; min-height: 44px; border: 1px solid var(--control-line); padding: 14px 18px; border-radius: 4px; font-size: .875rem; font-weight: 700; }
.category-links a:hover { background: var(--surface); }

/* Varumärken och artiklar */
.brand-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--section-grid-gap); list-style: none; margin: 0; padding: 0; }
.brand-list a { display: grid; place-items: center; min-height: 60px; height: 100%; padding: 8px; border-radius: var(--radius); background: var(--surface); text-align: center; font-size: .9375rem; font-weight: 800; line-height: 1.35; }
.brand-list a:hover { background: var(--accent-soft); }
.home-brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--section-grid-gap); list-style: none; margin: 0; padding: 0; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--section-grid-gap); }
.guide-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.guide-card > a { display: block; height: 100%; border-radius: inherit; }
.guide-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.guide-copy { padding: 16px; }
.guide-meta { margin: 0 0 6px; color: var(--muted); font-size: .8125rem; }
.guide-copy h2, .guide-copy h3 { margin: 0 0 8px; font-size: 1.125rem; line-height: 1.35; }
.guide-copy p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.guide-card a:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* /articles: utvald guide, genvägar till topplistorna och "Visa fler". */
.guide-feature { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.guide-feature > a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
/* Fast format (3:2) oavsett uppladdad bild, så att stående bilder inte gör kortet högt. */
.guide-feature img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; align-self: stretch; }
.guide-feature__copy { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 32px; }
.guide-feature__label { margin: 0; color: var(--accent-hover); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.guide-feature h2 { margin: 0; font-size: 1.75rem; line-height: 1.25; }
.guide-feature__copy > p:not([class]) { margin: 0; color: var(--muted); line-height: 1.6; }
.guide-feature .guide-meta { margin: 0; }
.guide-feature__cta { color: var(--accent); font-weight: 800; }
.guide-feature a:hover h2 { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.toplist-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--section-grid-gap); margin: 0; padding: 0; list-style: none; }
.toplist-shortcuts a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.toplist-shortcuts a:hover { border-color: var(--control-line); background: var(--surface); }
.toplist-shortcuts strong { color: var(--accent); font-size: 1rem; }
.toplist-shortcuts span:not([aria-hidden]) { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.guide-grid.is-collapsed > :nth-child(n+16) { display: none; }
.guide-more { display: flex; justify-content: center; margin-top: 28px; }

/* Undersidor: sidrubrik, brödsmulor, text och länkmoduler */
.page-head { padding-block: 28px 8px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 14px; padding: 0; list-style: none; color: var(--muted); font-size: .875rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--silver); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--ink); }
.page-title { margin: 0 0 12px; font-family: var(--heading); font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.012em; font-weight: 800; }
.page-intro { max-width: 760px; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.page-intro p { margin: 0 0 10px; }
.page-intro a, .copy-block a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-meta { margin: 6px 0 0; color: var(--muted); font-size: .8125rem; }
.toplist-controls { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-top: 18px; border-bottom: 1px solid var(--line); }
.toplist-controls .intent-tabs { margin-top: 0; border-bottom: 0; min-width: 0; }
.category-menu { position: relative; flex-shrink: 0; margin-bottom: 2px; }
.category-menu summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 6px; border-radius: 4px; font-size: .9375rem; font-weight: 800; cursor: pointer; list-style: none; }
.category-menu summary::-webkit-details-marker { display: none; }
.category-menu summary:hover { background: var(--surface); }
.category-menu__label { color: var(--muted); font-weight: 600; }
.category-menu summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.category-menu summary svg { width: 16px; height: 16px; transition: transform 160ms ease; }
.category-menu[open] summary svg { transform: rotate(180deg); }
.category-menu__panel { position: absolute; z-index: 15; top: calc(100% + 4px); right: 0; width: min(600px, calc(100vw - 64px)); padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 32px rgba(18, 33, 40, .14); }
.category-menu__panel ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.category-menu__panel li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 4px; }
.category-menu__panel a { display: flex; align-items: center; min-height: 40px; padding: 8px 10px; border-radius: 4px; font-size: .9375rem; font-weight: 600; }
.category-menu__panel a:hover { background: var(--surface); }
.category-menu__panel a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-hover); font-weight: 800; }
.intent-tabs { border-bottom: 1px solid var(--line); margin-top: 18px; }
.intent-tabs .filter-tabs { column-gap: 22px; }
.toplist-section { padding-top: 24px; }
.copy-block { max-width: 760px; font-size: 1rem; line-height: 1.75; }
.copy-block h2 { margin: 24px 0 10px; font-size: 1.5rem; }
.copy-block h3, .copy-block h4 { margin: 20px 0 8px; font-size: 1.125rem; }
.copy-block ul { padding-left: 1.2rem; }
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq-item summary { display: flex; align-items: center; min-height: 56px; cursor: pointer; font-weight: 800; }
.faq-item p { margin: 0 0 16px; color: var(--muted); }
.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--section-grid-gap); list-style: none; margin: 0; padding: 0; }
.link-card { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.link-card:hover { border-color: var(--control-line); background: var(--surface); }
.link-card small { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.link-card strong { font-size: 1rem; line-height: 1.35; }
.link-card span { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; margin-top: 24px; }
.pagination-status { color: var(--muted); font-size: .875rem; }
.disclosure { color: var(--muted); font-size: .8125rem; margin: 14px 0 0; }

/* Nyhetsbrev (komponenten har egna grundstilar – här anpassas de till v2) */
.newsletter-wrap { padding-block: var(--section-padding); }
.newsletter-inline { margin-top: var(--section-grid-gap); padding: 20px 22px; border-radius: var(--radius); background: var(--accent-soft); }
.v2 .newsletter-section { margin: 0; border-radius: var(--radius); background: var(--accent-soft); border: 0; box-shadow: none; }
.v2 .newsletter-section .page-kicker { margin: 0 0 6px; color: var(--accent-hover); font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v2 .newsletter-section__heading { font-family: var(--body); color: var(--ink); letter-spacing: -.02em; }
.v2 .newsletter-section__lead, .v2 .newsletter-section__disclaimer, .v2 .newsletter-compact__lead, .v2 .newsletter-compact__disclaimer { color: var(--muted); }
.v2 .newsletter-section__input, .v2 .newsletter-compact__input { border-color: var(--control-line); border-radius: 5px; font-family: var(--body); }
.v2 .newsletter-section__input:focus, .v2 .newsletter-compact__input:focus { border-color: var(--ink); }
.v2 .newsletter-section__row .button, .v2 .newsletter-compact__btn { background: var(--accent); color: var(--paper); border: 1px solid var(--accent-light); border-radius: 5px; font-weight: 800; }
.v2 .newsletter-section__row .button:hover, .v2 .newsletter-compact__btn:hover { background: var(--accent-hover); }
.v2 .newsletter-compact { background: transparent; border: 0; box-shadow: none; padding: 0; }
.v2 .newsletter-compact__heading { color: var(--ink); }

/* Sidfot */
.site-footer { color: var(--ink); background: var(--paper); padding-block: var(--section-padding) 34px; border-top: var(--section-rule); }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 48px; }
.site-footer__column h2 { margin: 0 0 18px; color: var(--muted); font-size: .875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.site-footer__column a { display: flex; align-items: center; width: fit-content; min-height: 44px; font-size: 1rem; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__accent { color: var(--accent); }
.site-footer__bottom { border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); font-size: .8125rem; }
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand a { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.site-footer__logo { width: 36px; height: auto; }
.site-footer__affiliate { max-width: 720px; margin: 14px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.6; }

/* Familjesida (/product/{familj}) */
.family-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; padding-block: 8px var(--section-padding); }
.family-media { aspect-ratio: 1; padding: 24px; border-radius: var(--radius); background: var(--surface); }
.family-media img { width: min(100%, 420px); mix-blend-mode: multiply; }
.family-summary { min-width: 0; }
.family-summary .product-brand { margin-top: 0; }
.family-type { margin-left: 4px; letter-spacing: .06em; }
.family-title { margin: 0 0 12px; font-family: var(--heading); font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.04; letter-spacing: -.012em; font-weight: 800; overflow-wrap: anywhere; }
.family-intro { max-width: 640px; margin-bottom: 10px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.family-facts { margin-bottom: 20px; font-size: .9375rem; font-weight: 700; }
.family-facts a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.best-offer { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.best-offer__label { margin: 0 0 4px; color: var(--accent-hover); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.best-offer .product-variant { margin-bottom: 12px; }
.best-offer .purchase-actions .button { min-height: 48px; }
.offer-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.offer-table th { padding: 10px 12px; border-bottom: 1px solid var(--control-line); color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.offer-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.offer-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer-table td.num s { display: block; color: var(--muted); font-size: .8125rem; }
.offer-table tr.is-best td { background: var(--accent-soft); }
.offer-table tr.is-highlighted td { background: #fff4d6; transition: background 300ms ease; }
.offer-table tr.is-highlighted td:first-child { box-shadow: inset 3px 0 0 #d9a21b; }
.shared-offer-jump { position: fixed; left: 50%; bottom: 16px; z-index: 15; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; line-height: 1.3; box-shadow: 0 6px 20px rgba(18, 33, 40, .25); transform: translateX(-50%); }
.shared-offer-jump > span { flex-shrink: 0; white-space: nowrap; }
.shared-offer-jump strong { min-width: 0; overflow: hidden; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.shared-offer-jump span[aria-hidden] { color: #fff4d6; font-weight: 800; }
.shared-offer-jump:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.offer-best { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: var(--accent); color: var(--paper); font-size: .6875rem; font-weight: 800; letter-spacing: .04em; vertical-align: 1px; }
.offer-variant { display: block; font-weight: 700; }
.offer-name { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.offer-table .offer-badge-line { margin-top: 4px; }
.offer-cta { text-align: right; white-space: nowrap; }
.offer-cta .button { min-height: 40px; padding: 8px 12px; }
.unavailable-status { display: inline-block; margin: 0 0 10px; padding: 3px 8px; border-radius: 3px; background: var(--surface); color: var(--danger); font-size: .8125rem; font-weight: 800; }
.unavailable-actions { margin-top: 16px; }
@media (max-width: 930px) {
  .family-hero { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
  .offer-name { display: none; }
}
@media (max-width: 680px) {
  .family-hero { grid-template-columns: 1fr; }
  .family-media { max-width: 260px; padding: 16px; }
  .offer-table thead { display: none; }
  .offer-table, .offer-table tbody, .offer-table tr, .offer-table td { display: block; }
  .offer-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; padding: 14px 12px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
  .offer-table tr.is-best { border-color: var(--accent); }
  .offer-table td { padding: 0; border: 0; background: none !important; }
  .offer-table td:nth-child(1), .offer-table td:nth-child(2) { grid-column: 1 / -1; }
  .offer-table td.num { text-align: left; }
  .offer-table td.num::before { content: attr(data-label); display: block; color: var(--muted); font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .offer-cta { grid-column: 1 / -1; text-align: left; }
  .offer-cta .button { width: 100%; }
}

/* Dela-knappen (components/v2/share-button): diskret ikon, tydligare när kortet hovras. */
.share-button { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: transparent; color: var(--muted); vertical-align: middle; transition: background 160ms ease, color 160ms ease; }
.share-button svg { width: 19px; height: 19px; stroke-width: 1.75; }
.share-button:hover { background: var(--surface); color: var(--ink); }
.share-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.share-button.is-copied { background: var(--accent-soft); color: var(--accent-hover); }
.share-button::after { content: "Länk kopierad"; position: absolute; top: 50%; right: calc(100% + 6px); z-index: 3; padding: 4px 8px; border-radius: 4px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.4; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(-50%); transition: opacity 160ms ease; }
.share-button.is-copied::after { opacity: 1; }
.share-button--corner { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255, 255, 255, .92); }
.share-button--small { width: 32px; height: 32px; }
.share-button--small svg { width: 17px; height: 17px; }
.product-card:hover .share-button, .compact-product-grid > li:hover .share-button { color: var(--ink); }
.compact-product-grid > li { position: relative; }
.compact-product-grid .share-button--corner { top: 6px; right: 6px; }
.leaderboard-price .share-button { align-self: center; margin-left: -4px; }
.purchase-buttons { display: inline-flex; align-items: center; gap: 6px; }
.offer-cta .share-button { margin-right: 4px; }
@media (max-width: 680px) {
  .offer-table td.offer-cta { display: flex; align-items: center; gap: 8px; }
  .offer-table td.offer-cta .button { flex: 1; width: auto; }
  .offer-cta .share-button { order: 2; margin: 0; }
  .offer-table tr.is-highlighted { border-color: #d9a21b; background: #fff4d6; }
  .offer-table tr.is-highlighted td:first-child { box-shadow: none; }
}

/* Varumärkeskatalog (/varumarken) */
.page-meta a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.brand-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--section-grid-gap); margin: 0; padding: 0; list-style: none; }
.brand-feature .catalog-card__media { height: 140px; }
.brand-feature .catalog-feature__links { padding-top: 12px; gap: 2px 12px; }
.brand-rankings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.brand-ranking h2 { font-size: 1.5rem; }
.brand-ranking > p { margin: 4px 0 12px; color: var(--muted); font-size: .875rem; }
.brand-ranking__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.brand-ranking__list a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.brand-ranking__list a:hover .brand-ranking__name { text-decoration: underline; text-underline-offset: 3px; }
.brand-ranking__rank { color: var(--muted); font-family: var(--heading); font-size: 1.125rem; font-weight: 700; }
.brand-ranking__name { font-weight: 800; overflow-wrap: anywhere; }
.brand-ranking__metric { color: var(--muted); font-size: .8125rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.brand-letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 24px; }
.brand-letters a { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 4px; background: var(--surface); font-weight: 800; font-size: .875rem; }
.brand-letters a:hover { background: var(--accent-soft); color: var(--accent-hover); }
.brand-index { columns: 4 220px; column-gap: 32px; }
.brand-index__group { break-inside: avoid; margin-bottom: 20px; scroll-margin-top: 110px; }
.brand-index__letter { margin: 0 0 2px; color: var(--accent-hover); font-family: var(--heading); font-size: 1.5rem; line-height: 1.2; }
.brand-index ul { margin: 0; padding: 0; list-style: none; }
.brand-index a { display: flex; justify-content: space-between; gap: 12px; min-height: 40px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.brand-index a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.brand-index small { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
@media (max-width: 1099px) { .brand-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .brand-rankings { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 680px) {
  .brand-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-feature .catalog-card__media { height: 96px; }
  /* Mobil: 8 populära varumärken; hela kortet länkar till varumärkessidan med dess flikar. */
  .brand-feature-grid > li:nth-child(n+9) { display: none; }
  .brand-feature .catalog-feature__links { display: none; }
  .brand-index { columns: 2; column-gap: 20px; }
  .brand-index a { min-height: 36px; padding: 4px 0; font-size: .875rem; }
  .brand-index__group { scroll-margin-top: 16px; }
}

/* Text: artiklar och informationssidor */
.text-page { padding-bottom: var(--section-padding); }
.prose { max-width: 720px; font-size: 1.0625rem; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 1.8em 0 .5em; font-size: 1.625rem; line-height: 1.25; }
.prose h3 { margin: 1.6em 0 .45em; font-size: 1.3125rem; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.prose h4 { margin: 1.4em 0 .4em; font-size: 1.0625rem; line-height: 1.35; font-weight: 800; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--muted); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }
.prose strong { font-weight: 800; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent-light); color: var(--muted); }
.prose img { height: auto; margin: 1.4em 0; border-radius: var(--radius); }
.prose table { width: 100%; margin: 1.4em 0 1.6em; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.prose th { padding: 10px 12px; border-bottom: 1px solid var(--control-line); background: var(--surface); font-size: .8125rem; font-weight: 800; text-align: left; vertical-align: bottom; }
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose section { margin: 0; }
.faq-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; list-style: none; }
.faq-links li { margin: 0; }
.faq-links a { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: .9375rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.faq-links a::after { content: "→"; margin-left: auto; padding-left: 10px; color: var(--accent); }
.faq-links a:hover { border-color: var(--control-line); background: var(--surface); color: var(--ink); }
.article-head { padding-block: 28px 20px; }
.article-head .breadcrumb ol { margin-bottom: 18px; }
.article-meta { margin: 0 0 10px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.article-title { max-width: 900px; margin: 0 0 16px; font-family: var(--heading); font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.04; letter-spacing: -.012em; font-weight: 800; }
.article-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.1875rem; line-height: 1.65; }
.article-image { margin-bottom: 32px; }
.article-image img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); }
.article .prose { padding-bottom: var(--section-padding); }
/* Kategorier (/kategorier): de tre största stora, resten i ett grid. Hela kortet länkar till Populärast. */
.catalog-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--section-grid-gap); margin: 0; padding: 0; list-style: none; }
.catalog-feature, .catalog-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color 160ms ease; }
.catalog-feature:hover, .catalog-card:hover { border-color: var(--control-line); }
.catalog-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.catalog-card__link:focus-visible { outline: none; }
.catalog-card__link:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.catalog-feature:hover .catalog-card__link, .catalog-card:hover .catalog-card__link { text-decoration: underline; text-underline-offset: 3px; }
.catalog-feature__media { height: 220px; padding: 20px; border-radius: var(--radius) var(--radius) 0 0; background: var(--surface); }
.catalog-feature__media, .catalog-card__media { display: flex; align-items: center; justify-content: center; }
.catalog-feature__media img, .catalog-card__media img { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform 200ms ease; }
.catalog-feature:hover .packshot img, .catalog-card:hover .packshot img { transform: scale(1.04); }
.catalog-feature__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.catalog-feature__name { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.catalog-card__count { margin: 2px 0 0; color: var(--muted); font-size: .875rem; }
.catalog-card__figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin: 14px 0 0; color: var(--ink); font-size: .8125rem; font-weight: 700; }
.catalog-card__figure strong { font-family: var(--heading); font-size: 2.25rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.catalog-card__figure-label { flex-basis: 100%; color: var(--muted); font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.catalog-feature__from-inline { display: none; }
.catalog-feature__figures { display: flex; flex-wrap: wrap; gap: 0 28px; }
.catalog-feature__figures .catalog-card__figure + .catalog-card__figure strong { color: var(--ink-soft); }
.catalog-card__popular { margin: 10px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.catalog-feature__links { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: auto 0 0; padding: 16px 0 0; list-style: none; font-size: .8125rem; font-weight: 700; }
.catalog-feature__links a { color: var(--accent); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.catalog-feature__links a:hover { text-decoration-color: currentColor; }
.catalog-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--section-grid-gap); margin: 0; padding: 0; list-style: none; }
.catalog-card { padding: 14px 14px 16px; }
.catalog-card__media { height: 120px; margin: -2px -2px 12px; border-radius: 4px; background: var(--surface); padding: 10px; }
.catalog-card__name { margin: 0; font-size: 1.0625rem; line-height: 1.3; }
.catalog-card .catalog-card__figure { margin-top: 10px; }
.catalog-card .catalog-card__figure strong { font-size: 1.75rem; }
.error-page { padding-block: 56px 64px; }
.contact-form { display: grid; gap: 16px; max-width: 560px; margin-top: 8px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: .9375rem; font-weight: 800; }
.form-field input, .form-field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--control-line); border-radius: 5px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; }
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.form-error { color: var(--danger); font-size: .875rem; font-weight: 600; }
.form-success { padding: 14px 18px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-hover); font-weight: 700; }
.form-honeypot { position: absolute; left: -9999px; }
.contact-form .button { justify-self: start; }
@media (max-width: 930px) {
  .catalog-features { grid-template-columns: 1fr; }
  .catalog-feature { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
  .catalog-feature__media { height: auto; min-height: 180px; border-radius: var(--radius) 0 0 var(--radius); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .prose { font-size: 1rem; }
  .prose table { display: block; overflow-x: auto; white-space: nowrap; }
  .faq-links ul { grid-template-columns: 1fr; }
  .catalog-feature { grid-template-columns: 112px minmax(0, 1fr); }
  .catalog-feature__media { min-height: 0; padding: 12px; }
  .catalog-feature__body { padding: 14px 14px 16px; }
  .catalog-feature__name { font-size: 1.25rem; }
  .catalog-card__figure strong { font-size: 1.875rem; }
  .catalog-feature__from { display: none; }
  .catalog-feature__from-inline { display: inline; }
  .catalog-card__media { height: 96px; }
  .article-lead { font-size: 1.0625rem; }
}

/* Sök */
.search-title { margin: 0 0 4px; font-family: var(--body); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; letter-spacing: -.02em; }

/* Responsivt */
@media (min-width: 1500px) { .hero-grid { min-height: 520px; } }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .announcement { padding-inline: 32px; }
  .hero-grid { gap: 30px; }
  .category-card { padding: 17px; }
}
@media (max-width: 1099px) {
  .compact-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 930px) {
  html { scroll-padding-top: 16px; }
  .header { position: static; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-leaderboard { padding-inline: 14px; }
  .leaderboard-row { grid-template-columns: 24px 40px minmax(0, 1fr) 4.65rem; gap: 7px; }
  .product-card { padding: 15px; grid-template-rows: 158px 1fr auto; }
  .product-media { height: 150px; }
  .product-media img { width: min(100%, 140px); }
  .product-metrics { padding: 10px; }
  .metric.is-active .metric-value { font-size: 2rem; }
  .purchase-actions { flex-wrap: wrap; }
  .product-buy .button { width: 100%; }
  .category-media { height: 135px; }
  .category-media img { width: min(100%, 118px); }
  .brand-list, .home-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .category-controls { grid-template-columns: minmax(0, 1fr); row-gap: 4px; border-bottom: 0; }
  .filter-tabs { border-bottom: 1px solid var(--line); }
  .intent-tabs { border-bottom: 0; }
  .toplist-controls { flex-direction: column; align-items: stretch; border-bottom: 0; }
  .toplist-controls .intent-tabs { border-bottom: 0; }
  .category-menu { margin: 4px 0 0; }
  .category-menu summary { padding-inline: 0; }
  .category-menu__panel { position: static; width: auto; margin-top: 4px; box-shadow: none; }
  .category-menu__panel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .hero-copy { padding: 0; }
}
@media (max-width: 680px) {
  :root { --section-padding: 28px; --section-heading-gap: 20px; --section-grid-gap: 12px; }
  .wrap { width: calc(100% - 40px); }
  .announcement { justify-content: center; padding-inline: 20px; }
  .header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); min-height: 76px; height: auto; gap: 8px 14px; padding-block: 8px 0; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; margin-inline: -8px; overflow-x: auto; scrollbar-width: none; }
  .main-nav ul { flex-wrap: nowrap; }
  .main-nav a { padding-inline: 8px; font-size: .875rem; }
  .logo-window { width: 68px; }
  .header-search input { font-size: 1rem; }
  .hero-grid { gap: 16px; padding-block: 24px; }
  .hero-leaderboard { padding: 14px 14px 8px; }
  .leaderboard-row { min-height: 73px; grid-template-columns: 24px 40px minmax(0, 1fr) 4.65rem; gap: 7px; padding-block: 8px; }
  .leaderboard-product strong, .leaderboard-price { font-size: .875rem; }
  .leaderboard-value > strong { font-size: 1.7rem; }
  .hero-description { line-height: 1.55; max-width: 30rem; margin-bottom: 16px; }
  .hero-actions .button { padding-inline: 14px; }
  h2 { font-size: 1.625rem; }
  .filter-tabs { column-gap: 16px; }
  .sort-field select { font-size: 1rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 94px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 17px 15px; }
  .product-rank + .product-media { grid-row: 2; }
  .product-media { height: auto; min-height: 94px; align-self: start; }
  .product-rank { position: static; grid-column: 1/-1; justify-self: start; margin-bottom: 8px; padding: 3px 5px; font-size: .8125rem; }
  .product-brand { margin: 2px 0 4px; }
  .product-name { line-height: 1.3; }
  .product-variant { margin-bottom: 11px; }
  .product-metrics { padding: 9px 11px; margin-bottom: 0; gap: 4px 12px; grid-template-columns: repeat(3, auto); justify-content: start; }
  .metric-unit { font-size: .6875rem; }
  .metric.is-active .metric-unit { font-size: .75rem; }
  .metric-value { font-size: 1.125rem; }
  .metric.is-active .metric-value { font-size: 1.875rem; }
  .product-buy { grid-column: 1/-1; padding-top: 13px; border-top: 1px solid var(--line); margin-top: 13px; }
  .product-price strong { font-size: 1.125rem; }
  .product-buy .button { width: auto; padding-inline: 12px; }
  .compact-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-product-media { height: 84px; }
  .compact-product-media img { width: min(100%, 80px); }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-card { padding: 15px 13px; }
  .category-media { height: 125px; margin-bottom: 12px; }
  .category-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-links a { padding: 11px; }
  .brand-list, .home-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid, .link-grid { grid-template-columns: 1fr; }
  .guide-feature > a { grid-template-columns: 1fr; }
  .guide-feature img { align-self: auto; }
  .guide-feature__copy { padding: 20px; }
  .guide-feature h2 { font-size: 1.375rem; }
  .toplist-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .toplist-shortcuts a { padding: 12px 14px; }
  .guide-grid.is-collapsed > :nth-child(n+9) { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .site-footer__column h2 { margin-bottom: 8px; }
}
@media (max-width: 480px) {
  .filter-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .filter-tab { width: fit-content; }
  .results-toolbar { align-items: start; flex-direction: column; margin-top: 16px; }
  .header-inner { grid-template-columns: 1fr; gap: 6px; }
  .main-nav { grid-row: 3; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .hero-actions .button { width: 100%; }
  .leaderboard-row { grid-template-columns: 22px 32px minmax(0, 1fr) 4.45rem; gap: 6px; }
  .product-card { grid-template-columns: 76px 1fr; gap: 10px; padding: 14px 12px; }
  .product-media { min-height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
