/**
 * Mister Cali — la vente flash (inc/flash.php, assets/js/flash.js).
 *
 * Servie sur toutes les pages tant que la vente court. La regle de la maison
 * tient : les grands panneaux sont noirs avec leur bandeau jaune de 6 px, le
 * jaune accentue. Chaque gamme parle dans sa matiere : or pour le CBD
 * Premium, braise pour le CBD Intense.
 *
 * Tout le mouvement tombe sous « reduire les animations ».
 */

:root {
	--mc-flash-eclair: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 40'%3E%3Cpath d='M14 0 2 23h8l-3 17 15-25h-8l4-15z' fill='%23FFC800'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ *
 * Le bandeau du haut
 * ------------------------------------------------------------------ */

.mc-flash-bandeau {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--mc-noir);
	color: #fff;
	font-family: var(--mc-courant);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	overflow: hidden;
}

.mc-flash-bandeau::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 2px;
	background: var(--mc-jaune);
}

.mc-flash-bandeau__defile {
	display: flex;
	flex: none;
	gap: 0;
	white-space: nowrap;
	animation: mc-flash-defile 28s linear infinite;
}

.mc-flash-bandeau:hover .mc-flash-bandeau__defile {
	animation-play-state: paused;
}

.mc-flash-bandeau__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 26px;
}

.mc-flash-bandeau__item svg {
	width: 11px;
	height: 18px;
	fill: var(--mc-jaune);
	animation: mc-flash-clignote 1.4s steps(1) infinite;
}

.mc-flash-bandeau__item b {
	padding: 2px 8px 1px;
	border-radius: 6px;
	background: var(--mc-matiere-or);
	color: #1b1405;
	font-weight: 700;
}

.mc-flash-bandeau__item b.est-braise {
	background: var(--mc-matiere-braise);
	color: #fff;
}

.mc-flash-bandeau__fin {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 2px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 16px 0 28px;
	background: linear-gradient(90deg, transparent, var(--mc-noir) 22px);
	color: var(--mc-gris-meta);
}

.mc-flash-bandeau__fin b {
	min-width: 9.2ch;
	padding: 3px 10px 2px;
	border-radius: 999px;
	background: var(--mc-jaune);
	color: #111;
	font-variant-numeric: tabular-nums;
	text-align: center;
}

@keyframes mc-flash-defile {
	to { transform: translate3d(-50%, 0, 0); }
}

@keyframes mc-flash-clignote {
	0%, 70% { opacity: 1; }
	71%, 100% { opacity: 0.35; }
}

@media (max-width: 599px) {
	.mc-flash-bandeau {
		height: 36px;
		font-size: 11.5px;
	}

	.mc-flash-bandeau__fin span {
		display: none;
	}

	.mc-flash-bandeau__fin {
		padding-right: 10px;
	}
}

/* ------------------------------------------------------------------ *
 * Le compte a rebours
 * ------------------------------------------------------------------ */

.mc-flash-chrono {
	display: flex;
	gap: 8px;
}

.mc-flash-chrono__case {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 64px;
	padding: 10px 8px 7px;
	border-radius: 14px;
	background: linear-gradient(180deg, #1d1d20 0%, #141416 50%, #0e0e10 50.5%, #17171a 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px -14px rgba(0, 0, 0, 0.9);
}

.mc-flash-chrono__case b {
	display: block;
	font-family: var(--mc-titres);
	font-size: 40px;
	font-weight: 400;
	line-height: 1;
	color: var(--mc-jaune);
	font-variant-numeric: tabular-nums;
	text-shadow: 0 0 22px rgba(255, 200, 0, 0.35);
}

.mc-flash-chrono__case b.est-tic {
	animation: mc-flash-tic 0.42s cubic-bezier(.2, .9, .25, 1);
}

.mc-flash-chrono__case small {
	margin-top: 4px;
	font-family: var(--mc-courant);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mc-gris-meta);
}

@keyframes mc-flash-tic {
	0% { transform: translateY(-38%) scale(1.08); opacity: 0; }
	100% { transform: none; opacity: 1; }
}

.mc-flash-chrono--mini .mc-flash-chrono__case {
	min-width: 0;
	flex: 1;
	padding: 7px 4px 5px;
	border-radius: 10px;
}

.mc-flash-chrono--mini .mc-flash-chrono__case b {
	font-size: 24px;
}

.mc-flash-chrono--mini .mc-flash-chrono__case small {
	font-size: 9px;
}

/* ------------------------------------------------------------------ *
 * Le point rouge « en direct »
 * ------------------------------------------------------------------ */

.mc-flash-sheet__live {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 7px 14px 7px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	font-family: var(--mc-courant);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mc-jaune);
	align-self: flex-start;
}

.mc-flash-sheet__live span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--mc-rouge);
	animation: mc-flash-live 1.6s ease-out infinite;
}

@keyframes mc-flash-live {
	0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7); }
	70% { box-shadow: 0 0 0 9px rgba(124, 58, 237, 0); }
	100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

/* ------------------------------------------------------------------ *
 * Les cartes de gamme : la remise en enorme, dans la matiere
 * ------------------------------------------------------------------ */

.mc-flash-gamme {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-height: 230px;
	padding: 20px 20px 18px;
	border-radius: 22px;
	color: #1b1405;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.25s cubic-bezier(.2, .9, .25, 1), box-shadow 0.25s;
}

.mc-flash-gamme--premium {
	background: var(--mc-matiere-or);
	box-shadow: var(--mc-relief-or);
}

.mc-flash-gamme--neo {
	background: var(--mc-matiere-braise);
	box-shadow: var(--mc-relief-braise);
	color: #fff;
}

.mc-flash-gamme:hover,
.mc-flash-gamme:focus-visible {
	transform: translateY(-4px) rotate(-0.6deg);
}

.mc-flash-gamme--premium:hover {
	box-shadow: var(--mc-relief-or-survol);
}

.mc-flash-gamme--neo:hover {
	box-shadow: var(--mc-relief-braise-survol);
}

/* L'eclat qui balaie la matiere. */
.mc-flash-gamme__eclat {
	position: absolute;
	inset: -20% auto -20% -60%;
	width: 45%;
	z-index: 1;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: skewX(-18deg);
	animation: mc-flash-eclat 3.6s ease-in-out infinite;
	pointer-events: none;
}

.mc-flash-gamme--neo .mc-flash-gamme__eclat {
	animation-delay: 1.8s;
	background: linear-gradient(100deg, transparent, rgba(255, 220, 200, 0.4), transparent);
}

@keyframes mc-flash-eclat {
	0%, 55% { left: -60%; }
	100% { left: 130%; }
}

.mc-flash-gamme__covers {
	position: absolute;
	top: 14px;
	right: 8px;
	width: 150px;
	height: 120px;
	z-index: -1;
}

.mc-flash-gamme__covers span {
	position: absolute;
	top: 0;
	right: calc(var(--i) * 34px);
	width: 84px;
	aspect-ratio: 1;
	border-radius: 14px;
	overflow: hidden;
	transform: rotate(calc(10deg - var(--i) * 10deg)) translateY(calc(var(--i) * 8px));
	box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.55);
	animation: mc-flash-flotte 4.2s ease-in-out calc(var(--i) * -1.3s) infinite;
}

.mc-flash-gamme__covers img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@keyframes mc-flash-flotte {
	50% { translate: 0 -6px; }
}

.mc-flash-gamme__nom {
	font-family: var(--mc-courant);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mc-flash-gamme__taux {
	margin: auto 0 0;
	font-family: var(--mc-titres);
	font-size: clamp(76px, 11vw, 132px);
	font-weight: 400;
	line-height: 0.86;
	letter-spacing: -0.01em;
	text-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.mc-flash-gamme__taux small {
	font-size: 0.5em;
	vertical-align: 0.72em;
	margin-left: 2px;
}

.mc-flash-gamme__detail {
	font-family: var(--mc-courant);
	font-size: 13px;
	font-weight: 600;
	opacity: 0.82;
}

.mc-flash-gamme__cta {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	padding: 9px 14px 8px;
	border-radius: 999px;
	background: #111;
	color: var(--mc-jaune);
	font-family: var(--mc-courant);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: transform 0.2s;
}

.mc-flash-gamme:hover .mc-flash-gamme__cta {
	transform: translateX(3px);
}

/* ------------------------------------------------------------------ *
 * Le ruban des vraies affaires
 * ------------------------------------------------------------------ */

.mc-flash-ruban {
	position: relative;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.mc-flash-ruban__piste {
	display: flex;
	width: max-content;
	animation: mc-flash-defile 46s linear infinite;
}

.mc-flash-ruban:hover .mc-flash-ruban__piste,
.mc-flash-ruban:focus-within .mc-flash-ruban__piste {
	animation-play-state: paused;
}

.mc-flash-ruban__liste {
	display: flex;
	gap: 10px;
	margin: 0;
	padding: 0 10px 0 0;
	list-style: none;
}

.mc-flash-ruban__item a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px 6px 6px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.mc-flash-ruban__item a:hover {
	background: rgba(255, 255, 255, 0.12);
}

.mc-flash-ruban__item img {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	object-fit: cover;
}

.mc-flash-ruban__nom {
	font-family: var(--mc-courant);
	font-size: 14px;
	font-weight: 600;
}

.mc-flash-ruban__nom small {
	color: var(--mc-gris-meta);
	font-weight: 500;
}

.mc-flash-ruban__prix s {
	color: var(--mc-gris-meta);
	font-size: 13px;
}

.mc-flash-ruban__prix b {
	margin-left: 4px;
	font-family: var(--mc-titres);
	font-size: 19px;
	font-weight: 400;
	color: var(--mc-or-texte);
}

.mc-flash-ruban__item--neo .mc-flash-ruban__prix b {
	color: var(--mc-rouge-neo-texte);
}

/* ------------------------------------------------------------------ *
 * Le sheet
 * ------------------------------------------------------------------ */

.mc-flash-sheet {
	position: fixed;
	inset: 0;
	z-index: 995;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.mc-flash-sheet[hidden] {
	display: none;
}

html.mc-flash-ouvert,
html.mc-flash-ouvert body {
	overflow: hidden;
}

.mc-flash-sheet__voile {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 50% at 50% 40%, rgba(255, 200, 0, 0.18), transparent 70%),
		rgba(6, 6, 8, 0.78);
	backdrop-filter: blur(6px);
	animation: mc-flash-fondu 0.35s ease both;
}

.mc-flash-sheet.est-sortie .mc-flash-sheet__voile {
	animation: mc-flash-fondu 0.28s ease reverse both;
}

@keyframes mc-flash-fondu {
	from { opacity: 0; }
}

.mc-flash-sheet__panneau {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
	width: min(920px, 100%);
	max-height: calc(100dvh - 48px);
	padding: 34px 34px 26px;
	border-radius: 28px;
	background:
		radial-gradient(90% 70% at 100% 0%, rgba(255, 200, 0, 0.16), transparent 60%),
		radial-gradient(70% 60% at 0% 100%, rgba(124, 58, 237, 0.16), transparent 60%),
		var(--mc-noir);
	color: #fff;
	/* Le bandeau de 6 px des panneaux sombres : une ombre interne, qui reste
	   en haut quand le contenu defile. */
	box-shadow: inset 0 6px 0 var(--mc-jaune), 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	/* Pas de barre de defilement : dans un panneau arrondi, celle de Safari
	   tranchait le coin droit et coupait le bandeau jaune. Le contenu defile
	   toujours a la molette et au doigt. */
	scrollbar-width: none;
	outline: 0;
	animation: mc-flash-entre 0.6s cubic-bezier(.16, 1.2, .3, 1) both;
}

.mc-flash-sheet.est-sortie .mc-flash-sheet__panneau {
	animation: mc-flash-sort 0.28s ease-in both;
}

.mc-flash-sheet__panneau::-webkit-scrollbar {
	display: none;
}

/* La trame qui derive. */
.mc-flash-sheet__panneau::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.3px, transparent 1.4px);
	background-size: 22px 22px;
	mask-image: linear-gradient(160deg, #000 0%, transparent 60%);
	pointer-events: none;
}

@keyframes mc-flash-entre {
	from { opacity: 0; transform: translateY(40px) scale(0.94); }
}

@keyframes mc-flash-sort {
	to { opacity: 0; transform: translateY(30px) scale(0.97); }
}

/* Une colonne qui defile ne doit rien ecraser : sans ca, le ruban (en
   `overflow: hidden`, donc sans hauteur minimale) tombait a zero. */
.mc-flash-sheet__panneau > * {
	flex-shrink: 0;
}

.mc-flash-sheet__poignee {
	display: none;
}

.mc-flash-sheet__fermer {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 4;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}

.mc-flash-sheet__fermer:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: rotate(90deg);
}

.mc-flash-sheet__eclairs {
	position: absolute;
	top: 10px;
	right: 90px;
	display: flex;
	gap: 14px;
	pointer-events: none;
}

.mc-flash-sheet__eclairs svg {
	width: 34px;
	height: 56px;
	fill: var(--mc-jaune);
	opacity: 0;
	filter: drop-shadow(0 0 14px rgba(255, 200, 0, 0.7));
	transform: rotate(calc(12deg - var(--i) * 12deg)) translateY(calc(var(--i) * 10px));
	animation: mc-flash-foudre 2.8s steps(1) calc(0.5s + var(--i) * 0.35s) infinite;
}

@keyframes mc-flash-foudre {
	0% { opacity: 1; }
	6% { opacity: 0.2; }
	10% { opacity: 1; }
	40% { opacity: 0.9; }
	62% { opacity: 0.12; }
	100% { opacity: 0.12; }
}

.mc-flash-sheet__tete {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 6px;
}

.mc-flash-sheet__titre {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 0.18em;
	margin: 0;
	font-family: var(--mc-titres);
	font-size: clamp(64px, 11vw, 136px);
	font-weight: 400;
	line-height: 0.86;
	text-transform: uppercase;
	color: #fff;
}

.mc-flash-sheet__mot {
	display: inline-block;
	animation: mc-flash-claque 0.7s cubic-bezier(.2, 1.4, .3, 1) 0.1s both;
}

.mc-flash-sheet__mot--flash {
	color: var(--mc-jaune);
	transform: skewX(-8deg);
	text-shadow: 0 0 40px rgba(255, 200, 0, 0.45);
	animation-delay: 0.28s;
	animation-name: mc-flash-claque-oblique;
}

@keyframes mc-flash-claque {
	0% { opacity: 0; transform: scale(2.2); filter: blur(10px); }
	60% { opacity: 1; filter: blur(0); }
	100% { transform: none; }
}

@keyframes mc-flash-claque-oblique {
	0% { opacity: 0; transform: skewX(-8deg) scale(2.4); filter: blur(10px); }
	60% { opacity: 1; filter: blur(0); }
	100% { transform: skewX(-8deg); }
}

.mc-flash-sheet__brush {
	margin: -4px 0 0;
	font-family: var(--wp--preset--font-family--brush);
	font-size: clamp(26px, 3.6vw, 40px);
	line-height: 1;
	color: var(--mc-jaune);
	transform: rotate(-2.5deg);
	transform-origin: left center;
	animation: mc-flash-monte 0.6s cubic-bezier(.2, .9, .25, 1) 0.55s both;
}

@keyframes mc-flash-monte {
	from { opacity: 0; transform: translateY(14px) rotate(-2.5deg); }
}

.mc-flash-chrono--sheet {
	animation: mc-flash-monte 0.6s cubic-bezier(.2, .9, .25, 1) 0.65s both;
}

.mc-flash-sheet__gammes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.mc-flash-sheet__gammes .mc-flash-gamme {
	animation: mc-flash-carte 0.7s cubic-bezier(.2, 1.3, .3, 1) both;
}

.mc-flash-sheet__gammes .mc-flash-gamme:nth-child(1) {
	animation-delay: 0.75s;
}

.mc-flash-sheet__gammes .mc-flash-gamme:nth-child(2) {
	animation-delay: 0.9s;
}

@keyframes mc-flash-carte {
	from { opacity: 0; transform: translateY(30px) rotate(-3deg) scale(0.9); }
}

.mc-flash-sheet__pied {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.mc-flash-sheet__cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 58px;
	padding: 0 34px;
	border-radius: 999px;
	background: var(--mc-jaune);
	color: #111;
	font-family: var(--mc-titres);
	font-size: 22px;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 14px 40px -12px rgba(255, 200, 0, 0.7);
	overflow: hidden;
	transition: transform 0.2s, background 0.2s;
}

.mc-flash-sheet__cta::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 -40%;
	width: 30%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
	transform: skewX(-18deg);
	animation: mc-flash-eclat 2.6s ease-in-out infinite;
}

.mc-flash-sheet__cta:hover {
	background: var(--mc-jaune-clair);
	transform: scale(1.03);
}

.mc-flash-sheet__pied .mc-flash-sheet__cta {
	width: min(100%, 460px);
	animation: mc-flash-pulse 2.2s ease-in-out 1.6s infinite;
}

@keyframes mc-flash-pulse {
	50% { transform: scale(1.035); }
}

.mc-flash-sheet__note {
	max-width: 46em;
	margin: 0;
	font-family: var(--mc-courant);
	font-size: 12px;
	line-height: 1.45;
	color: var(--mc-gris-meta);
}

/* La pluie d'eclairs et de confettis de l'ouverture. */
.mc-flash-pluie {
	position: fixed;
	inset: 0;
	z-index: 996;
	pointer-events: none;
	overflow: hidden;
}

.mc-flash-pluie i {
	position: absolute;
	top: -30px;
	left: var(--x);
	width: var(--l, 10px);
	height: var(--h, 16px);
	background: var(--c);
	border-radius: 2px;
	animation: mc-flash-chute var(--d) cubic-bezier(.25, .6, .4, 1) var(--r) both;
}

.mc-flash-pluie i.est-eclair {
	width: 18px;
	height: 30px;
	border-radius: 0;
	background: var(--mc-flash-eclair) center / contain no-repeat;
}

@keyframes mc-flash-chute {
	0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 1; }
	100% { transform: translate3d(var(--dx), 105vh, 0) rotate(var(--t)); opacity: 0.9; }
}

/* Le sheet sur telephone : il monte du bas, se tire vers le bas pour
   fermer. */
@media (max-width: 767px) {
	.mc-flash-sheet {
		align-items: flex-end;
		padding: 0;
	}

	.mc-flash-sheet__panneau {
		gap: 16px;
		width: 100%;
		max-height: 94dvh;
		padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
		border-radius: 26px 26px 0 0;
		animation-name: mc-flash-monte-bas;
		animation-duration: 0.55s;
		animation-timing-function: cubic-bezier(.16, 1, .3, 1);
	}

	.mc-flash-sheet.est-sortie .mc-flash-sheet__panneau {
		animation: mc-flash-descend 0.28s ease-in both;
	}

	.mc-flash-sheet__panneau.est-tire {
		animation: none;
		transition: none;
	}

	.mc-flash-sheet__poignee {
		display: block;
		width: 44px;
		height: 5px;
		margin: -4px auto -6px;
		border-radius: 99px;
		background: rgba(255, 255, 255, 0.28);
	}

	.mc-flash-sheet__fermer {
		top: 18px;
		right: 14px;
		width: 38px;
		height: 38px;
	}

	.mc-flash-sheet__eclairs {
		right: 60px;
		top: 22px;
		gap: 6px;
	}

	.mc-flash-sheet__eclairs svg {
		width: 24px;
		height: 40px;
	}

	.mc-flash-sheet__titre {
		font-size: clamp(64px, 21vw, 96px);
	}

	.mc-flash-chrono--sheet .mc-flash-chrono__case {
		flex: 1;
		min-width: 0;
	}

	.mc-flash-chrono--sheet .mc-flash-chrono__case b {
		font-size: 34px;
	}

	.mc-flash-sheet__gammes {
		gap: 10px;
	}

	.mc-flash-gamme {
		min-height: 200px;
		padding: 14px 14px 52px;
		border-radius: 18px;
	}

	.mc-flash-gamme__covers {
		top: 8px;
		right: -10px;
		width: 92px;
		height: 64px;
	}

	.mc-flash-gamme__covers span {
		width: 46px;
		right: calc(var(--i) * 18px);
		border-radius: 9px;
	}

	.mc-flash-gamme__nom {
		margin-top: 44px;
	}

	.mc-flash-gamme__nom {
		font-size: 10.5px;
		max-width: 8em;
	}

	.mc-flash-gamme__taux {
		font-size: clamp(60px, 18vw, 84px);
	}

	.mc-flash-gamme__detail {
		font-size: 11.5px;
	}

	.mc-flash-gamme__cta {
		left: 14px;
		right: 14px;
		bottom: 12px;
		text-align: center;
		font-size: 12px;
	}

	.mc-flash-sheet__cta {
		min-height: 54px;
		font-size: 20px;
	}
}

@keyframes mc-flash-monte-bas {
	from { transform: translateY(100%); }
}

@keyframes mc-flash-descend {
	to { transform: translateY(100%); }
}

/* ------------------------------------------------------------------ *
 * Le hero de l'accueil
 * ------------------------------------------------------------------ */

.mc-flash-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: 26px 36px;
	padding: 34px 40px 36px;
	color: #fff;
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(255, 200, 0, 0.14), transparent 60%),
		radial-gradient(60% 80% at 0% 100%, rgba(124, 58, 237, 0.14), transparent 60%);
	isolation: isolate;
}

.mc-flash-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.3px, transparent 1.4px);
	background-size: 22px 22px;
	mask-image: linear-gradient(110deg, transparent 10%, #000 70%);
}

.mc-flash-hero__texte {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.mc-flash-hero__titre {
	margin: 0;
	font-family: var(--mc-titres);
	font-size: clamp(56px, 7.4vw, 110px);
	font-weight: 400;
	line-height: 0.86;
	text-transform: uppercase;
	color: #fff;
}

.mc-flash-hero__titre span {
	display: block;
	font-family: var(--wp--preset--font-family--brush);
	font-size: 0.48em;
	line-height: 1.1;
	text-transform: none;
	color: var(--mc-jaune);
	transform: rotate(-2.5deg);
	transform-origin: left center;
}

.mc-flash-hero__cta {
	align-self: flex-start;
}

.mc-flash-hero__gammes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

@media (max-width: 1023px) {
	.mc-flash-hero {
		grid-template-columns: 1fr;
		padding: 26px 20px 24px;
	}
}

@media (max-width: 599px) {
	.mc-flash-hero {
		gap: 18px;
		padding: 22px 14px 18px;
	}

	.mc-flash-hero__texte {
		gap: 14px;
	}

	.mc-flash-chrono--hero .mc-flash-chrono__case {
		flex: 1;
		min-width: 0;
	}

	.mc-flash-chrono--hero .mc-flash-chrono__case b {
		font-size: 30px;
	}

	.mc-flash-hero__cta {
		align-self: stretch;
	}

	.mc-flash-hero__gammes {
		gap: 10px;
	}
}

/* ------------------------------------------------------------------ *
 * Les cartes produit
 * ------------------------------------------------------------------ */

.mc-carte__flash {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 3;
	display: grid;
	place-items: center;
	align-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--mc-jaune);
	color: #111;
	font-family: var(--mc-titres);
	font-size: 21px;
	line-height: 0.9;
	transform: rotate(-12deg);
	box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.6), inset 0 0 0 2px #111;
	animation: mc-flash-sticker 2.4s ease-in-out infinite;
	pointer-events: none;
}

.mc-carte--neo .mc-carte__flash {
	background: var(--mc-matiere-braise);
	color: #fff;
	box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.mc-carte--premium .mc-carte__flash {
	background: var(--mc-matiere-or);
	color: #1b1405;
}

.mc-carte__flash small {
	font-family: var(--mc-courant);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

@keyframes mc-flash-sticker {
	0%, 100% { transform: rotate(-12deg) scale(1); }
	50% { transform: rotate(-8deg) scale(1.07); }
}

.mc-carte__barre {
	margin-right: 6px;
	font-size: 0.78em;
	font-weight: 500;
	color: var(--mc-gris-meta);
	text-decoration-thickness: 1.5px;
}

.mc-carte__barre[hidden] {
	display: none;
}

.mc-carte__barre:not([hidden]) + .mc-carte__montant {
	color: var(--mc-rouge);
}

@media (max-width: 599px) {
	.mc-carte__flash {
		width: 50px;
		height: 50px;
		font-size: 17px;
		right: 7px;
		bottom: 7px;
	}

	.mc-carte__flash small {
		font-size: 8px;
	}
}

/* ------------------------------------------------------------------ *
 * La fiche produit
 * ------------------------------------------------------------------ */

.mc-fiche__flash {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin: 0 0 16px;
	padding: 8px 14px 8px 8px;
	border: 0;
	border-radius: 16px;
	background: var(--mc-noir);
	color: #fff;
	font-family: var(--mc-courant);
	font-size: 13.5px;
	text-align: left;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.mc-fiche__flash::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--mc-jaune);
}

.mc-fiche__flash-taux {
	flex: none;
	padding: 8px 10px 6px;
	border-radius: 11px;
	background: var(--mc-matiere-or);
	color: #1b1405;
	font-family: var(--mc-titres);
	font-size: 26px;
	line-height: 1;
}

.mc-gamme--neo .mc-fiche__flash-taux {
	background: var(--mc-matiere-braise);
	color: #fff;
}

.mc-fiche__flash-texte {
	flex: 1;
	min-width: 0;
	line-height: 1.25;
}

.mc-fiche__flash-texte b {
	display: block;
	white-space: nowrap;
	font-family: var(--mc-titres);
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--mc-jaune);
}

.mc-fiche__flash-fin {
	margin-left: auto;
	text-align: right;
	color: var(--mc-gris-meta);
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.mc-fiche__flash-fin b {
	display: block;
	color: #fff;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
}

.mc-poids__barre {
	display: block;
	font-size: 11px;
	line-height: 1.1;
	color: var(--mc-gris-meta);
}

.mc-fiche__barre {
	margin-left: auto;
	margin-right: 6px;
	font-size: 0.82em;
	font-weight: 500;
	opacity: 0.6;
}

.mc-fiche__barre[hidden] {
	display: none;
}

.mc-fiche__barre:not([hidden]) + strong {
	margin-left: 0;
}

/* Sur telephone, le bouton n'a pas la place du barre : les paliers le
   portent deja, juste au-dessus. */
@media (max-width: 599px) {
	.mc-fiche__barre {
		display: none;
	}

	.mc-fiche__flash {
		gap: 10px;
		font-size: 12px;
	}

	.mc-fiche__flash-taux {
		font-size: 22px;
	}

	.mc-fiche__flash-fin {
		font-size: 10px;
	}

	.mc-fiche__flash-fin b {
		font-size: 13px;
	}
}

/* ------------------------------------------------------------------ *
 * Le tiroir panier
 * ------------------------------------------------------------------ */

.mc-flash-tiroir {
	display: flex;
	align-items: center;
	gap: 10px;
	width: calc(100% - 32px);
	margin: 0 16px 12px;
	padding: 10px 12px;
	border: 0;
	border-radius: 14px;
	background: var(--mc-noir);
	color: #fff;
	font-family: var(--mc-courant);
	font-size: 13.5px;
	text-align: left;
	cursor: pointer;
	box-shadow: inset 0 3px 0 var(--mc-jaune);
}

.mc-flash-tiroir[hidden] {
	display: none;
}

.mc-flash-tiroir__eclair svg {
	display: block;
	width: 14px;
	height: 23px;
	fill: var(--mc-jaune);
	animation: mc-flash-clignote 1.4s steps(1) infinite;
}

.mc-flash-tiroir__texte strong {
	color: var(--mc-jaune);
	font-family: var(--mc-titres);
	font-size: 18px;
	font-weight: 400;
}

.mc-flash-tiroir__fin {
	margin-left: auto;
	flex: none;
	color: var(--mc-gris-meta);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-align: right;
}

.mc-flash-tiroir__fin b {
	display: block;
	color: #fff;
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0;
}

.mc-flash-tiroir.est-gain {
	animation: mc-flash-gain 0.6s cubic-bezier(.2, 1.4, .3, 1);
}

@keyframes mc-flash-gain {
	40% { transform: scale(1.04); box-shadow: inset 0 3px 0 var(--mc-jaune), 0 0 0 4px rgba(255, 200, 0, 0.35); }
}

.mc-panier-ligne__prix.est-flash {
	color: var(--mc-rouge);
}

.mc-tiroir__flash {
	background: var(--mc-noir);
	color: var(--mc-jaune);
	box-shadow: inset 0 3px 0 var(--mc-jaune);
}

.mc-tiroir__flash .mc-tiroir__pack-prix b {
	background: var(--mc-matiere-or);
	color: #1b1405;
}

.mc-tiroir__flash .mc-tiroir__pack-prix b + b {
	background: var(--mc-matiere-braise);
	color: #fff;
}

/* La relance du panier vide. */
.mc-flash-relance {
	gap: 12px;
	box-shadow: inset 0 4px 0 var(--mc-jaune);
}

.mc-flash-relance__taux {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.mc-flash-relance__ticket {
	display: flex;
	flex-direction: column;
	padding: 10px 12px;
	border-radius: 14px;
	text-decoration: none;
}

.mc-flash-relance__ticket b {
	font-family: var(--mc-titres);
	font-size: 44px;
	font-weight: 400;
	line-height: 0.95;
}

.mc-flash-relance__ticket span {
	font-family: var(--mc-courant);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mc-flash-relance__ticket--premium {
	background: var(--mc-matiere-or);
	color: #1b1405;
}

.mc-flash-relance__ticket--neo {
	background: var(--mc-matiere-braise);
	color: #fff;
}

/* ------------------------------------------------------------------ *
 * Reduire les animations
 * ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.mc-flash-bandeau__defile,
	.mc-flash-bandeau__item svg,
	.mc-flash-chrono__case b.est-tic,
	.mc-flash-sheet__live span,
	.mc-flash-gamme__eclat,
	.mc-flash-gamme__covers span,
	.mc-flash-ruban__piste,
	.mc-flash-sheet__voile,
	.mc-flash-sheet__panneau,
	.mc-flash-sheet__eclairs svg,
	.mc-flash-sheet__mot,
	.mc-flash-sheet__brush,
	.mc-flash-chrono--sheet,
	.mc-flash-sheet__gammes .mc-flash-gamme,
	.mc-flash-sheet__cta,
	.mc-flash-sheet__cta::after,
	.mc-carte__flash,
	.mc-flash-tiroir__eclair svg,
	.mc-flash-tiroir.est-gain {
		animation: none !important;
	}

	.mc-flash-sheet__eclairs svg {
		opacity: 1;
	}

	.mc-flash-ruban {
		overflow-x: auto;
	}

	.mc-flash-pluie {
		display: none;
	}
}
