/* Black Friday Week 2026 — bloc éditorial clair dans le hero (au-dessus du titre) + badge du menu Promos.
   Tout est activé par la classe html.dm-bf-on (posée par black-friday.js tant que l'opération dure). */

/* ---------- Badge diagonal sur « Promos » (menu desktop) ---------- */
.dm-bf-on .nav-promo { position: relative; }
.dm-bf-on .nav-promo::before {
	content: "Black Friday";
	position: absolute;
	left: 50%;
	top: -9px;
	transform: translateX(-50%) rotate(-9deg);
	padding: 3px 7px 3px;
	background: #0b0b0c;
	color: #fff;
	font-family: var(--text, "Inter Tight", system-ui, sans-serif);
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
	border-radius: 2px;
	box-shadow: 0 0 0 1.5px var(--gold, #c9a24b);
	pointer-events: none;
	z-index: 2;
	animation: dm-bf-wiggle 4s ease-in-out infinite;
}
@keyframes dm-bf-wiggle {
	0%, 86%, 100% { transform: translateX(-50%) rotate(-9deg); }
	90% { transform: translateX(-50%) rotate(-3deg) scale(1.06); }
	94% { transform: translateX(-50%) rotate(-12deg); }
}

/* Menu mobile : pastille inclinée à côté du libellé */
.dm-bf-on .mm-btn[href*="dm_vue=promotions"]::after {
	content: "Black Friday";
	display: inline-block;
	margin-left: 10px;
	padding: 4px 8px;
	background: #0b0b0c;
	color: #fff;
	font-family: var(--text, "Inter Tight", system-ui, sans-serif);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1;
	vertical-align: middle;
	transform: rotate(-8deg);
	border-radius: 2px;
	box-shadow: 0 0 0 1.5px var(--gold, #c9a24b);
}

/* ---------- Bloc Black Friday Week dans le hero (version claire, éditoriale) ---------- */
a.dm-bf-hero {
	position: relative;
	display: flex;
	align-items: center;
	gap: 22px;
	width: 100%;
	max-width: 600px;
	margin: 0 0 30px;
	padding: 16px 0 16px 22px;
	color: var(--ink, #111);
	text-decoration: none;
	/* fondu porcelaine -> blanc */
	background: linear-gradient(90deg, var(--porc, #f2f2ef) 0%, rgba(242,242,239,.55) 55%, rgba(242,242,239,0) 100%);
	border-left: 2px solid var(--sale, #b4232c);
	animation: dm-bf-in .8s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes dm-bf-in {
	from { opacity: 0; transform: translateX(-10px); }
	to { opacity: 1; transform: none; }
}

.dm-bf-pct {
	flex: none;
	font-family: var(--display, "Syne", sans-serif);
	font-weight: 700;
	font-size: 34px;
	line-height: 1;
	letter-spacing: -.03em;
	color: var(--sale, #b4232c);
}
.dm-bf-pct small {
	display: block;
	margin-bottom: 4px;
	font-family: var(--text, "Inter Tight", sans-serif);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted, #5f5f5b);
}

.dm-bf-sep { flex: none; width: 1px; align-self: stretch; background: var(--line, #e2e2de); }

.dm-bf-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.dm-bf-t {
	font-family: var(--display, "Syne", sans-serif);
	font-weight: 700;
	font-size: 19px;
	line-height: 1.05;
	letter-spacing: -.01em;
}
.dm-bf-s {
	font-family: var(--text, "Inter Tight", sans-serif);
	font-size: 14px;
	line-height: 1.35;
	color: var(--muted, #5f5f5b);
}
.dm-bf-s u {
	text-decoration: none;
	color: var(--ink, #111);
	font-weight: 500;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 1px;
	transition: background-size .3s ease;
	white-space: nowrap;
}
.dm-bf-s u svg { display: inline-block; vertical-align: -2px; margin-left: 4px; transition: transform .3s ease; }
a.dm-bf-hero:hover .dm-bf-s u svg { transform: translateX(3px); }
a.dm-bf-hero:hover .dm-bf-s u { background-size: 0 1px; background-position: 100% 100%; }
a.dm-bf-hero:focus-visible { outline: 2px solid var(--ink, #111); outline-offset: 4px; }

@media (max-width: 560px) {
	a.dm-bf-hero { gap: 14px; padding: 12px 0 12px 16px; margin-bottom: 22px; }
	.dm-bf-pct { font-size: 26px; }
	.dm-bf-t { font-size: 16px; }
	.dm-bf-s { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
	a.dm-bf-hero, .dm-bf-on .nav-promo::before { animation: none; }
	.dm-bf-s u, .dm-bf-s u svg { transition: none; }
}
