/* Boutique PcLanD — Black Friday (thème 1.1.27, partenaires 1.1.31) : bandeau, badge, page /black-friday/ */

/* Bandeau en haut de toutes les pages */
.pcl-bf-bandeau {
	background: #0b0b0b;
	color: #ffffff;
	font-size: 14px;
	line-height: 1.35;
}

.pcl-bf-bandeau__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	align-items: center;
	justify-content: center;
	max-width: 1400px;
	margin: 0 auto;
	padding: 9px 16px;
	text-align: center;
}

.pcl-bf-bandeau__titre {
	padding: 3px 10px;
	border-radius: 6px;
	background: #ffb020;
	color: #0b0b0b;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .05em;
	font-size: 12px;
}

.pcl-bf-bandeau__texte {
	font-weight: 600;
}

.pcl-bf-bandeau__compte {
	color: #ffb020;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.pcl-bf-bandeau a.pcl-bf-bandeau__bouton {
	padding: 5px 14px;
	border: 1px solid rgba(255, 255, 255, .4);
	border-radius: 999px;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.pcl-bf-bandeau a.pcl-bf-bandeau__bouton:hover,
.pcl-bf-bandeau a.pcl-bf-bandeau__bouton:focus-visible {
	border-color: #ffb020;
	color: #ffb020;
}

@media (max-width: 700px) {
	.pcl-bf-bandeau__texte {
		display: none;
	}
	.pcl-bf-bandeau__inner {
		gap: 6px 10px;
		padding: 8px 12px;
	}
}

/* Badge produit */
.pcl-badge-bf .onsale,
.pcl-badge-promo.pcl-badge-bf .onsale {
	background: #0b0b0b !important;
	color: #ffb020 !important;
	white-space: nowrap;
}

.pcl-badge-bf .onsale b {
	color: #ffffff;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .03em;
}

/* Page /black-friday/ */
.pcl-page-bf .inside-article {
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.pcl-bf {
	box-sizing: border-box;
	max-width: 1280px;
	margin: 0 auto;
	padding: 24px 0 48px;
}

.pcl-bf *,
.pcl-bf *::before,
.pcl-bf *::after {
	box-sizing: border-box;
}

.pcl-bf__hero {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 24px 40px;
	align-items: center;
	justify-content: space-between;
	padding: 44px;
	border-radius: 24px;
	background: radial-gradient(120% 140% at 100% 0%, #2b2b2b 0%, #111111 55%, #050505 100%);
	color: #ffffff;
	overflow: hidden;
}

.pcl-bf__hero::after {
	content: "BLACK FRIDAY";
	position: absolute;
	right: -10px;
	bottom: -26px;
	color: rgba(255, 255, 255, .045);
	font-size: 120px;
	font-weight: 900;
	letter-spacing: -.04em;
	white-space: nowrap;
	pointer-events: none;
}

.pcl-bf__hero-texte {
	position: relative;
	z-index: 1;
	flex: 1 1 460px;
	max-width: 680px;
}

.pcl-bf p.pcl-bf__surtitre {
	display: inline-block;
	margin: 0 0 14px;
	padding: 5px 12px;
	border-radius: 6px;
	background: #ffb020;
	color: #0b0b0b;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.pcl-bf h1.pcl-bf__titre {
	margin: 0;
	color: #ffffff;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -.02em;
}

.pcl-bf p.pcl-bf__chapo {
	margin: 14px 0 0;
	color: #d4d4d4;
	font-size: 18px;
	line-height: 1.55;
}

.pcl-bf__compte {
	position: relative;
	z-index: 1;
	display: flex;
	gap: 10px;
	font-variant-numeric: tabular-nums;
}

.pcl-bf__compte span {
	display: grid;
	place-items: center;
	min-width: 76px;
	padding: 12px 8px 10px;
	border: 1px solid rgba(255, 176, 32, .4);
	border-radius: 14px;
	background: rgba(255, 255, 255, .05);
	color: #d4d4d4;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.pcl-bf__compte b {
	color: #ffb020;
	font-size: 32px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 0;
}

.pcl-bf__produits {
	margin-top: 32px;
}

.pcl-bf p.pcl-bf__vide {
	margin: 32px 0 0;
	text-align: center;
	font-size: 17px;
}

.pcl-bf a.pcl-bf__bouton {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 12px;
	background: #14275a;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.pcl-bf__infos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.pcl-bf__infos li {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid #d6e0ef;
	border-radius: 14px;
	background: #ffffff;
	color: #5b6577;
	font-size: 14px;
	line-height: 1.5;
}

.pcl-bf__infos strong {
	display: block;
	margin-bottom: 4px;
	color: #14275a;
	font-size: 15px;
}

@media (max-width: 1024px) {
	.pcl-bf__infos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.pcl-bf {
		padding: 12px 16px 36px;
	}
	.pcl-bf__hero {
		padding: 28px 20px;
		border-radius: 18px;
	}
	.pcl-bf p.pcl-bf__chapo {
		font-size: 16px;
	}
	.pcl-bf__compte {
		width: 100%;
		gap: 6px;
	}
	.pcl-bf__compte span {
		flex: 1 1 0;
		min-width: 0;
	}
	.pcl-bf__compte b {
		font-size: 24px;
	}
	.pcl-bf__hero::after {
		font-size: 64px;
		bottom: -12px;
	}
	.pcl-bf__infos {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Protection contre les styles de contenu du thème */
.entry-content .pcl-bf ul {
	margin-left: 0;
	padding-left: 0;
}

.entry-content .pcl-bf li::before {
	content: none;
}

.entry-content .pcl-bf h1.pcl-bf__titre {
	color: #ffffff !important;
}

.entry-content .pcl-bf p.pcl-bf__chapo {
	color: #d4d4d4 !important;
}

.entry-content .pcl-bf .pcl-bf__infos li {
	color: #5b6577 !important;
}

.entry-content .pcl-bf .pcl-bf__infos strong {
	color: #14275a !important;
}

.entry-content .pcl-bf h1 {
	font-weight: 900 !important;
	margin: 0 !important;
}

/* Mobile et tablette : l'en-tête est fixé en haut, le bandeau passe juste au-dessus de la barre d'onglets du bas */
@media (max-width: 991px) {
	.pcl-bf-bandeau {
		position: fixed;
		left: 0;
		right: 0;
		bottom: calc(var(--m-tab-h, 64px) + var(--m-safe, 0px));
		z-index: 998;
		box-shadow: 0 -6px 18px rgba(0, 0, 0, .18);
	}

	.pcl-bf-bandeau__inner {
		flex-wrap: nowrap;
		justify-content: space-between;
		padding: 7px 12px;
		font-size: 13px;
	}

	.pcl-bf-bandeau__texte,
	.pcl-bf-bandeau__long {
		display: none;
	}

	.pcl-bf-bandeau__titre {
		font-size: 11px;
		white-space: nowrap;
	}

	.pcl-bf-bandeau__compte {
		font-size: 12.5px;
		white-space: nowrap;
	}

	.pcl-bf-bandeau a.pcl-bf-bandeau__bouton {
		padding: 4px 10px;
		font-size: 12.5px;
		white-space: nowrap;
	}

	/* Fiche produit : la barre d'achat est déjà en bas, le bandeau s'efface (le badge Black Friday reste) */
	html.pcl-buybar-on .pcl-bf-bandeau {
		display: none;
	}
}

@media (max-width: 768px) {
	/* Le bouton « Besoin d'aide » remonte au-dessus du bandeau */
	html:not(.pcl-buybar-on) body.pcl-bf-actif .floating-help-button.pcl-aide {
		bottom: calc(var(--m-tab-h, 64px) + var(--m-safe, 0px) + 52px) !important;
	}
}

/* Offres des partenaires (produits affiliés : VPN…) — 1.1.31 */
.pcl-bf__partenaires {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid #e6e8ec;
}

.pcl-bf h2.pcl-bf__sous-titre,
.entry-content .pcl-bf h2.pcl-bf__sous-titre {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
	color: #0b0b0b;
}

.pcl-bf p.pcl-bf__note,
.entry-content .pcl-bf p.pcl-bf__note {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.5;
	color: #5a6170;
}

/* Bouton du partenaire (« Voir l'offre CyberGhost »…) : texte long sur deux lignes plutôt que coupé */
.pcl-bf__partenaires li.product .button,
.pcl-bf__partenaires li.product a.button {
	max-width: 100%;
	height: auto !important;
	min-height: 40px;
	white-space: normal !important;
	line-height: 1.25 !important;
	text-align: center;
	justify-content: center;
	overflow-wrap: anywhere;
}

@media (max-width: 700px) {
	.pcl-bf__partenaires {
		margin-top: 28px;
		padding-top: 20px;
	}
	.pcl-bf h2.pcl-bf__sous-titre,
	.entry-content .pcl-bf h2.pcl-bf__sous-titre {
		font-size: 20px;
	}
}
