/* /3d-klik: de subpagina van de webshop voor de 3D klik-sets (3d-klik.html). Tegels en productvenster komen uit
   styles.css, webshop-kaarten.css en detail.css; hier alleen de kop, de foto's en de uitleg. */
.inklik-kop { padding-top: 24px; }
.inklik-kop .kruimel { margin-bottom: 18px; font-size: .9rem; color: var(--ash); }
.inklik-kop .kruimel a { color: inherit; }
/* Carrousel naast de kop: één grote foto tegelijk, veegbaar, met pijltjes en puntjes. */
.klik-carousel { min-width: 0; }
.klik-slides { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; }
.klik-slides::-webkit-scrollbar { display: none; }
.klik-slides:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.klik-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.klik-slide figure { margin: 0; }
.klik-slide img, .inklik-instructie { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px -24px rgba(23, 35, 46, .55); }
.klik-slide img { box-shadow: none; } /* de rij knipt hem toch af */
.klik-slide figcaption { margin-top: 10px; color: var(--ash); font-size: .92rem; line-height: 1.35; min-height: 2.7em; }
.klik-bediening { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.klik-punten { display: flex; gap: 8px; }
.klik-punten button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(23, 35, 46, .25); cursor: pointer; }
.klik-punten button[aria-current="true"] { background: var(--teal-soft, #0b6b61); transform: scale(1.25); }
.klik-punten button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.inklik-blok { margin-top: 64px; scroll-margin-top: 90px; }
/* Een sectie heeft zelf al ruimte erboven (var(--sectie)); een extra marge zou die dubbel tellen. */
section.inklik-blok { margin-top: 0; }
#sets { padding-top: 32px; } /* de producten beginnen vlak onder de kop en de filterbalk */
.inklik-blok[hidden] { display: none; }
.inklik-blok h2 { margin: 0 0 10px; }
.inklik-instructie { margin: 22px 0 18px; background: #f3f0ea; aspect-ratio: 2 / 1; }
.inklik-blok .stappen { max-width: 46em; }
/* Uitlegfoto naast de drie stappen in plaats van over de hele breedte: de foto had veel lege ruimte en was te groot. */
.inklik-blok:has(> .inklik-instructie) { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 0 32px; align-items: stretch; }
.inklik-blok:has(> .inklik-instructie) > :not(.inklik-instructie):not(.stappen) { grid-column: 1 / -1; }
.inklik-blok:has(> .inklik-instructie) > .inklik-instructie { grid-column: 1; margin: 0; aspect-ratio: auto; height: 100%; min-height: 260px; }
.inklik-blok:has(> .inklik-instructie) > h2 { margin-bottom: 22px; }
.inklik-blok:has(> .inklik-instructie) > .stappen { grid-column: 2; margin: 0; display: grid; grid-template-columns: 1fr; gap: 12px; max-width: none; }
.inklik-blok:has(> .inklik-instructie) > .stappen li { padding: 14px 18px; }
.inklik-weetjes ul { max-width: 46em; padding-left: 1.2em; }
.inklik-weetjes li { margin: 8px 0; }
.inklik-weetjes a, .inklik-binnenkort a { color: var(--teal-tekst, #065048); font-weight: 600; }
.inklik-binnenkort { width: min(calc(100% - 48px), calc(var(--measure) - 48px)); margin: 48px auto 0; padding: 16px 20px; border-radius: 14px; background: rgba(255, 255, 255, .7); }
@media (max-width: 800px) { .inklik-binnenkort { width: calc(100% - 32px); } }
.inklik-binnenkort[hidden] { display: none; }
@media (max-width: 760px) {
  .inklik-blok { margin-top: 48px; }
}
@media (max-width: 900px) {
  .inklik-blok:has(> .inklik-instructie) { grid-template-columns: 1fr; }
  .inklik-blok:has(> .inklik-instructie) > .inklik-instructie, .inklik-blok:has(> .inklik-instructie) > .stappen { grid-column: 1; }
  .inklik-blok:has(> .inklik-instructie) > .inklik-instructie { aspect-ratio: 2 / 1; height: auto; min-height: 0; }
  .inklik-blok:has(> .inklik-instructie) > .stappen { margin-top: 18px; }
}

/* De uitleg onder een productpagina van 3D klik (scripts/productuitleg.mjs) */
.product-uitleg { max-width: 1100px; margin: 0 auto 40px; }
.product-uitleg .inklik-blok:first-child { margin-top: 56px; }
.product-uitleg p { max-width: 46em; }
.product-uitleg a { color: var(--teal-tekst, #065048); font-weight: 600; }
.product-uitleg .faq details { max-width: 46em; }
.inklik-blok[data-blok][hidden] { display: none; }

/* De carrousel staat op een brede schermen in de kop; op mobiel (waar de producten voorgaan) een kopie onder de producten. */
.klik-galerij { display: none; }
@media (max-width: 700px) {
  .klik-carousel-hero { display: none; }
  .klik-galerij { display: block; }
  .klik-galerij h2 { margin-bottom: 16px; }
  main > section.inklik-kop:first-child { padding-top: 20px; }
  .inklik-kop .kop-tekst .intro, .inklik-kop .kop-tekst .hero-knoppen { display: none; } /* de drie stappen vertellen het verhaal; de sets staan er direct onder */
}
