/* Waslli EG — Product videos (lazy facade + iframe on click). */

.waslli-videos-section {
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: min(100%, 900px);
	padding: clamp(12px, 2vw, 18px);
	margin: 24px auto 32px;
	border: 1px solid rgba(0, 183, 122, 0.28);
	border-top: 4px solid #00b77a;
	border-radius: 14px;
	background: linear-gradient(180deg, #f8fdfb 0%, #fff 100%);
	box-shadow: 0 12px 30px rgba(0, 81, 53, 0.08);
}
.waslli-video {
	position: relative;
	width: 100%;
	max-width: 680px;
	margin-inline: auto;
	padding: 7px;
	border: 1px solid rgba(0, 183, 122, 0.38);
	border-bottom: 4px solid #fe6102;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 14px 32px rgba(0, 81, 53, 0.12);
	isolation: isolate;
}
.waslli-video--portrait { max-width: 440px; }

.waslli-video__frame {
	position: relative;
	width: 100%;
	background: #000;
	border-radius: 9px;
	overflow: hidden;
	display: block;
}
.waslli-video--landscape .waslli-video__frame { aspect-ratio: 16/9; }
.waslli-video--portrait  .waslli-video__frame { aspect-ratio: 9/16; }

.waslli-video__thumb {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.02);
	transition: transform 0.4s ease, filter 0.3s ease;
}
.waslli-video__thumb--empty {
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #1f2937, #111827);
	color: #cbd5e1;
}
.waslli-video:hover .waslli-video__thumb {
	transform: scale(1.06);
	filter: brightness(0.85);
}

.waslli-video__play {
	position: absolute; inset: 0; margin: auto;
	width: 78px; height: 78px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(0, 183, 122, 0.95), rgba(0, 81, 53, 0.98));
	color: #fff;
	border: 0;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 5px rgba(255,255,255,0.14);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.waslli-video__play svg { margin-right: -3px; }
.waslli-video__play:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(255,255,255,0.18); }

.waslli-video__shield {
	position: absolute; inset: 0;
	pointer-events: none;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.waslli-video iframe {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	border: 0;
}

.waslli-video.is-playing .waslli-video__thumb,
.waslli-video.is-playing .waslli-video__play { display: none; }

@media (max-width: 480px) {
	.waslli-videos-section {
		width: calc(100% - 16px);
		padding: 8px;
		margin-block: 18px 26px;
		border-radius: 12px;
	}
	.waslli-video__play { width: 62px; height: 62px; }
	.waslli-video--portrait { max-width: 380px; }
	.waslli-video { padding: 5px; border-radius: 12px; }
}
