/* The product page: one calm column in the landing page's look (site.css tokens, Geist). Colour only for meaning:
   the accent marks this product and today's lowest shop, green and rust a price move or a side, the verdict's own
   colour stays on its marker. Phone (< 760 px): the price first, then every shop, then the comparisons. */
:root { --col: 1120px; --buy: #0d6a45; --wait: #9a5b00; --skip: #a3341a; --hair: rgba(22, 24, 28, .08);
  /* one set of elements on the whole page (round 4): one table, one chip, one pill, one image box, one accent */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --zebra: rgba(22, 24, 28, .035); --best-bg: rgba(37, 99, 235, .17);
  --chip-h: 22px; --chip-bg: rgba(22, 24, 28, .05); --good-bg: rgba(13, 106, 69, .09);
  --pill-h: 32px; }
::selection { background: rgba(39, 71, 201, .16); }
.page-product { position: relative; background: var(--ground); }
/* the landing page's morning light, as its still: at the top only, fading into the ground */
.page-product::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 760px; pointer-events: none;
  background: url(strata/hero-1440.webp) center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent); }
@media (max-width: 759px) { .page-product::before { height: 520px; } }
.pp { display: flex; flex-direction: column; width: 100%; max-width: calc(var(--col) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gutter) 0; }
.pp > * { min-width: 0; }
.pp a { text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.pp a:hover { text-decoration-color: currentColor; }
.muted { color: var(--ink-3); }
.note { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.note.flash, .wf__n.flash { color: var(--good); }
.empty { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); }
.empty b { color: var(--ink); font-weight: 500; }
.i-chev { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the first screen: the photo large, the facts beside it (views/hero.ts) ---------- */
/* Inet's and Back Market's breadcrumb, then the photos (a thumbnail column when there are more) and the facts beside */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 20px; font-size: 13.5px; line-height: 20px; color: var(--ink-3); }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.crumb [aria-current] { color: var(--ink-3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumb__s { width: 12px; height: 12px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ph { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.ph__g { position: sticky; top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.ph__g--t { grid-template-columns: 64px minmax(0, 1fr); }
.ph__ts { display: flex; flex-direction: column; gap: 10px; }
.ph__t { flex: none; width: 64px; padding: 0; border: 0; cursor: pointer; }
.ph__t[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ph__t:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ph__ph { --ib-r: 28px; }
@supports (corner-shape: squircle) { .ph__ph { --ib-r: 48px; } }
.ph__in { display: flex; flex-direction: column; min-width: 0; padding-top: 8px; }
.pi h1 { margin: 0; font: 500 clamp(30px, 3.4vw, 42px)/1.06 var(--sans); letter-spacing: -0.035em; text-wrap: balance; }
/* the rating and the verdict on one line, every mark centred on it */
.pi__m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 12px 0 0; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.pi__st { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.pi__st b { font-weight: 500; }
.i-star { width: 13px; height: 13px; flex: none; fill: currentColor; }
/* the verdict: the three-step meter alone inside the pill, the word outside it, both centred on the rating's line */
.vm { display: inline-flex; align-items: center; gap: 8px; }
.vm__p { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.vm__p i { display: block; width: 12px; height: 4px; border-radius: 2px; background: rgba(22, 24, 28, .12); }
.vm__p i.on { width: 16px; background: var(--v); }
.vm .vword { color: var(--v); font-size: 15px; line-height: 22px; font-weight: 600; }

/* the verdict's reasons as rows: an icon, a number (or a bar, or ticks), a few words */
.ris { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 16px max-content minmax(0, 1fr); column-gap: 14px; border-top: 1px solid var(--line); }
.ri { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; min-height: 40px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ri__i { width: 16px; height: 16px; fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ri__i .f { fill: var(--ink); stroke: none; }
.ri--up .ri__i { stroke: var(--ink); } .ri--down .ri__i { stroke: var(--warn); }
.ri__v { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.ri__n { font: 600 16px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.ri--down .ri__n { color: var(--warn); }
/* an owner area says its own side in one line: "Ljud: 91 % nöjda", "Bygg & hållbarhet: 63 % missnöjda" */
.ri__t { grid-column: 2 / -1; min-width: 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri__t .ri__n { font-size: 15px; }
.ri__l { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* how fresh a price is */
.fr { display: inline-flex; align-items: center; gap: 4px; height: var(--chip-h); padding: 0 8px 0 6px; border-radius: 999px; font: 500 12.5px/1 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-2); background: var(--chip-bg); }
.fr svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.fr--old { color: var(--ink-3); }

/* the price against the other shops (big) and against our own record */

/* a coming sale on a calendar scale */
.ss { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; margin-top: 18px; padding: 14px 0 6px; }
.ss__n { display: flex; flex-direction: column; margin: 0; }
.ss__n b { font: 650 40px/1 var(--sans); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; color: var(--wait); }
.ss__n span { margin-top: 4px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.ss__sc { position: relative; height: 56px; margin-right: 6px; }
.ss__ln { position: absolute; left: 0; right: 0; top: 22px; border-top: 1.5px solid var(--line-2); }
.ss__now { position: absolute; left: 0; top: 17px; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--ink); }
.ss__now span { position: absolute; left: 0; bottom: calc(100% + 5px); font-size: 12px; line-height: 1; color: var(--ink); white-space: nowrap; font-weight: 500; }
.ss__t { position: absolute; top: 18px; height: 9px; border-left: 1px solid var(--line-2); }
.ss__t span { position: absolute; top: 14px; left: 0; transform: translateX(-50%); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ss__band { position: absolute; top: 15px; height: 14px; border-radius: 4px; background: repeating-linear-gradient(135deg, rgba(154, 91, 0, .6) 0 3px, rgba(154, 91, 0, .28) 3px 6px); }
.ss__band span { position: absolute; right: 0; bottom: calc(100% + 5px); font: 600 12px/1 var(--sans); color: var(--wait); white-space: nowrap; }

/* ---------- the verdict: one line, a three-state marker ---------- */
.pv { margin-top: 0; }
.vword { color: var(--ink); font-weight: 600; }
.v-buy { --v: var(--buy); } .v-wait { --v: var(--wait); } .v-skip { --v: var(--skip); } .v-unknown { --v: var(--ink-3); }
.pv .vword { color: var(--v); }
.pv__why { margin-top: 6px; font-size: 14px; }
.pv__why > summary, .floors > summary, .srcs > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.pv__why > summary::-webkit-details-marker, .floors > summary::-webkit-details-marker, .srcs > summary::-webkit-details-marker { display: none; }
.pv__why > summary::after, .floors > summary::after, .srcs > summary::after { content: ""; width: 6px; height: 6px; border: solid var(--ink-2); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.pv__why[open] > summary::after, .floors[open] > summary::after, .srcs[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.pv__why ul { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pv__why li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); line-height: 1.5; }
.pv__m { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); }
.claim > summary { list-style: none; cursor: pointer; }
.claim > summary::-webkit-details-marker { display: none; }
.cite { display: inline-block; margin-left: 4px; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 11.5px/18px var(--sans); color: var(--ink-2); }
.claim[open] .cite { background: var(--ink); border-color: var(--ink); color: #fff; }
.ev { display: grid; gap: 10px; margin: 10px 0 2px; }
.evcard { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; }
.evcard .evcard__t { margin: 0 0 6px; font: 500 13.5px/1.3 var(--sans); }
.evrow { display: flex; flex-wrap: wrap; gap: 2px 10px; padding: 3px 0; font-size: 13px; }
.evrow .l { color: var(--ink-3); min-width: 9em; }
.evrow .n { flex-basis: 100%; color: var(--ink-3); font-size: 12.5px; }
.evrow.t-good .v { color: var(--good); } .evrow.t-bad .v { color: var(--warn); }

/* ---------- the lowest price and the way to the shop ---------- */
/* the buy box: the price and the one button on one line, the shop, its stock and the check's age under them */
.pb { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.pb__row { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.pb__p { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pb__k { font-size: 13.5px; line-height: 16px; color: var(--ink-3); }
.pb__big { font: 600 40px/1 var(--sans); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pb__w { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 12px 0 0; font-size: 14.5px; line-height: 22px; color: var(--ink-2); }
.pb__shop { display: inline-flex; align-items: center; }
.pb__shop b { color: var(--ink); font-weight: 500; }
.pb__st { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.pb__st--in { color: var(--ink); } .pb__st--out, .pb__st--unk { color: var(--ink-3); }
.i-ok { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff !important; text-decoration: none !important; font: 500 15px/1 var(--sans); white-space: nowrap; transition: background-color .15s, transform .1s; }
.go:hover { background: #343841; }
.go:active { transform: scale(.98); }
.go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pb__trust { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); }
.pb__trust span { white-space: nowrap; }
.pb__none { margin: 0; color: var(--ink-2); }

/* starter questions under the price: answered in the search's card */
.pq { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; }


/* ---------- sections ---------- */
.sec { margin-top: clamp(48px, 5vw, 72px); scroll-margin-top: 24px; }
.sec > h2, .sec__h h2 { margin: 0; font: 500 clamp(22px, 2.4vw, 28px)/1.2 var(--sans); letter-spacing: -0.028em; text-wrap: balance; }
.sec > h2 small { font-size: 13.5px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); margin-left: 8px; }
.sec__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.sec__h h2 { max-width: 30em; }
.sec__a { font-size: 14px; color: var(--ink); white-space: nowrap; }
.sec__m { font-size: 13.5px; color: var(--ink-3); }
.sec .lede { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); max-width: 36em; }
.sec h3, .sec .h { margin: 32px 0 12px; font: 500 16px/1.3 var(--sans); letter-spacing: -0.01em; }
.law { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.law a { color: var(--ink-2); }

/* the trade-off map */
.sec .chip + .chip::before { content: none; }

/* ---------- the comparison table (views/jamfort.ts) ---------- */
.mxs .mx-wrap { margin-top: 20px; }
.mx { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.mx .mx-corner { width: 168px; }
.mx thead th { padding: 0 16px 16px; text-align: left; vertical-align: top; font-weight: 400; }
.mx .is-here { box-shadow: inset 1px 0 0 var(--line-2), inset -1px 0 0 var(--line-2); }
.mx thead .is-here { box-shadow: inset 1px 0 0 var(--line-2), inset -1px 0 0 var(--line-2), inset 0 2px 0 var(--accent); }
.mx tbody tr:last-child .is-here { box-shadow: inset 1px 0 0 var(--line-2), inset -1px 0 0 var(--line-2), inset 0 -1px 0 var(--line-2); }
.mx thead th:not(.is-here) { padding-top: 2px; }
.mx thead .is-here { padding-top: 14px; }
.mx-k { display: block; margin-bottom: 10px; font: 500 12.5px/1 var(--sans); color: var(--ink-3); }
.mx-p { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.mx-p__im { width: 72px; }
.mx-p__n { font: 500 14.5px/1.3 var(--sans); }
a.mx-p:hover .mx-p__n { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.mx-why { display: block; margin-top: 8px; }
.mx-why b { display: block; font: 600 13.5px/1.35 var(--sans); color: var(--ink); }
.mx-but { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.mx tbody th { padding: 8px 12px; text-align: left; font-weight: 500; color: var(--ink); vertical-align: middle; }
.mx tbody th small { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.mx td { padding: 8px 16px; vertical-align: middle; }
.mx__v { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.mx__of { font-weight: 400; color: var(--ink-3); }
.mx td small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--ink-3); }
.mx tr.mx-x th { font-weight: 400; color: var(--ink-2); }
.mx-same { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.mx-same__k { color: var(--ink-2); font-weight: 500; }
.mx-same b { font-weight: 500; color: var(--ink-2); }
.mx-pick { display: none; }
.mx-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 14px; }
.floors { font-size: 13px; color: var(--ink-2); }
.floors p { margin: 10px 0 0; max-width: 36em; line-height: 1.55; color: var(--ink-3); }

/* ---------- price per shop: the chart over time, the table today ---------- */
.sps .sec__h { align-items: center; }

.hc { --h: 320px; --gy: 56px; --gx: 184px; position: relative; margin: 0; }
.hc__plot { position: relative; height: var(--h); margin: 0 var(--gx) 0 var(--gy); }
.hc__grid { position: absolute; inset: 0; }
.hc__yt { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.hc__yt span { position: absolute; right: calc(100% + 10px); top: -8px; font: 400 12px/16px var(--sans); color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hc__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hc__ln { fill: none; stroke: #b9bcc2; stroke-width: 1.75; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hc__ln.is-hi { stroke: var(--accent); stroke-width: 2.5; }
.hc__marks { position: absolute; inset: 0; pointer-events: none; }
.hc__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #b9bcc2; box-shadow: 0 0 0 2px var(--ground); }
.hc__dot.is-hi { width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--accent); }
.hc__dot.is-one { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #c9ccd1; box-shadow: none; pointer-events: auto; }
.hc__once { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); }
.hc__once span { white-space: nowrap; }
.hc__once b { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hc__x { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--ink-3); opacity: .5; }
.hc__ends { position: absolute; top: 0; bottom: 0; left: calc(100% + 14px); width: calc(var(--gx) - 14px); }
.hc__lab { position: absolute; left: 0; right: 0; top: var(--y); transform: translateY(-50%); display: flex; align-items: baseline; gap: 6px; min-width: 0; font: 400 12.5px/16px var(--sans); color: var(--ink-3); white-space: nowrap; }
.hc__lab b { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hc__lm { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hc__lab.is-hi b, .hc__lab.is-hi .hc__lm { color: var(--accent); }
.hc__xa { position: relative; height: 26px; margin: 0 var(--gx) 0 var(--gy); border-top: 1px solid var(--line-2); }
.hc__xt { position: absolute; top: 8px; transform: translateX(-50%); font: 400 12px/1 var(--sans); color: var(--ink-3); white-space: nowrap; }
.hc__xt.is-start { transform: none; }
.hc__xt.is-end { transform: translateX(-100%); }
.hc__tk { position: absolute; top: 0; height: 5px; border-left: 1px solid var(--line-2); }
/* a coming sale: a band past a break at the right end of the time axis */
.hc__fut { position: absolute; top: 0; bottom: 0; left: 90%; right: 0; border-radius: 4px; background: repeating-linear-gradient(135deg, rgba(154, 91, 0, .10) 0 4px, rgba(154, 91, 0, .03) 4px 8px); box-shadow: inset 0 0 0 1px rgba(154, 91, 0, .18); }
.hc__fut span { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); writing-mode: vertical-rl; rotate: 180deg; font: 500 11.5px/1 var(--sans); color: var(--wait); white-space: nowrap; }
.hc__xt--fut { left: 95%; transform: translateX(-50%); color: var(--wait); font-weight: 500; }
.hc__brk { position: absolute; left: 87%; top: -6px; width: 7px; height: 11px; background: var(--ground); border-left: 1px solid var(--ink-3); border-right: 1px solid var(--ink-3); transform: translateX(-50%) skewX(-24deg); }
.hc__tip { position: absolute; z-index: 3; top: 8px; min-width: 170px; padding: 10px 12px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px rgba(22, 24, 28, .08), 0 12px 28px -10px rgba(22, 24, 28, .3); font-size: 13px; pointer-events: none; }
.hc__tip[hidden] { display: none; }
.hc__tip p { margin: 0 0 6px; font-weight: 500; color: var(--ink); }
.hc__tip dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 14px; margin: 0; }
.hc__tip dt { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc__tip dd { margin: 0; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.hc__tip .is-hi { color: var(--accent); }
.hc__tip .is-old { color: var(--ink-3); font-weight: 400; }

.sps__now { margin-top: 8px; }
.variants { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }

.vchip .dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(22, 24, 28, .18); }
.sp { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.sp thead th { padding: 0 12px 8px; text-align: left; font: 400 12.5px/1 var(--sans); color: var(--ink-3); }
.sp tbody th, .sp td { padding: 8px 12px; text-align: left; vertical-align: middle; font-weight: 400; }
.sp__shop { display: block; color: var(--ink); font-weight: 500; }
.sp__sub { display: block; font-size: 12.5px; color: var(--ink-3); }
.sp__m { display: none; }
td.sp__st { white-space: nowrap; }
.sp__sl { display: inline-flex; align-items: center; gap: 12px; }
.sp__st--in, .sp__st--out, .sp__st--unk { display: inline-flex; align-items: center; gap: 4px; }
.sp__st--in { color: var(--ink); } .sp__st--out, .sp__st--unk { color: var(--ink-3); }
.sp__age { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.sp .sp__p { text-align: right; white-space: nowrap; }
.sp td.sp__p { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.sp tr.out td.sp__p { color: var(--ink-3); }
.sp__go { width: 1%; padding-right: 8px !important; text-align: right; }
.sp__go a { padding-right: 10px; }
.sp__go .i-chev { width: 12px; height: 12px; }
.wf { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.wf__l { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.wf__l input { width: 104px; height: var(--pill-h); padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: 500 15px var(--sans); font-variant-numeric: tabular-nums; }
.wf__l input:focus { outline: none; border-color: var(--ink); }

.wf__n { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--ink-3); }
.more { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.more > summary { cursor: pointer; width: fit-content; }
.more > summary b { font-weight: 500; color: var(--ink-2); }
.reasons { margin: 10px 0 0; padding-left: 18px; line-height: 1.6; font-size: 13.5px; }
.offers { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.offers td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.offers .shop { font-weight: 500; display: block; } .offers .sub { display: block; font-size: 12.5px; color: var(--ink-3); }
.offers td.p { text-align: right; white-space: nowrap; }

.mono { font-family: var(--sans); }

/* ---------- owners: the stars, then a table of areas ---------- */
.ow { display: grid; grid-template-columns: auto minmax(0, 360px); align-items: start; gap: 24px 48px; margin-top: 22px; }
.ow__big { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; column-gap: 6px; margin: 0; }
.ow__big b { font: 600 48px/1 var(--sans); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.ow__s { font-size: 24px; line-height: 1; color: var(--ink); }
.ow__n { grid-column: 1 / -1; margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.ow__big--none { font-size: 15px; color: var(--ink-2); }
.owt, .ot, .gk { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.owt th, .owt td { padding: 8px 12px; text-align: left; font-weight: 400; }
.owt thead th, .ot thead th, .gk thead th { padding: 0 12px 8px; font: 400 12.5px/1 var(--sans); color: var(--ink-3); }
.owt tbody th { color: var(--ink); }
.owt td, .owt thead th + th { width: 64px; text-align: right; }
.owt td:last-child { color: var(--ink-3); }
.ot { margin-top: 36px; table-layout: fixed; }
.ot th:first-child { width: 168px; }
.ot thead th { text-align: left; }
.ot .ot__bh { width: 236px; }
.ot .ot__bh span { display: inline-block; width: 50%; padding-left: 48px; }
.ot .ot__bh span + span { padding: 0 48px 0 0; text-align: right; }
.ot .ot__n { width: 96px; text-align: right; padding-right: 24px; }
.ot thead .ot__n { text-align: right; }
.ot tbody th, .ot td { padding: 8px 12px; text-align: left; vertical-align: middle; font-weight: 400; }
.ot tbody th { font-weight: 500; color: var(--ink); padding-right: 12px; }
.ot td.ot__n { text-align: right; color: var(--ink-2); padding-right: 24px; }
.dv { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 8px; }
.dv__t { position: relative; height: 10px; background: linear-gradient(to right, transparent calc(50% - .5px), var(--line-2) calc(50% - .5px), var(--line-2) calc(50% + .5px), transparent calc(50% + .5px)), rgba(22, 24, 28, .05); border-radius: 5px; }
.dv__neg, .dv__pos { position: absolute; top: 0; bottom: 0; }
.dv__neg { right: 50%; border-radius: 5px 0 0 5px; background: var(--warn); opacity: .78; }
.dv__pos { left: 50%; border-radius: 0 5px 5px 0; background: var(--ink-2); opacity: .7; }
.dv__v { font-size: 13px; font-weight: 500; white-space: nowrap; }
.dv__v--neg { text-align: right; color: var(--warn); }
.dv__v--pos { color: var(--ink-2); }
.ot__q, .gk td { color: var(--ink-2); }
.ot__q q, .gk q { quotes: "”" "”"; font-size: 14px; line-height: 1.4; }
.ot__q cite, .gk cite { display: flex; align-items: center; gap: 0; margin-top: 2px; font-style: normal; font-size: 12.5px; line-height: 18px; color: var(--ink-3); white-space: pre; }
.ot-thin { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
.gk { margin-top: 32px; table-layout: fixed; }
.gk th, .gk td { width: 50%; padding: 8px 24px 8px 12px; vertical-align: top; text-align: left; }
.gk__m { display: inline-block; width: 14px; font-weight: 600; }
.gk__m--pos { color: var(--ink); } .gk__m--neg { color: var(--warn); }
.src { margin: 18px 0 0; font-size: 12.5px; color: var(--ink-3); }
.src a { color: var(--ink-2); }

/* ---------- testers and video: the shared section markup (views/product.ts), restyled ---------- */
.sec .score { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; }
.sec .score .big { font: 600 36px/1 var(--sans); letter-spacing: -0.03em; }
.sec .score .big small { font-size: 15px; font-weight: 400; color: var(--ink-3); }
.ink2 { color: var(--ink-2); }
.label-box { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; }
.label-box.example .tag { color: var(--warn); }
.verdict-text { margin: 6px 0 0; font-size: 15.5px; line-height: 1.55; max-width: 36em; }
.tag { display: inline-block; font: 500 12px/1.4 var(--sans); color: var(--ink-3); }
.tag.warn, .tag.good { color: var(--ink-3); }
.tests { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 14.5px; }
.tests td { padding: 8px 12px; vertical-align: top; }
.tests .site { font-weight: 500; }
.tests .sc { width: 120px; text-align: right; white-space: nowrap; }
.meter { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: rgba(22, 24, 28, .1); }
.meter i { display: block; height: 100%; border-radius: 2px; background: var(--ink); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.claims { list-style: none; margin: 0; padding: 0; }
.claims li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.claims .c { display: block; font-size: 12.5px; color: var(--ink-3); }
.claims blockquote { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.claims cite { font-style: normal; margin-left: 6px; font-size: 12.5px; color: var(--ink-3); }
.sw { display: none; }
.vids { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 22px; }
.vid .frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; overflow: hidden; background: #e9e8e3; cursor: pointer; text-align: left; padding: 0; }
iframe.frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }
.vid .ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 14px; }
.vid .ph-who { font-weight: 500; font-size: 14.5px; }
.vid .ph-note { font-size: 12.5px; color: var(--ink-3); }
.vid .lang, .lang { display: inline-block; margin-right: 6px; padding: 0 5px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 11px; color: var(--ink-2); }
.lang.lang--f, .vid .lang.lang--f { display: inline-flex; height: 11px; padding: 0; border: 0; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(22, 24, 28, .14); vertical-align: -1px; }
.lang--f svg { display: block; height: 11px; width: auto; }
.vid .ch .lang.lang--f { height: 11px; vertical-align: -1px; }
.vid .play { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--ink); }
.vid .play::after { content: ""; position: absolute; left: 21px; top: 17px; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.vid .meta { margin-top: 10px; }
.vid .tt { font-weight: 500; font-size: 14.5px; line-height: 1.35; }
.vid .ch { margin-top: 4px; font-size: 13px; color: var(--ink-3); line-height: 18px; }
.vid .ch .lang { box-sizing: border-box; height: 18px; line-height: 16px; vertical-align: top; }
.chaps, .chans { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.vfoot { margin-top: 28px; }
.vfoot .note { font-size: 12.5px; color: var(--ink-3); max-width: 36em; }
.sum { margin: 8px 0 0; padding-left: 18px; font-size: 13.5px; }
.sum .ts { margin-right: 8px; color: var(--ink-3); }
/* "Vad granskarna säger" (admin preview): every quote, upload date, timestamp and report link kept */
.said-wrap { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 14px; }
.said-wrap .h { margin-top: 0; }
.said-wrap > .note { font-size: 12.5px; color: var(--ink-3); max-width: 36em; }
.said-list, .said { list-style: none; margin: 0; padding: 0; }
.said-v { padding: 14px 0; border-top: 1px solid var(--line); }
.said-h { font-size: 14px; color: var(--ink-2); }
.said-h b { color: var(--ink); font-weight: 500; }
.said > li { padding: 10px 0 0; }
.said .ts { display: inline-block; margin-right: 6px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--accent); text-decoration: none; }
.said .q { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.said .p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.said .rep { font-size: 12.5px; }

.tolkat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 24px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 14px; }
.tolkat .eyebrow { font-weight: 500; }
.tolkat a { margin-left: auto; color: var(--ink-2); }
.api { margin: 40px 0 0; font-size: 12.5px; color: var(--ink-3); }
.api a { color: var(--ink-2); }
.mbar { display: none; }

/* ---------- phone ---------- */
@media (max-width: 759px) {
  .pp { padding-top: 20px; }
  /* the price first, then every shop, then the comparisons */
  .pp > .tolkat { order: 0; } .crumb { order: 1; } .ph { order: 2; } #pris { order: 5; } #jamfort { order: 6; } #alternativ { order: 7; }
  #specifikationer { order: 8; } #agare { order: 9; } #testare { order: 10; } #video { order: 11; } .api { order: 12; }
  .ph { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ph__g { position: relative; top: 0; }
  .ph__g--t { grid-template-columns: minmax(0, 1fr); }
  .ph__g--t .ph__ts { order: 2; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .ph__t { width: 56px; }
  .ph__ph { aspect-ratio: 4 / 3; --ib-r: 22px; }
  .crumb { margin-bottom: 14px; font-size: 13px; }
  .ph__in { padding-top: 0; }
  .pi h1 { font-size: 28px; }
  .pi__m { margin-top: 8px; font-size: 14px; }
  .pb { margin-top: 18px; padding-top: 16px; }
  .pb__row { flex-direction: column; align-items: stretch; gap: 14px; }
  .pb__big { font-size: 44px; letter-spacing: -0.035em; }
  .go { width: 100%; height: 52px; }
  .ris { column-gap: 10px; }
  .ri { font-size: 14px; }
  .ss { gap: 14px; }
  .ss__n b { font-size: 34px; }
  .sec { margin-top: 56px; }
  #pris { margin-top: 40px; }
  #pris .sps__now { order: 1; } #pris .sps__hist { order: 2; margin-top: 28px; }
  #pris { display: flex; flex-direction: column; }
  /* Inet's rows on a phone: shop and stock, the price, a chevron; the whole row goes to the shop */
  .sp thead { display: none; }
  .sp, .sp tbody { display: block; }
  .sp tr { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 0 10px; min-height: 56px; padding: 8px 12px; }
  .sp tr[hidden] { display: none; }
  .sp tbody th, .sp td { padding: 0; border: 0; }
  .sp__m { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 13px; color: var(--ink-3); }
  .sp__sub { display: block; max-width: 100%; }
  .sp td.sp__st { display: none; }
  .sp .sp__p { font-size: 15.5px; }
  .sp__go { width: auto; }
  .sp__go a { width: 16px; height: 16px; padding: 0; border: 0 !important; background: none !important; color: var(--ink-3) !important; }
  .sp__go a span { display: none; }
  .sp__go a::after { content: ""; position: absolute; inset: 0; }
  .sp__go .i-chev { width: 14px; height: 14px; }
  .hc { --h: 220px; --gy: 52px; --gx: 92px; }
  .hc__lab { top: var(--ym); flex-direction: column; align-items: flex-start; gap: 0; transform: translateY(-50%); line-height: 15px; }
  .hc__lm { max-width: 100%; font-size: 11.5px; }
  .hc__ends { left: calc(100% + 10px); width: calc(var(--gx) - 10px); }
  .rc .rc__cap { max-width: none; }
  .mx-pick { display: flex; gap: 2px; width: 100%; margin-top: 16px; padding: 2px; border-radius: 14px; background: rgba(22, 24, 28, .06); overflow-x: auto; scrollbar-width: none; }
  .mx-pick__o { flex: 1 1 0; min-width: 0; cursor: pointer; }
  .mx-pick__o input { position: absolute; opacity: 0; pointer-events: none; }
  .mx-pick__o span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 8px 10px; border-radius: 12px; font: 500 12px/1 var(--sans); color: var(--ink-3); }
  .mx-pick__o small { font: 500 13.5px/1.2 var(--sans); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .mx-pick__o input:checked + span { background: var(--paper); box-shadow: 0 1px 2px rgba(22, 24, 28, .12), 0 0 0 .5px rgba(22, 24, 28, .08); }
  .mx-pick__o input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
  .mx .c2, .mx .c3 { display: none; }
  #jamfort:has(.mx-pick input[value="2"]:checked) .mx .c1, #jamfort:has(.mx-pick input[value="3"]:checked) .mx .c1 { display: none; }
  #jamfort:has(.mx-pick input[value="2"]:checked) .mx .c2, #jamfort:has(.mx-pick input[value="3"]:checked) .mx .c3 { display: table-cell; }
  .mx .mx-corner { width: 104px; }
  .mx { font-size: 14px; }
  .mx thead th { padding: 0 10px 12px; }
  .mx thead .is-here { padding-top: 12px; }
  .mx tbody th { padding-right: 8px; font-size: 13px; hyphens: auto; overflow-wrap: break-word; }
  .mx td { padding: 10px; }
  .mx-p__im { width: 48px; --ib-r: 10px; }
  .mx-p__n { font-size: 13.5px; }
  .mx-why b { font-size: 13px; }
  .ow { grid-template-columns: 1fr; gap: 18px; }
  .owt tbody tr:last-child > * { border-bottom: 0; }
  .tests .sc { width: 76px; }
  .variants { flex-wrap: nowrap; overflow-x: auto; margin: 18px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); scrollbar-width: none; }
  .variants::-webkit-scrollbar { display: none; }
  .vchip { flex: none; }
  .ow__big b { font-size: 44px; }
  /* areas as rows of two lines: the name, count and bar; the quote under it */
  .ot thead { display: none; }
  .ot, .ot tbody { display: block; }
  .ot { margin-top: 24px; }
  .ot tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 8px 12px; }
  .ot tbody th, .ot td { padding: 0 !important; border: 0; width: auto !important; }
  .ot td.ot__n { grid-column: 2; grid-row: 1; font-size: 13px; color: var(--ink-3); }
  .ot td.ot__n::after { content: " omdömen"; }
  .ot td.ot__b { grid-column: 1 / -1; }
  .ot td.ot__q { grid-column: 1 / -1; }
  .gk th, .gk td { padding-right: 12px; }
  .vids, .cols { grid-template-columns: 1fr; }
  .mbar { position: fixed; z-index: 15; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, .97); border: 1px solid rgba(22, 24, 28, .1); box-shadow: 0 14px 36px -14px rgba(22, 24, 28, .3);
    transform: translateY(calc(100% + 24px)); visibility: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s .28s; }
  .mbar[data-on] { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
  .mbar .big { font: 600 17px/1.1 var(--sans); }
  .mbar .w { font-size: 12px; color: var(--ink-3); }
  .mbar .go { width: auto; height: 42px; padding: 0 18px; font-size: 14px; }
  .page-product .foot { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }

/* ---------- visuals instead of sentences (owner feedback 9, 12) ---------- */
.pv__r { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.dc--down { color: var(--good); background: var(--good-bg); }
.mx-but { margin-top: 6px; }
/* the sale ahead, to scale */
.sp__shop, .owt__s { display: inline-flex; align-items: center; gap: 8px; }
.pb__w .sm { margin-right: 1px; }
@media (max-width: 759px) {
}
.hc__pt { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #b9bcc2; }
.hc__pt.is-hi { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
@media (max-width: 759px) { .hc__fut span, .hc__xt--fut { display: none; } }

.srcs { margin-top: 10px; font-size: 13px; }
.srcs p { margin: 8px 0 0; max-width: 36em; line-height: 1.55; color: var(--ink-3); }

/* ---------- round 3: patterns copied from the reference board ---------- */
/* the chart card: Robinhood's delta left, Coinbase's and shadcn's range tabs right */
.hc-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.hc-d { margin: 0; font-size: 13.5px; line-height: 20px; color: var(--ink-3); }
.hc-d > span { display: inline-flex; align-items: baseline; gap: 6px; }
.hc-d > span[hidden] { display: none; }
.hc-d__v { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hc-d__v--down { color: var(--good); }
.hc-tabs { display: inline-flex; align-items: center; gap: 4px; }
.hc-t { height: 30px; padding: 0 10px; border: 0; border-radius: 8px; background: none; font: 600 12.5px/1 var(--sans); letter-spacing: .02em; color: var(--ink-2); cursor: pointer; box-shadow: inset 0 -2px 0 transparent; }
.hc-t[aria-selected="true"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.hc-t:disabled { color: var(--ink-3); opacity: .55; cursor: default; }
.hc-t:not(:disabled):hover { color: var(--ink); }
.hc-pane[hidden] { display: none; }
.hc__ar { fill: var(--accent); opacity: .07; stroke: none; }
/* the shops' badges above their line's end */
.hc__bd { position: absolute; z-index: 1; display: inline-flex; gap: 2px; transform: translate(calc(-100% + 7px), calc(-100% - 8px)); }
.hc__bd .sm { box-shadow: 0 0 0 1.5px var(--ground); }
.hc__ends { left: calc(100% + 14px); }

/* Webhallen's "Liknande produkter" as tiles with Airbnb's polish */
.lk__l { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 20px; }
.lk__a { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: var(--ink); text-decoration: none !important; }
.lk__ph { margin-bottom: 8px; }
.lk__a:hover .lk__ph { box-shadow: inset 0 0 0 1px rgba(22, 24, 28, .16); }
.lk__n { font: 500 14px/19px var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lk__rt { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; line-height: 18px; color: var(--ink); }
.lk__rt .i-star { width: 11px; height: 11px; }
.lk__p { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 2px; }
.lk__p b { font: 600 16px/22px var(--sans); font-variant-numeric: tabular-nums; }
.lk__why { display: flex; flex-direction: column; font-size: 12.5px; line-height: 17px; color: var(--ink-3); }
.lk__why b { font-weight: 600; color: var(--ink-2); }
.lk__law { margin-top: 18px; }

/* Webhallen's specification sheet: a header per group, label and value in two columns, zebra rows */
.ws__g { margin-top: 18px; columns: 2; column-gap: 48px; }
.ws__t { width: 100%; margin: 0 0 18px; border-collapse: collapse; break-inside: avoid; font-size: 14px; line-height: 20px; }
.ws__t caption { padding: 0 0 8px; text-align: left; font: 600 14px/20px var(--sans); color: var(--ink); }
.ws__t th, .ws__t td { padding: 8px 12px; text-align: left; vertical-align: top; }
.ws__t th { width: 50%; font-weight: 400; color: var(--ink-2); }
.ws__t td { font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
/* the zebra of every table on the page (the sheet's): rows hidden by the colour filter do not count */
.ws__t tr:nth-child(odd), .sp tbody tr:nth-child(odd of :not([hidden])), .owt tbody tr:nth-child(odd), .ot tbody tr:nth-child(odd), .gk tbody tr:nth-child(odd), .tests tr:nth-child(odd) { background: var(--zebra); }

/* the comparison in the same language: group rows, zebra */
.mx tr.mx-g > * { padding: 18px 0 8px; border-bottom: 0; background: none !important; }
.mx tr.mx-g th { font: 600 14px/20px var(--sans); color: var(--ink); white-space: nowrap; overflow: visible; }
.mx tbody tr:first-child.mx-g > * { border-top: 0; }
.mx tbody tr.mx-z { background: var(--zebra); }

/* the reviews themselves, Webhallen's and Inet's list: stars, shop, date, three lines, Visa mer */
.rv { margin-top: 36px; }
.rv__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.rv__top .h { margin: 0; }
.rv__avg { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 20px; }
.rv__avg b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rv__sort { display: inline-flex; gap: 6px; margin-left: auto; }

.rv__l { list-style: none; margin: 0; padding: 0; }
.rv__i { padding: 16px 0; border-bottom: 1px solid var(--line); }
.rv__l > li:nth-child(n+6) { display: none; }
.rv.is-all .rv__l > li { display: block; }
.rv__h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.rv__sh { display: inline-flex; align-items: center; color: var(--ink-2); }
.rv__vf { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.i-vf { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rv__d { margin-left: auto; font-variant-numeric: tabular-nums; }
.rs { display: inline-flex; align-items: center; gap: 1px; }
.rs svg { width: 12px; height: 12px; fill: rgba(22, 24, 28, .16); }
.rs svg.on { fill: var(--ink); }
.rv__t { margin: 8px 0 0; max-width: 46em; font-size: 14.5px; line-height: 22px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv__i.is-open .rv__t { display: block; }
.rv__f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; min-height: 20px; margin-top: 6px; font-size: 13px; line-height: 20px; color: var(--ink-3); }
.rv__f:empty { display: none; }
.rv__more { padding: 0; border: 0; background: none; font: 500 13px/20px var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; cursor: pointer; }
.rv__more[hidden] { display: none; }
.rv__hp { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.i-th { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.rv__src { color: var(--ink-3) !important; }
.rv__all { margin-top: 16px; }
.rv.is-all .rv__all { display: none; }

@media (max-width: 1099px) { .lk__l { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) { .ws__g { columns: 1; } }
@media (max-width: 759px) {
  .lk__l { display: flex; gap: 14px; overflow-x: auto; margin: 18px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 4px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .lk__l::-webkit-scrollbar { display: none; }
  .lk__i { flex: 0 0 152px; scroll-snap-align: start; }
  .hc-top { flex-direction: column; align-items: flex-start; }
  .ws__t th, .ws__t td { padding: 8px 10px; }
  .rv__sort { margin-left: 0; }
  .rv__d { margin-left: 0; }
}


/* ---------- round 4: one set of elements ---------- */
/* the image box: every product photo sits inside it with the same padding, never cropped, never edge to edge; a box
   without a photo shows a neutral glyph (headphones on the headphone pages) */
.ib { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='14' rx='2.5'/%3E%3Cpath d='m4 16 5-5 4 4 2.5-2.5L20 17'/%3E%3Ccircle cx='15.5' cy='9.5' r='1.5'/%3E%3C/svg%3E");
  position: relative; display: block; aspect-ratio: 1; border-radius: var(--ib-r, 14px); background: var(--paper); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.ib > img { position: absolute; top: 14%; left: 14%; width: 72%; height: 72%; object-fit: contain; }
.ib:empty::before { content: ""; position: absolute; inset: 32%; background: rgba(22, 24, 28, .22); -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat; }
[data-g="h"] .ib, .ib[data-g="h"] { --glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15v-3a8 8 0 0 1 16 0v3'/%3E%3Crect x='3' y='13.5' width='4.5' height='7' rx='1.6'/%3E%3Crect x='16.5' y='13.5' width='4.5' height='7' rx='1.6'/%3E%3C/svg%3E"); }
.ph__t.ib { --ib-r: 14px; }
.ph__t[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ib--xs { width: 28px; --ib-r: 8px; box-shadow: 0 0 0 1.5px var(--ground), inset 0 0 0 1px var(--hair); }
.ib--xs > img { top: 8%; left: 8%; width: 84%; height: 84%; }

/* the chip: small, filled, one height; green only for a price that is lower (Tweakers' dropped-price chip) */
.chip, .dc { display: inline-flex; align-items: center; gap: 6px; height: var(--chip-h); padding: 0 8px; border-radius: 999px; background: var(--chip-bg); font: 600 12.5px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; text-decoration: none; }
.chip--good, .dc--down { color: var(--good); background: var(--good-bg); }
.pb__pl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* the pill: every secondary action and toggle, outlined, one height */
.pq a, .vchip, .sp__go a, .wf button, .rv__sort button, .rv__all, .btn, a.chip, .chaps .chip, .chans .chip { display: inline-flex; align-items: center; gap: 6px; height: var(--pill-h); padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: none; font: 500 13.5px/1 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; cursor: pointer; }
.pq a:hover, .vchip:hover, .sp__go a:hover, .wf button:hover, .rv__sort button:hover, .rv__all:hover, .btn:hover, a.chip:hover { border-color: var(--ink); }
.vchip[aria-pressed="true"], .rv__sort button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sp__go a { padding: 0 10px 0 12px; }

/* the segmented control (Google Finance's compare, iOS): two views of the chart */
.seg { display: inline-flex; padding: 2px; border-radius: 999px; background: rgba(22, 24, 28, .06); }
.seg__o { height: 28px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font: 500 13.5px/1 var(--sans); color: var(--ink-2); cursor: pointer; }
.seg__o[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(22, 24, 28, .12), 0 0 0 .5px rgba(22, 24, 28, .08); }
.seg__o:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.hcs .hc-top { margin: 16px 0 8px; }
.hcs .hc-d { margin: 0 0 16px; min-height: 20px; }
.hcs .hc-d:empty { display: none; }

/* the chart's band between the cheapest shop and the next, labelled with the gap */
.hc__gap { stroke: none; }
.hc__gap--good { fill: var(--good); opacity: .1; }
.hc__gap--ink { fill: var(--ink); opacity: .06; }
.hc__gl { position: absolute; z-index: 2; transform: translate(calc(-100% - 14px), -50%); padding: 3px 8px; border-radius: 999px; background: var(--paper); font: 600 12.5px/16px var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 0 0 1px var(--line); }
.hc__gl--good { color: var(--good); } .hc__gl--ink { color: var(--ink-2); }
/* the models view: the product's photo above its line's end */
.hc__bd--ph { transform: translate(calc(-100% + 12px), calc(-100% - 6px)); gap: 3px; }
.hc__bd--ph .ib--xs.ib:empty::before { inset: 22%; }

/* the best value of a row, one blue rule everywhere (comparison table, category columns) */
.mx td.is-best { background: var(--best-bg); }
.mx td.is-best .mx__v { color: var(--ink); font-weight: 650; }

@media (max-width: 759px) {
  /* a scroller is the containing block of what scrolls in it (a screen-reader span, a photo), so nothing widens the page */
  .lk__l, .variants, .mx-pick, .ph__ts { position: relative; }
  #historik { order: 4; }
  .hcs .hc-top { flex-direction: row; align-items: center; }
  .seg__o { padding: 0 12px; font-size: 13px; }
  .hc__gl { font-size: 12px; transform: translate(calc(-100% - 8px), -50%); }
  .ib--xs { width: 22px; }
}

.hc-data { margin-top: 14px; color: var(--ink-2); font-size: 13px; }
.hc-data summary { cursor: pointer; width: fit-content; padding: 6px 0; }
.hc-data__scroll { max-height: 360px; overflow: auto; margin-top: 8px; }
.hc-data table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hc-data caption { text-align: left; padding: 0 0 10px; color: var(--ink-3); }
.hc-data th, .hc-data td { padding: 10px 12px; text-align: right; vertical-align: top; border-bottom: 1px solid var(--line); white-space: nowrap; }
.hc-data th:first-child { text-align: left; }
.hc-data small { display: block; font-size: 12px; color: var(--ink-3); }

.pq a { max-width: 100%; min-width: 0; white-space: normal; height: auto; min-height: var(--pill-h); line-height: 1.3; padding-block: 7px; overflow-wrap: anywhere; }
