[data-product-gallery] .product-zoom-image {
  position: relative;
  z-index: 5;
}

.product-gallery-main {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.product-gallery-main > img {
  display: block;
  width: 100%;
  height: auto;
}

.product-gallery-pane {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.product-gallery-pane-outside {
  left: calc(100% + var(--zoom-space));
  right: auto;
  width: 100%;
}

.product-gallery-pane .drift-zoom-pane {
  width: 100%;
  height: 100%;
}

.product-gallery-pane .drift-zoom-pane img {
  max-width: none;
}

.product-gallery-main .product-gallery-bounding-box {
  background-color: var(--zoom-tint, transparent);
  border: 1px solid rgb(0 0 0 / 30%);
  opacity: var(--zoom-opacity, 1);
  pointer-events: none;
  transform: translate(var(--zoom-lens-x), var(--zoom-lens-y));
}

[data-product-gallery] .additional-images:not(.owl-loaded) {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.product-gallery-caption {
  background: rgb(0 0 0 / 75%);
  color: white;
  display: none;
  font-size: 12px;
  inset: 0 0 auto;
  padding: 4px 8px;
  position: absolute;
  text-align: center;
  z-index: 1;
}

.product-gallery-zooming .product-gallery-caption {
  display: block;
}

.lightbox-container .mySlides img {
  max-height: 100vh;
  max-width: 100%;
}
