/* PRODUCTPAGINA */
.product-hero {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-5) 0;
}
.product-hero__media {
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(17,53,151,.15), rgba(126,217,87,.25)),
    var(--c-surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-muted);
  font-weight: 700;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.gallery__thumb {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  background: var(--c-surface);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--c-text-muted);
  font-size: var(--fs-sm);
}
.gallery__thumb:nth-child(1) { background: linear-gradient(135deg, rgba(126,217,87,.35), rgba(17,53,151,.15)); color: #0b3b0a; }
.gallery__thumb:nth-child(2) { background: linear-gradient(135deg, rgba(248,136,17,.25), rgba(219,93,29,.2));  color: #6a2a06; }
.gallery__thumb:nth-child(3) { background: linear-gradient(135deg, rgba(156,26,161,.22), rgba(17,53,151,.15)); color: #4a0a4d; }

.gallery__thumb {
  position: relative;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  transition: transform .15s ease, box-shadow .2s ease;
}
.gallery__thumb:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gallery__zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transition: opacity .15s ease;
}
.gallery__thumb:hover .gallery__zoom,
.gallery__thumb:focus-visible .gallery__zoom { opacity: 1; }
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
  color: #fff;
  padding: 20px 10px 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .02em;
  text-align: left;
}

/* VIDEO EMBED (lazy) */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-3);
}
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
}
.video-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.video-embed:hover img { transform: scale(1.03); }
.video-embed__play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  padding-left: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: background .2s ease, transform .1s ease;
}
.video-embed:hover .video-embed__play {
  background: var(--c-primary);
  transform: translate(-50%, -50%) scale(1.05);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 48px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  background: #000;
}
.lightbox__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: var(--fs-sm);
  letter-spacing: .04em;
}
@media (max-width: 520px) {
  .lightbox { padding: 16px; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 22px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* REVIEWS GRID — op productpagina 1 brede kolom, op aparte pagina 2 kolommen */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.reviews-grid .proof {
  margin: 0;
  padding: var(--space-4);
  text-align: left;
  background: var(--c-review-surface);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}
.reviews-grid .proof:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float-hover);
}
.reviews-grid .proof__quote {
  font-size: var(--fs-md);
  line-height: 1.5;
  max-width: 65ch;
  text-align: left;
}
.reviews-grid .proof__author {
  text-align: left;
}

/* Op de aparte recensies-pagina (buiten product-layout): 2 kolommen */
body:not(.has-summary-bar) .reviews-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  body:not(.has-summary-bar) main:not(.section) ~ * .reviews-grid,
  #reviews-root .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Scrollbaar reviewsblok op productpagina bij veel reviews */
#reviewsGrid {
  max-height: 800px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
#reviewsGrid::-webkit-scrollbar { width: 6px; }
#reviewsGrid::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 4px; }
.product-hero__meta {
  display: flex; gap: var(--space-4); color: var(--c-text-muted);
  font-size: var(--fs-sm);
}
.product-hero__price {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--c-accent-blue);
}

/* RATING-SAMENVATTING per product */
.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--c-text);
  font-size: var(--fs-sm);
  background: var(--c-surface);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  width: fit-content;
}
.rating-summary:hover {
  border-color: var(--c-label-most-chosen);
  background: #fff;
}
.rating-summary__stars {
  color: var(--c-label-most-chosen);
  font-size: var(--fs-md);
  letter-spacing: 1px;
  line-height: 1;
}
.rating-summary strong {
  color: var(--c-text);
  font-weight: 800;
}
.rating-summary__count {
  color: var(--c-text-muted);
}
.rating-summary:hover .rating-summary__count {
  color: var(--c-accent-blue);
  text-decoration: underline;
}

/* PRIJS-BLOK (uitklapbaar) */
.price-block {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  margin: var(--space-3) 0;
}
.price-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: var(--c-accent-blue);
  color: #fff;
  font-size: var(--fs-lg);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.price-block__head::-webkit-details-marker { display: none; }
.price-block__chev {
  font-size: 18px;
  transition: transform .2s ease;
  opacity: .85;
}
.price-block[open] .price-block__chev { transform: rotate(180deg); }
.price-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}
.price-block__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-sm);
}
.price-block__label { color: var(--c-text); font-weight: 600; }
.price-block__value { color: var(--c-accent-blue); font-weight: 800; }
.price-block__note { grid-column: 1 / -1; color: var(--c-text-muted); font-size: var(--fs-xs); }

/* Accent-rijen: combideal (groen) en tip (subtiel) */
.price-block__row--deal {
  background: rgba(31,161,26,.06);
  border-left: 3px solid var(--c-primary);
}
.price-block__row--deal .price-block__label { color: var(--c-primary-dark); }

.price-block__row--tip {
  background: rgba(17,53,151,.04);
  border-left: 3px solid var(--c-accent-blue);
}
.price-block__row--tip .price-block__label { color: var(--c-accent-blue); }

.product-lede {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--c-text);
  max-width: 65ch;
}

/* Platte bullet-lijst voor gescrapte content — zonder kader */
.plain-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  display: grid;
  gap: 6px;
  max-width: 65ch;
}
.plain-list li {
  background: transparent;
  padding: 0;
  border-radius: 0;
  line-height: 1.5;
}
.plain-list li::before { content: none; }

.usp-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--space-2);
}
.usp-list li {
  padding: 10px 14px;
  background: var(--c-surface);
  border-radius: 10px;
}
.usp-list li::before { content: "✓ "; color: var(--c-primary); font-weight: 800; }

.faq details {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
  background: #fff;
}
.faq summary { cursor: pointer; font-weight: 600; }

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 10px var(--space-4) calc(10px + env(safe-area-inset-bottom));
  background: var(--c-cta-surface);
  border-top: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  z-index: 40;
}
@media (max-width: 959px) {
  body.has-bottom-nav .sticky-cta { bottom: 60px; }
}
@media (min-width: 960px) {
  .sticky-cta {
    position: sticky;
    top: 80px;               /* onder sticky site-header (~56px) + marge */
    bottom: auto;
    margin-top: 0;
    align-self: start;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    background: var(--c-cta-surface);
    box-shadow: var(--shadow-md);
    padding: var(--space-4);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
}

.product-layout {
  display: grid;
  gap: var(--space-5);
  align-items: start;        /* voorkomt dat kolommen even hoog worden */
}
@media (min-width: 960px) {
  .product-layout { grid-template-columns: 1fr 320px; }
}
