/* Productpagina FrameBlinds — huisstijl, gescoped onder .pdp
   Uitgangspunten: witte pagina, één kaartstijl (alleen de selector), secties gescheiden door witruimte
   en dunne lijnen, één lijststijl, spacing in stappen van 4/8/12/16/24/32/48/64px. */

@font-face { font-family: 'Urbanist'; src: url('../fonts/urbanist/Urbanist-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('../fonts/urbanist/Urbanist-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('../fonts/urbanist/Urbanist-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Urbanist'; src: url('../fonts/urbanist/Urbanist-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --fb-ink: #171B22;
  --fb-ink-2: #3E4654;
  --fb-blue: #459FC1;
  --fb-blue-hover: #3A90B1;
  --fb-ice: #E5F0F6;
  --fb-line: #EBEFF4;
  --fb-white: #FFFFFF;
  --fb-soft: #F6F8FA;
  --pdp-radius: 16px;
  --pdp-header: 0px;
}

body.pdp-body { background: var(--fb-white); }

.pdp {
  font-family: 'Urbanist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--fb-ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.pdp h1, .pdp h2, .pdp h3 { font-family: inherit; color: var(--fb-ink); }
.pdp a { color: var(--fb-ink); }

/* ---------- Knoppen en links ---------- */
.pdp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.pdp-btn:focus-visible { outline: 3px solid rgba(69,159,193,.5); outline-offset: 2px; }
.pdp .pdp-btn-primary { background: var(--fb-blue); color: var(--fb-ink); }
.pdp .pdp-btn-primary:hover { background: var(--fb-blue-hover); color: var(--fb-ink); }
.pdp .pdp-btn-dark { background: var(--fb-ink); color: #fff; }
.pdp .pdp-btn-dark:hover { background: #2A303B; color: #fff; }
.pdp .pdp-btn-dark.is-done { background: #1F6F8E; }
.pdp .pdp-btn-outline { background: var(--fb-white); border-color: var(--fb-ink); color: var(--fb-ink); }
.pdp .pdp-btn-outline:hover { background: var(--fb-ink); color: #fff; }
.pdp .pdp-btn-outline.is-done { background: #1F6F8E; border-color: #1F6F8E; color: #fff; }
.pdp-btn-long { display: none; }

/* ---------- Kruimelpad en kop ---------- */
.pdp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 12px; font-size: .875rem; color: var(--fb-ink-2); }
.pdp-crumbs a { color: var(--fb-ink-2); text-decoration: none; }
.pdp-crumbs a:hover { color: var(--fb-ink); text-decoration: underline; }

.pdp-head { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 8px; margin-bottom: 24px; }
.pdp-title { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
.pdp-rating { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: .95rem; color: var(--fb-ink-2) !important; }
.pdp-rating:hover span:last-child { text-decoration: underline; }
.pdp-score { background: var(--fb-ink); color: #fff; font-weight: 700; border-radius: 8px; padding: 1px 7px; font-size: .9rem; }
.pdp-stars { color: #F5B301; letter-spacing: 1px; font-size: .9rem; }
.pdp-head-price { display: none; }

/* ---------- Bovenste blok: links product, rechts kopen ---------- */
.pdp-top { padding-bottom: 64px; }
.pdp-top-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "head head" "gallery buy" "videos buy"; grid-template-rows: auto auto 1fr;
  column-gap: 48px; align-items: start;
}
.pdp-head { grid-area: head; }
.pdp-gallery { grid-area: gallery; }
.pdp-buy { grid-area: buy; scroll-margin-top: calc(var(--pdp-header) + 12px); }
.pdp-media-videos { grid-area: videos; margin-top: 32px; scroll-margin-top: calc(var(--pdp-header) + 64px); }
.modal-mode .pdp-top-grid { grid-template-columns: 1fr; grid-template-areas: "head" "buy"; }

/* Galerij */
.pdp-stage { position: relative; background: var(--fb-soft); border-radius: 12px; overflow: hidden; aspect-ratio: 2 / 1; }
.pdp-stage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .25s ease; }
.pdp-stage img.is-loading { opacity: .6; }
.pdp-stage:focus-visible { outline: 3px solid rgba(69,159,193,.5); outline-offset: 3px; }
.pdp-stage-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.95); color: var(--fb-ink);
  display: grid; place-items: center; font-size: 1rem; cursor: pointer;
  box-shadow: 0 1px 6px rgba(23,27,34,.15);
}
.pdp-stage-prev { left: 12px; }
.pdp-stage-next { right: 12px; }
.pdp-stage-count {
  position: absolute; right: 12px; bottom: 12px; padding: 2px 10px; border-radius: 999px;
  background: rgba(23,27,34,.7); color: #fff; font-size: .8rem; font-weight: 600;
}
.pdp-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.pdp-thumb {
  position: relative; display: block; padding: 0; border: 2px solid transparent; border-radius: 8px;
  overflow: hidden; background: var(--fb-soft); aspect-ratio: 3 / 2; cursor: pointer; text-decoration: none;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover, .pdp-thumb.is-active { border-color: var(--fb-blue); }
.pdp-thumb-video span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 2px;
  background: rgba(23,27,34,.5); color: #fff; font-weight: 600; font-size: .8rem;
}
.pdp-thumb-video span i { font-size: 1.1rem; }

/* Live voorbeeld van de samenstelling */
.pdp-preview {
  position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 100%; align-items: center; gap: 28px;
  padding: 20px 32px; background: radial-gradient(ellipse at 30% 40%, #FFFFFF 0%, var(--fb-soft) 60%, #EAF0F4 100%);
  animation: pdp-fade .25s ease;
}
.pdp-preview[hidden] { display: none; }
.pdp-preview-art { height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.pdp-preview-art canvas { height: 100%; width: auto; max-height: 100%; display: block; filter: drop-shadow(0 8px 16px rgba(23,27,34,.18)); }
.pdp-preview-caption { display: grid; gap: 6px; align-content: center; }
.pdp-preview-caption strong { font-size: 1.05rem; }
.pdp-preview-caption span { font-size: .95rem; }
.pdp-preview-caption small { font-size: .8rem; color: var(--fb-ink-2); line-height: 1.4; }
.pdp-preview-caption small a { font-weight: 600; text-underline-offset: 2px; }
.pdp-stage.is-preview .pdp-stage-count { display: none; }
@keyframes pdp-fade { from { opacity: 0; } to { opacity: 1; } }

.pdp-thumb-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 0 3px; background: var(--fb-soft); color: var(--fb-ink); }
.pdp-thumb-preview-art { flex: 1 1 auto; min-height: 0; display: flex; }
.pdp-thumb-preview-art canvas { height: 100%; width: auto; display: block; }
.pdp-thumb-preview-label { font-size: .68rem; font-weight: 700; line-height: 1; }

/* Mini-voorbeeld naast de prijs */
.pdp-pricebox.has-preview { grid-template-columns: auto minmax(0, 1fr) auto; }
.pdp-pricebox.has-preview .pdp-price-row { grid-column: 2; grid-row: 1; }
.pdp-pricebox.has-preview .pdp-actions .pdp-btn-outline { grid-column: 3; }
.pdp-mini-preview { grid-column: 1; grid-row: 1; width: 42px; height: 56px; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; }
.pdp-mini-preview canvas { width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(23,27,34,.18)); }
.pdp-mini-preview:focus-visible { outline: 3px solid rgba(69,159,193,.5); outline-offset: 3px; }

/* Video's onder de foto's */
.pdp-videos-title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; margin: 0 0 12px; }
.pdp-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pdp-video { margin: 0; }
.pdp-video .video-container { border-radius: 12px; overflow: hidden; }
.pdp-video video { width: 100%; display: block; aspect-ratio: 16 / 9; background: var(--fb-ink); }
.pdp-video figcaption { margin-top: 8px; font-size: .92rem; font-weight: 600; }
/* Rustige witte afspeelknop (overschrijft de grote blauwe knop uit styles.css) */
.pdp-video .video-container--poster-play .plyr__control--overlaid,
.pdp-video .video-container--poster-play .plyr--paused .plyr__control--overlaid {
  width: 56px !important; height: 56px !important; min-width: 56px !important; min-height: 56px !important; padding: 0 !important; border: 0 !important;
  background: rgba(255,255,255,.95) !important; color: var(--fb-ink) !important;
  box-shadow: 0 2px 12px rgba(23,27,34,.25) !important;
}
.pdp-video .video-container--poster-play .plyr--paused .plyr__control--overlaid:hover { background: #fff !important; box-shadow: 0 4px 16px rgba(23,27,34,.3) !important; }
.pdp-video .video-container--poster-play .plyr__control--overlaid svg { width: 18px !important; height: 18px !important; left: 2px; }

/* ---------- Selector (de enige kaart op de pagina) ---------- */
.pdp-config {
  background: var(--fb-white); border: 1px solid var(--fb-line); border-radius: var(--pdp-radius); overflow: hidden;
  scroll-margin-top: calc(var(--pdp-header) + 12px);
}
.pdp-row { padding: 12px 20px 14px; border-bottom: 1px solid var(--fb-line); transition: background-color .2s ease; }
.pdp-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; min-height: 1.3rem; }
.pdp-row-label { font-weight: 600; font-size: .95rem; }
.pdp-row-value { font-size: .875rem; color: var(--fb-ink-2); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-row-value.is-preview { color: var(--fb-ink); font-weight: 600; }
.pdp-row-help { font-size: .85rem; font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.pdp-row-help i { color: var(--fb-blue); }
.pdp-row-help:hover { text-decoration: underline; }
.pdp-row-text { margin: 0; font-size: .9rem; color: var(--fb-ink-2); }
.pdp-row-text[hidden] { display: none; }
.pdp-row.is-missing { background: #FFF6E5; }
.pdp-row.is-missing .pdp-row-label::after { content: ' · kies nog'; font-weight: 500; color: #8A5300; }

.pdp-size { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.pdp-size-x { color: var(--fb-ink-2); font-size: .95rem; }
.pdp-field { display: block; margin: 0; }
.pdp-field select {
  appearance: none; width: 100%; height: 44px; padding: 0 32px 0 12px;
  border: 1.5px solid var(--fb-line); border-radius: 10px; background: var(--fb-white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%23171B22' d='M1.6 5.1a.75.75 0 0 1 1.06 0L8 10.44l5.34-5.34a.75.75 0 1 1 1.06 1.06l-5.87 5.87a.75.75 0 0 1-1.06 0L1.6 6.16a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E") no-repeat right 12px center;
  font: inherit; font-size: 1rem; color: var(--fb-ink); cursor: pointer;
}
.pdp-field select:invalid { color: var(--fb-ink-2); }
.pdp-field select:hover { border-color: #CBD5E1; }
.pdp-field select:focus { outline: none; border-color: var(--fb-blue); box-shadow: 0 0 0 3px rgba(69,159,193,.2); }

.pdp-segments { display: grid; grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--fb-soft); border-radius: 12px; }
.pdp-segment { position: relative; margin: 0; cursor: pointer; min-width: 0; }
.pdp-segment input { position: absolute; opacity: 0; pointer-events: none; }
.pdp-segment span {
  display: flex; align-items: center; justify-content: center; height: 38px; padding: 0 6px; border-radius: 9px;
  font-weight: 600; font-size: .9rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--fb-ink-2); transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.pdp-segment:hover span { color: var(--fb-ink); }
.pdp-segment input:checked + span { background: var(--fb-white); color: var(--fb-ink); box-shadow: 0 1px 3px rgba(23,27,34,.12), inset 0 0 0 1.5px var(--fb-ink); }
.pdp-segment input:focus-visible + span { box-shadow: 0 0 0 3px rgba(69,159,193,.45); }

.pdp-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-swatches[hidden] { display: none; }
.pdp-swatch { position: relative; margin: 0; cursor: pointer; line-height: 0; }
.pdp-swatch input { position: absolute; opacity: 0; pointer-events: none; }
.pdp-swatch-chip {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(23,27,34,.18); outline: 2px solid transparent; outline-offset: 2px;
  transition: outline-color .15s ease;
}
.pdp-swatch-chip img { width: 100%; height: 100%; object-fit: cover; }
.pdp-swatch:hover .pdp-swatch-chip { outline-color: #CBD5E1; }
.pdp-swatch input:checked + .pdp-swatch-chip { outline-color: var(--fb-ink); }
.pdp-swatch input:focus-visible + .pdp-swatch-chip { outline-color: var(--fb-blue); }
.pdp-swatch-custom { background: var(--fb-white); color: var(--fb-ink); font-size: 1rem; box-shadow: none; border: 1.5px dashed #8A94A3; line-height: 1; }
.pdp-swatch-custom[style*="background"] i { display: none; }

/* Andere RAL-kleur: nummer invullen */
.pdp-ral-custom { margin-top: 10px; display: grid; gap: 6px; }
.pdp-ral-custom[hidden] { display: none; }
.pdp-ral-custom label { font-size: .88rem; font-weight: 600; }
.pdp-ral-field { display: flex; align-items: center; gap: 8px; max-width: 240px; height: 42px; padding: 0 10px; border: 1.5px solid var(--fb-line); border-radius: 10px; background: var(--fb-white); }
.pdp-ral-field:focus-within { border-color: var(--fb-blue); box-shadow: 0 0 0 3px rgba(69,159,193,.2); }
.pdp-ral-prefix { font-weight: 600; color: var(--fb-ink-2); }
.pdp-ral-field input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; letter-spacing: .04em; background: transparent; color: var(--fb-ink); }
.pdp-ral-field input.is-invalid { color: #8A3300; }
.pdp-ral-dot { flex: 0 0 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(23,27,34,.18); background: repeating-linear-gradient(45deg, #EEF1F4 0 4px, #fff 4px 8px); }
.pdp-ral-msg { margin: 0; font-size: .82rem; color: var(--fb-ink-2); }

/* Prijs links met "Toevoegen" ernaast; meetafspraak eronder */
.pdp-pricebox { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 20px 20px; background: var(--fb-soft); }
.pdp-price-row { display: grid; row-gap: 2px; }
.pdp-price { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.pdp-price .text-success { color: var(--fb-ink) !important; font-weight: 700 !important; }
.pdp-price .text-muted { color: var(--fb-ink-2) !important; vertical-align: middle; }
.pdp-price-sub { font-size: .85rem; line-height: 1.3; color: var(--fb-ink-2); }
.pdp-price-extra { font-size: .85rem; line-height: 1.25; font-weight: 600; }
.pdp-price-extra[hidden] { display: none; }
.pdp-config-error { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 8px 12px; border-radius: 10px; background: #FFF6E5; color: #6B4100; font-size: .9rem; font-weight: 600; }
.pdp-config-error[hidden] { display: none; }
.pdp-added { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 12px; border-radius: 10px; background: var(--fb-ice); font-size: .92rem; font-weight: 600; }
.pdp-added[hidden] { display: none; }
.pdp-added i { color: #1F6F8E; margin-right: 4px; }
.pdp-added button { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--fb-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pdp-actions { display: contents; }
.pdp-actions .pdp-btn { min-height: 46px; font-size: .95rem; }
.pdp-actions .pdp-btn-outline { grid-column: 2; grid-row: 1; }
.pdp-actions .pdp-btn-primary { grid-column: 1 / -1; width: 100%; }

/* Zekerheden onder de selector: één lijststijl, compact */
.pdp-trust { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.pdp-trust li { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.pdp-trust i { color: var(--fb-blue); font-size: 1.05rem; }
.pdp-samples { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--fb-line); font-size: .92rem; color: var(--fb-ink-2); }
.pdp-samples a { font-weight: 600; text-underline-offset: 3px; }

/* ---------- Sectienavigatie ---------- */
.pdp-tabs { position: sticky; top: var(--pdp-header); z-index: 20; background: var(--fb-white); border-bottom: 1px solid var(--fb-line); border-top: 1px solid var(--fb-line); }
.pdp-tabs-inner { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
.pdp-tabs-inner::-webkit-scrollbar { display: none; }
.pdp-tabs a { flex: 0 0 auto; padding: 16px 0 14px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--fb-ink-2); border-bottom: 2px solid transparent; }
.pdp-tabs a:hover { color: var(--fb-ink); }
.pdp-tabs a.is-active { color: var(--fb-ink); border-bottom-color: var(--fb-ink); }
.pdp-tabs-buy { display: none; margin-left: auto; align-items: center; gap: 16px; flex: 0 0 auto; padding: 6px 0; }
.pdp-tabs-buy .pdp-btn { min-height: 40px; padding: 6px 18px; font-size: .9rem; border-bottom: 0; color: var(--fb-ink); }
.pdp-tabs-price { font-weight: 700; white-space: nowrap; }
.pdp-tabs-price .text-success { color: var(--fb-ink) !important; }
.pdp-tabs-price a { display: none; }
body.pdp-buy-out .pdp-tabs-buy { display: flex; }

/* ---------- Secties ---------- */
.pdp-section { padding: 64px 0; border-top: 1px solid var(--fb-line); scroll-margin-top: calc(var(--pdp-header) + 56px); }
.pdp-sections > .pdp-section:first-child { border-top: 0; }
.pdp-h2 { font-size: 1.75rem; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 24px; }
.pdp-section-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }

/* Omschrijving */
.pdp-prose { max-width: 68ch; }
.pdp-prose h3 { font-size: 1.15rem; font-weight: 600; margin: 24px 0 8px; }
.pdp-prose h3:first-child { margin-top: 0; }
.pdp-prose p { margin: 0 0 16px; }
.pdp-clamp { max-height: 20rem; overflow: hidden; position: relative; }
.pdp-clamp::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6rem; background: linear-gradient(rgba(255,255,255,0), #fff); }
.pdp-clamp.is-open { max-height: none; }
.pdp-clamp.is-open::after { display: none; }
.pdp-readmore { margin-top: 8px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--fb-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Plus- en minpunten naast de omschrijving */
.pdp-pc { padding-left: 32px; border-left: 1px solid var(--fb-line); }
.pdp-pc h3 { font-size: 1rem; font-weight: 600; margin: 0 0 16px; }
.pdp-proscons { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pdp-proscons li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; line-height: 1.45; }
.pdp-pc-icon { flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; line-height: 1; }
.is-plus .pdp-pc-icon { background: var(--fb-ice); color: #1F6F8E; }
.is-min .pdp-pc-icon { background: var(--fb-line); color: var(--fb-ink-2); }
.is-min { color: var(--fb-ink-2); }

/* Specificaties: tabellen zonder kaders */
.pdp-specs { columns: 2; column-gap: 64px; }
.pdp-spec-group { break-inside: avoid; margin: 0 0 32px; }
.pdp-spec-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; pointer-events: none; }
.pdp-spec-group summary::-webkit-details-marker { display: none; }
.pdp-spec-group summary i { display: none; color: var(--fb-ink-2); transition: transform .2s ease; }
.pdp-spec-group h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.pdp-spec-group dl { margin: 0; }
.pdp-spec-group dl > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 10px 0; border-top: 1px solid var(--fb-line); font-size: .95rem; }
.pdp-spec-group dt { font-weight: 400; color: var(--fb-ink-2); }
.pdp-spec-group dd { margin: 0; }

/* Werkwijze: licht paneel binnen de contentbreedte, stappen als tijdlijn.
   Bewust geen donker vlak over de volle breedte: dat leest als footer of einde van de pagina. */
.pdp-band { padding: 16px 0 64px; scroll-margin-top: calc(var(--pdp-header) + 56px); }
.pdp-band-inner {
  position: relative; overflow: hidden; border-radius: var(--pdp-radius); padding: 48px;
  background: linear-gradient(135deg, var(--fb-soft) 0%, #EAF3F8 100%);
}
/* Zachte lichtvlek als achtergronddecoratie */
.pdp-band-inner::before {
  content: ''; position: absolute; right: -120px; top: -140px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(69,159,193,.18) 0%, rgba(69,159,193,0) 70%); pointer-events: none;
}
.pdp-band-inner > * { position: relative; }
.pdp-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.pdp-steps li { position: relative; }

/* Verbindingslijn: grijze basis met een blauwe lijn die zich vult */
.pdp-steps li:not(:last-child)::before,
.pdp-steps li:not(:last-child)::after { content: ''; position: absolute; top: 31px; left: 80px; right: -32px; height: 2px; border-radius: 2px; }
.pdp-steps li:not(:last-child)::before { background: #D5DEE7; }
.pdp-steps li:not(:last-child)::after { background: var(--fb-blue); transform-origin: left center; }

.pdp-steps-icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px;
  border-radius: 50%; background: var(--fb-white); color: var(--fb-blue); font-size: 1.6rem;
  box-shadow: 0 4px 14px rgba(23,27,34,.08), 0 0 0 1px rgba(23,27,34,.04);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pdp-steps li:hover .pdp-steps-icon { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(23,27,34,.12), 0 0 0 1px rgba(23,27,34,.04); }
.pdp-steps-no {
  position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--fb-blue); color: var(--fb-ink); font-size: .78rem; font-weight: 700; box-shadow: 0 0 0 3px var(--fb-white);
}
.pdp-steps h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 6px; }
.pdp-steps p { margin: 0; color: var(--fb-ink-2); }
.pdp-band-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.pdp-band-note { font-size: .92rem; color: var(--fb-ink-2); }

/* Animatie: alleen actief als JS het blok markeert en er geen voorkeur voor minder beweging is */
.pdp-steps.is-animated li { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 220ms); }
.pdp-steps.is-animated .pdp-steps-icon { transform: scale(.6); transition: transform .55s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease; transition-delay: calc(var(--i) * 220ms + 120ms); }
.pdp-steps.is-animated li:not(:last-child)::after { transform: scaleX(0); transition: transform .7s ease; transition-delay: calc(var(--i) * 220ms + 380ms); }
.pdp-steps.is-animated.is-visible li { opacity: 1; transform: none; }
.pdp-steps.is-animated.is-visible .pdp-steps-icon { transform: none; }
.pdp-steps.is-animated.is-visible li:hover .pdp-steps-icon { transform: translateY(-3px); transition-delay: 0s; }
.pdp-steps.is-animated.is-visible li:not(:last-child)::after { transform: scaleX(1); }

/* Uitnodiging bij stap 1: zachte pulserende ring */
.pdp-steps.is-visible li:first-child .pdp-steps-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--fb-blue);
  animation: pdp-ping 2.6s ease-out 1.6s infinite; opacity: 0;
}
@keyframes pdp-ping {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pdp-steps li, .pdp-steps-icon, .pdp-steps li::after { transition: none !important; animation: none !important; }
  .pdp-steps-icon::after { display: none; }
}

/* Reviews: samenvatting links, reviews als rustige lijst */
.pdp-reviews { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.pdp-review-summary { display: grid; gap: 8px; }
.pdp-review-big { font-size: 3.5rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.pdp-review-summary p { margin: 0; font-size: .95rem; color: var(--fb-ink-2); }
.pdp-recommend { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; margin-top: 8px; }
.pdp-recommend-bar { height: 6px; border-radius: 999px; background: var(--fb-line); overflow: hidden; }
.pdp-recommend-bar span { display: block; height: 100%; background: var(--fb-blue); }
.pdp-review-summary .pdp-review-cert { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--fb-line); font-size: .875rem; }
.pdp-review-cert i { color: var(--fb-blue); }
.pdp-review-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .92rem; font-weight: 600; text-underline-offset: 3px; }
.pdp-review-all i { font-size: .8rem; color: var(--fb-ink-2); }
.pdp-review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.pdp-review { display: grid; gap: 8px; align-content: start; padding: 20px 0 24px; border-top: 1px solid var(--fb-line); }
.pdp-review-head { display: flex; align-items: center; gap: 10px; }
.pdp-review h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.pdp-review-score { flex: 0 0 auto; background: var(--fb-ink); color: #fff; font-weight: 700; font-size: .8rem; border-radius: 6px; padding: 1px 6px; }
.pdp-review p { margin: 0; font-size: .95rem; }
.pdp-review .pdp-review-meta { font-size: .85rem; color: var(--fb-ink-2); }

/* Vragen */
.pdp-faq { border-top: 1px solid var(--fb-line); max-width: 760px; }
.pdp-faq details { border-bottom: 1px solid var(--fb-line); }
.pdp-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; cursor: pointer; }
.pdp-faq summary::-webkit-details-marker { display: none; }
.pdp-faq summary i { color: var(--fb-ink-2); transition: transform .2s ease; }
.pdp-faq details[open] summary i { transform: rotate(45deg); }
.pdp-faq details p { margin: 0; padding: 0 0 20px; color: var(--fb-ink-2); max-width: 64ch; }

/* Ramencheck: het enige lichtblauwe vlak */
.pdp-fit { position: sticky; top: calc(var(--pdp-header) + 80px); display: grid; gap: 12px; justify-items: start; padding: 28px; border-radius: var(--pdp-radius); background: var(--fb-ice); }
.pdp-fit-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--fb-white); color: var(--fb-blue); display: grid; place-items: center; font-size: 1.3rem; }
.pdp-fit h3 { font-size: 1.15rem; font-weight: 600; margin: 4px 0 0; line-height: 1.3; }
.pdp-fit p { margin: 0 0 4px; color: var(--fb-ink-2); font-size: .95rem; }

/* ---------- Mobiele balk onderin ---------- */
.pdp-stickybar { display: none; }
.pdp-stickybar.is-visible { transform: translateY(0); visibility: visible; }
.pdp-stickybar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.pdp-stickybar-product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pdp-stickybar-product > div { display: grid; line-height: 1.25; min-width: 0; }
.pdp-stickybar-product strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdp-stickybar-price { font-weight: 700; }
.pdp-stickybar-price .text-success { color: var(--fb-ink) !important; }
.pdp-stickybar-price a { display: none; }
.pdp-stickybar-actions { display: flex; gap: 8px; flex: 0 0 auto; }

/* ---------- Modal-weergave (bewerken vanuit de prijsopgave) ---------- */
body.modal-mode { background: var(--fb-white); padding: 16px; }
body.modal-mode .pdp-top { padding-bottom: 0; }
body.modal-mode .pdp-rating { display: none; }

/* ---------- Kleinere laptops: 12 kleuren nog op één regel ---------- */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .pdp-swatch-chip { width: 34px; height: 34px; }
  .pdp-swatches { gap: 7px; }
  .pdp-top-grid { column-gap: 32px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
  .pdp-top-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "gallery" "buy" "videos"; grid-template-rows: auto; row-gap: 24px; }
  .pdp-head { display: block; margin-bottom: 0; }
  .pdp-head .pdp-title { margin-bottom: 8px; }
  .pdp-media-videos { margin-top: 8px; }
  .pdp-section-grid { grid-template-columns: 1fr; gap: 32px; }
  .pdp-pc { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid var(--fb-line); }
  .pdp-fit { position: static; }
  .pdp-reviews { grid-template-columns: 1fr; gap: 24px; }
  .pdp-steps { grid-template-columns: 1fr; gap: 24px; }
  .pdp-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; align-content: start; }
  .pdp-steps-icon { grid-row: span 2; width: 56px; height: 56px; margin: 0; font-size: 1.4rem; }
  .pdp-steps li:not(:last-child)::before,
  .pdp-steps li:not(:last-child)::after { top: 64px; bottom: -24px; left: 27px; right: auto; width: 2px; height: auto; }
  .pdp-steps li:not(:last-child)::after { transform-origin: center top; }
  .pdp-steps.is-animated li:not(:last-child)::after { transform: scaleY(0); }
  .pdp-steps.is-animated.is-visible li:not(:last-child)::after { transform: scaleY(1); }
  .pdp-band-inner { padding: 32px; }
}

/* ---------- Mobiel ---------- */
@media (max-width: 767.98px) {
  .pdp { font-size: 1rem; }
  .pdp-crumbs { padding: 12px 0 8px; font-size: .82rem; }
  .pdp-crumbs a:first-child, .pdp-crumbs a:first-child + span { display: none; }
  .pdp-top { padding-bottom: 40px; }
  .pdp-top-grid { row-gap: 16px; }

  /* Kop met prijs direct zichtbaar */
  .pdp-title { font-size: 1.85rem; }
  .pdp-rating { font-size: .88rem; }
  .pdp-head-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 12px 0 0; }
  .pdp-head-price > span { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
  .pdp-head-price > span .text-success { color: var(--fb-ink) !important; }
  .pdp-head-price > span a { display: none; }
  .pdp-head-price > a { font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

  /* Galerij rand-tot-rand, miniaturen als strip */
  .pdp-stage { aspect-ratio: 16 / 10; border-radius: 0; margin: 0 -16px; }
  .pdp-stage-nav { width: 36px; height: 36px; }
  .pdp-stage-prev { left: 10px; }
  .pdp-stage-next { right: 10px; }
  .pdp-stage-count { right: 10px; bottom: 10px; }
  .pdp-thumbs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 8px -16px 0; padding: 0 16px; scroll-padding-inline: 16px; }
  .pdp-thumbs::-webkit-scrollbar { display: none; }
  .pdp-thumb { flex: 0 0 68px; height: 52px; aspect-ratio: auto; }
  .pdp-preview { gap: 16px; padding: 12px 16px; }
  .pdp-preview-caption strong { font-size: .95rem; }
  .pdp-preview-caption span { font-size: .85rem; }
  .pdp-preview-caption small { font-size: .72rem; }
  .pdp-mini-preview { width: 34px; height: 46px; }
  .pdp-pricebox.has-preview { column-gap: 10px; }
  .pdp-pricebox.has-preview .pdp-price { font-size: 1.05rem; }

  /* Selector */
  .pdp-config { scroll-margin-top: calc(var(--pdp-header) + 6px); }
  .pdp-row { padding: 9px 14px 10px; }
  .pdp-row-head { margin-bottom: 6px; }
  .pdp-row-label { font-size: .92rem; }
  .pdp-field select { height: 42px; }
  .pdp-segments { grid-template-columns: repeat(var(--count, 3), auto); }
  .pdp-segment span { font-size: .82rem; height: 36px; padding: 0 4px; }
  .pdp-swatches { gap: 7px; }
  .pdp-swatch-chip { width: 36px; height: 36px; }
  .pdp-pricebox { padding: 12px 14px 14px; gap: 10px; }
  .pdp-price { font-size: 1.3rem; }
  .pdp-actions .pdp-btn-outline { padding: 8px 14px; font-size: .9rem; }
  .pdp-price-sub, .pdp-price-extra { font-size: .8rem; }
  .pdp-trust { margin-top: 16px; grid-template-columns: 1fr; gap: 6px; }
  .pdp-trust li { font-size: .875rem; }
  .pdp-samples { font-size: .875rem; }

  /* Video's en reviews als veegbare kaarten */
  .pdp-videos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .pdp-videos::-webkit-scrollbar { display: none; }
  .pdp-video { flex: 0 0 82%; scroll-snap-align: start; }

  /* Tabs */
  .pdp-tabs .container { position: relative; }
  .pdp-tabs .container::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 40px; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 75%); }
  .pdp-tabs-inner { gap: 20px; padding-right: 32px; }
  .pdp-tabs a { padding: 14px 0 12px; font-size: .9rem; }
  .pdp-tabs-buy, body.pdp-buy-out .pdp-tabs-buy { display: none; }

  /* Secties */
  .pdp-section { padding: 40px 0; }
  .pdp-h2 { font-size: 1.45rem; margin-bottom: 16px; }
  .pdp-clamp { max-height: 15rem; }

  .pdp-specs { columns: 1; }
  .pdp-spec-group { margin: 0; border-bottom: 1px solid var(--fb-line); }
  .pdp-spec-group:first-child { border-top: 1px solid var(--fb-line); }
  .pdp-spec-group summary { pointer-events: auto; cursor: pointer; padding: 14px 0; }
  .pdp-spec-group summary i { display: inline-block; }
  .pdp-spec-group[open] summary i { transform: rotate(180deg); }
  .pdp-spec-group dl { padding-bottom: 8px; }
  .pdp-spec-group dl > div { gap: 12px; font-size: .9rem; padding: 8px 0; }

  .pdp-band { padding: 8px 0 40px; }
  .pdp-band-inner { padding: 24px 20px; margin: 0 -4px; }
  .pdp-steps { margin-top: 20px; gap: 20px; }
  .pdp-steps li:not(:last-child)::before, .pdp-steps li:not(:last-child)::after { bottom: -20px; }
  .pdp-steps h3 { font-size: 1.02rem; }
  .pdp-steps p { font-size: .95rem; }
  .pdp-band-cta { margin-top: 24px; }
  .pdp-band-cta .pdp-btn { width: 100%; }
  .pdp-band-note { width: 100%; text-align: center; font-size: .85rem; }

  .pdp-review-summary { grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .pdp-review-big { grid-row: span 2; font-size: 2.75rem; }
  .pdp-review-summary > p, .pdp-recommend, .pdp-review-summary .pdp-review-cert { grid-column: 1 / -1; }
  .pdp-review-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .pdp-review-list::-webkit-scrollbar { display: none; }
  .pdp-review { flex: 0 0 86%; scroll-snap-align: start; padding: 16px; border: 0; border-radius: 12px; background: var(--fb-soft); }
  .pdp-review p { font-size: .93rem; }

  .pdp-faq summary { padding: 16px 0; font-size: .97rem; }
  .pdp-fit { padding: 20px; }

  /* Balk onderin */
  .pdp-stickybar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020;
    background: var(--fb-white); border-top: 1px solid var(--fb-line); box-shadow: 0 -4px 16px rgba(23,27,34,.08);
    transform: translateY(120%); visibility: hidden; transition: transform .25s ease, visibility .25s;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .pdp-stickybar-product img { display: none; }
  .pdp-stickybar-product strong { font-size: .8rem; font-weight: 500; }
  .pdp-stickybar-price { font-size: 1.05rem; }
  .pdp-stickybar .pdp-btn { min-height: 46px; padding: 8px 18px; font-size: .92rem; }
  body.pdp-bar-on .whatsapp-bubble,
  body.pdp-bar-on .winkelmandje-sticky-btn { bottom: calc(80px + env(safe-area-inset-bottom)) !important; transition: bottom .25s ease; }
  body.pdp-body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- Heel smalle telefoons ---------- */
@media (max-width: 374.98px) {
  .pdp-price { font-size: 1.15rem; }
  .pdp-pricebox.has-preview .pdp-price { font-size: .98rem; }
  .pdp-actions .pdp-btn-outline .bi { display: none; }
  .pdp-segment span { font-size: .76rem; padding: 0 3px; }
}

/* Telefoons tot 390px: ruimte maken voor het mini-voorbeeld naast de prijs */
@media (max-width: 389.98px) {
  .pdp-pricebox.has-preview .pdp-actions .pdp-btn-outline .bi { display: none; }
}
