/* Lines: fit the complete square photo and centre its visible content. */
.fishbro-product-page .fishbro-product-gallery.fishbro-product-gallery--line .product-gallery__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 56px;
  overflow: hidden;
  background: #fff;
}
.fishbro-product-page .fishbro-product-gallery.fishbro-product-gallery--line .product-gallery__link img,
.fishbro-product-page .fishbro-product-gallery.fishbro-product-gallery--line .product-gallery__link:hover img,
.fishbro-product-page .fishbro-product-gallery.fishbro-product-gallery--line .thumbs-swiper__slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translate(var(--line-gallery-x, 0%), var(--line-gallery-y, 0%)) scale(var(--line-gallery-scale, 1));
  transform-origin: center;
  background: #fff;
  image-rendering: auto;
}
.fishbro-product-gallery--line .fishbro-line-gallery__caption {
  position: absolute;
  inset: auto 18px 48px;
  color: #71717a;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
}

.fishbro-product-gallery--line .main-swiper__slide {
  position: relative;
}
