/**
 * Bandeau Black Friday — marquee noir + CTA fixe à droite.
 * Fanion / screen : Anton condensée, capitales.
 */

@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");

.wpcursor-bandeau-black-friday {
	--bf-black: #000;
	--bf-gold: #f2cd78;
	--bf-red: #a63437;
	--bf-cream: #fff8e7;
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	background: var(--bf-black);
	border-top: 1px solid var(--bf-gold);
	border-bottom: 1px solid var(--bf-gold);
	color: #fff;
	font-family: inherit;
	position: relative;
	z-index: 0;
	overflow: hidden;
}

.wpcursor-bandeau-black-friday *,
.wpcursor-bandeau-black-friday *::before,
.wpcursor-bandeau-black-friday *::after {
	box-sizing: border-box;
}

.wpcursor-bandeau-black-friday.is-hidden,
.wpcursor-bandeau-black-friday[hidden] {
	display: none !important;
}

body.ct-nos-preparations-open .wpcursor-bandeau-black-friday {
	visibility: hidden;
	pointer-events: none;
}

.wpcursor-bandeau-black-friday__inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0.45rem 0.75rem 0.45rem 0;
	min-height: 44px;
}

.wpcursor-bandeau-black-friday__marquee {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 1.5rem), transparent 100%);
	-webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 1.5rem), transparent 100%);
}

.wpcursor-bandeau-black-friday__track {
	display: flex;
	width: max-content;
	will-change: transform;
	animation: wpcursor-bf-marquee 75s linear infinite;
}

.wpcursor-bandeau-black-friday__group {
	display: flex;
	flex-shrink: 0;
	align-items: center;
}

.wpcursor-bandeau-black-friday__item {
	display: inline-flex;
	align-items: baseline;
	flex-shrink: 0;
	white-space: nowrap;
	padding-right: 0;
	font-size: 0.92rem;
	line-height: 1.2;
	color: #fff;
}

.wpcursor-bandeau-black-friday__tag {
	font-family: "Anton", Impact, "Arial Narrow", sans-serif;
	font-weight: 400;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--bf-gold);
}

.wpcursor-bandeau-black-friday__offer,
.wpcursor-bandeau-black-friday__code {
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
}

.wpcursor-bandeau-black-friday__sep {
	color: rgba(255, 255, 255, 0.45);
	padding: 0 0.15rem;
}

.wpcursor-bandeau-black-friday__cta {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-right: 0.35rem;
	padding: 0.45rem 1.1rem;
	border-radius: 999px;
	background: #fff;
	color: #000 !important;
	font-family: "Anton", Impact, "Arial Narrow", sans-serif;
	font-size: 0.88rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.1;
	text-transform: uppercase;
	text-decoration: none !important;
	box-shadow: none;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.wpcursor-bandeau-black-friday__cta:hover,
.wpcursor-bandeau-black-friday__cta:focus {
	background: var(--bf-cream);
	color: #000 !important;
	text-decoration: none !important;
}

.wpcursor-bandeau-black-friday__cta:focus-visible {
	outline: 2px solid var(--bf-gold);
	outline-offset: 2px;
}

.wpcursor-bandeau-black-friday__sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@keyframes wpcursor-bf-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wpcursor-bandeau-black-friday__track {
		animation: none;
	}
}

@media (max-width: 980px) {
	.wpcursor-bandeau-black-friday__inner {
		padding: 0.4rem 0.55rem 0.4rem 0;
		min-height: 42px;
		gap: 0.5rem;
	}

	.wpcursor-bandeau-black-friday__item {
		font-size: 0.82rem;
	}

	.wpcursor-bandeau-black-friday__tag {
		font-size: 0.9rem;
	}

	.wpcursor-bandeau-black-friday__cta {
		padding: 0.4rem 0.85rem;
		font-size: 0.78rem;
	}
}

@media (max-width: 480px) {
	.wpcursor-bandeau-black-friday__cta {
		padding: 0.38rem 0.7rem;
		font-size: 0.72rem;
	}
}
