.zoomable {
  cursor: zoom-in;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 95vh;
  cursor: zoom-out;
  opacity: 1;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
}

.lightbox-overlay button {
  position: absolute;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  padding: 0.75rem 1rem;
  cursor: pointer;
  opacity: 0.7;
}

.lightbox-overlay button:hover,
.lightbox-overlay button:focus {
  opacity: 1;
}

.lightbox-close {
  top: 0.5rem;
  right: 0.75rem;
}

.lightbox-prev {
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}
