/* Lightbox de galeria — Visite Águas Quentes */

body.vaq-lightbox-open {
  overflow: hidden;
}

.vaq-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(10, 14, 20, 0.92);
  box-sizing: border-box;
}

.vaq-lightbox[hidden] {
  display: none !important;
}

.vaq-lightbox__stage {
  position: relative;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.vaq-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 2rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  user-select: none;
  -webkit-user-drag: none;
}

.vaq-lightbox__caption {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.vaq-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.vaq-lightbox__close:hover,
.vaq-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.vaq-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.vaq-lightbox__nav:hover,
.vaq-lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.vaq-lightbox__nav--prev {
  left: 0.75rem;
}

.vaq-lightbox__nav--next {
  right: 0.75rem;
}

.vaq-gallery-grid img {
  cursor: zoom-in;
}

@media (max-width: 640px) {
  .vaq-lightbox {
    padding: 0.75rem;
  }

  .vaq-lightbox__nav {
    width: 2.25rem;
    height: 2.25rem;
  }

  .vaq-lightbox__nav--prev {
    left: 0.35rem;
  }

  .vaq-lightbox__nav--next {
    right: 0.35rem;
  }
}
