/* ============================================================
   halterwijzer.nl — loads after /assets/css/family.css (shared neutrals, Figtree, pebble radii, lockup).
   The design page ../design/system.html loads both files, so it cannot drift from the site.
   ============================================================ */

/* ACCENT: indigo. White on indigo 7.6, on papier 6.8, on soft 6.0. Dark ground: #b7bbe8. */
:root {
  --accent: #4a4f8a;
  --accent-soft: #e4e5f2;
  --accent-tint: #b7bbe8;
  --accent-text: #ffffff;
  --ok: #2d7048;
}

/* ============================================================
   BASE
   ============================================================ */
h1 { text-wrap: balance; font-size: var(--text-2xl); font-weight: var(--w-head); line-height: 1.12; margin: 0; letter-spacing: -0.022em; }
h2 { font-size: var(--text-l); font-weight: var(--w-head); line-height: 1.2; margin: 0 0 10px; letter-spacing: -0.01em; }
h3 { font-size: var(--text-m); line-height: 1.3; margin: 0; font-weight: var(--w-strong); }
p { margin: 0 0 var(--space-3); max-width: 65ch; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.soft, .hint { font-size: var(--text-s); color: var(--text-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px; z-index: 9; }

/* ============================================================
   FRAME
   ============================================================ */
main { padding: 10px 16px var(--space-5); }
.site-footer p { margin: 0 0 var(--space-2); max-width: 75ch; }

/* ============================================================
   COMPONENTS
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); font: var(--w-strong) var(--text-sm)/1 var(--font); padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; text-decoration: none; }
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(1.1); }
input[type=search], select { font: var(--text-m) var(--font); min-height: var(--tap); padding: 0.5em 0.9em; border: 1px solid var(--line); border-radius: var(--radius-field); background: var(--surface); color: var(--text); width: 100%; }
input[type=search]:hover, select:hover { border-color: #d9c7b5; }
.badge { display: inline-block; font-size: var(--text-2xs); font-weight: var(--w-strong); padding: 0 0.55em; line-height: 1.6; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-text); margin-left: 0.3em; }
/* pill: 36px visual, 44px hit area */
.pill { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font-size: var(--text-xs); font-weight: var(--w-label); text-decoration: none; margin: 0 var(--space-1) var(--space-1) 0; }
.pill::before { content: ""; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill-x { gap: 0.35em; background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: var(--w-strong); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip > span { position: relative; display: inline-flex; align-items: center; gap: 0.4em; min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--bg); font-size: var(--text-s); font-weight: var(--w-label); cursor: pointer; }
.chip > span::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; bottom: -2px; }
.chip > span:hover { color: var(--accent); }
.chip input:checked + span { background: var(--accent); color: var(--accent-text); }
.chip input:checked + span .count { color: inherit; opacity: .85; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip.zero > span { opacity: .45; }
.count { font-size: var(--text-xs); font-weight: 500; color: var(--text-soft); font-variant-numeric: tabular-nums; }

/* ============================================================
   HOME
   ============================================================ */
.hero { padding: 0; max-width: 640px; }
.hero h1 { margin-bottom: var(--space-2); }
.lead { font-size: var(--text-m); color: var(--text-soft); margin-bottom: 0; }
/* search: one pill with the button inside */
.bigsearch, .searchbar { display: flex; align-items: center; gap: var(--space-2); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 5px 5px 5px 18px; }
.bigsearch { margin-top: 20px; }
.bigsearch input, .searchbar input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0; min-height: var(--tap); font-size: var(--text-sm); border-radius: 0; }
.bigsearch input:hover, .searchbar input:hover { border: 0; }
.bigsearch input::placeholder, .searchbar input::placeholder { color: var(--text-soft); }
.bigsearch input:focus-visible, .searchbar input:focus-visible { outline: none; }
.bigsearch:focus-within, .searchbar:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.bigsearch .btn, .searchbar .btn { flex: none; min-height: var(--tap); }
.examples { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; max-width: none; }
.examples .soft { margin-right: 2px; font-size: var(--text-xs); }
.examples .pill { margin: 0; }
section + section { margin-top: 26px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; }
.tile-item { background: var(--surface); border-radius: var(--radius-tile); padding: 16px; display: grid; align-content: start; gap: 10px; }
.tile { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; color: var(--text); text-decoration: none; min-height: var(--tap); }
.tile-mark { grid-row: span 2; display: flex; }
.tile-name { font-weight: var(--w-head); font-size: 1.1875rem; line-height: 1.25; }
.tile:hover .tile-name { color: var(--accent); }
.tile-count { font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile-unit { font-size: var(--text-s); font-weight: var(--w-label); color: var(--text-soft); }
.tile-note { grid-column: 1 / -1; font-size: var(--text-xs); color: var(--text-soft); margin-top: 6px; }
.tile-links .pill { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.tile-links .pill:hover { background: var(--accent); color: var(--accent-text); }
.how { max-width: 65ch; }
.how ol { margin: 0 0 var(--space-3); padding-left: 1.2em; }
.how li { margin-bottom: var(--space-2); }
.how li::marker { color: var(--accent); font-weight: var(--w-strong); }
.disclosure { font-size: var(--text-xs); color: var(--text-soft); margin: var(--space-3) 0 0; }

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.searchbar { margin-bottom: var(--space-4); max-width: 640px; }
.layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-4) var(--space-5); align-items: start; }
.filters { background: var(--surface); border-radius: var(--radius-tile); }
.filters > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 18px; font-weight: var(--w-strong); cursor: pointer; list-style: none; }
.filters > summary::-webkit-details-marker { display: none; }
.filters > summary::after { content: ""; width: 0.5em; height: 0.5em; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
.filters[open] > summary::after { transform: rotate(-135deg); }
.filters-body { padding: var(--space-3) 18px 18px; display: grid; gap: var(--space-4); border-top: 1px solid var(--line); }
.group { border: 0; padding: 0; margin: 0; min-width: 0; }
.group legend { font-weight: var(--w-strong); font-size: var(--text-sm); padding: 0; margin-bottom: var(--space-2); }
.seg { display: grid; gap: 2px; }
.seg-item { display: flex; justify-content: space-between; align-items: center; min-height: var(--tap); padding: 0 14px; border-radius: var(--radius-pill); color: var(--text); text-decoration: none; font-size: var(--text-sm); font-weight: 500; }
.seg-item:hover { background: var(--bg); }
.seg-item.on { background: var(--accent-soft); color: var(--accent); font-weight: var(--w-strong); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.field { display: grid; gap: var(--space-1); }
.field label { font-size: var(--text-xs); font-weight: var(--w-label); color: var(--text-soft); }
.filters select { background: var(--surface); border-color: var(--line-strong); }
.check { display: flex; align-items: center; gap: 0.6em; min-height: var(--tap); cursor: pointer; font-size: var(--text-sm); }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; flex: none; border: 2px solid var(--line-strong); border-radius: 6px; background: var(--surface) center / 12px 12px no-repeat; cursor: pointer; }
.check input:checked { background-color: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6 9.6 3.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.check:hover input:not(:checked) { border-color: var(--accent); }
.check-label { flex: 1; min-width: 0; }
.switch { font-weight: var(--w-label); font-size: var(--text-s); min-height: var(--tap); }
.group > .hint { margin: 0; }
.more > summary { cursor: pointer; font-size: var(--text-s); font-weight: var(--w-strong); color: var(--accent); min-height: var(--tap); display: flex; align-items: center; }
.apply { display: flex; align-items: center; gap: var(--space-3); }
.apply .btn { min-height: 52px; padding: 0 22px; font-size: var(--text-m); }
.apply .clear { display: inline-flex; align-items: center; min-height: var(--tap); font-size: var(--text-s); font-weight: var(--w-label); }
.results { min-width: 0; }
.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); }
.results-head h2 { font-size: 1.625rem; margin: 0; }
.sortline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); font-size: var(--text-s); }
.sortline .soft, .sort { white-space: nowrap; }
.sort { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: var(--radius-pill); color: var(--text); text-decoration: none; font-weight: var(--w-label); }
.sort::before { content: ""; position: absolute; left: 0; right: 0; top: -4px; bottom: -4px; }
.sort:hover { background: var(--surface); }
.sort.on { background: var(--accent-soft); color: var(--accent); font-weight: var(--w-strong); }
.active { margin: 0 0 var(--space-2); max-width: none; }
.read { margin: 0 0 var(--space-3); }

/* cards: a pebble on vlak, image on a white well, brand, name, price, stock, shop pill. The whole card is the shop link. */
.cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-top: var(--space-3); }
.card { position: relative; background: var(--surface); border-radius: var(--radius-card); padding: 8px 8px 10px; display: flex; flex-direction: column; min-width: 0; }
.card-img { position: relative; aspect-ratio: 1 / 1; background: #fff; border-radius: var(--radius-img); overflow: hidden; }
.card-img img { position: absolute; inset: var(--space-2); width: calc(100% - 2 * var(--space-2)); height: calc(100% - 2 * var(--space-2)); object-fit: contain; }
.card-body { padding: 8px 6px 0; display: flex; flex-direction: column; gap: 0; flex: 1; }
.card p { margin: 0; }
.brandline.wrap { white-space: normal; min-height: 0; }
.brandline { font-size: var(--text-2xs); color: var(--text-soft); min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card h3 { font-size: var(--text-sm); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.sizes { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; padding: 0; }
.sizes li { min-width: 28px; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--bg); font-size: var(--text-2xs); font-weight: var(--w-label); line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums; }
.sizes li.more { min-width: 0; padding: 2px 2px; background: none; color: var(--text-soft); font-weight: 500; }
.size-note { font-size: var(--text-xs); color: var(--text-soft); margin: 2px 0 0; }
.sizes li.on { background: var(--accent-soft); color: var(--accent); font-weight: var(--w-strong); }
/* facts: what the bol title states, one row per fact; a fact the title does not name is one soft line ("bol noemt geen dikte") */
.facts-head { font-size: var(--text-2xs); font-weight: var(--w-label); color: var(--text-soft); margin-top: 8px !important; letter-spacing: .02em; }
.facts { list-style: none; margin: 2px 0 8px; padding: 0; font-size: var(--text-xs); line-height: 1.4; }
.facts li { display: flex; justify-content: space-between; gap: var(--space-2); padding: 3px 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; }
.facts .k { color: var(--text-soft); flex: none; }
.facts .v { font-weight: var(--w-label); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.facts-miss { font-size: var(--text-xs); line-height: 1.4; color: var(--text-soft); margin: 8px 0 8px !important; }
.facts + .facts-miss { margin-top: 0 !important; }
.facts + .sizes { margin-bottom: 12px; }
.price-row { display: flex; align-items: baseline; gap: var(--space-2); margin-top: 4px !important; }
.price { font-size: 1.125rem; font-weight: var(--w-head); font-variant-numeric: tabular-nums; }
.perkg { font-size: var(--text-s); font-weight: 700; color: var(--accent); margin-top: 2px !important; }
.price-row s { font-size: var(--text-xs); color: var(--text-soft); }
.deal { font-size: var(--text-2xs); font-weight: var(--w-strong); color: var(--accent); }
.stock { font-size: var(--text-2xs); font-weight: var(--w-label); display: flex; align-items: center; gap: 0.45em; margin: 6px 0 10px !important; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.stock-ok { color: var(--ok); }
.shop { display: flex; align-items: center; justify-content: center; min-height: 42px; margin: auto -6px 0; border-radius: var(--radius-pill); background: var(--accent-soft); font-size: var(--text-s); font-weight: var(--w-strong); color: var(--accent); text-decoration: none; }
.shop::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); }
.card:hover .shop { background: var(--accent); color: var(--accent-text); }
.shop:focus-visible { outline: none; }
.card:has(.shop:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); margin: var(--space-4) 0 0; }
.pg { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); padding: 0 0.9em; border-radius: var(--radius-pill); background: var(--surface); color: var(--text); text-decoration: none; font-weight: var(--w-label); font-variant-numeric: tabular-nums; }
.pg:hover { color: var(--accent); }
.pg.on { background: var(--accent); color: var(--accent-text); }
.gap { padding: 0 var(--space-1); color: var(--text-soft); }

.empty { background: var(--surface-soft); border-radius: var(--radius-tile); padding: var(--space-4) 20px; margin-top: var(--space-3); }
.empty h2 { margin-bottom: var(--space-2); }
.help { margin: 0; padding-left: 1.2em; }
.help li { margin-bottom: var(--space-2); max-width: 65ch; }

/* ============================================================
   CATEGORY PAGES
   ============================================================ */
.crumbs { margin: 0 0 var(--space-1); font-size: var(--text-s); color: var(--text-soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 0.55em; color: var(--text-soft); opacity: .6; }
.crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text-soft); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); font-weight: var(--w-label); }
.cat-head { max-width: 760px; margin-bottom: var(--space-3); }
.cat-head h1 { margin-bottom: var(--space-2); }
.cat-head .lead { margin-bottom: var(--space-3); }
.cat-intro { margin: 0; }
.pills.kenmerken { margin: 0 0 var(--space-4); }
.cat-more { max-width: 65ch; margin-top: var(--space-5); }
.cat-more h2 { margin-bottom: var(--space-2); }
.cat-more p { margin-bottom: var(--space-2); }
.results > .sortline { margin-bottom: var(--space-2); flex-wrap: wrap; }
.check-link { color: var(--text); text-decoration: none; }
.check-link:hover .check-label { text-decoration: underline; text-underline-offset: 3px; }
.fixed { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.fixed .pill { margin: 0; }
.legend-s { flex: 0 0 100%; margin: 0; font-weight: var(--w-strong); font-size: var(--text-sm); }
.related { margin-top: var(--space-5); }
.related h2 { font-size: var(--text-m); margin-bottom: var(--space-2); }
.related h2:not(:first-child) { margin-top: var(--space-4); }
.pills, .tile-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.pills .pill, .tile-links .pill { margin: 0; }
.pill .count { margin-left: 0.45em; }
.results > .cards:first-child { margin-top: 0; }
.results > .sortline + .cards { margin-top: var(--space-2); }
@media (min-width: 900px) { .cat-head h1, .hero h1 { font-size: 2.25rem; } }

@media (min-width: 900px) {
  main { padding-top: var(--space-4); }
  .filters > summary { display: none; }
  .filters { position: sticky; top: var(--space-3); max-height: calc(100vh - 2 * var(--space-3)); overflow-y: auto; }
  .filters .filters-body { border-top: 0; padding-top: 18px; }
}
@media (max-width: 899px) {
  .layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply { flex-direction: column; align-items: stretch; text-align: center; }
  .apply .clear { justify-content: center; }
  .results-head { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
}

/* method page */
.prose { max-width: 65ch; }
.prose h1 { margin-bottom: var(--space-2); }
.prose h2 { margin-top: var(--space-4); }
.prose .btn { margin-top: var(--space-2); }

/* guide page: data table, card block, kettlebell figure */
.table-wrap { overflow-x: auto; margin: var(--space-2) 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-m); }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-weight: var(--w-strong); color: var(--text-soft); font-size: var(--text-xs); }
.data-table tbody th { font-weight: var(--w-label); white-space: nowrap; }
.data-table tbody th[colspan] { background: var(--surface-soft); border-bottom-color: var(--line); }
.data-table td:last-child { white-space: nowrap; }
.data-table.counts td, .data-table.counts th { font-variant-numeric: tabular-nums; vertical-align: middle; }
.data-table.counts td a { display: inline-flex; align-items: center; min-height: var(--tap); }
.guide h3 { font-size: var(--text-m); margin: var(--space-3) 0 var(--space-1); }
.guide-cards { margin-top: var(--space-5); }
.guide-cards h2 { margin-bottom: var(--space-1); }
.guide-cards h3 { margin: var(--space-3) 0 var(--space-1); }
.guide-cards .cards { margin-top: var(--space-2); }
.prose .soft { color: var(--text-soft); font-size: var(--text-s); }
.prose .lead { margin-bottom: var(--space-3); }
@media (max-width: 640px) { .data-table th, .data-table td { padding: 10px 8px; } }
.kb-figure { margin: var(--space-3) 0; }
.kb-figure svg { display: block; width: 100%; height: auto; max-width: 560px; }
.kb-b path, .kb-b circle { fill: none; stroke: var(--text); stroke-width: 2; stroke-linejoin: round; }
.kb-hl circle { fill: var(--accent-soft); }
.kb-t { font-family: inherit; fill: var(--text); font-size: 20px; font-weight: 600; }
.kb-bar { fill: var(--accent); }
.kb-bar2 { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.kb-ground { stroke: var(--text); stroke-width: 1.5; }
.kb-figure figcaption { margin-top: var(--space-1); }
.kb-legend { list-style: none; margin: 0 0 var(--space-1); padding: 0; font-size: var(--text-s); }
.kb-legend li { display: flex; align-items: center; gap: 8px; margin: 2px 0; }
.kb-sw { flex: 0 0 22px; height: 6px; border-radius: 3px; background: var(--accent); }
.kb-sw2 { height: 10px; background: var(--accent-soft); border: 2px solid var(--accent); box-sizing: border-box; border-radius: 5px; }
@media (prefers-reduced-motion: no-preference) {
  .kb-ready .kb-bar { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
  .kb-ready .kb-hl circle { fill-opacity: 0; }
  .kb-play .kb-bar { transform: scaleX(1); transition: transform .9s ease-out; }
  .kb-play .kb-bar2 { transition-delay: .9s; }
  .kb-play .kb-hl circle { fill-opacity: 1; transition: fill-opacity .8s ease-out .4s; }
}

/* Black Friday: bol's own list price under the price. Plain text, no badge, no red, no hype. */
.advice { margin: 4px 0 0; font-size: var(--text-2xs); line-height: 1.35; color: var(--text-soft); }
.advice-pct { display: block; color: var(--text); font-weight: var(--w-label); }
.bf-note { background: var(--surface-soft); border-radius: var(--radius-tile); padding: var(--space-3); font-size: var(--text-s); max-width: 65ch; margin: 0 0 var(--space-3); }
.bf-note p { margin: 0 0 var(--space-2); }
.bf-note p:last-child { margin-bottom: 0; }
.bf-size { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: 0 0 var(--space-3); }
.bf-size label { font-weight: var(--w-strong); font-size: var(--text-sm); }
.bf-size select { width: auto; min-width: 140px; max-width: 100%; flex: 1 1 140px; }
.bf-size .hint { flex: 0 0 100%; max-width: none; margin: 0; }
.more-cards > summary { margin: var(--space-3) 0 0; cursor: pointer; list-style: none; }
.more-cards > summary::-webkit-details-marker { display: none; }
.more-cards[open] > summary { margin-bottom: var(--space-1); }
.more-cards .when-open, .more-cards[open] .when-closed { display: none; }
.more-cards[open] .when-open { display: inline; }
.bf-faq h3 { font-size: var(--text-m); margin: var(--space-3) 0 var(--space-1); }
.results > h2 { margin: var(--space-3) 0 0; }

/* ============================================================
   TEST: /welke-kettlebell. Questions in one pebble, the weight range from the sources, three picks with one reason line each.
   ============================================================ */
.finder { background: var(--surface); border-radius: var(--radius-panel); box-shadow: var(--shadow-pebble); padding: 18px 16px 16px; display: grid; gap: var(--space-3); }
.finder fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.finder legend { padding: 0; margin: 0 0 var(--space-2); font-size: var(--text-m); font-weight: var(--w-head); }
.finder legend .soft { font-weight: 500; }
.finder .chip > span { min-height: 44px; font-size: var(--text-sm); }
.btn-block { display: flex; width: 100%; min-height: 52px; font-size: var(--text-m); }
/* summary bar: the form folded into one pill after an answer (details, no JS) */
.finder-details > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 48px; padding: 0 6px 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); cursor: pointer; list-style: none; font-size: var(--text-sm); }
.finder-details > summary::-webkit-details-marker { display: none; }
.summary-text b { color: var(--accent); font-weight: var(--w-strong); }
.summary-edit { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent); font-weight: var(--w-strong); font-size: var(--text-s); flex: none; }
.finder-details .when-open, .finder-details[open] .when-closed { display: none; }
.finder-details[open] .when-open { display: inline; }
.finder-details .finder { margin-top: 10px; }
.notice { background: var(--surface-soft); border-radius: var(--radius-tile); padding: var(--space-3); font-size: var(--text-s); max-width: 65ch; }
@media (min-width: 900px) { .finder, .finder-details { max-width: 640px; } }
/* the answer: weight range on an accent tint, then what the sources say */
.range { background: var(--accent-soft); border-radius: var(--radius-tile); padding: var(--space-3) 20px; max-width: 65ch; }
.range .range-label { margin: 0; font-size: var(--text-s); font-weight: var(--w-label); color: var(--text-soft-strong); }
.range .range-kg { margin: 0 0 var(--space-2); font-size: var(--text-2xl); font-weight: var(--w-head); line-height: 1.15; color: var(--accent); letter-spacing: -0.02em; }
.range p { margin: 0 0 var(--space-2); font-size: var(--text-s); }
.range-details { margin-top: var(--space-1); }
.range-details > summary { display: flex; align-items: center; min-height: var(--tap); font-size: var(--text-s); font-weight: var(--w-strong); color: var(--accent); cursor: pointer; }
.range-details[open] > summary { margin-bottom: var(--space-1); }
.range-src { margin: 0; padding-left: 1.2em; font-size: var(--text-s); }
.range-src li { margin-bottom: var(--space-1); }
.range-src li::marker { color: var(--accent); }
.range-src a { word-break: normal; }
.picks { display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1fr); margin-top: var(--space-3); }
.pick { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.pick .card { flex: 1; }
.card-reason { margin: 8px 0 10px !important; font-size: var(--text-s); line-height: 1.4; color: var(--text-soft-strong); }
.pick-note { max-width: 65ch; }
.more-links { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0 0; max-width: none; }
@media (min-width: 700px) { .picks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .pick .card-img { aspect-ratio: 2 / 1; } } /* one card per row: a flatter well keeps the next pick in view */
@media (max-width: 599px) { .more-links { flex-direction: column; } .more-links .btn { width: 100%; min-height: 52px; font-size: var(--text-m); } }
/* link box to the test, on the guide and the kettlebell page */
.test-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); background: var(--accent-soft); border-radius: var(--radius-tile); padding: var(--space-3) 20px; margin: var(--space-4) 0; max-width: 65ch; }
.test-box > div { flex: 1 1 260px; min-width: 0; }
.test-box strong { display: block; font-size: var(--text-m); font-weight: var(--w-head); }
.test-box p { margin: 2px 0 0; font-size: var(--text-s); color: var(--text-soft-strong); }
.test-box .btn { flex: none; margin: 0; }
@media (max-width: 599px) { .test-box .btn { width: 100%; } }

/* ranked cards (/beste-kettlebell): rank number on the image, rating line under the name, compact top-5 lists */
.rank { position: absolute; top: 8px; left: 8px; z-index: 1; min-width: 30px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-text); font-size: var(--text-sm); font-weight: var(--w-head); font-variant-numeric: tabular-nums; }
.rating { font-size: var(--text-s); color: var(--text-soft); margin-top: 2px !important; font-variant-numeric: tabular-nums; }
.rating b { color: var(--text); font-weight: var(--w-head); }
.mini-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: 8px; max-width: 65ch; }
.mini-list li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; background: var(--surface); border-radius: var(--radius-tile); padding: 10px 14px 10px 10px; }
.mini-list .rank { position: static; }
.mini-list .what { min-width: 0; }
.mini-list strong { display: block; font-size: var(--text-sm); font-weight: var(--w-strong); line-height: 1.3; overflow-wrap: anywhere; }
.mini-list small { display: block; font-size: var(--text-xs); color: var(--text-soft); font-variant-numeric: tabular-nums; }
.mini-list .shop { margin: 0; padding: 0 16px; white-space: nowrap; }
@media (max-width: 599px) { .mini-list li { grid-template-columns: 30px minmax(0, 1fr); } .mini-list .shop { grid-column: 2; justify-self: start; } }
.archive { max-width: 65ch; }
.archive h3 { margin-top: var(--space-3); }
.archive ol { margin: var(--space-1) 0 0; padding-left: 1.4em; font-size: var(--text-s); }
.formula { font-variant-numeric: tabular-nums; background: var(--surface); border-radius: var(--radius-tile); padding: 12px 16px; max-width: 65ch; margin: 0 0 var(--space-3); }

/* startpakket: a pack is a panel with a live total; each part is a row with its own swap chips and its own bol button. */
.packs { display: grid; gap: var(--space-3); margin-top: var(--space-3); }
.pack { background: var(--surface); border-radius: var(--radius-panel); padding: var(--space-3) 16px 6px; min-width: 0; }
.pack-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px var(--space-3); }
.pack-head h2 { margin: 0; }
.pack-total { margin: 0; font-size: var(--text-m); color: var(--text-soft); }
.pack-total strong { font-size: var(--text-xl); font-weight: var(--w-head); color: var(--text); font-variant-numeric: tabular-nums; }
.pack-split { margin: 2px 0 var(--space-2); }
.parts { list-style: none; margin: 0; padding: 0; }
.part { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.part-img { width: 72px; height: 72px; background: #fff; border-radius: var(--radius-img); position: relative; overflow: hidden; }
.part-img img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }
.part-body { min-width: 0; }
.part-body p { margin: 0; }
.part-kind { font-size: var(--text-s); color: var(--text-soft); font-weight: var(--w-label); }
.part-name { font-size: var(--text-m); font-weight: var(--w-strong); line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.part-facts { font-size: var(--text-s); color: var(--text-soft); margin-top: 2px !important; }
.part-facts b { color: var(--text); font-weight: var(--w-head); }
.part-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-2); }
.part-more { margin: var(--space-1) 0 0; }
.opt, .swap { font: var(--w-label) var(--text-s)/1 var(--font); min-height: 40px; padding: 0 14px; border-radius: var(--radius-pill); border: 0; background: var(--bg); color: var(--text); cursor: pointer; }
.opt:hover, .swap:hover { color: var(--accent); }
.opt[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); }
.opt:focus-visible, .swap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.swap { background: transparent; color: var(--accent); padding: 0 6px; font-weight: var(--w-strong); text-decoration: underline; text-underline-offset: 3px; }
.part-opts[hidden], .swap[hidden] { display: none; }
.part-buy { grid-column: 2; display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-2); }
.part-price { margin: 0; font-size: 1.125rem; font-weight: var(--w-head); font-variant-numeric: tabular-nums; }
.part-buy .btn { background: var(--accent-soft); border-color: transparent; color: var(--accent); min-height: 42px; }
.part-buy .btn:hover { background: var(--accent); color: var(--accent-text); }
@media (min-width: 700px) {
  .pack { padding: var(--space-3) 24px 6px; }
  .part { grid-template-columns: 88px minmax(0, 1fr) auto; align-items: start; }
  .part-img { width: 88px; height: 88px; }
  .part-buy { grid-column: 3; flex-direction: column; align-items: flex-end; gap: var(--space-2); margin-top: 0; }
}
@media (min-width: 1000px) { .packs { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .part { grid-template-columns: 72px minmax(0, 1fr); } .part-img { width: 72px; height: 72px; } .part-buy { grid-column: 2; flex-direction: row; align-items: center; margin-top: var(--space-2); } }
.packs > .pack { margin-top: 0; }
.pack-foot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding: 14px 0 12px; max-width: none; }
.part-same { font-size: var(--text-s); margin-top: 2px !important; }
.part-same[hidden] { display: none; }
.maat { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); margin: var(--space-3) 0 0; }
.maat-label { margin: 0; font-weight: var(--w-strong); font-size: var(--text-sm); }
.maat-opts { margin-top: 0; }
a.opt { display: inline-flex; align-items: center; text-decoration: none; }
a.opt[aria-current="true"] { background: var(--accent); color: var(--accent-text); }
.opt-more { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-s); color: var(--text-soft); }
.maat .opt { background: var(--surface); }
.maat .opt[aria-current="true"] { background: var(--accent); }
/* startpakket: optional foam roller row. The toggle is an .opt pill (aria-pressed); off = quieter row, price not in the total. */
.part-optional { display: block; font-weight: var(--w-body, 400); }
.roll-toggle { margin-top: var(--space-2); display: inline-flex; align-items: center; }
.roll-toggle::before { content: "+\00a0"; }
.roll-toggle[aria-pressed="true"]::before { content: "\2713\00a0"; }
.opt, .swap { min-height: 44px; }
.part-body .swap { display: flex; align-items: center; width: fit-content; margin-top: var(--space-1); }
.pack-note { flex-basis: 100%; margin: 0; font-size: var(--text-s); display: none; }
.pack.roll-js .pack-note { display: block; min-height: 1.4em; visibility: hidden; }
.pack.roll-on .pack-note { visibility: visible; }
.foot-amount { text-align: right; }

.part-roller.roll-off .part-img, .part-roller.roll-off .part-name, .part-roller.roll-off .part-facts, .part-roller.roll-off .part-price { opacity: .72; }
.incl { font-size: var(--text-s); color: var(--text-soft); }
.incl[hidden] { display: none; }
.part-body .swap[hidden] { display: none; }

/* guide, answer first: short answer + drawing, button pair, footnote marks, "Zo weten we dit" block (folded quotes) */
.guide-top { display: contents; }
.guide-lead { margin-top: var(--space-3); }
.answer { background: var(--surface); border-radius: var(--radius-tile); box-shadow: var(--shadow-pebble); padding: var(--space-3) var(--space-3) var(--space-2); }
.answer h2 { margin: 0 0 var(--space-2); font-size: var(--text-l); }
.answer p { margin: 0 0 var(--space-2); max-width: none; font-size: 1.125rem; line-height: 1.5; }
.guide-top .fg-figure, .guide-top .kb-figure { margin: var(--space-3) 0 var(--space-4); max-width: none; background: var(--surface-soft); border-radius: var(--radius-tile); padding: var(--space-3); }
.guide-top .fg-figure svg, .guide-top .kb-figure svg { max-width: 360px; margin: 0 auto; }
.guide-top .kb-figure svg { max-width: 440px; }
.guide-top figcaption { margin-top: var(--space-2); }
/* From 860px the page grid is: h1 over both columns, then answer + button and the first h2 in the left column, the drawing in the right column spanning both rows (sticky), so no gap opens under the buttons. */
@media (min-width: 860px) {
  div.guide { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto auto 1fr; grid-template-areas: "h1 h1" "lead fig" "body fig"; column-gap: var(--space-4); }
  div.guide > h1 { grid-area: h1; }
  div.guide > .guide-lead { grid-area: lead; }
  div.guide > .guide-body { grid-area: body; margin-top: var(--space-4); }
  .guide-top .fg-figure, .guide-top .kb-figure { grid-area: fig; align-self: start; position: sticky; top: var(--space-3); margin: var(--space-3) 0 0; display: flex; flex-direction: column; justify-content: center; }
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: var(--space-3) 0 0; }
.cta .btn-primary { min-height: 52px; padding: 0 1.6em; font-size: 1.0625rem; }
@media (max-width: 599px) { .cta .btn { width: 100%; text-align: center; } }
.guide sup { font-size: 0.7em; line-height: 0; margin-left: 1px; }
.guide sup a { padding: 0.5em 0.3em; margin: 0 -0.3em; text-decoration: none; }
.guide sup a:hover { text-decoration: underline; }
.guide-body > h2:first-child { margin-top: 0; }
.sources { max-width: calc(65ch + 2 * var(--space-3)); margin: var(--space-5) 0 0; padding: var(--space-3); background: var(--surface); border-radius: var(--radius-tile); }
.sources h2 { margin: 0 0 var(--space-2); font-size: var(--text-l); }
.sources ol { margin: 0 0 var(--space-2); padding-left: 1.5em; font-size: var(--text-s); }
.sources li { scroll-margin-top: 12px; }
.sources li:target { background: var(--accent-soft); border-radius: var(--radius-s); }
.sources h3 { margin: var(--space-3) 0 var(--space-1); font-size: var(--text-s); }
.orig > summary { display: flex; align-items: center; min-height: var(--tap); cursor: pointer; color: var(--accent); font-weight: var(--w-strong); font-size: var(--text-s); }
.orig ul { color: var(--text-soft); font-size: var(--text-s); margin: 0 0 var(--space-1); padding-left: 1.25em; }

/* Inline links in running text and card notes: a 44px tap area without changing the line height (as .pill does). */
.faq p a, .notice a, .card .size-note a, .soft.prose a { position: relative; }
.faq p a::before, .notice a::before, .card .size-note a::before, .soft.prose a::before { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }

/* Insluiten: the compact kettlebell test for other sites (/embed/welke-kettlebell) and the code box on /welke-kettlebell-insluiten. */
.embed { max-width: 640px; margin: 0 auto; padding: var(--space-3) 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-tile); box-sizing: border-box; }
.embed h1 { font-size: var(--text-l); margin-bottom: var(--space-2); }
.embed .finder { background: none; box-shadow: none; padding: 0; max-width: none; }
.embed .picks { grid-template-columns: minmax(0, 1fr); }
.embed .pick .card-img { aspect-ratio: 2 / 1; }
.embed .range { max-width: none; margin-top: var(--space-3); }
.embed .more-links { margin-top: var(--space-2); }
.embed-credit { margin: var(--space-3) 0 0; padding-top: var(--space-2); border-top: 1px solid var(--line); font-size: var(--text-s); color: var(--text-soft); text-align: center; max-width: none; }
.embed-credit a { color: var(--accent); font-weight: var(--w-label); }
.code-box { margin: 0 0 var(--space-3); max-width: 720px; }
.code-box h3 { margin-bottom: 6px; }
.code-box .code-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--space-2); }
.code-box pre { flex: 1 1 280px; min-width: 0; margin: 0; padding: 12px 14px; background: var(--surface-soft); border-radius: var(--radius-field); overflow-x: auto; font: 500 .8125rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.code-box .btn { min-height: 48px; align-self: flex-start; }
.code-box .hint { margin: 6px 0 0; }
.embed-preview { max-width: calc(640px + 2 * var(--space-3) + 2px); margin: 0 0 var(--space-4); padding: var(--space-3); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-panel); }
.embed-preview > .soft { margin: 0 0 var(--space-2); }
.embed-preview iframe { display: block; width: 100%; border: 0; }
.embed-facts { max-width: 65ch; padding-left: 1.2em; margin: 0 0 var(--space-3); display: grid; gap: 6px; }

/* Own drawings (.fg-figure) and header illustration (.hero-img). Drawn by hand as SVG, tokens only; the static copies in assets/img/*.svg carry the same rules. */
.fg-figure { margin: var(--space-3) 0; }
.fg-figure svg { display: block; width: 100%; height: auto; max-width: 440px; }
.fg-figure figcaption { margin-top: var(--space-1); }
.fg-figure figcaption p { margin: 0 0 var(--space-1); }
.fg-ink{fill:none;stroke:var(--text,#2a221d);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fg-line{stroke:var(--line,#ecdfd2);stroke-width:1.5;fill:none}
.fg-solid{fill:var(--accent,#4a4f8a)}
.fg-soft{fill:var(--accent-soft,#e4e5f2);stroke:var(--accent,#4a4f8a);stroke-width:2;stroke-dasharray:5 4}
.fg-pebble{fill:var(--accent-soft,#e4e5f2);stroke:none}
.fg-acc{fill:none;stroke:var(--accent,#4a4f8a);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fg-t{font-family:inherit;font-size:15px;font-weight:600;fill:var(--text,#2a221d)}
.fg-s{font-family:inherit;font-size:14px;fill:var(--text-soft,#75685c)}
.fg-n{font-family:inherit;font-size:14px;font-weight:700;fill:var(--accent-text,#fff)}
/* Header illustration. Below 960 px it follows the tool block, in the content column, 2:1. From 960 px it sits beside the h1 and lead, top aligned with the breadcrumb (absolute inside main, 5:2 and never taller than the shortest header, so the tool never moves down). The "AI" mark replaces a caption. */
.hero-img { position: relative; margin: var(--space-4) 0 var(--space-3); max-width: 760px; }
.hero-img img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius-tile); background: var(--accent-soft); }
.hero-img .ai-mark { position: absolute; right: var(--space-2); bottom: var(--space-2); margin: 0; padding: 1px 7px; border-radius: 999px; background: rgba(20,20,20,.38); color: rgba(255,255,255,.92); font-size: 11px; font-weight: 600; line-height: 18px; letter-spacing: .02em; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 960px) {
  main { position: relative; }
  .cat-head.has-hero { max-width: calc(100% - 380px); }
  .cat-head.has-hero ~ .hero-img { position: absolute; top: 28px; right: 16px; width: 340px; margin: 0; }
  .cat-head.has-hero ~ .hero-img img { aspect-ratio: 5 / 2; }
}
/* Foam rolling points: a list with a small pictogram each. No numbers, the sources give no order. */
.fg-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; }
.fg-list li { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0 0 var(--space-2); max-width: 65ch; }
.fg-ico { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 1px; }
