/* lightbox.css - простой и аккуратный стиль для модалки */
.simple-splide-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.simple-splide-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.simple-splide-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  transition: transform 0.25s ease;
}

.simple-splide-overlay img:hover {
  transform: scale(1.02);
}

/* навигационные кнопки */
.simple-splide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100000;
}
.simple-splide-nav button {
  background: rgba(255,255,255,0.12);
  border: 0;
  color: #fff;
  font-size: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.simple-splide-nav button:hover { background: rgba(255,255,255,0.24); }
.simple-splide-nav .prev { position: absolute; left: 24px; }
.simple-splide-nav .next { position: absolute; right: 24px; }

/* close button */
.simple-splide-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 30px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100001;
  opacity: 0.95;
}
.simple-splide-close:hover { opacity: 0.7; }
