/* BesteFietsendrager: modelpagina (grid-hero + stapel kaartsecties). Alles onder .bfd-p; gedeelde delen staan in bfd-core.css. */

/* Blocksy: eigen titel (H1) staat in de hero; de standaard titelbalk en sidebar niet dubbel tonen. Echte oplossing = customizer (zie rapport). */
.bfd-model .hero-section, .bfd-model .ct-sidebar { display: none; }

/* Volle breedte binnen een smalle themakolom, zonder horizontale overflow */
.bfd-p { box-sizing: border-box; width: min(1200px, calc(100vw - 32px)); max-width: none; margin-inline: calc(50% - min(600px, 50vw - 16px)); color: var(--theme-palette-color-3, #3a4f66); }
.bfd-p *, .bfd-p *::before, .bfd-p *::after { box-sizing: border-box; min-width: 0; }
.bfd-p img { max-width: 100%; height: auto; }
.bfd-p .bfd-card__img img, .bfd-p .bfd-row__img img { height: 100%; }
.bfd-p h1, .bfd-p h2, .bfd-p h3 { overflow-wrap: anywhere; }
.bfd-concept { margin: 0 0 1rem; padding: .5rem .8rem; border-radius: 8px; background: #fff3cd; color: #5c4400; font-weight: 600; font-size: .9rem; }

/* ---------- Hero: twee kolommen op desktop, één op mobiel ---------- */
.bfd-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "head buy" "img buy"; gap: .8rem 2rem; align-items: start; margin-bottom: 1.2rem; }
.bfd-hero__head { grid-area: head; }
.bfd-hero__img { grid-area: img; }
.bfd-hero__buy { grid-area: buy; position: sticky; top: 1rem; }
.bfd-title { margin: .3rem 0 .4rem; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; font-weight: 800; color: var(--theme-palette-color-4, #192a3d); }
.bfd-brand { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--theme-palette-color-3, #3a4f66); text-decoration: none; }
a.bfd-brand:hover { text-decoration: underline; }
.bfd-bc ol { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 .4rem; padding: 0; list-style: none; font-size: .85rem; }
.bfd-bc li { margin: 0; }
.bfd-bc li + li::before { content: "›"; margin-right: .25rem; }
.bfd-bc a { color: inherit; }

.bfd-buy { padding: 1.1rem; background: var(--theme-palette-color-8, #fff); border: 1px solid var(--theme-palette-color-5, #dfe6ec); border-radius: 16px; box-shadow: 0 10px 30px color-mix(in srgb, var(--theme-palette-color-4, #192a3d) 14%, transparent); }
.bfd-chips--hero { margin-top: .8rem; }

/* Galerij */
.bfd-gal__main { display: grid; place-items: center; aspect-ratio: 4 / 3; max-height: 520px; background: #fff; border: 1px solid var(--theme-palette-color-5, #dfe6ec); border-radius: 16px; overflow: hidden; }
.bfd-gal__main img { width: 100%; height: 100%; object-fit: contain; }
.bfd-gal__main--empty { background: var(--theme-palette-color-6, #f2f5f7); }
.bfd-gal__th { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.bfd-gal__th li { margin: 0; }
.bfd-gal__th a { display: block; width: 56px; height: 56px; border: 2px solid var(--theme-palette-color-5, #dfe6ec); border-radius: 10px; overflow: hidden; background: #fff; }
.bfd-gal__th a[aria-current="true"] { border-color: var(--theme-palette-color-1, #2872fa); }
.bfd-gal__th a:focus-visible { outline: 3px solid var(--theme-palette-color-1, #2872fa); outline-offset: 2px; }
.bfd-gal__th img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Inhoudsopgave */
.bfd-toc ul { display: flex; gap: .5rem; margin: 0 0 1.2rem; padding: 0 0 .2rem; list-style: none; overflow-x: auto; scrollbar-width: thin; }
.bfd-toc li { margin: 0; flex: 0 0 auto; }
.bfd-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--theme-palette-color-5, #dfe6ec); border-radius: 999px; background: var(--theme-palette-color-8, #fff); color: var(--theme-palette-color-4, #192a3d); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bfd-toc a:hover { border-color: var(--theme-palette-color-1, #2872fa); }

/* ---------- Kaartsecties ---------- */
.bfd-sec { margin: 0 0 1.2rem; padding: 1.4rem; background: var(--theme-palette-color-8, #fff); border: 1px solid var(--theme-palette-color-5, #dfe6ec); border-radius: 16px; box-shadow: 0 4px 16px rgba(20, 40, 70, .06); scroll-margin-top: 1rem; }
.bfd-sec__h { margin: 0 0 .9rem; font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.25; color: var(--theme-palette-color-4, #192a3d); }
.bfd-h3 { margin: 0 0 .5rem; font-size: 1.05rem; color: var(--theme-palette-color-4, #192a3d); }
.bfd-lead { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.6; }
.bfd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.bfd-list { margin: 0; padding: 0; list-style: none; }
.bfd-list li { position: relative; margin: 0 0 .6rem; padding-left: 1.6rem; line-height: 1.5; }
.bfd-list li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.bfd-list--plus li::before { content: "✓"; color: #17572b; }
.bfd-list--min li::before { content: "!"; color: #9a3a00; }
.bfd-who { margin: 0; }
.bfd-who > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .3rem 1.2rem; padding: .7rem 0; border-top: 1px solid var(--theme-palette-color-5, #e6ecf1); }
.bfd-who > div:first-child { border-top: 0; padding-top: 0; }
.bfd-who dt { font-weight: 700; color: var(--theme-palette-color-4, #192a3d); }
.bfd-who dd { margin: 0; }

/* Tabellen */
.bfd-tbl { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: .95rem; }
.bfd-p .bfd-tbl th, .bfd-p .bfd-tbl td { padding: .6rem .6rem; text-align: left; vertical-align: middle; border: 0; border-top: 1px solid var(--theme-palette-color-5, #e6ecf1); background: transparent; }
.bfd-p .bfd-tbl tbody tr:first-child > * { border-top: 0; }
.bfd-p .bfd-tbl td { overflow-wrap: anywhere; }
.bfd-tbl thead th { border-top: 0; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--theme-palette-color-3, #3a4f66); }
.bfd-p .bfd-tbl--specs th { width: 38%; font-weight: 600; color: var(--theme-palette-color-4, #192a3d); }
.bfd-p .bfd-tbl--prices .is-best > * { background: color-mix(in srgb, #0B5A73 6%, #fff); }
.bfd-tbl--prices td[data-l="Prijs"] { font-size: .92rem; }
.bfd-tbl--prices a.bfd-btn { min-height: 46px; font-size: 1rem; white-space: nowrap; }
.bfd-tbl--prices a.bfd-btn.bfd-btn--ghost { font-size: .95rem; }
.bfd-tbl__none td { font-weight: 700; }
.bfd-badge { display: inline-block; padding: .05rem .5rem; border-radius: 999px; background: #d9f0df; color: #17572b; font-size: .75rem; font-weight: 800; }
.bfd-note { margin: .8rem 0 0; font-size: .88rem; }

/* Vergelijkbaar: drie kaarten vullen de breedte (geen lege vierde kolom) */
.bfd-sec .bfd-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* Past op deze auto's */
.bfd-fit__l { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.bfd-fit__g ul { margin: 0; padding: 0; list-style: none; }
.bfd-fit__g li { margin: 0 0 .35rem; line-height: 1.4; }
.bfd-fit__g li span { display: block; font-size: .85rem; color: var(--theme-palette-color-3, #3a4f66); }
.bfd-fit summary { cursor: pointer; display: flex; align-items: center; min-height: 44px; font-weight: 700; margin-bottom: .6rem; }

/* FAQ */
.bfd-faq__i { border-top: 1px solid var(--theme-palette-color-5, #e6ecf1); }
.bfd-faq__i:first-child { border-top: 0; }
.bfd-faq__i summary { display: flex; align-items: center; min-height: 48px; padding: .4rem 0; cursor: pointer; font-weight: 700; color: var(--theme-palette-color-4, #192a3d); }
.bfd-faq__a { padding: 0 0 .8rem; line-height: 1.6; }
.bfd-faq__a p { margin: 0; }

.bfd-more { margin: 0 0 1rem; }
.bfd-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.bfd-disc { margin: 0 0 1rem; font-size: .88rem; line-height: 1.5; }

/* ---------- Mobiele koopbalk ---------- */
.bfd-sticky { display: none; }

/* ---------- Mobiel / tablet ---------- */
@media (max-width: 859px) {
	.bfd-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "img" "buy"; }
	.bfd-hero__buy { position: static; }
	.bfd-gal__main { max-height: 340px; }
	.bfd-two { grid-template-columns: 1fr; }
	.bfd-who > div { grid-template-columns: 1fr; }
	.bfd-sec { padding: 1.1rem; }
	.bfd-model { padding-bottom: 84px; }
	.bfd-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--theme-palette-color-8, #fff); border-top: 1px solid var(--theme-palette-color-5, #dfe6ec); box-shadow: 0 -4px 16px rgba(0, 0, 0, .1); }
	.bfd-sticky .bfd-pb__l { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "p b" "s b"; align-items: center; column-gap: 12px; }
	.bfd-sticky .bfd-pb__price { grid-area: p; font-size: .95rem; font-weight: 700; }
	.bfd-sticky .bfd-pb__shop { grid-area: s; font-size: .8rem; }
	.bfd-sticky a.bfd-btn { grid-area: b; min-height: 48px; padding: .4rem 1.1rem; font-size: 1.05rem; }
	.bfd-sticky .bfd-pb__none, .bfd-sticky .bfd-pb__other { grid-column: 1 / -1; }
	.bfd-js .bfd-sticky:not(.is-on) { transform: translateY(110%); visibility: hidden; }
	.bfd-js .bfd-sticky { transition: transform .2s; }
}
@media (max-width: 859px) and (prefers-reduced-motion: reduce) { .bfd-js .bfd-sticky { transition: none; } }

/* Prijstabel als kaartjes op smalle schermen */
@media (max-width: 640px) {
	.bfd-p .bfd-tbl--prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.bfd-p .bfd-tbl--prices, .bfd-p .bfd-tbl--prices tbody { display: block; }
	.bfd-p .bfd-tbl--prices tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .8rem; padding: .8rem 0; border-top: 1px solid var(--theme-palette-color-5, #e6ecf1); }
	.bfd-p .bfd-tbl--prices tr:first-child { border-top: 0; }
	.bfd-p .bfd-tbl--prices th, .bfd-p .bfd-tbl--prices td { display: block; padding: 0; border: 0; }
	.bfd-p .bfd-tbl--prices td:nth-child(3) { grid-column: 1 / -1; font-size: .88rem; }
	.bfd-p .bfd-tbl--prices td:nth-child(4) { grid-column: 1 / -1; margin-top: .3rem; }
	.bfd-p .bfd-tbl--prices td:nth-child(4) a.bfd-btn { display: flex; width: 100%; }
	.bfd-p .bfd-tbl--prices .bfd-tbl__none { display: block; }
	.bfd-p .bfd-tbl--specs th, .bfd-p .bfd-tbl--specs td { padding: .55rem .3rem; }
	.bfd-p .bfd-tbl--specs th { width: 46%; }
}

/* Voordelen met groen vinkje in het witte prijsblok + kenmerktegels (3 x 2) eronder */
.bfd-pros{list-style:none;margin:.9rem 0 0;padding:.9rem 0 0;border-top:1px solid var(--theme-palette-color-5,#D5DEE4);display:grid;gap:.5rem}
.bfd-pros li{display:flex;align-items:flex-start;gap:.55rem;margin:0;color:#12242E;font-size:.98rem;line-height:1.35}
.bfd-pros__i{flex:0 0 20px;margin-top:.12rem}
.bfd-spec6{list-style:none;margin:.9rem 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}
.bfd-spec6 li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;text-align:center;min-height:84px;padding:.65rem .4rem;margin:0;background:#fff;border:1px solid var(--theme-palette-color-5,#D5DEE4);border-radius:12px;color:#12242E;font-size:.9rem;font-weight:600;line-height:1.2}
.bfd-spec6 svg{color:#0B5A73;flex:0 0 auto}
@media (max-width:420px){.bfd-spec6{gap:.4rem}.bfd-spec6 li{min-height:76px;font-size:.84rem}}
.bfd-spec6__ic{display:inline-flex;align-items:center;justify-content:center;gap:2px;color:#0B5A73}

/* Volledige review op de modelpagina */
.bfd-review{max-width:860px}
.bfd-review>*:first-child{margin-top:0}
.bfd-review__headline{margin:0 0 .6rem;font-size:1.2rem;font-weight:700;color:#12242E}
.bfd-review p{margin:0 0 1rem;line-height:1.65}
.bfd-review h3{margin:1.8rem 0 .6rem;font-size:1.3rem;line-height:1.25}
.bfd-review__fit{margin:.9rem 0;padding:.8rem 1rem;background:#F3F7F9;border-left:4px solid #0B5A73;border-radius:0 10px 10px 0}
.bfd-review__fit p:last-child{margin-bottom:0}
.bfd-review__label{margin:0 0 .35rem!important;font-weight:700;color:#083F52}
.bfd-review__kern{margin:1rem 0;padding:0;list-style:none;display:grid;gap:.5rem}
.bfd-review__kern li{position:relative;margin:0;padding:.55rem .8rem .55rem 2.1rem;background:#fff;border:1px solid var(--theme-palette-color-5,#D5DEE4);border-radius:10px}
.bfd-review__kern li::before{content:"";position:absolute;left:.8rem;top:.95rem;width:.75rem;height:.4rem;border-left:2px solid #1E8E3E;border-bottom:2px solid #1E8E3E;transform:rotate(-45deg)}
.bfd-review__strengths,.bfd-review__weaknesses{margin:1.2rem 0}
.bfd-review__strengths ul,.bfd-review__weaknesses ul{margin:0;padding:0;list-style:none;display:grid;gap:.9rem}
.bfd-review__strengths li,.bfd-review__weaknesses li{margin:0;padding:.9rem 1rem;background:#fff;border:1px solid var(--theme-palette-color-5,#D5DEE4);border-radius:12px}
.bfd-review__strengths li{border-left:4px solid #1E8E3E}
.bfd-review__weaknesses li{border-left:4px solid #C8460A}
.bfd-review__strengths li>strong,.bfd-review__weaknesses li>strong{display:block;margin-bottom:.3rem}
.bfd-review__strengths li p:last-child,.bfd-review__weaknesses li p:last-child{margin-bottom:0}
.bfd-review__alts{margin:.5rem 0 1rem;padding-left:1.2rem}

/* Alternatieven onder het prijsblok als het model niet leverbaar is in het gekozen land (compact) */
.bfd-alt{margin:.75rem 0 0;padding:.7rem .8rem;background:#fff;border:1px solid var(--theme-palette-color-5,#D5DEE4);border-left:4px solid #C8460A;border-radius:12px}
.bfd-alt__t{margin:0 0 .45rem;font-weight:700;font-size:.95rem;color:#12242E}
.bfd-alt__l{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.bfd-alt__l li{margin:0}
.bfd-alt__a{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:.6rem;padding:.3rem .2rem;color:#12242E;text-decoration:none;border-radius:8px}
.bfd-alt__a:hover{background:#F3F7F9}
.bfd-alt__img{display:block;width:44px;height:44px}
.bfd-alt__img img{width:44px;height:44px;object-fit:contain;display:block}
.bfd-alt__n{font-weight:600;font-size:.92rem;line-height:1.25;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.bfd-alt__p{font-size:.85rem;color:#4A5B66;white-space:nowrap}
.bfd-alt__b{padding:.3rem .7rem;border-radius:999px;background:#0B5A73;color:#fff;font-size:.85rem;font-weight:700}

