/* Teesgraphy product video — 2nd slide of the product-images Swiper. Reversible with the module. */
.elementor-widget-product-images .tg-pdp-video-slide {
  box-sizing: border-box;
}
.tg-pdp-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F2F0ED;
  overflow: hidden;
  /* Reserve the same square as the stills so the slide does not jump (CLS). */
}
.tg-pdp-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #F2F0ED;
}
.tg-pdp-video-sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 22, 26, 0.62);
  color: #fff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.tg-pdp-video-sound:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.tg-pdp-video-sound svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tg-pdp-video-sound .tg-ico-on { display: none; }
.tg-pdp-video-sound.is-on .tg-ico-off { display: none; }
.tg-pdp-video-sound.is-on .tg-ico-on { display: block; }

/* tpx gallery (the live PDP carousel) */
html body #tpx.tpx .tpx-slide.tg-pdp-video-slide {
  cursor: default;
  padding: 0;
}
html body #tpx.tpx .tpx-slide.tg-pdp-video-slide .tg-pdp-video-wrap {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.tpx-thumb.tg-pdp-video-thumb {
  position: relative;
}
.tg-pdp-video-badge {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(20, 22, 26, 0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.tg-pdp-video-badge svg {
  width: 9px;
  height: 9px;
  margin-left: 1px;
}
