/* Gallery hover zoom and lightbox styles (lint-friendly multi-line) */

.site.product .gallery .shot {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.site.product .gallery .shot img {
  transition: transform .25s ease;
}

/* lightbox */
.site.product .lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgb(0 0 0 / 72%);
  display: none;
  align-items: center;
  justify-content: center;
}

.site.product .lightbox.open {
  display: flex;
}

.site.product .lightbox .panel {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: auto;
}

.site.product .lightbox .panel img {
  display: block;
  width: 100%;
  height: auto;
}

.site.product .gallery .shot:hover img {
  transform: scale(1.04);
}

.site.product .lightbox .close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
