/* Retail-only native fotolichtbak. Geen wijzigingen aan campagne-layout, CTA's of typografie. */
html.lh-retail-gallery-open {
  overflow: hidden;
}

.lh-campaign[data-sea-campaign="retail-werkbon"] .lh-retail-gallery__trigger {
  cursor: zoom-in;
}

.lh-campaign[data-sea-campaign="retail-werkbon"] .lh-retail-gallery__trigger:focus-visible {
  outline: 3px solid var(--sea-gold, #d5ad4b);
  outline-offset: 4px;
}

.lh-retail-gallery__dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(0.75rem, 2.5vw, 2rem);
  border: 0;
  background: transparent;
  overflow: auto;
}

.lh-retail-gallery__dialog::backdrop {
  background: rgba(11, 22, 30, 0.86);
}

.lh-retail-gallery__panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100%, 1200px);
  min-height: 100%;
  margin: 0 auto;
}

.lh-retail-gallery__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  margin-bottom: 0.75rem;
  color: #fff;
}

.lh-retail-gallery__title,
.lh-retail-gallery__caption {
  margin: 0;
  color: #fff;
}

.lh-retail-gallery__title {
  font-size: 0.9375rem;
  font-weight: 700;
}

.lh-retail-gallery__caption {
  grid-column: 1 / -1;
  padding-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.lh-retail-gallery__figure {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  width: 100%;
  min-height: 0;
  margin: 0;
}

.lh-retail-gallery__media {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
}

.lh-retail-gallery__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 10rem);
  object-fit: contain;
}

.lh-retail-gallery__close,
.lh-retail-gallery__previous,
.lh-retail-gallery__next {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 29, 39, 0.74);
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.lh-retail-gallery__close {
  font-size: 2rem;
  font-weight: 300;
}

.lh-retail-gallery__previous,
.lh-retail-gallery__next {
  font-size: 1.5rem;
}

.lh-retail-gallery__close:hover,
.lh-retail-gallery__close:focus-visible,
.lh-retail-gallery__previous:hover,
.lh-retail-gallery__previous:focus-visible,
.lh-retail-gallery__next:hover,
.lh-retail-gallery__next:focus-visible {
  border-color: #fff;
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
  background: rgba(0, 98, 106, 0.96);
}

@media (max-width: 540px) {
  .lh-retail-gallery__dialog {
    padding: 0.75rem;
  }

  .lh-retail-gallery__figure {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 0.35rem;
  }

  .lh-retail-gallery__image {
    max-height: calc(100dvh - 9.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lh-retail-gallery__dialog,
  .lh-retail-gallery__dialog *,
  .lh-retail-gallery__dialog::backdrop {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
