/* Stijl voor de losse blendpagina's onder /de-blends/<slug>.
   Bewust smal gehouden: de designlaag doet de typografie en de kleuren, hier staat
   alleen wat deze paginavorm extra nodig heeft. */

.bd-wrap {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter) var(--section-space-desktop);
}

.bd-kruimels {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding: 22px 0 26px;
}
.bd-kruimels a { color: var(--color-text-secondary); }
.bd-kruimels a:hover { color: var(--brand-tekst); }
.bd-kruimels span[aria-current] { color: var(--color-text-primary); }

/* ── hero: verpakking links, koopinformatie rechts ─────────────────────── */
.bd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: color-mix(in srgb, var(--kaartkleur) 12%, var(--color-bg-primary));
  border: 1px solid color-mix(in srgb, var(--kaartkleur) 24%, var(--color-border));
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.bd-beeld { aspect-ratio: 1 / 1; display: grid; place-items: center; }
.bd-beeld img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .16));
}

.bd-eye {
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--color-accent-text); margin: 0 0 12px;
}
.bd-titel { margin: 0 0 14px; }
.bd-smaak { font-size: var(--fs-hero-sub); color: var(--color-text-secondary); margin: 0 0 14px; }
.bd-inhoud, .bd-cafeine, .bd-bio {
  font-size: 14px; color: var(--color-text-secondary); margin: 0 0 4px;
}
.bd-bio { margin-top: 14px; }
.bd-prijs { font-size: 26px; font-weight: 600; margin: 16px 0 18px; }

.bd-koop { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.bd-knop {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  border-radius: var(--radius-button);
  background: var(--color-text-primary); color: #fff;
  font-weight: 600; font-size: var(--fs-button);
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; transition: background .25s, transform .2s;
}
.bd-knop:hover { background: var(--brand-tekst); transform: translateY(-2px); }
.bd-terug { font-size: 14px; color: var(--color-text-secondary); min-height: 44px; display: inline-flex; align-items: center; }
.bd-terug:hover { color: var(--brand-tekst); }

/* ── uitklapbare secties ───────────────────────────────────────────────── */
.bd-secties { max-width: var(--text-max-width); margin: clamp(2rem, 5vw, 3.5rem) 0 0; }
.bd-acc { border-top: 1px solid var(--color-border); }
.bd-acc:last-child { border-bottom: 1px solid var(--color-border); }
.bd-acc summary {
  list-style: none; cursor: pointer;
  padding: 16px 0; min-height: 44px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 16px;
}
.bd-acc summary::-webkit-details-marker { display: none; }
.bd-acc summary::after { content: "+"; font-size: 22px; color: var(--color-accent-text); }
.bd-acc[open] summary::after { content: "\2212"; }
.bd-acc-body { padding: 0 0 18px; color: var(--color-text-secondary); font-size: 15.5px; }

/* Voedingswaardetabel i.p.v. lopende tekst (Hélène-feedback 2026-09-25). */
.bd-voeding { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 4px; }
.bd-voeding th, .bd-voeding td { padding: .5rem .4rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.bd-voeding th { font-weight: 600; color: var(--color-text-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.bd-voeding th:not(:first-child), .bd-voeding td:not(:first-child) { text-align: right; white-space: nowrap; }
.bd-voeding tbody tr:last-child td { border-bottom: none; }

/* Acht losse blends: compacte tabel, bestaande beide waardekolommen behouden. */
.bd-v2 .bd-voeding { width: auto; max-width: 100%; font-size: 14px; line-height: 1.45; }
.bd-v2 .bd-voeding th, .bd-v2 .bd-voeding td { padding: 6px 8px; vertical-align: top; }
.bd-v2 .bd-voeding th:first-child, .bd-v2 .bd-voeding td:first-child { padding-left: 0; max-width: 12rem; overflow-wrap: anywhere; }
.bd-v2 .bd-voeding th:not(:first-child), .bd-v2 .bd-voeding tbody tr:first-child td:not(:first-child) { white-space: normal; }
.bd-v2 .bd-voeding th:last-child, .bd-v2 .bd-voeding td:last-child { padding-right: 4px; }
@media (max-width: 767px) {
  .bd-v2 .bd-voeding { width: 100%; table-layout: fixed; }
  .bd-v2 .bd-voeding th:first-child { width: 40%; }
  .bd-v2 .bd-voeding th:not(:first-child) { width: 30%; }
}

/* ── aanbevolen ────────────────────────────────────────────────────────── */
.bd-aanbevolen { margin-top: clamp(2rem, 5vw, 3.5rem); }
.bd-aanbevolen h2 { font-size: var(--fs-h3); margin: 0 0 1rem; }
.bd-aanb-rij { display: flex; gap: 1rem; flex-wrap: wrap; }
.bd-aanb {
  display: flex; align-items: center; gap: .7rem;
  border: 1px solid var(--color-border); border-radius: var(--radius-card);
  padding: .6rem 1.1rem .6rem .6rem; min-height: 44px;
  text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s;
}
.bd-aanb:hover { border-color: var(--brand); transform: translateY(-2px); }
.bd-aanb img { width: 48px; height: 48px; object-fit: contain; }
.bd-aanb span { font-size: 14.5px; }

.bd-combineer {
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
  font-size: 15px; color: var(--color-text-secondary);
}
.bd-combineer a { color: var(--brand-tekst); font-weight: 600; }

@media (max-width: 820px) {
  .bd-hero { grid-template-columns: 1fr; }
  .bd-beeld { aspect-ratio: 4 / 3; }
}

/* ══ Productpagina v2 (Helene, okt 2026): koopsectie, FAQ, productinformatie ══ */
.bd-v2 { overflow-x: clip; }
.bd-v2 .bd-kruimels { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.2rem; padding: 18px 0 20px; }
.bd-v2 .bd-kruimel-terug { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 14.5px; color: var(--color-text-primary); text-decoration: none; }
.bd-v2 .bd-kruimel-terug:hover { color: #cc2704; text-decoration: underline; }

.bd-v2 .bd-hero { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.bd-v2 .bd-beeld { background: color-mix(in srgb, var(--kaartkleur) 10%, #fff); border-radius: calc(var(--radius-card) - 4px); padding: clamp(1rem, 3vw, 2rem); position: sticky; top: 1.5rem; }
.bd-v2 .bd-beeld img { filter: drop-shadow(0 10px 22px rgba(45, 31, 18, .14)); }
.bd-v2 .bd-info { max-width: 34rem; padding-top: clamp(0rem, 1vw, .6rem); }
.bd-v2 .bd-eye { color: color-mix(in srgb, var(--kaartkleur) 50%, #2d1f12); margin-bottom: 10px; }
.bd-v2 .bd-titel {
  font-family: var(--fd) !important; font-weight: 700; font-style: normal;
  font-size: clamp(30px, 3.4vw, 46px) !important; line-height: 1.08; letter-spacing: -.01em;
  text-transform: none; text-wrap: balance; overflow-wrap: break-word; color: #2d1f12; margin: 0 0 16px;
}
.bd-v2 .bd-intro p { font-size: 16px; line-height: 1.6; color: var(--color-text-secondary); margin: 0 0 9px; }
.bd-v2 .bd-intro p:first-child { color: #2d1f12; font-weight: 600; }
.bd-v2 .bd-voordelen { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 8px; }
.bd-v2 .bd-voordelen li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; line-height: 1.4; color: #2d1f12; }
.bd-v2 .bd-voordelen svg { flex: 0 0 16px; margin-top: 2px; color: var(--kaartkleur); }
.bd-v2 .bd-praktisch { border-top: 1px solid color-mix(in srgb, var(--kaartkleur) 22%, var(--color-border)); padding-top: 12px; }
.bd-v2 .bd-praktisch p { font-size: 14px; color: var(--color-text-secondary); margin: 0 0 4px; }
.bd-v2 .bd-praktisch p:first-child { font-weight: 600; color: #2d1f12; }
.bd-v2 .bd-prijs { font-family: var(--fd); font-size: 28px; font-weight: 700; color: #2d1f12; margin: 16px 0 14px; }
.bd-v2 .bd-koop { gap: .75rem; flex-wrap: nowrap; }
.bd-v2 .bd-aantal { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, #2d1f12 25%, transparent); border-radius: 999px; background: #fff; flex: 0 0 auto; }
.bd-v2 .bd-aantal button { width: 44px; height: 48px; border: 0; background: none; font: inherit; font-size: 20px; color: #2d1f12; cursor: pointer; border-radius: 999px; }
.bd-v2 .bd-aantal button:hover { color: #cc2704; }
.bd-v2 .bd-aantal output { min-width: 24px; text-align: center; font-weight: 600; }
.bd-v2 .bd-knop { flex: 1 1 auto; border: 0; cursor: pointer; font-family: inherit; background: #ff360b; color: #fff; min-height: 50px; transition: background .2s; }
.bd-v2 .bd-knop:hover { background: #e02f09; transform: none; }
.bd-v2 .bd-knop:focus-visible, .bd-v2 .bd-aantal button:focus-visible, .bd-v2 .bd-acc-kop button:focus-visible { outline: 2px solid #2d1f12; outline-offset: 3px; }

/* FAQ en productinformatie */
.bd-v2 .bd-faq, .bd-v2 .bd-secties { max-width: 46rem; margin: clamp(2.4rem, 5vw, 3.5rem) auto 0; }
.bd-v2 .bd-faq { background: color-mix(in srgb, var(--kaartkleur) 9%, #faf6f0); border-radius: var(--radius-card); padding: clamp(1.4rem, 4vw, 2.4rem); max-width: 52rem; }
.bd-v2 .bd-faq h2, .bd-v2 .bd-secties h2, .bd-v2 .bd-aanbevolen h2 { font-family: var(--fd); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; color: #2d1f12; margin: 0 0 14px; text-transform: none; }
.bd-v2 .bd-acc, .bd-v2 .bd-acc:last-child { border: 0; border-top: 1px solid color-mix(in srgb, #2d1f12 14%, transparent); }
.bd-v2 .bd-accs > .bd-acc:last-child { border-bottom: 1px solid color-mix(in srgb, #2d1f12 14%, transparent); }
.bd-v2 .bd-acc-kop { margin: 0; font: inherit; }
.bd-v2 .bd-acc-kop button { width: 100%; min-height: 52px; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit; font-size: 16px; font-weight: 600; color: #2d1f12; }
.bd-v2 .bd-acc-kop button:hover { color: #cc2704; }
.bd-v2 .bd-acc-teken { position: relative; flex: 0 0 18px; height: 18px; color: #cc2704; }
.bd-v2 .bd-acc-teken::before, .bd-v2 .bd-acc-teken::after { content: ""; position: absolute; left: 2px; right: 2px; top: 8px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.bd-v2 .bd-acc-teken::after { transform: rotate(90deg); }
.bd-v2 .bd-acc[data-open] .bd-acc-teken::after { transform: rotate(0deg); }
.bd-v2 .bd-acc-body { padding: 0 0 16px; font-size: 15.5px; line-height: 1.6; }
.bd-v2 .bd-acc-body p { margin: 0 0 8px; }
.bd-v2 .bd-acc-body p:last-child { margin-bottom: 0; }

/* onderaan */
.bd-v2 .bd-aanbevolen { max-width: 52rem; margin: clamp(2.4rem, 5vw, 3.5rem) auto 0; }
.bd-v2 .bd-aanb { background: #fff; }
.bd-v2 .bd-recepten { font-size: 15px; color: var(--color-text-secondary); margin: .8rem 0 0; }
.bd-v2 .bd-recepten a { color: #cc2704; font-weight: 600; }
.bd-v2 .bd-terug { margin-top: 1rem; font-weight: 600; color: #2d1f12; }

/* winkelmandmelding (stijl uit site-v1.css, alleen bevestiging; er is hier geen mandpaneel) */
#cart-toast { position: fixed; left: 50%; bottom: 1.6rem; z-index: 9997; transform: translate(-50%, calc(100% + 2.5rem)); display: flex; align-items: center; gap: 1.1rem; padding: .85rem 1.35rem; background: #2d1f12; color: #fff; font-size: .85rem; box-shadow: 0 14px 40px rgba(0,0,0,.22); transition: transform .35s cubic-bezier(.16,1,.3,1); max-width: calc(100vw - 2rem); border-radius: 6px; }
#cart-toast.open { transform: translate(-50%, 0); }
#cart-toast button { display: none; }

@media (max-width: 820px) {
  .bd-v2 .bd-hero { grid-template-columns: 1fr; }
  .bd-v2 .bd-beeld { position: static; aspect-ratio: 4 / 3; }
  .bd-v2 .bd-info { max-width: none; }
}
/* mobiel (<768px): teruglink en kruimelpad op eigen regels, compacter beeldvlak */
@media (max-width: 767px) {
  .bd-v2 .bd-kruimels { flex-direction: column; align-items: flex-start; gap: 11px; padding: 14px 0 16px; }
  .bd-v2 .bd-kruimel-terug { min-height: 44px; }
  .bd-v2 .bd-kruimel-pad { display: block; min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
  .bd-v2 .bd-hero { padding: 1.1rem; gap: 1.1rem; }
  .bd-v2 .bd-beeld { aspect-ratio: auto; height: 240px; padding: .9rem; }
}
@media (max-width: 480px) {

  .bd-v2 .bd-koop { flex-wrap: wrap; }
  .bd-v2 .bd-knop { flex-basis: 100%; }
  .bd-v2 .bd-titel { font-size: 30px !important; }
}
@media (prefers-reduced-motion: reduce) { #cart-toast, .bd-v2 .bd-acc-teken::after { transition: none; } }
/* hero-zakje: originele kleuren, geen filter of transparantie, altijd volledig zichtbaar */
.bd-v2 .bd-beeld img { filter: none; opacity: 1; object-fit: contain; object-position: center; width: 100%; height: 100%; max-height: min(560px, 70vh); display: block; margin: auto; }

/* mobiel: zakje blijft binnen het compactere beeldvlak (na de algemene img-regel) */
@media (max-width: 767px) {
  .bd-v2 .bd-beeld img { width: auto; height: auto; max-width: 100%; max-height: 212px; }
}
