/* vi-product-video.css — Стили для видео-миниатюр на странице товара (кастомная логика темы). */

.vi-product-video-thumb {
	position: relative;
	display: inline-block
}

.vi-product-video-thumb__link {
	display: block;
	position: relative
}

.vi-product-video-thumb__img {
	display: block;
	width: 100%;
	height: auto
}

.vi-product-video-thumb__badge {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-size: 1.15rem;
	line-height: 1
}

.vi-video-embed {
	position: relative;
	padding-bottom: 177.77%;
	height: 0
}

.vi-video-embed iframe {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border: 0
}
