/* TimiLab Product Video – front end */

.tlpv-hover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	display: block;
	object-fit: cover;
	opacity: 0;
	transition: opacity var(--tlpv-fade, 250ms) ease;
	pointer-events: none; /* clicks still go to the product link */
	z-index: 1;
	background: transparent;
}

.tlpv-hover.is-visible {
	opacity: 1;
}

/* Keep theme overlays (OceanWP Quick View, sale badge, buttons) above the video */
.tlpv-ready .owp-quick-view,
.tlpv-ready .woo-entry-buttons,
.tlpv-ready .onsale,
.tlpv-ready .outofstock-badge,
.tlpv-ready .button-wrap {
	z-index: 3;
}

/* Single product page */
.tlpv-single {
	clear: both;
	margin: 24px 0 0;
}

.tlpv-single__title {
	margin: 0 0 10px;
	font-size: 1.1em;
	line-height: 1.3;
}

.tlpv-single__video {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	background: #000;
}

/* Placed right after the main image, above the thumbnails */
.tlpv-single--after-image {
	margin: 12px 0;
}
