/* Sugar Skin – Product Video */
.sspv-slide { position: relative; }
.sspv-slide .sspv-media { position: relative; width: 100%; line-height: 0; }
.sspv-slide .sspv-video {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	background: transparent;
}

/* Main slide: video or variation image, never both */
.sspv-slide .sspv-image { display: none; }
.sspv-slide.is-image .sspv-media { display: none; }
.sspv-slide.is-image .sspv-image { display: block; }

/* No hover zoom over the video */
.sspv-slide.is-video .zoomImg { display: none !important; }

/* Sound toggle */
.sspv-sound {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 5;
	width: 36px;
	height: 36px;
	padding: 8px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	cursor: pointer;
	line-height: 0;
	transition: background .2s;
}
.sspv-sound:hover { background: rgba(0, 0, 0, .65); }
.sspv-sound svg { width: 20px; height: 20px; fill: currentColor; }
.sspv-sound .sspv-ico-on { display: none; }
.sspv-sound.is-on .sspv-ico-on { display: inline; }
.sspv-sound.is-on .sspv-ico-off { display: none; }

/* Play icon on the video's gallery-nav thumbnail (styled like YITH's) */
.sspv-thumb-video { position: relative; }
.sspv-thumb-video::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	transform: translate(-50%, -50%);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-2 14.5v-9l6 4.5z'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: .8;
	filter: drop-shadow(0 0 8px rgba(0, 0, 0, .5));
	pointer-events: none;
	z-index: 999;
}
.sspv-thumb-video:hover::before { opacity: 1; }
