/* assets/zie-ook-kleuren.css — "Andere kleuren in deze serie" (snippets/koppelcode.rain), 17 okt 2026
   Kleuren uit de huisstijl: titel #29384b, tekst #666, extra tekst #898d93, lijnen #ececec, accent #70c067, link #0099e5. */

.zok { margin: 22px 0 24px; }
.zok[hidden] { display: none; }

.zok__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.zok__titel { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; min-width: 0; }
.zok__kop { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.3; color: #29384b; }
.zok__aantal { font-size: 12px; color: #898d93; }

.zok__nav { display: flex; gap: 6px; flex: none; }
.zok__nav[hidden] { display: none; }
/* Extra specifiek: het thema geeft knoppen in het productformulier een vaste hoogte, padding en flex-groei */
.zok .zok__nav .zok__pijl {
  flex: 0 0 32px; width: 32px; min-width: 32px; max-width: 32px; height: 32px; min-height: 32px; max-height: 32px;
  aspect-ratio: 1 / 1; margin: 0; padding: 0; line-height: 1; border: 1px solid #ececec; border-radius: 50%;
  background: #fff; color: #29384b; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .15s ease, color .15s ease;
}
.zok__pijl:hover:not(:disabled) { border-color: #29384b; }
.zok__pijl:focus-visible { outline: 2px solid #0099e5; outline-offset: 2px; }
.zok__pijl:disabled { color: #c9cdd2; cursor: default; }

.zok__venster { position: relative; }
.zok__venster::before,
.zok__venster::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 2;
  pointer-events: none; opacity: 0; transition: opacity .2s ease;
}
.zok__venster::before { left: -4px; background: linear-gradient(90deg, #fff 15%, rgba(255,255,255,0)); }
.zok__venster::after { right: -4px; background: linear-gradient(270deg, #fff 15%, rgba(255,255,255,0)); }
.zok__venster.heeft-links::before,
.zok__venster.heeft-rechts::after { opacity: 1; }

.zok__rij {
  position: relative; display: flex; gap: 10px;
  margin: 0 -4px; padding: 8px 4px 2px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.zok__rij::-webkit-scrollbar { display: none; }

.zok__staal {
  flex: 0 0 72px; width: 72px; display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: #666; text-decoration: none; scroll-snap-align: start;
}
.zok__staal:hover, .zok__staal:focus { text-decoration: none; }
.zok__beeld { position: relative; display: block; width: 72px; height: 72px; }
.zok__crop {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
  border-radius: 10px; background: #fafafa; transition: box-shadow .15s ease;
}
.zok__crop::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(41, 56, 75, .10); pointer-events: none;
}
.zok__crop img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center; transform: scale(1.35);
}
.zok[data-soort="staal"] .zok__crop img { transform: scale(3.2); }

.zok__staal:hover .zok__crop { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d5dae0; }
.zok__staal:focus-visible { outline: none; }
.zok__staal:focus-visible .zok__crop { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0099e5; }
.zok__staal.is-huidig .zok__crop { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #70c067; }

.zok__check {
  position: absolute; top: -6px; right: -6px; z-index: 1;
  width: 20px; height: 20px; border-radius: 50%; background: #70c067; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff;
}

.zok__naam {
  max-width: 100%; font-size: 12px; line-height: 1.25; text-align: center; color: #666;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word;
}
.zok__staal.is-huidig .zok__naam { font-weight: 700; color: #29384b; }

/* Laden */
.zok__staal--skelet .zok__crop { background: #f1f3f5; animation: zok-puls 1.2s ease-in-out infinite; }
.zok__staal--skelet .zok__naam { width: 44px; border-radius: 4px; background: #f1f3f5; }
@keyframes zok-puls { 50% { opacity: .55; } }

@media (max-width: 767px) {
  .zok .zok__nav { display: none; }
  .zok__rij { gap: 10px; }
  .zok__staal { flex-basis: 64px; width: 64px; }
  .zok__beeld { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .zok__staal--skelet .zok__crop { animation: none; }
}

/* ---------- Verf (KOPPEL-VERF-...) ---------- */

/* Kleurenreeks: effen kleurvlak in plaats van een foto */
.zok__vlak { position: absolute; inset: 0; display: block; }
.zok__crop--kleur::after { box-shadow: inset 0 0 0 1px rgba(41, 56, 75, .14); }
.zok--kleur .zok__crop img { transform: none; object-fit: contain; background: #fff; }

/* Uitvoeringen: kaartjes met productfoto en naam */
.zok--uitvoering .zok__rij { gap: 8px; }
.zok__kaart {
  position: relative; flex: 1 0 88px; min-width: 88px; max-width: 120px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px 6px 10px; border: 1px solid #8d8d8d; border-radius: 4px; background: #fff;
  color: #29384b; text-decoration: none; scroll-snap-align: start;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.zok__kaart:hover, .zok__kaart:focus { text-decoration: none; color: #29384b; }
.zok__kaart:hover { border-color: #29384b; }
.zok__kaart:focus-visible { outline: 2px solid #0099e5; outline-offset: 2px; }
.zok__kaart.is-huidig { border: 2px solid #70c067; padding: 7px 5px 9px; }
.zok__kaart .zok__check { top: -7px; right: -7px; }
.zok__foto { display: block; width: 64px; height: 64px; }
.zok__foto img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.zok__kaartnaam {
  max-width: 100%; font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; color: #29384b;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word;
}

@media (max-width: 767px) {
  .zok__kaart { flex: 0 0 88px; }
  .zok__foto { width: 56px; height: 56px; }
}