/* PPSOLAR — Vidéos produit (inc/videos-produit.php). Bouton identique à l'ancienne extension. */
.pp-vid-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
	padding: 10px 20px;
	background: #FE5252;
	color: #fff;
	font-family: inherit;
	font-size: 1.5rem;
	font-weight: 600;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	width: 100%;
	box-sizing: border-box;
	transition: background .2s;
}
.pp-vid-btn:hover { background: #e03c3c; color: #fff; }
.pp-vid-btn svg { flex: none; }

.pp-vid-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .85);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}
.pp-vid-overlay[hidden] { display: none !important; }
.pp-vid-inner {
	position: relative;
	width: 100%;
	max-width: 900px;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	background: #0F1A2B;
	border-radius: 8px;
	overflow: hidden;
}
.pp-vid-frame { position: relative; padding-top: 56.25%; background: #000; flex: none; }
.pp-vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pp-vid-close {
	position: absolute;
	top: 8px;
	right: 12px;
	z-index: 10;
	background: rgba(0, 0, 0, .6);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	font-size: 1.3rem;
	cursor: pointer;
	padding: 0;
	line-height: 36px;
	text-align: center;
}
.pp-vid-close:hover { background: #FE5252; }

/* Liste des vidéos (uniquement quand il y en a plusieurs) */
.pp-vid-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px;
	overflow-y: auto;
}
.pp-vid-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px 8px 8px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	text-align: left;
	transition: background .15s, border-color .15s;
}
.pp-vid-item:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.pp-vid-item.is-active { background: #fff; border-color: #fff; color: #0F1A2B; }
.pp-vid-num {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
}
.pp-vid-item.is-active .pp-vid-num { background: #0F1A2B; color: #fff; }

@media (max-width: 600px) {
	.pp-vid-list { flex-direction: column; flex-wrap: nowrap; }
	.pp-vid-item { border-radius: 8px; }
}
