/* ===== Simple Lightbox ===== */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

#lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

#lightbox img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  border-radius: 12px;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  cursor: zoom-out;
}

img[data-no-lightbox] {
  cursor: default;
}