/* Frontend */
.tdsc-product-video-slide {
	position: relative;
	overflow: hidden;
}

.tdsc-product-video-slide .tdsc-video-inner {
	position: relative;
	width: 100%;
	height: 100%;
}

.tdsc-product-gallery-video {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	background: #000;
}

.tdsc-video--theme-size .tdsc-product-gallery-video {
	width: 100%;
	height: auto;
	object-fit: contain;
}

.tdsc-gallery-play-badge {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 68px;
	height: 68px;
	transform: translate(-50%, -50%);
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.72);
	pointer-events: none;
}

.tdsc-gallery-play-badge::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-38%, -50%);
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 18px solid #fff;
}

.flex-control-thumbs li.tdsc-video-thumb,
.thumbnails .tdsc-video-thumb,
.swiper-wrapper .tdsc-video-thumb,
.flickity-page-dots .tdsc-video-thumb {
	position: relative;
}

.flex-control-thumbs li.tdsc-video-thumb::after,
.thumbnails .tdsc-video-thumb::after,
.swiper-wrapper .tdsc-video-thumb::after,
.flickity-page-dots .tdsc-video-thumb::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	transform: translate(-50%, -50%);
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.72);
	box-shadow: 0 0 0 1px rgba(255,255,255,0.35);
	pointer-events: none;
}

.flex-control-thumbs li.tdsc-video-thumb::before,
.thumbnails .tdsc-video-thumb::before,
.swiper-wrapper .tdsc-video-thumb::before,
.flickity-page-dots .tdsc-video-thumb::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-35%, -50%);
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid #fff;
	z-index: 2;
	pointer-events: none;
}

.tdsc-product-video-slide.tdsc-no-play-slide .tdsc-gallery-play-badge {
	display: none !important;
}

.flex-control-thumbs li.tdsc-video-thumb.tdsc-no-play-thumb::before,
.flex-control-thumbs li.tdsc-video-thumb.tdsc-no-play-thumb::after,
.thumbnails .tdsc-video-thumb.tdsc-no-play-thumb::before,
.thumbnails .tdsc-video-thumb.tdsc-no-play-thumb::after,
.swiper-wrapper .tdsc-video-thumb.tdsc-no-play-thumb::before,
.swiper-wrapper .tdsc-video-thumb.tdsc-no-play-thumb::after,
.flickity-page-dots .tdsc-video-thumb.tdsc-no-play-thumb::before,
.flickity-page-dots .tdsc-video-thumb.tdsc-no-play-thumb::after {
	display: none !important;
}


.tdsc-youtube-wrap {
	position: relative;
	width: 100%;
	padding-top: 150%;
	background: #000;
}

.tdsc-product-gallery-youtube {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}


.tdsc-youtube-placeholder{display:block;position:relative;width:100%;padding:0;border:0;background:transparent;cursor:pointer}
.tdsc-youtube-placeholder img{display:block;width:100%;height:auto}
.tdsc-youtube-wrap .tdsc-gallery-play-badge--youtube{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
