/* Global Lightbox — MediaVerse Acoustic Study
   Include on any page: <link rel="stylesheet" href="../shared/lightbox.css">
   Requires: lightbox.js loaded after DOM */

.lightbox-target {
  cursor: zoom-in;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.lightbox-target:hover {
  box-shadow: 0 0 0 3px rgba(41, 38, 99, 0.14);
}

.global-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.global-lightbox.is-open {
  display: flex;
}

.global-lightbox__stage {
  position: relative;
  width: min(94vw, 1400px);
  max-height: 94vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.global-lightbox__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 1.75rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1;
}
.global-lightbox__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.global-lightbox__label {
  margin: 0 48px 16px 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
}

.global-lightbox__content img,
.global-lightbox__content svg {
  width: 100%;
  height: auto;
  display: block;
  background: #ffffff;
}
.global-lightbox__content svg {
  overflow: visible;
}

@media (max-width: 768px) {
  .global-lightbox { padding: 12px; }
  .global-lightbox__stage {
    width: 100%;
    max-height: 100%;
    padding: 16px;
    border-radius: 14px;
  }
}
