/* Visara image lightbox — additive only; does not alter existing page layout. */
.visara-lightbox-enabled {
  cursor: zoom-in;
}

.visara-lightbox-enabled:focus-visible {
  outline: 3px solid #c9a45d;
  outline-offset: 4px;
}

.visara-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.visara-lightbox.is-open {
  display: flex;
}

.visara-lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.visara-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(94vw, 1200px);
  max-height: 91vh;
  object-fit: contain;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.72);
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
}

.visara-lightbox__close {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 10001;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.84);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.visara-lightbox__close:hover,
.visara-lightbox__close:focus-visible {
  background: rgba(91, 68, 35, 0.96);
  border-color: #d7b56d;
  outline: none;
  transform: scale(1.04);
}

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

@media (max-width: 700px) {
  .visara-lightbox {
    padding: 18px;
  }

  .visara-lightbox__image {
    max-width: 94vw;
    max-height: 88vh;
  }

  .visara-lightbox__close {
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    font-size: 31px;
    line-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visara-lightbox__close {
    transition: none;
  }
}
