body.lightbox-open {
  overflow: hidden;
}

.lightbox-trigger {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lightbox-trigger:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 25, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  position: relative;
  max-width: min(960px, 100%);
  max-height: min(90vh, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.8);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 1;
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-caption {
  padding: 10px 6px 2px;
  text-align: center;
  color: #374151;
  font-weight: 600;
}
