.pling-product-gallery {
  position: relative;
}

.pling-product-gallery__slide {
  width: 100%;
}

@media (min-width: 992px) {
  .pling-product-gallery__slide {
    width: 63%;
  }
}
.pling-product-gallery__media {
  margin: 0;
  background: #f5f5f4;
  overflow: hidden;
}

.pling-product-gallery__media img,
.pling-product-gallery__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pling-product-gallery__media img {
  cursor: zoom-in;
}

.pling-product-gallery__media {
  position: relative;
}

/* No native controls; the video must never intercept drag gestures. */
.pling-product-gallery__media video {
  pointer-events: none;
}

.pling-product-gallery__mute {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
}

.pling-product-gallery__mute .pling-product-gallery__mute-off {
  display: none;
}

.pling-product-gallery__mute.is-muted .pling-product-gallery__mute-off {
  display: block;
}

.pling-product-gallery__mute.is-muted .pling-product-gallery__mute-on {
  display: none;
}

.pling-product-gallery__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.pling-product-gallery__thumbs {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.pling-product-gallery__thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border: 1px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f4;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.pling-product-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pling-product-gallery__thumb:hover,
.pling-product-gallery__thumb.is-active {
  opacity: 1;
}

.pling-product-gallery__thumb.is-active {
  border-color: currentColor;
}

.pling-product-gallery__thumb--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='11' fill='rgba(0,0,0,0.45)'/><path d='M10 8l6 4-6 4z' fill='white'/></svg>") center/24px 24px no-repeat;
}

.pling-product-gallery__nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.pling-product-gallery__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.pling-product-gallery__arrow.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

.pling-product-gallery--placeholder img {
  max-width: 100%;
  height: auto;
}
