.editorial-product-lightbox { padding: 16px; align-items: center; }
.editorial-product-lightbox .editorial-product-lightbox__dialog {
  display: block;
  width: fit-content;
  max-width: min(1120px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  border-radius: 20px;
  background: #fff;
}
.editorial-product-lightbox__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.editorial-product-lightbox .editorial-product-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(255,255,255,.95);
}
.editorial-product-lightbox__figure { margin: 0; }
.editorial-product-lightbox__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.editorial-product-lightbox__caption {
  margin: 0;
  padding: 0;
  background: rgba(17,17,17,.68);
  color: #fff;
  font-size: .88rem;
  line-height: 1.5;
  backdrop-filter: blur(10px);
}
.editorial-product-lightbox__caption a {
  display: block;
  padding: 13px 18px;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.editorial-product-lightbox__caption a:hover { background: rgba(255,255,255,.08); }
.editorial-product-lightbox__caption a:focus-visible { outline: 3px solid #b08a57; outline-offset: -4px; }
@media (max-width: 640px) {
  .editorial-product-lightbox__caption { font-size: .82rem; }
  .editorial-product-lightbox__caption a { padding: 11px 14px; }
}
