/* ============================================================
   Product Videos — card grid (2 per row) + lightbox
   ============================================================ */

.video-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.video-card {
	background: #fff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform var(--transition), box-shadow var(--transition);
	display: flex;
	flex-direction: column;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.video-thumb {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: #000;
	cursor: pointer;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease, opacity var(--transition);
}
.video-thumb:hover img { transform: scale(1.05); opacity: 0.9; }

.video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: rgba(15, 42, 72, 0.72);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--transition), transform var(--transition);
	padding-left: 4px;
}
.video-thumb:hover .video-play { background: var(--rust); transform: translate(-50%, -50%) scale(1.08); }

.video-body { padding: 18px 20px 22px; }
.video-title { font-size: 1.1rem; margin: 0 0 6px; color: var(--blue); }
.video-desc { margin: 0; color: var(--gray-500); font-size: 0.92rem; line-height: 1.5; }

.video-cta { margin-top: 44px; }
.video-empty { padding: 40px 0; }
.video-empty-hint { color: var(--gray-500); font-size: 0.9rem; margin-top: 14px; }

/* Lightbox */
.video-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(6, 15, 26, 0.86); }
.video-modal-inner {
	position: relative;
	width: min(1000px, 100%);
	z-index: 1;
}
.video-modal-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-close {
	position: absolute;
	top: -44px;
	right: 0;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
	transition: color var(--transition);
}
.video-modal-close:hover { color: var(--rust-light); }

@media (max-width: 720px) {
	.video-grid { grid-template-columns: 1fr; gap: 22px; }
	.video-modal-close { top: -40px; }
}
