/* =================================================
 * PRODUCT VIDEO
 * ================================================= */

.single-product .tr-image-gallery {
  position: relative;

  overflow: visible;
  margin-bottom: 52px;
}


.single-product .tr-image-gallery .bt-product-video {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding: 6px 10px;
  border: 1px solid #ff6600;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  z-index: 20;
}


.single-product .tr-image-gallery .bt-video-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  flex: 0 0 18px;
  padding: 0;
  border-radius: 10px;
  background: #ff0000;
  color: #fff;
  font-size: 9px;
  line-height: 1;
}


.single-product .tr-image-gallery .bt-video-text {
  display: inline-block;
  white-space: nowrap;
}

.single-product .tr-image-gallery .bt-product-video:hover {
  background: #ff6600;
  border-color: #ff6600;
  color: #fff;
}

.single-product .tr-image-gallery .bt-product-video:hover .bt-video-icon {
  background: #fff;
  color: #ff0000;
}


.bt-video-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.88);
}

.bt-video-inner {
  position: relative;
  width: 100%;
  max-width: 850px;
  background: #000;
  border-radius: 6px;
}

.bt-video-inner iframe,
.bt-video-inner video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
  border-radius: 6px;
}


.bt-video-close {
  position: absolute;
  top: -40px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.bt-video-close:hover {
  color: #ff6600;
}