/* Lightbox styles — separate from Tailwind to avoid tree-shaking in @layer */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.15s;
  user-select: none;
  font-family: inherit;
  line-height: 1;
}
.lightbox__close:hover {
  color: #C8A45C;
}
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  transition: color 0.15s;
  user-select: none;
  font-family: inherit;
  line-height: 1;
  padding: 0 1rem;
}
.lightbox__prev:hover,
.lightbox__next:hover {
  color: #C8A45C;
}
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
