/* Eén inhoudsstructuur, met echte HTML-uitklappers en bestaande productgegevens. */
.bsv-info { grid-column: 1 / -1; order: 4; min-width: 0; margin-top: 24px; scroll-margin-top: 16px; }
.bsv-info__heading { margin: 0 0 12px; }
.bsv-info__heading h2 { margin: 0 0 4px; font-size: 24px; }
.bsv-info__heading p { margin: 0; color: var(--bsv-muted); font-size: 14px; }
.bsv-info__nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 16px; }
.bsv-info__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.bsv-info__overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.bsv-info__section { min-width: 0; margin: 0 0 12px; border: 1px solid var(--bsv-line); border-radius: var(--bsv-radius); background: var(--bsv-surface); overflow-wrap: anywhere; scroll-margin-top: 16px; }
.bsv-info__overview .bsv-info__section { margin-bottom: 0; }
.bsv-info__section > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 20px; cursor: pointer; list-style: none; }
.bsv-info__section > summary::-webkit-details-marker { display: none; }
.bsv-info__section > summary::after { content: "+"; flex: 0 0 24px; text-align: center; font-size: 24px; font-weight: 500; line-height: 1; }
.bsv-info__section[open] > summary::after { content: "−"; }
.bsv-info__section > summary h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.bsv-info__section > summary:focus-visible { outline: 3px solid var(--bsv-focus); outline-offset: 2px; }
.bsv-info__body { min-width: 0; padding: 0 20px 20px; font-size: 15px; line-height: 1.6; }
.bsv-info__body > :last-child { margin-bottom: 0; }
.bsv-info__prose { max-width: 72ch; font-size: 15px; line-height: 1.65; }
.bsv-info__prose p { margin: 0 0 12px; }
.bsv-info__prose:empty { display: none; }
.bsv-info__body h3 { margin: 16px 0 8px; font-size: 17px; }
.bsv-info__body h3:first-child { margin-top: 0; }
.bsv-info__context { margin: 0 0 12px; font-size: 13px; color: var(--bsv-muted); font-weight: 650; }
.bsv-info [hidden] { display: none; }
.bsv-info__choose { margin: 0 0 12px; font-size: 14px; }
.bsv-info__spec-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.bsv-info__spec-table th { width: 42%; font-weight: 500; color: var(--bsv-muted); }

.bsv-info__spec-table th,
.bsv-info__spec-table td { padding: 10px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bsv-line-soft); font-size: 14px; }
.bsv-info__spec-table td { font-weight: 550; }
.bsv-info__spec-table td p { margin: 0; font-style: normal; }
.bsv-info__allergens { margin: 0 0 12px; padding: 12px 16px; border-left: 3px solid var(--bsv-warning-line); background: var(--bsv-warning-soft); }
.bsv-info__allergens p { margin: 0; font-size: 14px; }
.bsv-info__allergens .bsv-info__context { margin-bottom: 4px; }

/* Geen kaarten-in-kaarten en geen tweede afkapping binnen een uitklapper. */
.bsv-info__body .product-preparation,
.bsv-info__body .product-nutrition,
.bsv-info__body .product-food-info,
.bsv-info__body .product-section.product-non-food,
.bsv-info__body .product-reviews { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }

.bsv-info__body .product-preparation__head h3,
.bsv-info__body .product-nutrition__head h3,
.bsv-info__body .product-food-info > .product-section__title { display: none; }

.bsv-info__body .product-preparation__head,
.bsv-info__body .product-nutrition__head { margin-bottom: 12px; }
.bsv-info__body .product-food-info__allergens { margin-top: 16px; }
.bsv-info__body .bsv-product-facts__label { margin: 0 0 12px; font-weight: 650; color: var(--bsv-muted); }
.bsv-info__body .product-nutrition__table { width: 100%; overflow-x: auto; }
.bsv-info__body .nutrition-table { width: 100%; font-size: 14px; }

.bsv-info__body .nutrition-table th,
.bsv-info__body .nutrition-table td { padding: 10px 8px; }
.bsv-info__body .product-nutrition__portion { flex-shrink: 0; }
.bsv-info__reviews .woocommerce-noreviews { display: none; }
.bsv-info__reviews .btn { margin: 8px 0 12px; }
.bsv-info__reviews .product-reviews__policy { margin: 12px 0; }

@media (width >= 861px) {
  .bsv-info { order: 0; }
  .bsv-info__overview { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; gap: 24px; }
  .bsv-info__overview > :only-child { grid-column: 1 / -1; }
}

@media (width <= 860px) {
  .bsv-info { margin-top: 16px; }
  .bsv-info__heading h2 { font-size: 22px; }
  .bsv-info__nav { gap: 0 14px; }
  .bsv-info__section > summary { padding: 14px 16px; min-height: 56px; }
  .bsv-info__section > summary h2 { font-size: 17px; }
  .bsv-info__body { padding: 0 16px 16px; }
  .bsv-info__body .product-nutrition__head { align-items: flex-start; flex-wrap: wrap; }

  .bsv-info__spec-table th,
  .bsv-info__spec-table td { padding: 9px 4px; font-size: 13px; }
}

.bsv-info-delivery-link { display: inline-flex; align-items: center; min-height: 44px; margin: 0 4px; font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

.bsv-info__choose a { display: inline-flex; align-items: center; min-height: 44px; }
.bsv-info__specs .bsv-info__context { display: none; }

/* Op desktop benut de tabel de ruimte onder de productfoto. */
.bsv-product-visual { display: contents; }
.bsv-product-visual [hidden] { display: none; }

@media (width >= 861px) {
  .single-product .bsv-product-visual { display: block; grid-column: 1; grid-row: 1; min-width: 0; }
  .bsv-product-visual .bsv-info__specs { margin: 16px 0 0; }
  .bsv-product-visual .bsv-info__specs .bsv-info__body { padding: 0 16px 16px; }
  .bsv-product-visual .bsv-info__spec-table th { width: 38%; }
}

/* Rust bij de koopknop: hartje bij de titel en één blok met productkenmerken. */
.bsv-product-heading { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.bsv-product-heading .product_title { flex: 1; min-width: 0; margin-top: 0; }
.bsv-product-heading .product-wishlist { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid var(--bsv-line); border-radius: var(--bsv-radius-pill); background: var(--bsv-surface); }
.bsv-product-heading .product-wishlist span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.single-product .buy-assurances { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0 4px; font-size: 13px; }
.single-product .buy-assurances li { min-height: 44px; align-content: center; }
.single-product .buy-assurances a { display: inline-flex; align-items: center; min-height: 44px; }
.bsv-product-summary-facts { margin-top: 12px; padding: 16px; border: 1px solid var(--bsv-line); border-radius: var(--bsv-radius); background: var(--bsv-surface); min-width: 0; }
.bsv-product-summary-facts__title { margin: 0 0 12px; font-size: 14px; font-weight: 750; }
.bsv-product-summary-facts .key-specs { gap: 12px 16px; margin: 0; border: 0; border-radius: 0; background: transparent; }
.bsv-product-summary-facts .key-specs div { padding: 0; border: 0; }
.bsv-product-summary-facts .key-specs b { font-size: 16px; }
.bsv-product-summary-facts .key-specs small { font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: normal; }
.bsv-product-summary-facts .bsv-product-facts__context { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bsv-product-summary-facts .bsv-product-facts:not(:has([data-facts-id]:not([hidden]))) .bsv-product-facts__context { position: static; width: auto; height: auto; margin-bottom: 12px; overflow: visible; clip-path: none; white-space: normal; }
.bsv-product-summary-facts .bsv-product-facts__label { display: none; }
.bsv-product-summary-facts .diet-row { gap: 6px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--bsv-line-soft); }
.bsv-product-summary-facts .diet-row .pill { padding: 4px 8px; border: 0; border-radius: var(--bsv-radius-sm); font-size: 12px; }
.bsv-product-summary-facts .diet-row .pill svg { width: 14px; height: 14px; }
.bsv-product-summary-facts .diet-row a { min-height: 44px; }

@media (width <= 860px) {
  .single-product .summary > .bsv-product-heading { order: 1; margin-bottom: -8px; }
  .single-product .summary > .bsv-product-summary-facts { order: 4; }
  .bsv-product-summary-facts { margin-top: 0; padding: 12px; }
}

.bsv-purchase-confidence { margin: 4px 0 0; }
.bsv-product-payments { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 40px; padding: 0 4px; }
.bsv-product-payments > span { color: var(--bsv-muted); font-size: 12px; }
.bsv-product-payments ul { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bsv-product-payments li { display: flex; align-items: center; }
.bsv-product-payments img { display: block; width: auto; height: 24px; max-width: 50px; object-fit: contain; }

.single-product .buy-assurances li::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
