.site-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(8, 10, 18, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}
.site-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.site-lightbox__img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}
.site-lightbox__btn {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.site-lightbox__btn:hover { background: rgba(255, 255, 255, 0.22); }
.site-lightbox__close { top: 1rem; right: 1rem; }
.site-lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.site-lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
[data-lightbox] { cursor: zoom-in; }
@media (prefers-reduced-motion: reduce) {
  .site-lightbox { transition: none; }
}
