.tig-extra-image-zoom-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}

.tig-extra-image-zoom-wrap > img.tig-product-extra-image {
  display: block;
  width: 100%;
  height: auto;
}

.tig-extra-image-zoom-pane {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-image: var(--tig-zoom-image);
  background-repeat: no-repeat;
  background-size: 300%;
  background-position: var(--tig-zoom-x, 50%) var(--tig-zoom-y, 50%);
  transition: opacity 180ms ease;
}

.tig-extra-image-zoom-wrap.is-zoom-active .tig-extra-image-zoom-pane {
  opacity: 1;
}

.tig-extra-image-zoom-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: block;
  padding: 8px 10px;
  background: rgba(9, 14, 24, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f7fa;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.tig-extra-image-zoom-wrap.is-zoom-active .tig-extra-image-zoom-caption {
  opacity: 1;
  transform: translateY(0);
  background: rgba(9, 14, 24, 0.78);
}
