/* v674 – independent, predictable product-image lightbox. */
html.luna-lightbox-open,
body.luna-lightbox-open { overflow: hidden !important; }
.luna-lightbox[hidden] { display: none !important; }
.luna-lightbox {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 86px 52px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, .92);
}
.luna-lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}
.luna-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 88px);
  object-fit: contain;
  background: #fff;
}
.luna-lightbox__caption {
  min-height: 18px;
  margin-top: 10px;
  color: #fff;
  font: 13px/1.35 Arial, sans-serif;
  text-align: center;
}
.luna-lightbox__close,
.luna-lightbox__nav {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #222;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.luna-lightbox__close {
  top: 20px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font: 36px/1 Arial, sans-serif;
}
.luna-lightbox__nav {
  top: 50%;
  width: 46px;
  height: 64px;
  margin-top: -32px;
  border-radius: 4px;
  font: 46px/1 Arial, sans-serif;
}
.luna-lightbox__prev { left: 20px; }
.luna-lightbox__next { right: 20px; }
@media (max-width: 700px) {
  .luna-lightbox { padding: 20px 12px 42px; }
  .luna-lightbox__image { max-height: calc(100vh - 72px); }
  .luna-lightbox__nav { display: none; }
  .luna-lightbox__close { top: 10px; right: 10px; }
}
