/* ── Lelux Video Gallery Widget ── */

.lvg-wrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ── Main Player ── */
.lvg-player-wrap {
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	background: #000;
}

.lvg-player-ratio {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 */
}

.lvg-iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* ── Thumbnails ── */
.lvg-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.lvg-thumb {
	position: relative;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid transparent;
	padding: 0;
	cursor: pointer;
	background: none;
	transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
	flex-shrink: 0;
}

.lvg-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}

.lvg-thumb:hover img {
	transform: scale(1.08);
}

.lvg-thumb:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(107, 47, 160, 0.25);
}

.lvg-thumb.lvg-active {
	border-color: #6B2FA0;
	box-shadow: 0 0 0 2px rgba(107, 47, 160, 0.25);
}

/* Play icon overlay */
.lvg-play-icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 16px;
	opacity: 0;
	transition: opacity .2s ease;
}

.lvg-thumb:not(.lvg-active):hover .lvg-play-icon,
.lvg-thumb.lvg-active .lvg-play-icon {
	opacity: 1;
}

/* Player swap animation */
.lvg-player-wrap.lvg-switching .lvg-iframe {
	opacity: 0;
	transition: opacity .2s ease;
}

.lvg-player-wrap .lvg-iframe {
	opacity: 1;
	transition: opacity .3s ease;
}
