/**
 * CLECOD — Black Friday : parcours d'achat et report de rendez-vous (#cbf-wizard).
 *
 * Mobile d'abord. Toutes les règles sont limitées à #cbf-wizard : aucun autre élément de la page
 * n'est modifié. Langage du thème : noir, blanc, rouge #E20100, Archivo, angles droits, filets 1 px,
 * aucune ombre. Seule exception au rayon 0 : la carte dessinée (objet physique).
 */

/* ---------------------------------------------------------------------
 * Conteneur et jetons
 * ------------------------------------------------------------------- */

#cbf-wizard {
	--cbf-red: var(--qode-main-color, #e20100);
	--cbf-red-dark: #b80000;
	--cbf-error: #c10000;
	--cbf-ink: #111111;
	--cbf-text: #626262;
	--cbf-line: #dcdcdc;
	--cbf-field: #767676;
	--cbf-soft: #f5f5f5;
	--cbf-pad: 14px;

	box-sizing: border-box;
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 auto;
	padding: 18px var(--cbf-pad) 22px;
	border: 1px solid var(--cbf-line);
	background-color: #ffffff;
	color: #000000;
	font-family: var(--clecod-font-body, "Archivo", sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	overflow-wrap: break-word;
	scroll-margin-top: 12px;
}

#cbf-wizard *,
#cbf-wizard *::before,
#cbf-wizard *::after {
	box-sizing: border-box;
}

#cbf-wizard [hidden] {
	display: none !important;
}

/* Remise à zéro des marges du thème, sans toucher au visuel de carte cloné depuis la page. */
#cbf-wizard :where(p, h3, h4, ul, ol, li, dl, dt, dd, fieldset, legend, label):not(.cbf-wz-visual *) {
	margin: 0;
	padding: 0;
}

#cbf-wizard :where(ul, ol):not(.cbf-wz-visual *) {
	list-style: none;
}

#cbf-wizard :where(fieldset):not(.cbf-wz-visual *) {
	min-width: 0;
	border: 0;
}

/* Légende flottante : elle redevient un enfant ordinaire du fieldset (grille, espacements). */
#cbf-wizard :where(legend):not(.cbf-wz-visual *) {
	float: left;
	width: 100%;
}

/* Focus toujours visible (le thème retire le contour des champs et des boutons). */
#cbf-wizard :where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid #000000;
	outline-offset: 2px;
}

/* Titres qui reçoivent le focus par programme à chaque changement d'étape : pas d'encadré. */
#cbf-wizard:focus,
#cbf-wizard .cbf-wz-title:focus,
#cbf-wizard .cbf-wz-subtitle:focus {
	outline: none;
}

#cbf-wizard .cbf-wz-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

#cbf-wizard .cbf-wz-link {
	color: #000000;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#cbf-wizard .cbf-wz-link:hover {
	color: var(--cbf-red);
}

/* Liens isolés (hors d'une phrase) : cible tactile de 44 px. */
#cbf-wizard .cbf-wz-lost,
#cbf-wizard .cbf-wz-closed__contact {
	font-size: 15px;
	line-height: 1.3;
}

#cbf-wizard .cbf-wz-lost .cbf-wz-link,
#cbf-wizard .cbf-wz-closed__contact .cbf-wz-link {
	display: inline-flex;
	align-items: center;
	min-width: 44px;
	min-height: 44px;
}

#cbf-wizard .cbf-wz-loading,
#cbf-wizard .cbf-wz-noscript {
	margin: 0;
	padding: 12px 0;
	color: var(--cbf-text);
	font-size: 15px;
}

#cbf-wizard .cbf-wz-noscript {
	color: #000000;
	font-weight: 600;
}

#cbf-wizard .cbf-wz-noscript a {
	color: var(--cbf-error);
	text-decoration: underline;
}

/* Sans JavaScript, seul le message <noscript> est utile. */
@media (scripting: none) {
	#cbf-wizard > .cbf-wz-loading {
		display: none;
	}
}

/* Vente ouverte à tous : la hauteur de la première étape est réservée pendant le chargement, pour que la
   suite de la page ne descende pas quand le parcours s'affiche. Valeurs sous la hauteur réelle de l'étape 1 :
   pas de saut inverse. Sans :has(), le navigateur garde le comportement d'avant.
   Hauteurs relevées le 12/11/2026 : 531 px jusqu'à 360 px de large ; de 491 px (375) à 504 px (479), d'où la
   formule ; 475 px de 520 à 639 ; 416 px de 700 à 1024 ; 475 px au-delà. */
#cbf-wizard.cbf-wizard--open:has(> .cbf-wz-loading),
#cbf-wizard.cbf-wizard--open:has(.cbf-wz-main > .cbf-wz-loading) {
	min-height: calc(443px + 12.6vw);
}

@media (max-width: 360px) {
	#cbf-wizard.cbf-wizard--open:has(> .cbf-wz-loading),
	#cbf-wizard.cbf-wizard--open:has(.cbf-wz-main > .cbf-wz-loading) {
		min-height: 530px;
	}
}

/* ---------------------------------------------------------------------
 * Compte connecté et commande en attente de paiement (toutes les étapes)
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-who {
	margin: 0 0 14px;
	padding: 0 0 8px;
	border-bottom: 1px solid var(--cbf-line);
	color: var(--cbf-text);
	font-size: 14px;
	line-height: 1.45;
}

#cbf-wizard .cbf-wz-who strong {
	color: #000000;
	font-weight: 600;
}

/* Bouton présenté comme un lien, avec une zone tactile de 44 px. */
#cbf-wizard .cbf-wz-logout {
	display: inline-flex;
	align-items: center;
	width: auto;
	min-width: 44px;
	height: auto;
	min-height: 44px;
	margin: 0;
	padding: 0 2px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
	color: #000000;
	font-family: inherit;
	font-size: inherit;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-decoration: underline;
	text-transform: none;
	text-underline-offset: 2px;
	vertical-align: middle;
	cursor: pointer;
}

#cbf-wizard .cbf-wz-logout:hover {
	background: none;
	color: var(--cbf-red);
}

#cbf-wizard .cbf-wz-logout[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

#cbf-wizard .cbf-wz-logout.is-loading {
	cursor: progress;
}

#cbf-wizard .cbf-wz-pending {
	display: grid;
	gap: 10px;
	margin: 0 0 18px;
	padding: 14px;
	border: 1px solid var(--cbf-ink);
	border-left: 4px solid var(--cbf-red);
	background: var(--cbf-soft);
	color: #000000;
	font-size: 15px;
	line-height: 1.45;
}

#cbf-wizard .cbf-wz-pending__text {
	font-weight: 600;
}

#cbf-wizard .cbf-wz-pending__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px 20px;
}

#cbf-wizard .cbf-wz-pending__pay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 24px;
	background: #000000;
	color: #ffffff;
	font-family: var(--clecod-font-display, "Archivo", sans-serif);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease-out;
}

#cbf-wizard .cbf-wz-pending__pay:hover {
	background: var(--cbf-red);
	color: #ffffff;
}

#cbf-wizard .cbf-wz-pending__cancel {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 14px;
}

/* ---------------------------------------------------------------------
 * Fil d'étapes
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-nav {
	margin: 0 0 20px;
}

#cbf-wizard .cbf-wz-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
}

#cbf-wizard .cbf-wz-step {
	min-width: 0;
}

#cbf-wizard .cbf-wz-step__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 5px 4px;
	border: 1px solid var(--cbf-line);
	border-radius: 0;
	background: #ffffff;
	box-shadow: none;
	color: var(--cbf-text);
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: 0;
	text-align: center;
	text-transform: none;
}

#cbf-wizard button.cbf-wz-step__btn {
	cursor: pointer;
	transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
}

#cbf-wizard .cbf-wz-step__num {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

#cbf-wizard .cbf-wz-step__label {
	max-width: 100%;
	overflow-wrap: anywhere;
}

#cbf-wizard .cbf-wz-step.is-done .cbf-wz-step__btn {
	border-color: var(--cbf-ink);
	background: var(--cbf-ink);
	color: #ffffff;
}

#cbf-wizard .cbf-wz-step.is-done button.cbf-wz-step__btn:hover {
	border-color: var(--cbf-red);
	background: var(--cbf-red);
}

#cbf-wizard .cbf-wz-step.is-current .cbf-wz-step__btn {
	border-color: var(--cbf-red);
	background: var(--cbf-red);
	color: #ffffff;
}

#cbf-wizard .cbf-wz-step.is-todo button.cbf-wz-step__btn {
	border-color: var(--cbf-ink);
	color: #000000;
}

/* ---------------------------------------------------------------------
 * Corps : étape + rappel de la sélection
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

#cbf-wizard .cbf-wz-main {
	min-width: 0;
}

#cbf-wizard .cbf-wz-title {
	margin: 0 0 14px;
	color: #000000;
	font-size: clamp(22px, 6vw, 30px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-title__step {
	display: block;
	margin: 0 0 6px;
	color: var(--cbf-error);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
}

#cbf-wizard .cbf-wz-subtitle {
	margin: 0 0 10px;
	padding: 0;
	color: #000000;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-lead {
	color: var(--cbf-text);
	font-size: 16px;
	line-height: 1.55;
}

#cbf-wizard .cbf-wz-step-body,
#cbf-wizard .cbf-wz-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

#cbf-wizard .cbf-wz-block:empty,
#cbf-wizard .cbf-wz-chosen:empty,
#cbf-wizard .cbf-wz-notices:empty,
#cbf-wizard .cbf-wz-result:empty,
#cbf-wizard .cbf-wz-tier:empty,
#cbf-wizard .cbf-wz-second:empty {
	display: none;
}

#cbf-wizard .cbf-wz-notices {
	margin: 0 0 16px;
}

/* Rappel de la sélection : bandeau compact sur mobile, colonne à droite sur grand écran. */
#cbf-wizard .cbf-wz-aside {
	order: -1;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--cbf-line);
	background: var(--cbf-soft);
}

#cbf-wizard .cbf-wz-aside__title {
	margin: 0 0 6px;
	color: var(--cbf-error);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-aside .cbf-wz-visual {
	display: none;
}

#cbf-wizard .cbf-wz-aside__list {
	display: grid;
	gap: 8px;
}

#cbf-wizard .cbf-wz-aside__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
}

#cbf-wizard .cbf-wz-aside__name {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-aside__slot {
	flex: 1 0 100%;
	color: var(--cbf-text);
	font-size: 14px;
}

#cbf-wizard .cbf-wz-aside__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--cbf-line);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-aside__total strong {
	font-size: 20px;
}

/* ---------------------------------------------------------------------
 * Prix et visuel de carte
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 0;
	line-height: 1.2;
}

#cbf-wizard .cbf-wz-price__old {
	color: var(--cbf-text);
	font-size: 15px;
	text-decoration: line-through;
}

#cbf-wizard .cbf-wz-price__now {
	color: #000000;
	font-size: 20px;
	font-weight: 700;
}

#cbf-wizard .cbf-wz-price__off {
	padding: 2px 6px;
	background: var(--cbf-red);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

#cbf-wizard .cbf-wz-visual {
	width: 100%;
	max-width: 300px;
}

#cbf-wizard .cbf-wz-visual > * {
	max-width: 100%;
}

/* Carte au dernier design (image de l'anneau, fond transparent) : à la largeur du bloc, sans déformation. */
#cbf-wizard .cbf-wz-visual > .cbf-wz-card-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 800 / 477;
	border: 0;
	box-shadow: none;
}

/* Carte simple, dessinée ici quand le gabarit de la page est absent. */
#cbf-wizard .cbf-wz-visual--plain {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 6px;
	aspect-ratio: 1.586;
	padding: 16px 18px;
	border: 1px solid var(--cbf-ink);
	border-radius: 12px;
	background: #ffffff;
	color: #000000;
}

#cbf-wizard .cbf-wz-visual--confort {
	border-color: var(--cbf-red);
	background: var(--cbf-red);
	color: #ffffff;
}

#cbf-wizard .cbf-wz-visual--premium {
	border-color: #000000;
	background: #000000;
	color: #ffffff;
}

#cbf-wizard .cbf-wz-visual__brand {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

#cbf-wizard .cbf-wz-visual__name {
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-visual__product {
	font-size: 13px;
}

#cbf-wizard .cbf-wz-visual__price {
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

/* ---------------------------------------------------------------------
 * Champs
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

#cbf-wizard .cbf-wz-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

#cbf-wizard .cbf-wz-label {
	display: block;
	color: #000000;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-optional {
	color: var(--cbf-text);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

#cbf-wizard .cbf-wz-input {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 14px;
	border: 1px solid var(--cbf-field);
	border-radius: 0;
	background-color: #ffffff;
	box-shadow: none;
	color: #000000;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	cursor: text;
	appearance: none;
	-webkit-appearance: none;
}

#cbf-wizard .cbf-wz-input::placeholder {
	color: #8a8a8a;
	opacity: 1;
}

#cbf-wizard .cbf-wz-input:focus {
	border-color: #000000;
	background-color: #ffffff;
	color: #000000;
}

#cbf-wizard .cbf-wz-input--select {
	padding-right: 44px;
	cursor: pointer;
}

#cbf-wizard .cbf-wz-input--area {
	min-height: 96px;
	resize: vertical;
}

#cbf-wizard .cbf-wz-input:disabled {
	border-color: var(--cbf-line);
	background-color: var(--cbf-soft);
	color: var(--cbf-text);
	cursor: not-allowed;
	opacity: 1;
}

#cbf-wizard .cbf-wz-input[aria-invalid="true"] {
	padding: 10px 13px;
	border: 2px solid var(--cbf-error);
}

#cbf-wizard .cbf-wz-help {
	color: var(--cbf-text);
	font-size: 14px;
	line-height: 1.45;
}

#cbf-wizard .cbf-wz-error {
	color: var(--cbf-error);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

#cbf-wizard .cbf-wz-error .cbf-wz-link {
	color: var(--cbf-error);
}

/* Lien « contactez-nous » dans un message, lien « En savoir plus » d'une mention d'information :
   zone de toucher agrandie sans changer la ligne. */
#cbf-wizard :where(.cbf-wz-error, .cbf-wz-notice, .cbf-wz-privacy) .cbf-wz-link {
	display: inline-block;
	margin: -12px -4px;
	padding: 12px 4px;
}

#cbf-wizard .cbf-wz-counter {
	color: var(--cbf-text);
	font-size: 13px;
	text-align: right;
}

/* Année (étape 1) : un grand champ, pensé pour le pouce. */
#cbf-wizard .cbf-wz-field--year .cbf-wz-input {
	max-width: 220px;
	min-height: 64px;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 40px;
	text-align: center;
}

#cbf-wizard .cbf-wz-field--year .cbf-wz-input::placeholder {
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0;
}

/* Pot de miel : hors écran, hors tabulation. */
#cbf-wizard .cbf-wz-trap {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Groupes de choix (boutons radio) */
#cbf-wizard .cbf-wz-group {
	display: grid;
	gap: 8px;
}

#cbf-wizard .cbf-wz-choices {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
}

#cbf-wizard .cbf-wz-choice {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--cbf-field);
	background: #ffffff;
	color: #000000;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
}

#cbf-wizard .cbf-wz-choice:hover {
	border-color: #000000;
}

#cbf-wizard .cbf-wz-choice:has(input:checked) {
	border-color: var(--cbf-ink);
	background: var(--cbf-ink);
	color: #ffffff;
}

#cbf-wizard .cbf-wz-choice:focus-within,
#cbf-wizard .cbf-wz-shop:focus-within {
	outline: 2px solid #000000;
	outline-offset: 2px;
}

#cbf-wizard .cbf-wz-group[aria-invalid="true"] .cbf-wz-choice {
	border-color: var(--cbf-error);
}

#cbf-wizard .cbf-wz-radio,
#cbf-wizard .cbf-wz-checkbox {
	position: relative;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 0;
	border: 1px solid #000000;
	border-radius: 0;
	background: #ffffff;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

#cbf-wizard .cbf-wz-radio::after,
#cbf-wizard .cbf-wz-checkbox::after {
	top: 7px;
	left: 6px;
}

#cbf-wizard .cbf-wz-radio:focus-visible {
	outline: none;
}

#cbf-wizard .cbf-wz-check {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 4px 12px;
	align-items: start;
}

#cbf-wizard .cbf-wz-check__label {
	display: block;
	min-height: 44px;
	padding: 1px 0 0;
	font-size: 15px;
	line-height: 1.4;
	cursor: pointer;
}

#cbf-wizard .cbf-wz-check .cbf-wz-error {
	grid-column: 1 / -1;
}

#cbf-wizard .cbf-wz-checkbox[aria-invalid="true"] {
	border: 2px solid var(--cbf-error);
}

/* ---------------------------------------------------------------------
 * Boutons
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#cbf-wizard .cbf-wz-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	margin: 0;
	border-radius: 0;
	box-shadow: none;
	font-family: var(--clecod-font-display, "Archivo", sans-serif);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

/* Le bouton principal reprend le bouton plein du thème (classe qodef-theme-button). */
#cbf-wizard .cbf-wz-btn--primary {
	padding: 16px 28px;
}

#cbf-wizard .cbf-wz-btn--ghost {
	padding: 14px 24px;
	border: 1px solid #000000;
	background: #ffffff;
	color: #000000;
	transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

#cbf-wizard .cbf-wz-btn--ghost:hover {
	background: #000000;
	color: #ffffff;
}

#cbf-wizard .cbf-wz-btn--link {
	width: auto;
	min-height: 44px;
	padding: 8px 0;
	border: 0;
	background: none;
	color: #000000;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-decoration: underline;
	text-transform: none;
	text-underline-offset: 2px;
}

#cbf-wizard .cbf-wz-btn--link:hover {
	color: var(--cbf-red);
}

#cbf-wizard .cbf-wz-btn[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

#cbf-wizard .cbf-wz-btn--primary[disabled] {
	background-image: none;
}

#cbf-wizard .cbf-wz-btn--ghost[disabled]:hover {
	background: #ffffff;
	color: #000000;
}

#cbf-wizard .cbf-wz-btn.is-loading {
	opacity: 0.7;
	cursor: progress;
}

#cbf-wizard .cbf-wz-btn.is-loading .cbf-wz-btn__text::after {
	content: "…";
}

/* ---------------------------------------------------------------------
 * Messages
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-notice {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--cbf-ink);
	border-left-width: 4px;
	background: var(--cbf-soft);
	color: #000000;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
}

#cbf-wizard .cbf-wz-notice--error {
	border-color: var(--cbf-error);
	background: #fff4f3;
	font-weight: 600;
}

#cbf-wizard .cbf-wz-notice--warn {
	border-left-color: var(--cbf-red);
}

#cbf-wizard .cbf-wz-notice--success {
	background: #ffffff;
	font-weight: 600;
}

/* ---------------------------------------------------------------------
 * Étape 1 — Année
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-year {
	display: grid;
	gap: 16px;
}

#cbf-wizard .cbf-wz-offer {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	padding: 16px;
	border: 1px solid var(--cbf-line);
	background: var(--cbf-soft);
}

#cbf-wizard .cbf-wz-offer .cbf-wz-visual {
	margin: 0 auto;
}

#cbf-wizard .cbf-wz-offer__text {
	display: grid;
	gap: 6px;
	align-content: center;
}

#cbf-wizard .cbf-wz-offer__eyebrow {
	color: var(--cbf-error);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-offer__name {
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-offer__years,
#cbf-wizard .cbf-wz-offer__note {
	color: var(--cbf-text);
	font-size: 15px;
}

#cbf-wizard .cbf-wz-offer .cbf-wz-price__now {
	font-size: 34px;
	line-height: 1;
}

#cbf-wizard .cbf-wz-offer .cbf-wz-price__old {
	font-size: 18px;
}

/* ---------------------------------------------------------------------
 * Étape 2 — Compte
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-account {
	padding: 10px 14px;
	border: 1px solid var(--cbf-line);
	background: var(--cbf-soft);
	font-size: 15px;
}

#cbf-wizard .cbf-wz-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-bottom: 1px solid #000000;
}

#cbf-wizard .cbf-wz-tab {
	min-height: 50px;
	margin: 0;
	padding: 8px 6px;
	border: 1px solid var(--cbf-line);
	border-bottom: 0;
	border-radius: 0;
	background: var(--cbf-soft);
	box-shadow: none;
	color: #000000;
	font-family: var(--clecod-font-display, "Archivo", sans-serif);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
}

#cbf-wizard .cbf-wz-tab.is-active {
	border-color: #000000;
	background: #000000;
	color: #ffffff;
}

#cbf-wizard .cbf-wz-tab:focus-visible {
	outline-offset: -4px;
	outline-color: var(--cbf-red);
}

#cbf-wizard .cbf-wz-panel {
	min-width: 0;
}

/* ---------------------------------------------------------------------
 * Étape 3 — Fiche véhicule
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-vehicle {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	padding: 16px 0 0;
	border-top: 4px solid var(--cbf-ink);
}

#cbf-wizard .cbf-wz-legend {
	margin: 0 0 2px;
	padding: 0;
	color: #000000;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-tier {
	display: grid;
	gap: 8px;
}

#cbf-wizard .cbf-wz-tier__line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	padding: 10px 14px;
	border: 1px solid var(--cbf-line);
	background: var(--cbf-soft);
}

#cbf-wizard .cbf-wz-tier__name {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-photo {
	display: grid;
	gap: 8px;
}

#cbf-wizard .cbf-wz-photo__zone {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

#cbf-wizard .cbf-wz-photo__img,
#cbf-wizard .cbf-wz-photo__saved {
	flex: 0 0 auto;
	width: 88px;
	height: 88px;
	border: 1px solid var(--cbf-line);
	background: var(--cbf-soft);
}

#cbf-wizard .cbf-wz-photo__img {
	display: block;
	max-width: none;
	object-fit: cover;
}

#cbf-wizard .cbf-wz-photo__saved {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	font-weight: 700;
}

#cbf-wizard .cbf-wz-photo__info {
	display: grid;
	flex: 1 1 180px;
	gap: 8px;
	min-width: 0;
}

#cbf-wizard .cbf-wz-photo__status {
	font-size: 14px;
	font-weight: 600;
}

#cbf-wizard .cbf-wz-photo__actions {
	display: flex;
	flex: 1 1 100%;
	flex-direction: column;
	gap: 8px;
}

#cbf-wizard .cbf-wz-file {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	opacity: 0;
	pointer-events: none;
}

#cbf-wizard .cbf-wz-progress {
	display: block;
	width: 100%;
	height: 8px;
	border: 0;
	border-radius: 0;
	background: var(--cbf-line);
	color: var(--cbf-red);
	appearance: none;
	-webkit-appearance: none;
}

#cbf-wizard .cbf-wz-progress::-webkit-progress-bar {
	background: var(--cbf-line);
}

#cbf-wizard .cbf-wz-progress::-webkit-progress-value {
	background: var(--cbf-red);
}

#cbf-wizard .cbf-wz-progress::-moz-progress-bar {
	background: var(--cbf-red);
}

#cbf-wizard .cbf-wz-second {
	display: grid;
	gap: 12px;
	padding: 16px 0 0;
	border-top: 1px solid var(--cbf-line);
}

#cbf-wizard .cbf-wz-second__panel,
#cbf-wizard .cbf-wz-second__summary {
	display: grid;
	gap: 10px;
	padding: 14px;
	border: 1px solid var(--cbf-line);
	background: var(--cbf-soft);
}

#cbf-wizard .cbf-wz-second__title {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-options {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}

#cbf-wizard .cbf-wz-option {
	display: grid;
	gap: 2px;
	width: 100%;
	min-height: 64px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--cbf-field);
	border-radius: 0;
	background: #ffffff;
	box-shadow: none;
	color: #000000;
	font-family: inherit;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: border-color 0.2s ease-out, background-color 0.2s ease-out, color 0.2s ease-out;
}

#cbf-wizard .cbf-wz-option:hover {
	border-color: #000000;
	background: #000000;
	color: #ffffff;
}

#cbf-wizard .cbf-wz-option__title {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-option__text {
	font-size: 14px;
	font-weight: 400;
}

/* ---------------------------------------------------------------------
 * Étape 4 — Boutique, jour, heure
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-block {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

#cbf-wizard .cbf-wz-shops {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
}

#cbf-wizard .cbf-wz-shop {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 48px;
	padding: 14px;
	border: 1px solid var(--cbf-field);
	background: #ffffff;
	cursor: pointer;
	transition: border-color 0.2s ease-out, background-color 0.2s ease-out;
}

#cbf-wizard .cbf-wz-shop:hover {
	border-color: #000000;
}

#cbf-wizard .cbf-wz-shop:has(input:checked) {
	border-color: #000000;
	background: var(--cbf-soft);
}

/* Repère rouge du thème sur la boutique choisie. */
#cbf-wizard .cbf-wz-shop:has(input:checked)::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	width: 56px;
	height: 4px;
	background: var(--cbf-red);
}

#cbf-wizard .cbf-wz-shop__body {
	display: grid;
	gap: 2px;
	min-width: 0;
}

#cbf-wizard .cbf-wz-shop__name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-shop__place {
	color: var(--cbf-error);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-shop__address,
#cbf-wizard .cbf-wz-shop__hours {
	color: var(--cbf-text);
	font-size: 14px;
	line-height: 1.4;
}

#cbf-wizard .cbf-wz-switch {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
}

#cbf-wizard .cbf-wz-switch__btn {
	display: grid;
	gap: 2px;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--cbf-field);
	border-radius: 0;
	background: #ffffff;
	box-shadow: none;
	color: #000000;
	font-family: inherit;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

#cbf-wizard .cbf-wz-switch__btn.is-active {
	border-color: var(--cbf-ink);
	background: var(--cbf-ink);
	color: #ffffff;
}

#cbf-wizard .cbf-wz-switch__name {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-switch__state {
	font-size: 14px;
}

#cbf-wizard .cbf-wz-days {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
	gap: 6px;
}

#cbf-wizard .cbf-wz-day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 100%;
	min-height: 88px;
	margin: 0;
	padding: 8px 2px;
	border: 1px solid var(--cbf-field);
	border-radius: 0;
	background: #ffffff;
	box-shadow: none;
	color: #000000;
	font-family: inherit;
	letter-spacing: 0;
	line-height: 1.15;
	text-align: center;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
}

#cbf-wizard .cbf-wz-day__dow {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-day__num {
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
}

#cbf-wizard .cbf-wz-day__month {
	font-size: 11px;
}

#cbf-wizard .cbf-wz-day__state {
	margin-top: 2px;
	color: var(--cbf-error);
	font-size: 11px;
	font-weight: 700;
}

#cbf-wizard .cbf-wz-day:hover:not([disabled]) {
	border-color: #000000;
	background: var(--cbf-soft);
}

#cbf-wizard .cbf-wz-day[disabled] {
	border-color: var(--cbf-line);
	background: var(--cbf-soft);
	color: #767676;
	cursor: not-allowed;
}

#cbf-wizard .cbf-wz-day[disabled] .cbf-wz-day__state {
	color: #767676;
	font-weight: 600;
}

#cbf-wizard .cbf-wz-day.is-selected,
#cbf-wizard .cbf-wz-day.is-selected:hover {
	border-color: var(--cbf-ink);
	background: var(--cbf-ink);
	color: #ffffff;
}

#cbf-wizard .cbf-wz-day.is-selected .cbf-wz-day__state {
	color: #ffffff;
}

#cbf-wizard .cbf-wz-slots {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
	gap: 6px;
}

#cbf-wizard .cbf-wz-slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 100%;
	min-height: 60px;
	margin: 0;
	padding: 8px 6px;
	border: 1px solid var(--cbf-field);
	border-radius: 0;
	background: #ffffff;
	box-shadow: none;
	color: #000000;
	font-family: inherit;
	letter-spacing: 0;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
}

#cbf-wizard .cbf-wz-slot__time {
	font-size: 17px;
	font-weight: 700;
}

#cbf-wizard .cbf-wz-slot__state {
	color: var(--cbf-text);
	font-size: 12px;
	font-weight: 500;
}

#cbf-wizard .cbf-wz-slot:hover:not([disabled]) {
	border-color: #000000;
	background: var(--cbf-soft);
}

#cbf-wizard .cbf-wz-slot[disabled] {
	border-color: var(--cbf-line);
	background: var(--cbf-soft);
	color: #767676;
	cursor: not-allowed;
}

#cbf-wizard .cbf-wz-slot.is-selected,
#cbf-wizard .cbf-wz-slot.is-selected:hover {
	border-color: var(--cbf-red);
	background: var(--cbf-red);
	color: #ffffff;
}

#cbf-wizard .cbf-wz-slot.is-selected .cbf-wz-slot__state {
	color: #ffffff;
}

#cbf-wizard .cbf-wz-chosen {
	display: grid;
	gap: 6px;
	padding: 14px;
	border: 1px solid var(--cbf-ink);
	border-left: 4px solid var(--cbf-red);
	background: #ffffff;
}

#cbf-wizard .cbf-wz-chosen__line {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

#cbf-wizard .cbf-wz-chosen__shop {
	color: var(--cbf-text);
	font-size: 14px;
}

/* ---------------------------------------------------------------------
 * Étape 5 — Récapitulatif (grille à filets : fond gris, cartes blanches)
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-recap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1px;
	border: 1px solid var(--cbf-line);
	background: var(--cbf-line);
}

#cbf-wizard .cbf-wz-recap__card {
	display: grid;
	gap: 10px;
	min-width: 0;
	padding: 16px 14px;
	background: #ffffff;
}

#cbf-wizard .cbf-wz-recap__title {
	margin: 0;
	color: #000000;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-recap__count {
	color: var(--cbf-text);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

#cbf-wizard .cbf-wz-recap__list {
	display: grid;
	gap: 10px;
}

#cbf-wizard .cbf-wz-recap__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2px;
}

#cbf-wizard .cbf-wz-recap__label {
	color: var(--cbf-text);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-recap__value {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0 16px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

#cbf-wizard .cbf-wz-recap__value .cbf-wz-btn--link {
	flex: 0 0 auto;
	min-height: 44px;
	margin-left: auto;
	padding: 0;
}

#cbf-wizard .cbf-wz-recap__docs {
	display: grid;
	gap: 6px;
}

#cbf-wizard .cbf-wz-recap__docs li {
	position: relative;
	padding-left: 18px;
	font-size: 15px;
	font-weight: 500;
}

#cbf-wizard .cbf-wz-recap__docs li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 10px;
	height: 2px;
	background: var(--cbf-red);
}

#cbf-wizard .cbf-wz-total {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	padding: 14px 0 0;
	border-top: 4px solid var(--cbf-ink);
}

#cbf-wizard .cbf-wz-total__label {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
}

#cbf-wizard .cbf-wz-total__value {
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
}

/* ---------------------------------------------------------------------
 * Vente fermée et report de rendez-vous
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-closed {
	display: grid;
	gap: 10px;
	padding: 6px 0;
}

#cbf-wizard .cbf-wz-closed .cbf-wz-title {
	margin: 0;
}

#cbf-wizard .cbf-wz-closed__text {
	color: var(--cbf-text);
	font-size: 17px;
	line-height: 1.5;
}

#cbf-wizard .cbf-wz-closed__text:first-of-type {
	color: #000000;
	font-weight: 600;
}

#cbf-wizard .cbf-wz-closed__contact {
	margin-top: -4px;
}

#cbf-wizard .cbf-wz-main > .cbf-wz-recap__card {
	margin: 0 0 16px;
	border: 1px solid var(--cbf-line);
}

#cbf-wizard .cbf-wz-main > .cbf-wz-lead,
#cbf-wizard .cbf-wz-main > .cbf-wz-block,
#cbf-wizard .cbf-wz-main > .cbf-wz-chosen,
#cbf-wizard .cbf-wz-main > .cbf-wz-notice,
#cbf-wizard .cbf-wz-main > .cbf-wz-actions,
#cbf-wizard .cbf-wz-main > .cbf-wz-help {
	margin: 0 0 16px;
}

/* ---------------------------------------------------------------------
 * Compte à rebours du créneau bloqué : collé en bas de l'écran pendant le parcours
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-hold {
	position: sticky;
	bottom: 0;
	z-index: 90;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	min-height: 46px;
	margin: 18px calc(-1 * var(--cbf-pad) - 1px) -23px;
	/* Marge droite libre : la bulle WhatsApp du site flotte en bas à droite. */
	padding: 11px 84px 11px var(--cbf-pad);
	background: var(--cbf-ink);
	color: #ffffff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
}

#cbf-wizard .cbf-wz-hold__time {
	font-size: 18px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

#cbf-wizard .cbf-wz-hold.is-ending {
	background: var(--cbf-red);
}

/* Barre d'onglets fixe du site (≤ 1200 px) : le compte à rebours se pose juste au-dessus. */
@media (max-width: 1200px) {
	#cbf-wizard {
		scroll-margin-bottom: calc(var(--clecod-tabbar-offset, 78px) + 16px);
	}

	#cbf-wizard .cbf-wz-hold {
		bottom: var(--clecod-tabbar-offset, 0px);
	}

	/* Parcours à l'écran (classe posée sur body par wizard.js) : la bulle WhatsApp et le bouton « retour en
	   haut » du site ne recouvrent plus les listes, les tuiles de jours et les boutons. Ils reviennent dès que
	   le parcours sort de l'écran. */
	body.cbf-in-wizard .joinchat,
	body.cbf-in-wizard #qodef-back-to-top {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}
}

/* ---------------------------------------------------------------------
 * À partir de 480 px
 * ------------------------------------------------------------------- */

@media (min-width: 480px) {
	#cbf-wizard.cbf-wizard--open:has(> .cbf-wz-loading),
	#cbf-wizard.cbf-wizard--open:has(.cbf-wz-main > .cbf-wz-loading) {
		min-height: 475px;
	}

	#cbf-wizard {
		--cbf-pad: 20px;
	}

	#cbf-wizard .cbf-wz-actions,
	#cbf-wizard .cbf-wz-photo__actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	#cbf-wizard .cbf-wz-btn {
		width: auto;
	}

	#cbf-wizard .cbf-wz-pending__actions {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	#cbf-wizard .cbf-wz-pending__pay {
		width: auto;
	}

	#cbf-wizard .cbf-wz-second > .cbf-wz-btn {
		justify-self: start;
	}

	#cbf-wizard .cbf-wz-recap__row {
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 12px;
		align-items: baseline;
	}

	#cbf-wizard .cbf-wz-tab {
		font-size: 13px;
	}
}

/* ---------------------------------------------------------------------
 * À partir de 640 px
 * ------------------------------------------------------------------- */

@media (min-width: 640px) {
	#cbf-wizard {
		--cbf-pad: 28px;
		padding-top: 28px;
		padding-bottom: 30px;
	}

	#cbf-wizard.cbf-wizard--open:has(> .cbf-wz-loading),
	#cbf-wizard.cbf-wizard--open:has(.cbf-wz-main > .cbf-wz-loading) {
		min-height: 416px;
	}

	#cbf-wizard .cbf-wz-hold {
		margin-bottom: -31px;
	}

	#cbf-wizard .cbf-wz-steps {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}

	#cbf-wizard .cbf-wz-step__btn {
		font-size: 12px;
	}

	#cbf-wizard .cbf-wz-grid,
	#cbf-wizard .cbf-wz-options,
	#cbf-wizard .cbf-wz-shops,
	#cbf-wizard .cbf-wz-switch {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#cbf-wizard .cbf-wz-shops > legend {
		grid-column: 1 / -1;
	}

	#cbf-wizard .cbf-wz-group--inline .cbf-wz-choices {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	#cbf-wizard .cbf-wz-offer {
		grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
		padding: 20px;
	}

	#cbf-wizard .cbf-wz-days {
		grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	}

	#cbf-wizard .cbf-wz-slots {
		grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
	}
}

/* ---------------------------------------------------------------------
 * À partir de 1025 px : étape à gauche, rappel de la sélection à droite
 * ------------------------------------------------------------------- */

@media (min-width: 1025px) {
	#cbf-wizard.cbf-wizard--open:has(> .cbf-wz-loading),
	#cbf-wizard.cbf-wizard--open:has(.cbf-wz-main > .cbf-wz-loading) {
		min-height: 475px;
	}

	#cbf-wizard {
		--cbf-pad: 40px;
		padding-top: 36px;
		padding-bottom: 40px;
	}

	#cbf-wizard .cbf-wz-hold {
		margin-bottom: -41px;
	}

	#cbf-wizard .cbf-wz-nav {
		margin-bottom: 28px;
	}

	#cbf-wizard .cbf-wz-step__btn {
		flex-direction: row;
		gap: 8px;
		min-height: 52px;
		font-size: 13px;
		font-weight: 700;
		text-transform: uppercase;
	}

	#cbf-wizard .cbf-wz-body.has-aside {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 40px;
		align-items: start;
	}

	#cbf-wizard .cbf-wz-aside {
		position: sticky;
		top: 84px;
		order: 0;
		padding: 20px;
	}

	#cbf-wizard .cbf-wz-aside .cbf-wz-visual {
		display: block;
		margin: 0 0 16px;
	}

	#cbf-wizard .cbf-wz-aside .cbf-wz-visual--plain {
		display: flex;
	}

	/* Étape 1 : champ et bouton à gauche, carte et prix à droite. */
	#cbf-wizard .cbf-wz-form--year {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: 18px 40px;
		align-items: start;
	}

	#cbf-wizard .cbf-wz-form--year > .cbf-wz-result {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	#cbf-wizard .cbf-wz-form--year > .cbf-wz-actions {
		grid-column: 1;
		grid-row: 2;
	}

	#cbf-wizard .cbf-wz-form--recap {
		max-width: 920px;
	}

	#cbf-wizard .cbf-wz-title {
		font-size: 34px;
	}
}

@media (min-width: 1201px) {
	/* Barre collante du thème (60 px) quand la page a défilé. */
	#cbf-wizard {
		scroll-margin-top: 84px;
	}
}

/* ---------------------------------------------------------------------
 * Hauteur réservée pendant le chargement : trois plages où un texte de l'étape 1 passe sur deux lignes
 * (libellé de l'année de 361 à 373 px, titre de 480 à 515 px, chapeau de 640 à 690 px — téléphones tenus en
 * paysage). Relevé du 13/11/2026 : 506 à 506,8 px ; 504,1 à 506,7 px ; 441,2 px. Valeurs sous la hauteur
 * réelle, comme plus haut. Placées après les paliers généraux, qu'elles précisent.
 * ------------------------------------------------------------------- */

@media (min-width: 361px) and (max-width: 373px) {
	#cbf-wizard.cbf-wizard--open:has(> .cbf-wz-loading),
	#cbf-wizard.cbf-wizard--open:has(.cbf-wz-main > .cbf-wz-loading) {
		min-height: 506px;
	}
}

@media (min-width: 480px) and (max-width: 515px) {
	#cbf-wizard.cbf-wizard--open:has(> .cbf-wz-loading),
	#cbf-wizard.cbf-wizard--open:has(.cbf-wz-main > .cbf-wz-loading) {
		min-height: 504px;
	}
}

@media (min-width: 640px) and (max-width: 690px) {
	#cbf-wizard.cbf-wizard--open:has(> .cbf-wz-loading),
	#cbf-wizard.cbf-wizard--open:has(.cbf-wz-main > .cbf-wz-loading) {
		min-height: 441px;
	}
}

/* ---------------------------------------------------------------------
 * Mouvement réduit, impression
 * ------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	#cbf-wizard *,
	#cbf-wizard *::before,
	#cbf-wizard *::after {
		transition: none !important;
		animation: none !important;
	}
}

@media print {
	#cbf-wizard .cbf-wz-hold,
	#cbf-wizard .cbf-wz-actions {
		display: none !important;
	}
}

/* ---------------------------------------------------------------------
 * Compte professionnel : société à l'inscription, réservation mise de côté
 * ------------------------------------------------------------------- */

#cbf-wizard .cbf-wz-pro {
	margin: 0;
	padding: 16px 0 0;
	border: 0;
	border-top: 1px solid var(--cbf-ink);
	min-width: 0;
}

#cbf-wizard .cbf-wz-pro[hidden] {
	display: none;
}

#cbf-wizard .cbf-wz-pro > .cbf-wz-label {
	padding: 0;
	margin: 0 0 6px;
}

#cbf-wizard .cbf-wz-pro > .cbf-wz-help {
	margin: 0 0 14px;
}

#cbf-wizard .cbf-wz-prowait {
	border-left-color: var(--cbf-red);
	background: #ffffff;
}

#cbf-wizard .cbf-wz-prowait p {
	margin: 0 0 8px;
}

#cbf-wizard .cbf-wz-prowait p:last-child {
	margin-bottom: 0;
}

#cbf-wizard .cbf-wz-prowait__title {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
}
