.wrap--boek {
  max-width: 960px;
}

/* Navigatiebalk met teruglink en taalkeuze */
.boek-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.taalschakelaar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem;
}
.taalschakelaar a {
  color: var(--gedempt);
  text-decoration: none;
}
.taalschakelaar a:hover {
  color: var(--accent);
}
.taalschakelaar__actief {
  color: var(--accent);
  font-weight: 600;
}
.taalschakelaar__scheiding {
  color: var(--lijn);
}

/* Tweekoloms layout */
.boek-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

/* Cover */
.boek-cover-kolom {
  position: sticky;
  top: 2rem;
}
.boek-cover-wrap {
  background: var(--lijn);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 6px 6px 24px rgba(0,0,0,0.15), -2px 0 6px rgba(0,0,0,0.08);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.boek-cover-afbeelding {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.boek-cover-wrap:not(:has(img[src$=".jpg"])):after,
.boek-cover-wrap:has(img[src="images/cover.jpg"]) {
  /* Placeholder stijl wanneer cover ontbreekt */
}

/* Bestelblok (EN) */
.boek-bestellen {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--lijn);
  border-radius: 0.5rem;
  background: oklch(var(--b2, 97% 0 0));
}
.boek-bestellen__titel {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--accent);
}
.boek-bestellen__tekst {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
.boek-bestellen__nota {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--gedempt);
  margin: 0.75rem 0 0;
}

/* Auteursblok */
.boek-auteur-blok {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lijn);
}
.boek-auteur-foto {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--lijn);
}
.boek-auteur-naam {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--accent);
}
.boek-auteur-bio {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--gedempt);
  margin: 0;
  line-height: 1.55;
}

/* Info kolom */
.boek-reeks {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gedempt);
  margin: 0 0 0.5rem;
}
.boek-titel {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.4rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.boek-auteur {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  color: var(--gedempt);
  margin: 0 0 1.5rem;
}
.boek-beschrijving {
  font-family: 'IBM Plex Serif', serif;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

/* Troeven */
.boek-troeven {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: oklch(var(--b2, 97% 0 0));
  border-radius: 0 0.4rem 0.4rem 0;
}
.boek-troef {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  line-height: 1.45;
}
.boek-troef i {
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.boek-troef a {
  color: var(--accent);
  font-weight: 500;
}

/* Prijs en acties */
.boek-prijs-blok {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.boek-prijs {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
}
.boek-acties {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Specificaties */
.boek-specs {
  border-top: 1px solid var(--lijn);
  margin-top: 1.5rem;
  padding-top: 1rem;
}
.boek-specs__rij {
  display: flex;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--lijn);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem;
}
.boek-specs dt {
  color: var(--gedempt);
  width: 100px;
  flex-shrink: 0;
}
.boek-specs dd {
  margin: 0;
  color: var(--tekst);
}

/* Thumbnails onder cover */
.boek-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.boek-thumb {
  flex: 1;
  padding: 0;
  border: 2px solid var(--lijn);
  border-radius: 0.3rem;
  overflow: hidden;
  cursor: pointer;
  background: none;
  transition: border-color 0.15s;
  aspect-ratio: 3 / 4;
}
.boek-thumb:first-child {
  aspect-ratio: 3 / 4;
}
.boek-thumb:not(:first-child) {
  aspect-ratio: 16 / 11;
}
.boek-thumb.actief {
  border-color: var(--accent);
}
.boek-thumb:hover {
  border-color: var(--accent);
}
.boek-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Zoom hint op cover */
.boek-cover-wrap {
  position: relative;
  cursor: zoom-in;
  background: none;
  padding: 0;
  border: none;
  width: 100%;
  display: block;
}
.cover-zoom {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(0,0,0,0.45);
  color: white;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.boek-cover-wrap:hover .cover-zoom {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__inhoud {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__afbeelding {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.25rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox__sluiten {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 1.4rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox__sluiten:hover { background: rgba(255,255,255,0.25); }
.lightbox__pijl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 1.6rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox__pijl:hover { background: rgba(255,255,255,0.25); }
.lightbox__pijl--links  { left: 1rem; }
.lightbox__pijl--rechts { right: 1rem; }
.lightbox__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.lightbox__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.lightbox__dot.actief { background: white; }

/* Mobiel */
@media (max-width: 680px) {
  .boek-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .boek-cover-kolom {
    position: static;
    max-width: 260px;
    margin: 0 auto;
  }
  .boek-titel {
    font-size: 1.6rem;
  }
}
