/* ============================================================
   D STYLEZ ART — Peek inside lightbox (2026-11-28)
   Sample pages from each book, 3 per book. Dark + gold.
   z-index 10000 — above the cart bar (9000) and panel (9500) so
   the lightbox, including its caption, is fully on top while open.
   ============================================================ */
.peek-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .93);
  padding: 1rem;
  box-sizing: border-box;
}
.peek-overlay.open { display: flex; }

.peek-img {
  max-width: 94vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  border: 2px solid rgba(212, 175, 55, .65);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 40px rgba(212, 175, 55, .25);
  object-fit: contain;
  transition: opacity .18s ease;
}
.peek-overlay.loading .peek-img { opacity: .2; }
.peek-title {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1rem;
  margin: 0 0 .7rem;
  text-align: center;
  max-width: 94vw;
}
.peek-bar {
  display: flex;
  gap: .7rem;
  align-items: center;
  margin-top: .9rem;
}
.peek-count {
  color: #d4af37;
  font-weight: 800;
  font-size: 1rem;
  min-width: 4.5rem;
  text-align: center;
}
.peek-nav {
  background: #141414;
  color: #fff;
  border: 2px solid rgba(212, 175, 55, .6);
  border-radius: 12px;
  min-width: 3rem;
  min-height: 3rem;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  padding: .4rem .9rem;
}
.peek-nav:hover { border-color: #d4af37; box-shadow: 0 0 18px rgba(212, 175, 55, .45); }
.peek-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  background: #141414;
  color: #fff;
  border: 2px solid rgba(212, 175, 55, .6);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.peek-close:hover { border-color: #d4af37; }
.peek-note {
  color: #8a8a8a;
  font-size: .85rem;
  margin-top: .6rem;
  text-align: center;
}
