/* Parcours de réservation (étapes 2 à 4, confirmation, annulation). Chargé uniquement sur ces pages.
 * DA reprise d'autonome.controleplus.fr : grand titre souligné sur photo, carte blanche à ombre douce
 * qui chevauche l'en-tête, colonne récapitulative gris bleuté, cartes très arrondies cerclées de bleu
 * nuit, boutons pilule rouges, jours en pastilles sur la photo, badges vert / orange. */

:root { --bk-side: #e7e9f3; --bk-best: #77df7a; --bk-promo: #f8ad53; --bk-shadow: 0 13px 25px rgba(0, 0, 0, .07); }

/* En-tête ------------------------------------------------------------------ */
.cp-booking-header .cp-page-header__media::after { background: rgba(18, 32, 67, .62); }
.cp-booking-header .cp-page-header__inner { padding-top: 26px; padding-bottom: 150px; }
.cp-booking-header--simple .cp-page-header__inner { padding-bottom: 120px; }
.cp-booking-header .cp-steps { margin: 0 auto 10px; }
.cp-booking-header .cp-steps__title { font-size: 14px; }
.cp-booking-header__title { margin: 24px 0 22px; color: #fff; font-size: clamp(34px, 6.6vw, 90px); font-weight: 700; line-height: 1.02; letter-spacing: 0; text-transform: none; }
.cp-booking-header__title u { text-decoration-thickness: .07em; text-underline-offset: .12em; text-decoration-color: #fff; font-weight: 700; }
.cp-booking-header__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.cp-booking-header__subtitle { margin: 0; font-size: clamp(18px, 2.2vw, 30px); font-weight: 600; }
.cp-booking-header .cp-btn--ghost { min-height: 50px; padding: 0 30px; border: 1px solid #fff; border-radius: 50px; color: #fff; font-size: 13px; font-weight: 700; }
.cp-booking-header .cp-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--cp-navy); }
.cp-booking__pick .cp-icon { width: 20px; height: 20px; }

/* Carte principale + récapitulatif ------------------------------------------- */
.cp-booking { position: relative; z-index: 1; display: flow-root; padding-bottom: clamp(48px, 6vw, 90px); background: #fff; } /* flow-root : la marge négative ne tire pas le fond blanc sur la photo */
.cp-booking > .cp-container { margin-top: -120px; }
.cp-booking__card { display: grid; align-items: stretch; background: #fff; box-shadow: var(--bk-shadow); }
.cp-booking__card > .cp-vtabs { grid-column: 1 / -1; display: flex; justify-content: center; gap: 0; margin: 0; padding: 40px 40px 0; border-bottom: 1px solid var(--cp-line); }
.cp-booking__card > .cp-vtabs .cp-vtabs__tab { flex: 0 1 366px; padding: 10px 10px 18px; color: var(--cp-navy); font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.cp-booking__card > .cp-vtabs .cp-vtabs__tab.is-active { color: var(--cp-red); }
.cp-booking__card > .cp-vtabs .cp-vtabs__tab:hover { background: none; color: var(--cp-red); }
.cp-booking__main { min-width: 0; padding: 35px; }
.cp-booking__main > :last-child { margin-bottom: 0; }
.cp-booking__label { display: flex; align-items: center; gap: 12px; margin: 34px 0 26px; color: var(--cp-navy); font-size: 18px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.cp-booking__label .cp-icon { width: 24px; height: 24px; color: var(--cp-navy); stroke-width: 1.8; }
.cp-booking__label--center { justify-content: center; text-align: center; }
.cp-booking__main > .cp-booking__label:first-child, .cp-booking__main > .cp-demo-notice + .cp-booking__label { margin-top: 0; }
.cp-booking__day { margin: -14px 0 34px; color: var(--cp-red); text-align: center; font-size: 19.5px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; }
.cp-booking .cp-notice { margin: 0 0 18px; }
.cp-notice--error { background: var(--cp-red-soft); color: var(--cp-red-dark); }
.cp-demo-notice { display: flex; gap: 10px; margin: 0 0 20px; padding: 10px 14px; border: 1px dashed #d8a400; border-radius: var(--cp-radius-sm); background: #fffbea; color: #6b4d00; font-size: 13px; line-height: 1.5; }
.cp-demo-notice .cp-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.cp-booking .cp-small { color: #878787; font-size: 12px; }

.cp-booking__aside { --pad: 20px; position: relative; display: flex; flex-direction: column; gap: 16px; padding: var(--pad); background: var(--bk-side); color: var(--cp-navy); font-size: 16px; }
.cp-booking__aside a:not(.cp-btn) { color: var(--cp-navy); }
.cp-booking__close { display: none; }
.cp-booking__photo { overflow: hidden; aspect-ratio: 16 / 10; margin: 0; }
.cp-booking__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-booking__exam { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.cp-booking__exam strong { color: var(--cp-navy); font-size: 16px; }
.cp-booking__infos { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-weight: 700; }
.cp-booking__infos li { display: flex; align-items: flex-start; gap: 14px; }
.cp-booking__infos .cp-icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--cp-navy); stroke-width: 1.8; }
.cp-booking__price, .cp-booking__total, .cp-booking__options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 14px var(--pad); }
.cp-booking__price p, .cp-booking__total p, .cp-booking__options p { margin: 0; }
.cp-booking__price { background: var(--cp-navy); color: #fff; font-weight: 700; }
.cp-booking__price strong { color: #fff; font-size: 26px; font-weight: 800; }
.cp-booking__price s { margin-left: 6px; opacity: .7; }
.cp-booking__price.is-promo { background: var(--bk-promo); color: var(--cp-navy); }
.cp-booking__price.is-best { background: var(--bk-best); color: var(--cp-navy); }
.cp-booking__price.is-promo strong, .cp-booking__price.is-best strong { color: var(--cp-navy); }
.cp-booking__options[hidden] { display: none; }
.cp-booking__options span { font-weight: 800; }
.cp-booking__total { border-top: 1px solid rgba(18, 32, 67, .15); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.cp-booking__total strong { color: var(--cp-red); font-size: 28px; letter-spacing: 0; }
.cp-booking__total small { font-size: 12px; }
.cp-booking__back { align-self: stretch; justify-content: center; min-height: 0; padding: 15px 20px; border: 0; border-radius: 50px; background: #fff; color: var(--cp-navy); font-size: 14px; font-weight: 700; box-shadow: none; }
.cp-booking__back:hover { background: var(--cp-navy); color: #fff; }
.cp-booking__back .cp-icon { width: 14px; height: 14px; color: var(--cp-red); transform: rotate(180deg); }

/* Étape 2 : types d'examen --------------------------------------------------- */
.cp-exams { display: flex; flex-wrap: wrap; justify-content: center; gap: 46px 18px; margin: 0 0 34px; }
.cp-exam { position: relative; display: flex; flex: 0 1 233px; flex-direction: column; align-items: center; min-height: 280px; padding: 40px 18px 70px; border: 1px solid var(--cp-navy); border-radius: 60px; background: #fff; color: var(--cp-navy); font: inherit; text-align: center; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.cp-exam:hover, .cp-exam:focus-visible { box-shadow: var(--bk-shadow); }
.cp-exam__icon { display: grid; place-items: center; height: 70px; margin-bottom: 26px; color: var(--cp-navy); }
.cp-exam-icon { width: 76px; height: 62px; stroke-width: 1.7; }
.cp-exam__name { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: 1px; text-transform: uppercase; }
.cp-exam__price { margin-top: 4px; color: var(--cp-red); font-size: 15px; font-weight: 800; }
.cp-exam__btn.cp-btn { position: absolute; left: 50%; bottom: -31px; justify-content: space-between; gap: 30px; width: 191px; min-height: 62px; padding: 17px 24px 17px 40px; border: 2px solid #fff; border-radius: 50px; background: var(--cp-red); color: #fff; font-size: 14px; font-weight: 700; transform: translateX(-50%); pointer-events: none; transition: background-color .2s; }
.cp-exam:hover .cp-exam__btn { background: var(--cp-navy); }
.cp-exam__btn .cp-icon { width: 14px; height: 14px; }
.cp-booking__vehicles { font-size: 12px; letter-spacing: 1.7px; }
.cp-booking__vehicles .is-non-dispo { opacity: .45; }
.cp-booking__vehicles .is-non-dispo .cp-centre__vehicle-check { background: #c3c7d3; }
.cp-booking__vehicles .is-non-dispo img { filter: grayscale(1); }

/* Étape 3 : jours — pastilles d'autonome posées sur la photo -------------------- */
.cp-booking-header--slots .cp-page-header__inner { padding-bottom: 250px; }
.cp-booking--slots > .cp-container { margin-top: -240px; }
.cp-days { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; align-items: center; gap: 8px; margin: 0 0 40px; }
.cp-days__nav { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 0; background: #fff; color: var(--cp-navy); cursor: pointer; transition: background-color .2s, color .2s; }
.cp-days__nav:hover { background: var(--cp-navy); color: #fff; }
.cp-days__nav .cp-icon { width: 17px; height: 17px; }
.cp-days__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 6); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cp-days__track::-webkit-scrollbar { display: none; }
.cp-day { display: block; min-height: 180px; padding: 25px 15px; border: 1px solid #fff; border-radius: 60px; background: rgba(0, 0, 0, .25); color: #fff; font: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; text-align: center; text-transform: uppercase; scroll-snap-align: start; cursor: pointer; transition: background-color .2s, color .2s; }
.cp-day > span { display: block; }
.cp-day__name, .cp-day__month { font-size: 18px; line-height: 23.4px; letter-spacing: 1px; }
.cp-day__num { font-size: 54px; font-weight: 800; line-height: 54px; }
.cp-day__price { margin-top: 5px; color: #ff0000; font-size: 22px; font-weight: 800; line-height: 24.2px; text-transform: none; }
.cp-day__price small { display: block; color: #ff0000; font-size: 11px; font-weight: 800; line-height: 12.1px; }
.cp-day__none { color: inherit; font-size: 11px; }
.cp-day:not(:disabled):not(.is-active):hover { background: rgba(255, 255, 255, .12); }
.cp-day.is-active { background: #fff; color: var(--cp-navy); }
.cp-day:disabled { opacity: .5; cursor: default; }

/* Étape 3 : créneaux — cartes d'autonome à l'identique -------------------------- */
.cp-slots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 0; }
.cp-slots.is-sending { opacity: .5; pointer-events: none; }
.cp-slot { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 185px; height: 185px; margin: 10px; padding: 30px 0 0; overflow: hidden; border: 1px solid var(--cp-navy); border-radius: 50px; background: transparent; color: var(--cp-navy); font-size: 16px; font-weight: 600; line-height: 16px; text-align: center; cursor: pointer; transition: transform .25s ease-in, background-color .2s, color .2s; }
.cp-slot input { position: absolute; opacity: 0; pointer-events: none; }
.cp-slot:hover, .cp-slot:focus-within, .cp-slot.is-active { background: var(--cp-navy); color: #fff; }
.cp-slot__badge { position: absolute; top: -15px; right: 0; left: 0; margin: 0 11px; padding: 30px 0 15px; border-radius: 200px; background: #f4f5f7; color: var(--cp-navy); font-size: 16px; font-weight: 700; line-height: 17.6px; text-align: center; text-transform: uppercase; }
.cp-slot.is-promo .cp-slot__badge { background: var(--bk-promo); }
.cp-slot.is-best .cp-slot__badge { background: var(--bk-best); }
/* Survol d'autonome : carte relevée, fond bleu nuit, texte du bandeau en blanc (sauf « Tarif normal ») */
.cp-slot:is(.is-promo, .is-best):is(:hover, :focus-within, .is-active) .cp-slot__badge { color: #fff; }
@media (hover: hover) and (min-width: 768px) { .cp-slot:hover, .cp-slot:focus-within { transform: translateY(-15px); } }
.cp-slot__hour { font-size: 32px; font-weight: 700; line-height: 32px; }
.cp-slot__price { color: inherit; font-size: 30px; font-weight: 600; line-height: 30px; }
.cp-slot:is(.is-promo, .is-best) .cp-slot__price { color: #ff0014; font-weight: 800; }
.cp-slot__base { color: inherit; font-size: 30px; font-weight: 600; line-height: 30px; }
.cp-slot__btn { display: none; }
.cp-booking--slots .cp-small { margin: 10px 0 14.4px; color: #878787; font-size: 12px; line-height: 18px; text-align: center; }
.cp-slots__empty { flex: 1 1 100%; margin: 10px 0; padding: 24px; background: var(--bk-side); color: var(--cp-navy); text-align: center; font-weight: 600; }
.cp-slots__loading { flex: 1 1 100%; display: grid; place-items: center; min-height: 120px; }
.cp-slots__retry { margin-left: 6px; padding: 0; border: 0; background: none; color: var(--cp-red); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
/* Jour en cours de chargement : barre animée à la place du prix */
.cp-day__wait { display: block; width: 56px; height: 20px; margin: 3px auto 1px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, .14) 25%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, .14) 75%); background-size: 200% 100%; animation: cp-shimmer 1.1s linear infinite; }
.cp-day.is-active .cp-day__wait { background-image: linear-gradient(90deg, rgba(18, 32, 67, .08) 25%, rgba(18, 32, 67, .22) 50%, rgba(18, 32, 67, .08) 75%); }
@keyframes cp-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.cp-slots__loading span { width: 34px; height: 34px; border: 3px solid var(--cp-line); border-top-color: var(--cp-red); border-radius: 50%; animation: cp-spin .8s linear infinite; }
@keyframes cp-spin { to { transform: rotate(360deg); } }

/* Responsive de la DA (paliers d'autonome) ------------------------------------ */
@media (min-width: 1000px) {
	.cp-booking__card { grid-template-columns: minmax(0, 1fr) 259px; }
	.cp-booking__card.cp-cancel { grid-template-columns: 1fr; }
	/* Colonne étroite : libellé au-dessus du montant (comme le bandeau tarif d'autonome). */
	.cp-booking__price, .cp-booking__total { flex-direction: column; align-items: flex-start; gap: 2px; }
	.cp-booking__price p:last-child, .cp-booking__total p:last-child { white-space: nowrap; }
}
@media (max-width: 1024px) { .cp-days__track { grid-auto-columns: calc((100% - 64px) / 5); } }
@media (max-width: 800px) { .cp-days__track { grid-auto-columns: calc((100% - 48px) / 4); } }
@media (max-width: 767px) {
	/* En-tête compact et centré, comme sur mobile autonome */
	.cp-booking-header .cp-page-header__inner { padding: 14px 16px 90px; text-align: center; }
	.cp-booking-header .cp-breadcrumb { display: none; }
	.cp-booking-header__title { margin: 14px 0 10px; font-size: 22px; }
	.cp-booking-header__row { flex-direction: column; justify-content: center; }
	.cp-booking-header__subtitle { font-size: 16px; }
	.cp-booking > .cp-container { margin-top: -70px; padding-inline: 10px; }
	.cp-booking__card > .cp-vtabs { padding: 10px 10px 0; }
	.cp-booking__card > .cp-vtabs .cp-vtabs__tab { padding: 6px 8px 12px; font-size: 14px; }
	.cp-booking__card > .cp-vtabs .cp-icon { display: none; }
	.cp-booking__main { padding: 24px 12px; }
	.cp-booking__label { font-size: 14px; }
	.cp-booking__day { font-size: 16px; letter-spacing: 2px; }

	/* Examens en lignes : picto, nom + prix, bouton à droite */
	.cp-exams { flex-direction: column; gap: 14px; }
	.cp-exam { display: grid; grid-template-columns: 52px 1fr auto; grid-template-areas: "icon name btn" "icon price btn"; align-items: center; column-gap: 12px; flex: none; min-height: 108px; padding: 18px 12px 18px 16px; border-radius: 40px; text-align: center; }
	.cp-exam__icon { grid-area: icon; height: auto; margin: 0; }
	.cp-exam-icon { width: 48px; height: 40px; }
	.cp-exam__name { grid-area: name; align-self: end; font-size: 12px; }
	.cp-exam__price { grid-area: price; align-self: start; font-size: 12px; }
	.cp-exam__btn.cp-btn { position: static; grid-area: btn; width: auto; min-height: 49px; gap: 8px; padding: 14px 16px; font-size: 11px; transform: none; }

	/* Créneaux mobiles d'autonome : heure posée sur la bordure, prix à gauche, bouton à droite, badge en coin */
	.cp-slot { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; gap: 6px; width: 333px; max-width: 100%; height: 124px; margin: 10px auto; padding: 50px; overflow: visible; border-radius: 35px; }
	.cp-slot__hour { position: absolute; top: -10px; left: 35px; padding: 0 10px; background: #fff; color: var(--cp-navy); font-size: 18px; line-height: 18px; }
	.cp-slot:hover .cp-slot__hour, .cp-slot:focus-within .cp-slot__hour, .cp-slot.is-active .cp-slot__hour { background: #fff; color: var(--cp-navy); }
	.cp-slot__price { font-size: 22px; line-height: 22px; }
	.cp-slot__base { font-size: 22px; line-height: 22px; }
	.cp-slot__badge { top: 0; right: 0; left: auto; width: 165px; margin: 0; padding: 10px 15px; border-radius: 0 35px 0 15px; font-size: 16px; line-height: 24px; text-transform: none; }
	.cp-slot__btn { position: absolute; top: 52px; right: 25px; display: block; width: 115px; height: 50px; padding: 17px 18px 17px 7px; border: 2px solid #ff0014; border-radius: 100px; background: #ff0014; color: #fff; font-size: 12px; font-weight: 700; line-height: 12px; text-align: center; }
	.cp-slot:hover .cp-slot__btn, .cp-slot:focus-within .cp-slot__btn, .cp-slot.is-active .cp-slot__btn { background: #fff; color: #ff0014; }

	/* Jours mobiles d'autonome */
	.cp-booking-header--slots .cp-page-header__inner { padding-bottom: 240px; }
	.cp-booking--slots > .cp-container { margin-top: -230px; }
	.cp-days { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 6px; }
	.cp-days__nav { width: 34px; height: 34px; }
	.cp-day { padding: 25px 8px; }
	.cp-day__num { font-size: 46px; line-height: 50px; }
	.cp-day__name, .cp-day__month { font-size: 15px; }
}
@media (max-width: 635px) { .cp-days__track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 380px) { .cp-days__track { grid-auto-columns: 100%; } }

/* Fenêtre « Choisir une date dans le calendrier » — comme autonome */
.cp-pick { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .7); }
.cp-pick[hidden] { display: none; }
.cp-pick__box { position: relative; display: flex; flex-direction: column; gap: 5px; width: min(800px, 100%); padding: 25px 35px; background: #fff; color: var(--cp-navy); }
.cp-pick__head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding-right: 40px; }
.cp-pick__head strong { margin: 8px 0 16px; font-size: 24px; font-weight: 600; line-height: 28.8px; text-transform: lowercase; }
.cp-pick__head button { display: grid; place-items: center; padding: 14px 24px; border: 0; border-radius: 50px; background: none; color: var(--cp-navy); cursor: pointer; }
.cp-pick__head button:hover { background: var(--bk-side); }
.cp-pick__head .cp-icon { width: 17px; height: 17px; }
.cp-pick__close { position: absolute; top: 28px; right: 35px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: none; color: var(--cp-navy); cursor: pointer; }
.cp-pick__close .cp-icon { width: 22px; height: 22px; stroke-width: 2.4; }
.cp-pick__week, .cp-pick__grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; border: 1px solid #ebebeb; }
.cp-pick__week span { padding: 14px 0; font-size: 16px; font-weight: 600; text-transform: uppercase; }
.cp-pick__grid button, .cp-pick__grid span { display: flex; align-items: center; justify-content: center; height: 52px; border: 0; background: none; color: var(--cp-navy); font: inherit; font-weight: 500; cursor: pointer; }
.cp-pick__grid button:not(:disabled):hover { background: var(--cp-navy); color: #fff; }
.cp-pick__grid button:disabled { color: #c3c7d3; cursor: default; }
.cp-pick__foot { display: block; }
.cp-pick__foot button { width: 100%; padding: 15px; border: 1px solid #ebebeb; background: #fff; color: var(--cp-navy); font: inherit; font-size: 15px; font-weight: 700; line-height: 22.5px; cursor: pointer; }
.cp-pick__foot button:hover { background: var(--bk-side); }
@media (max-width: 767px) {
	.cp-pick__box { padding: 20px 14px; }
	.cp-pick__head strong { font-size: 20px; }
	.cp-pick__close { top: 22px; right: 14px; }
	.cp-pick__week span { padding: 10px 0; font-size: 12px; }
	.cp-pick__grid button, .cp-pick__grid span { height: 44px; }
}

/* Étape 4 : commande — UX d'autonome (un champ par ligne, libellé à gauche, validation en icône),
 * modernisée : champs arrondis, focus visible, cartes services plus, panneau récapitulatif en mobile. */
.cp-checkout__title, .woocommerce-billing-fields > h3 { margin: 0 0 26px; color: var(--cp-navy); font-size: 16px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.cp-checkout__title--contact { margin-top: 44px; }
.type-pl .woocommerce-billing-fields > h3, .type-pl .cp-checkout__desc, .type-pl #order_review_heading, .type-pl .wc_payment_methods { display: none; }
.cp-checkout__desc { margin: -14px 0 18px; color: var(--cp-navy); font-size: 15px; font-weight: 600; }
.cp-checkout .woocommerce-billing-fields__field-wrapper { display: block; }
.cp-checkout .form-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; column-gap: 24px; margin: 0 0 22px; padding: 0; }
.cp-checkout .form-row > label:not(.checkbox) { margin: 0; color: var(--cp-navy); font-size: 14px; font-weight: 600; line-height: 1.5; }
.cp-checkout .form-row .required { color: var(--cp-red); text-decoration: none; }
.cp-checkout .form-row .optional { display: none; }
.cp-checkout .woocommerce-input-wrapper { position: relative; display: block; padding-right: 44px; }
.cp-checkout input.input-text, .cp-checkout select { width: 100%; height: 52px; padding: 0 18px; border: 1px solid #c9cedb; border-radius: 10px; background: #fff; color: var(--cp-navy); font: inherit; font-size: 15px; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.cp-checkout select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23122043' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center; cursor: pointer; }
.cp-checkout input.input-text::placeholder { color: #9aa1b5; font-weight: 400; }
.cp-checkout input.input-text:focus, .cp-checkout select:focus { outline: 0; border-color: var(--cp-navy); box-shadow: 0 0 0 3px rgba(18, 32, 67, .12); }
.cp-checkout .woocommerce-invalid input.input-text, .cp-checkout .woocommerce-invalid select { border-color: var(--cp-red); }
.cp-checkout #immatriculation { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
/* Icône de validation à droite du champ (vert / rouge), comme autonome */
.cp-checkout .woocommerce-validated .woocommerce-input-wrapper::after, .cp-checkout .woocommerce-invalid .woocommerce-input-wrapper::after { content: ""; position: absolute; top: 50%; right: 0; width: 28px; height: 28px; background: no-repeat center / contain; transform: translateY(-50%); }
.cp-checkout .woocommerce-validated .woocommerce-input-wrapper::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%2377DF7A'/%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cp-checkout .woocommerce-invalid .woocommerce-input-wrapper::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23ff0014'/%3E%3Cpath d='m8 8 8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cp-checkout .cp-row-radio .woocommerce-input-wrapper::after { display: none; }
.cp-checkout .cp-hidden { display: none; }
.cp-checkout .checkout-inline-error-message { grid-column: 2; margin: 6px 0 0; color: var(--cp-red); font-size: 13px; font-weight: 700; }

/* Boutons radio (civilité, usage, vente, moyens de paiement) et cases à cocher : pastilles d'autonome, vert une fois choisi */
.cp-checkout .cp-row-radio .woocommerce-input-wrapper { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.cp-checkout input.input-radio, .cp-checkout .wc_payment_method > input[type="radio"] { flex: none; width: 30px; height: 30px; margin: 0; border: 2px solid var(--cp-navy); border-radius: 50%; background: #fff; appearance: none; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.cp-checkout input.input-radio:checked, .cp-checkout .wc_payment_method > input[type="radio"]:checked { border-color: #77df7a; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 20px #77df7a; }
.cp-checkout input.input-radio + label.radio { margin: 0 0 0 -18px; padding-left: 10px; color: var(--cp-navy); font-size: 15px; font-weight: 700; cursor: pointer; }
.cp-checkout input.input-checkbox { flex: none; width: 30px; height: 30px; margin: 0; border: 2px solid var(--cp-navy); border-radius: 6px; background: #fff no-repeat center / 18px; appearance: none; cursor: pointer; }
.cp-checkout input.input-checkbox:checked { border-color: #77df7a; background-color: #77df7a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.cp-checkout input:focus-visible { outline: 3px solid var(--cp-red); outline-offset: 2px; }
.cp-checkout label.checkbox { display: flex; align-items: center; gap: 14px; color: var(--cp-navy); font-size: 15px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.cp-checkout__consents { margin: 0 0 34px; }
.cp-checkout__consents .form-row { display: block; margin-bottom: 14px; }

/* Mes services Plus : cartes de 3, prix en rouge, case en bas (autonome) */
.cp-services-plus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 44px 0 34px; }
.cp-services-plus > .cp-checkout__title, .cp-services-plus > .cp-checkout__desc { grid-column: 1 / -1; margin-bottom: 0; }
.cp-services-plus > .cp-checkout__desc { margin-top: -10px; }
.cp-option { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; min-height: 170px; padding: 20px 12px 64px; border: 1px solid var(--cp-navy); border-radius: 14px; background: #fff; color: var(--cp-navy); text-align: center; cursor: pointer; transition: box-shadow .2s, border-color .2s, opacity .2s; }
.cp-option[hidden] { display: none; }
.cp-option:hover { box-shadow: var(--bk-shadow); }
.cp-option input { position: absolute; opacity: 0; pointer-events: none; }
.cp-option__name { font-size: 14px; font-weight: 700; line-height: 1.4; }
.cp-option__name small { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; opacity: .8; }
.cp-option__free { display: block; color: var(--cp-red); }
.cp-option__price { color: var(--cp-red); font-size: 25px; font-weight: 800; line-height: 1.2; }
.cp-option__price .woocommerce-Price-amount { color: inherit; }
.cp-option__check { position: absolute; bottom: 24px; left: 50%; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--cp-navy); border-radius: 6px; color: transparent; transform: translateX(-50%); transition: background-color .2s, border-color .2s; }
.cp-option__check .cp-icon { width: 16px; height: 16px; stroke-width: 3.2; }
.cp-option:has(input:checked) { border-color: #77df7a; box-shadow: 0 0 0 1px #77df7a; }
.cp-option:has(input:checked) .cp-option__check { border-color: #77df7a; background: #77df7a; color: #fff; }
.cp-option:has(input:focus-visible) { outline: 3px solid var(--cp-red); outline-offset: 2px; }
.cp-option.is-disabled { cursor: not-allowed; }
.cp-option.is-disabled::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(255, 255, 255, .7); }

/* Moyens de paiement et validation */
.cp-checkout #order_review_heading { margin-top: 10px; }
.cp-checkout .woocommerce-checkout-review-order-table { display: none; }
.cp-checkout #payment { background: none; border-radius: 0; }
.cp-checkout .wc_payment_methods { display: grid; gap: 14px; margin: 0 0 26px; padding: 0; list-style: none; }
.cp-checkout .wc_payment_method { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 0; border: 0; }
.cp-checkout .wc_payment_method > label { margin: 0; color: var(--cp-navy); font-size: 15px; font-weight: 700; cursor: pointer; }
.cp-checkout .wc_payment_method > label img { display: none; }
.cp-checkout .payment_box { display: none !important; }
.cp-checkout .payment_method_monetico_x2, .cp-checkout .payment_method_etransactions_3x_instalment_2x { display: none; }
.cp-checkout .payment_method_monetico_x2:not([hidden]):has(input:checked), .cp-checkout .payment_method_etransactions_3x_instalment_2x:not([hidden]):has(input:checked) { display: flex; }
.cp-checkout .woocommerce-terms-and-conditions-wrapper { margin: 0 0 24px; color: #797373; font-size: 12px; }
.cp-checkout .woocommerce-privacy-policy-text a { color: var(--cp-red); }
.cp-checkout .place-order { display: block; margin: 0; padding: 0; }
.cp-checkout__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cp-checkout #place_order { position: relative; min-height: 58px; padding: 18px 62px 18px 46px; border: 0; border-radius: 50px; background: var(--cp-red); color: #fff; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.3; text-transform: uppercase; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.cp-checkout #place_order::after { content: ""; position: absolute; top: 50%; right: 24px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain; transform: translateY(-50%); }
.cp-checkout #place_order:hover, .cp-checkout #place_order:focus-visible { background: #cc0010; box-shadow: 0 10px 22px rgba(255, 0, 20, .25); }
.cp-checkout__back { min-height: 58px; padding: 0 28px; border: 1px solid var(--cp-navy); border-radius: 50px; color: var(--cp-navy); font-size: 14px; font-weight: 700; }
.cp-checkout__back .cp-icon { width: 16px; height: 16px; }
.cp-booking .woocommerce-NoticeGroup, .cp-booking .woocommerce-error { margin: 0 0 24px; }
.cp-booking .woocommerce-error, .cp-booking .woocommerce-message, .cp-booking .woocommerce-info { padding: 16px 20px 16px 40px; border-radius: 10px; background: #b81c23; color: #fff; font-size: 15px; font-weight: 700; }
.cp-booking .woocommerce-error li + li { margin-top: 4px; }
.cp-booking .woocommerce-error a { color: inherit; text-decoration: underline; }
.cp-booking .blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }
.cp-booking .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Récapitulatif : bandeau tarif d'autonome (cadre arrondi + bandeau « Meilleur tarif / Promotion / Tarif normal ») */
.cp-booking__price { position: relative; display: block; width: 100%; max-width: 208px; margin: 6px auto 0; padding: 12px 10px 52px; overflow: hidden; border: 1px solid var(--cp-navy); border-radius: 50px; background: #fff; color: var(--cp-navy); text-align: center; font-weight: 700; }
.cp-booking__price p { margin: 0; font-size: 16px; }
.cp-booking__price p:last-child { white-space: nowrap; }
.cp-booking__price strong { color: var(--cp-navy); font-size: 18px; font-weight: 800; }
.cp-booking__price.is-promo strong, .cp-booking__price.is-best strong { margin-right: 6px; color: #ff0014; }
.cp-booking__price s { opacity: 1; font-size: 16px; }
.cp-booking__price::after { content: "Tarif normal"; position: absolute; right: 0; bottom: -40px; left: 0; width: 80%; margin: 0 auto; padding: 12px 0 50px; border-radius: 200px; background: #f4f5f7; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.cp-booking__price.is-best::after { content: "Meilleur tarif"; background: var(--bk-best); }
.cp-booking__price.is-promo::after { content: "Promotion"; background: var(--bk-promo); }
.cp-booking__price.is-promo, .cp-booking__price.is-best { background: #fff; color: var(--cp-navy); }
.cp-booking__options { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 0; text-align: center; font-weight: 700; }
.cp-booking__options span { color: #ff0014; }
.cp-booking__total { display: block; margin: 0; padding: 4px 0; border: 0; text-align: center; text-transform: none; letter-spacing: 0; }
.cp-booking__total p:first-child { color: #ff0014; font-size: 20px; font-weight: 900; line-height: 1.2; }
.cp-booking__total p:last-child { white-space: nowrap; }
.cp-booking__total strong { color: var(--cp-navy); font-size: 30px; font-weight: 800; }
.cp-booking__total small { color: var(--cp-navy); font-size: 24px; font-weight: 800; }

/* Barre mobile « Montant total / Détails » (affichée en mobile) */
.cp-booking-bar { display: none; }

/* Confirmation */
.cp-thanks { text-align: center; }
.cp-thanks__icon, .cp-cancel__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 12px; border-radius: 50%; background: var(--cp-green-text); color: #fff; }
.cp-thanks__icon .cp-icon, .cp-cancel__icon .cp-icon { width: 34px; height: 34px; stroke-width: 2.5; }
.cp-thanks__icon.is-error, .cp-cancel__icon.is-error { background: var(--cp-red); }
.cp-cancel__icon.is-warn { background: var(--cp-navy); }
.cp-thanks__hello { margin: 0; color: var(--cp-muted); font-size: 18px; font-weight: 600; }
.cp-thanks__title { margin: 4px 0 14px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cp-thanks__desc { max-width: 640px; margin: 0 auto 18px; }
.cp-thanks__ref { font-weight: 600; }
.cp-thanks__pay { margin: 0 0 18px; padding: 0; list-style: none; font-size: 14px; }
.cp-thanks__docs { margin: 26px 0; padding: 24px; border-radius: var(--cp-radius); background: var(--cp-bg-alt); text-align: left; }
.cp-thanks__docs h3 { margin-bottom: 14px; color: var(--cp-red); font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.cp-thanks__docs ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; font-size: 14px; }
.cp-thanks__team { color: var(--cp-muted); font-size: 14px; }
.cp-thanks__team strong { color: var(--cp-navy); }
.cp-thanks__more { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--cp-line); }
.cp-thanks__more h3 { font-size: 18px; text-align: center; }
.cp-thanks__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.cp-thanks__card { display: grid; gap: 8px; color: var(--cp-navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.cp-thanks__card img { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--cp-radius-sm); object-fit: cover; }
.cp-thanks__card:hover span { color: var(--cp-red); }

/* Annulation */
.cp-cancel { max-width: 760px; margin-inline: auto; text-align: center; }
.cp-cancel__rdv { display: inline-block; padding: 14px 22px; border-radius: var(--cp-radius-sm); background: var(--cp-bg-alt); }
.cp-cancel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }

@media (max-width: 640px) {
	.cp-booking-header__row .cp-btn { width: 100%; justify-content: center; }
}

/* Barre mobile « < Prendre rendez-vous ⋮ » + étapes repliables (autonome) */
.cp-booking-mbar { display: none; }
@media (max-width: 767px) {
	.cp-booking-mbar { position: relative; z-index: 3; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 52px; padding: 0 6px; background: #fff; box-shadow: 0 2px 10px rgba(18, 32, 67, .08); }
	.cp-booking-mbar__back { display: grid; place-items: center; width: 44px; height: 44px; color: var(--cp-red); }
	.cp-booking-mbar__back .cp-icon { width: 20px; height: 20px; stroke-width: 2.6; transform: rotate(180deg); }
	.cp-booking-mbar__title { margin: 0; color: var(--cp-navy); font-size: 13px; font-weight: 900; letter-spacing: 2px; text-align: center; text-transform: uppercase; }
	.cp-booking-mbar__toggle { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
	.cp-booking-mbar__toggle span, .cp-booking-mbar__toggle span::before, .cp-booking-mbar__toggle span::after { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--cp-red); transition: transform .25s var(--cp-ease), width .25s, height .25s, border-radius .25s; }
	.cp-booking-mbar__toggle span { position: relative; }
	.cp-booking-mbar__toggle span::before, .cp-booking-mbar__toggle span::after { content: ""; position: absolute; left: 0; }
	.cp-booking-mbar__toggle span::before { top: -9px; }
	.cp-booking-mbar__toggle span::after { top: 9px; }
	.cp-booking-mbar__toggle[aria-expanded="true"] span { background: transparent; }
	.cp-booking-mbar__toggle[aria-expanded="true"] span::before, .cp-booking-mbar__toggle[aria-expanded="true"] span::after { top: 1px; left: -9px; width: 24px; height: 3px; border-radius: 3px; }
	.cp-booking-mbar__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
	.cp-booking-mbar__toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
	.cp-booking-header .cp-steps { display: none; margin-bottom: 16px; }
	.cp-booking-header .cp-steps.is-open { display: block; animation: cp-fade .25s var(--cp-ease); }
	@keyframes cp-fade { from { opacity: 0; transform: translateY(-6px); } }
}

/* Étape 4 en tablette / mobile : libellés au-dessus des champs, cartes services plus empilées */
@media (max-width: 1024px) {
	.cp-checkout .form-row { grid-template-columns: 1fr; row-gap: 8px; margin-bottom: 18px; }
	.cp-checkout .checkout-inline-error-message { grid-column: 1; }
	.cp-checkout input.input-text, .cp-checkout select { border-width: 2px; }
	.cp-services-plus { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 999px) {
	.cp-booking--checkout { z-index: auto; } /* pas de contexte d'empilement : le panneau passe au-dessus du header */
	.cp-booking--checkout .cp-booking__aside { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1200; max-height: 82vh; padding: 26px 24px 30px; overflow-y: auto; border-radius: 24px 24px 0 0; background: var(--bk-side); box-shadow: 0 -10px 30px rgba(0, 0, 0, .2); visibility: hidden; transform: translateY(100%); transition: transform .3s var(--cp-ease), visibility 0s .3s; }
	.cp-booking--checkout .cp-booking__aside.is-open { visibility: visible; transform: none; transition: transform .3s var(--cp-ease); }
	.cp-booking--checkout .cp-booking__photo { display: none; }
	.cp-booking--checkout .cp-booking__aside > * { width: 100%; max-width: 320px; margin-inline: auto; }
	.cp-booking--checkout .cp-booking__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--cp-red); color: #fff; cursor: pointer; }
	.cp-booking--checkout .cp-booking__close .cp-icon { width: 20px; height: 20px; stroke-width: 2.6; }
	.cp-booking--checkout .cp-booking__close::after { content: "Fermer"; position: absolute; top: 100%; left: 50%; margin-top: 2px; color: var(--cp-navy); font-size: 11px; font-weight: 800; text-transform: uppercase; transform: translateX(-50%); }
	.cp-details-backdrop { display: none; }
	body.cp-details-open .cp-details-backdrop { position: fixed; inset: 0; z-index: 1150; display: block; background: rgba(13, 24, 52, .5); }
	body.cp-details-open { overflow: hidden; }
	.cp-booking-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 16px; border-top: 4px solid var(--cp-navy); background: #edeff5; color: var(--cp-navy); box-shadow: 0 0 30px rgba(0, 0, 0, .2); }
	.cp-booking-bar p { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 15px; font-weight: 900; line-height: 1.2; text-transform: uppercase; }
	.cp-booking-bar strong { font-size: 22px; letter-spacing: 0; }
	.cp-booking-bar small { font-size: 13px; font-weight: 800; }
	.cp-booking-bar__details { display: flex; align-items: center; gap: 7px; padding: 8px 0 8px 10px; border: 0; background: none; color: var(--cp-navy); font: inherit; font-size: 14px; font-weight: 900; text-transform: uppercase; cursor: pointer; }
	.cp-booking-bar__details .cp-icon { width: 20px; height: 20px; }
	.cp-booking--checkout { padding-bottom: 96px; }
}
@media (max-width: 767px) {
	.cp-services-plus { grid-template-columns: 1fr; }
	.cp-option { min-height: 0; padding: 18px 16px 18px 64px; flex-direction: row; justify-content: space-between; text-align: left; }
	.cp-option__check { top: 50%; bottom: auto; left: 20px; transform: translateY(-50%); }
	.cp-option__price { font-size: 20px; white-space: nowrap; }
	.cp-checkout__actions { flex-direction: column-reverse; align-items: stretch; }
	.cp-checkout #place_order, .cp-checkout__back { width: 100%; justify-content: center; }
	.cp-checkout #place_order { padding: 17px 48px 17px 30px; font-size: 14px; }
	.cp-checkout .cp-row-radio .woocommerce-input-wrapper { gap: 10px 22px; }
}

/* Étape 4 : messages (tarif variable, GPL, 3 et 4 roues) et rechargement du récapitulatif */
.cp-field-notice { margin: 8px 0 0; padding: 10px 12px; border-left: 3px solid #f39200; border-radius: 4px; background: #fff6e8; color: #6b4d00; font-size: 13px; line-height: 1.45; }
.cp-booking__aside.is-loading > * { opacity: .45; transition: opacity .2s; }

/* Popup « créneau indisponible » */
.cp-alert .cp-pick__box { align-items: center; width: min(480px, 100%); padding: 30px; text-align: center; }
.cp-alert h2 { margin: 6px 0 8px; font-size: 20px; }
.cp-alert[hidden] { display: none; }

/* Étape 4 : ajustements (avertissements dans la colonne des champs, pas d astérisque sur chaque option radio) */
.cp-checkout .form-row .cp-field-notice { grid-column: 2; margin-right: 44px; }
.cp-checkout .cp-row-radio label.radio .required { display: none; }
@media (max-width: 1024px) { .cp-checkout .form-row .cp-field-notice { grid-column: 1; margin-right: 0; } }
.cp-checkout .cp-row-radio .woocommerce-input-wrapper { display: grid; grid-template-columns: repeat(2, 30px auto); justify-content: start; align-items: center; gap: 10px 12px; }
.cp-checkout input.input-radio + label.radio { margin: 0; padding: 0 22px 0 0; }
@media (max-width: 1024px) { .cp-checkout .woocommerce-input-wrapper { padding-right: 38px; } .cp-checkout .cp-row-radio .woocommerce-input-wrapper { padding-right: 0; } }
.cp-day.is-active:disabled { opacity: 1; }

/* Récapitulatif : contenu collant sur ordinateur (autonome : .alternate-stickybar), colonne grise sur toute la hauteur */
.cp-booking__aside-inner { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1000px) { .cp-booking__aside-inner { position: sticky; top: calc(var(--cp-nav-h) + 24px); } }
@media (max-width: 999px) { .cp-booking--checkout .cp-booking__aside-inner > * { width: 100%; max-width: 320px; margin-inline: auto; } }
@media (max-width: 999px) { .cp-booking--checkout .cp-booking__exam { padding-right: 52px; } }

/* Comme autonome : pas d'accès rapides avant le pied de page, pas de bandeau d'avis sur mobile ---------- */
.cp-booking-page .cp-prefooter { display: none; }
@media (max-width: 767px) {
	.cp-booking-page .cp-band { display: none !important; } /* le reste du site l'affiche sur mobile (main.css) */
	/* Carte pleine largeur, onglets en bandeau ombré, récapitulatif en encart (mobile d'autonome) */
	.cp-booking > .cp-container { padding-inline: 0; }
	.cp-booking__card { box-shadow: none; }
	.cp-booking__card > .cp-vtabs { position: relative; z-index: 1; padding: 10px 10px 0; border-bottom: 0; background: #fff; box-shadow: 0 12px 18px rgba(0, 0, 0, .07); }
	.cp-booking__main { padding: 34px 22px 24px; }
	.cp-booking:not(.cp-booking--checkout) .cp-booking__aside { margin: 0 15px; }
	.cp-booking--slots .cp-days { padding-inline: 10px; }
}


/* Toaster d'autonome (iziToast « info ») : bas gauche, fond rouge, icône, croix, barre de progression,
   entrée en rebond depuis la gauche, sortie en fondu vers la gauche. */
.cp-toast { position: fixed; left: 16px; bottom: 16px; z-index: 1300; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: min(420px, calc(100vw - 32px)); padding: 16px 14px 18px 16px; overflow: hidden; border-radius: 4px; background: #ff0014; color: #fff; box-shadow: 0 8px 26px rgba(0, 0, 0, .25); animation: cp-toast-in .7s cubic-bezier(.215, .61, .355, 1) both; }
.cp-toast.is-leaving { animation: cp-toast-out .45s ease-in both; }
.cp-toast__icon { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid #fff; border-radius: 50%; font: 800 14px/1 Georgia, serif; }
.cp-toast__msg { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.cp-toast__close { align-self: start; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: #fff; font-size: 22px; line-height: 1; opacity: .7; cursor: pointer; transition: opacity .2s, transform .2s; }
.cp-toast__close:hover { opacity: 1; transform: rotate(90deg); }
.cp-toast__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .25); }
.cp-toast__bar i { display: block; height: 100%; background: rgba(255, 255, 255, .85); transform-origin: left; }
@keyframes cp-toast-in { 0% { opacity: 0; transform: translateX(-280px); } 60% { opacity: 1; transform: translateX(22px); } 75% { transform: translateX(-8px); } 90% { transform: translateX(4px); } 100% { transform: none; } }
@keyframes cp-toast-out { to { opacity: 0; transform: translateX(-60px); } }
@media (max-width: 999px) { .cp-toast { bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .cp-toast, .cp-toast.is-leaving { animation-duration: .01s; } }

/* Montant qui change (tarif, total) */
@keyframes cp-bump { 0% { transform: scale(1); } 30% { transform: scale(1.14); color: #ff0014; } 100% { transform: scale(1); } }
.is-bump { display: inline-block; animation: cp-bump .65s var(--cp-ease); }

/* Popups d'erreur du calendrier (créneau pris, tarif introuvable) : apparition animée */
@keyframes cp-alert-fade { from { opacity: 0; } }
@keyframes cp-alert-pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.cp-alert { animation: cp-alert-fade .25s ease-out both; }
.cp-alert .cp-pick__box { border-top: 5px solid var(--cp-red); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); animation: cp-alert-pop .4s cubic-bezier(.2, .9, .3, 1.2) .05s both; }
.cp-alert .cp-cancel__icon { animation: cp-alert-pop .45s cubic-bezier(.2, .9, .3, 1.4) .2s both; }

/* Message sous un champ en erreur (navigateur ou retour serveur WooCommerce), même style partout */
.cp-checkout .cp-field-error, .cp-checkout .checkout-inline-error-message { grid-column: 2; margin: 8px 44px 0 0; padding: 0 0 0 22px; color: #ff0014; font-size: 13px; font-weight: 600; line-height: 1.35; background: no-repeat left 1px / 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='none' stroke='%23ff0014' stroke-width='2'/%3E%3Cpath d='M12 7v6M12 16.5v.5' stroke='%23ff0014' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); animation: cp-err-in .25s ease-out; }
@keyframes cp-err-in { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 999px) { .cp-checkout .cp-field-error, .cp-checkout .checkout-inline-error-message { grid-column: 1; margin-right: 38px; } }

/* Plaque d'immatriculation : bande bleue UE avec « F », texte façon plaque */
.cp-plate { position: relative; display: flex; align-items: stretch; border: 2px solid var(--cp-navy); border-radius: 8px; background: #fff; overflow: hidden; }
.cp-plate__eu { display: flex; flex-direction: column; align-items: center; justify-content: space-between; flex: none; width: 38px; padding: 7px 0 6px; background: #003399; color: #fff; }
.cp-plate__eu svg { display: block; width: 20px; height: 20px; }
.cp-plate__eu b { font: 800 15px/1 var(--cp-font); }
.cp-checkout .cp-plate .cp-plate__input { flex: 1; min-width: 0; height: 50px; border: 0 !important; border-radius: 0; box-shadow: none !important; font: 700 24px/1 var(--cp-font); letter-spacing: .12em; text-align: center; text-transform: uppercase; color: var(--cp-navy); }
.cp-checkout .cp-plate .cp-plate__input::placeholder { color: #b9bdc9; letter-spacing: .12em; }
.cp-plate::after { content: ""; flex: none; width: 38px; background: #003399; }
.cp-row-plate.woocommerce-invalid .cp-plate { border-color: #ff0014; }
.cp-row-plate.woocommerce-validated .cp-plate { border-color: #77df7a; }
.cp-row-plate.is-foreign .cp-plate__eu, .cp-row-plate.is-foreign .cp-plate::after { display: none; }
.cp-row-plate.is-foreign .cp-plate .cp-plate__input { letter-spacing: .04em; font-size: 20px; }
.cp-row-plate .woocommerce-input-wrapper { max-width: 420px; }
@media (max-width: 999px) { .cp-row-plate .woocommerce-input-wrapper { max-width: none; } .cp-checkout .cp-plate .cp-plate__input { font-size: 21px; } }

/* Case RGPD */
.cp-checkout .cp-rgpd { display: block; margin: 18px 0 6px; }
.cp-checkout .cp-rgpd label { display: grid !important; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 12px; font-size: 14px; line-height: 1.5; }
.cp-checkout .cp-rgpd label > span { display: block; }
.cp-checkout .cp-rgpd a { color: var(--cp-navy); font-weight: 700; text-decoration: underline; }
.cp-checkout .cp-rgpd .cp-field-error, .cp-checkout .cp-rgpd .checkout-inline-error-message { margin-left: 40px; }
.cp-checkout .cp-rgpd.woocommerce-invalid input[type="checkbox"] { border-color: #ff0014; }

/* Montant en cours de recalcul : bande grise qui charge (même effet que les prix des jours) */
.is-updating { position: relative; display: inline-block; min-width: 3.2em; color: transparent !important; border-radius: 4px; background: linear-gradient(90deg, #e3e6ee 25%, #f3f4f8 50%, #e3e6ee 75%); background-size: 200% 100%; animation: cp-shimmer 1.1s linear infinite; }
.is-updating * { visibility: hidden; }
s.is-updating { text-decoration: none; }

/* ==========================================================================
   Étape 4 — espacements repris du thème d'autonome (style.css) :
   lignes de champ 30 px (15 px en mobile), libellés 215 px, champ suivi d'un espace pour l'icône de validation,
   titres 40 / 25 px, cartes services plus 31 % avec 25 px d'écart et 15 px de marge, moyens de paiement 1,5 rem.
   ========================================================================== */
.cp-checkout .form-row { grid-template-columns: 215px minmax(0, 1fr); column-gap: 0; margin-bottom: 30px; }
.cp-checkout .form-row .woocommerce-input-wrapper { padding-right: 70px; margin-right: min(155px, 10%); }
.cp-checkout .cp-row-radio .woocommerce-input-wrapper { padding-right: 0; }
.cp-checkout .woocommerce-validated .woocommerce-input-wrapper::after, .cp-checkout .woocommerce-invalid .woocommerce-input-wrapper::after { right: 22px; }
.cp-checkout .cp-field-error, .cp-checkout .checkout-inline-error-message { margin-right: calc(70px + min(155px, 10%)); }
.cp-checkout__title, .woocommerce-billing-fields > h3 { margin: 40px 0 25px; }
.cp-checkout__fields > .woocommerce-billing-fields > h3:first-child, .woocommerce-billing-fields > h3:first-child { margin-top: 20px; }
.cp-checkout__title--contact { margin-top: 40px; }
.cp-services-plus { gap: 0 25px; margin: 40px 0 25px; }
.cp-services-plus > .cp-checkout__title { margin: 0 0 8px; }
.cp-services-plus > .cp-checkout__desc { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.cp-option { margin: 15px 0; min-height: 160px; padding: 18px 10px 63px; border-radius: 8px; }
.cp-checkout__consents { margin: 10px 0 30px; }
.cp-checkout__consents .form-row { margin-bottom: 20px; }
.cp-checkout #order_review_heading { margin-top: 40px; }
.cp-checkout .wc_payment_methods { gap: 24px; margin: 0 0 1rem; }
.cp-checkout #payment .form-row.place-order, .cp-checkout #payment > .form-row { padding: 1rem 0 0; }
.cp-checkout .woocommerce-terms-and-conditions-wrapper { margin-bottom: 25px; }
.cp-checkout .cp-rgpd { margin: 0 0 25px; }
.cp-checkout__actions { margin-top: 10px; }
@media (max-width: 1024px) {
	.cp-checkout .form-row { grid-template-columns: 1fr; row-gap: 8px; margin-bottom: 15px; }
	.cp-checkout .form-row .woocommerce-input-wrapper { margin-right: 0; padding-right: 44px; }
	.cp-checkout .cp-field-error, .cp-checkout .checkout-inline-error-message { margin-right: 44px; }
	.cp-checkout__title, .woocommerce-billing-fields > h3 { margin: 32px 0 20px; }
	.cp-services-plus { grid-template-columns: 1fr; gap: 0; }
}
/* Mobile : cartes services plus comme sur autonome (pleine largeur, même présentation en colonne qu'en ordinateur) */
@media (max-width: 767px) {
	.cp-option { flex-direction: column; justify-content: flex-start; align-items: center; min-height: 160px; margin: 15px 0; padding: 18px 10px 63px; text-align: center; }
	.cp-option__check { top: auto; bottom: 24px; left: 50%; transform: translateX(-50%); }
	.cp-option__price { font-size: 25px; }
	.cp-checkout #place_order { padding: 17px 40px 17px 26px; font-size: 14px; }
	.cp-checkout__back { margin-top: 10px; font-size: 14px; }
}

/* Encart « Tarif de l'examen » comme autonome (.tarif-banner) : fond transparent sur le gris bleuté du récapitulatif,
   pilule cerclée de bleu nuit, prix en 16 px gras (net en rouge si remise, barré à côté), bandeau en bas. */
.cp-booking__price, .cp-booking__price.is-promo, .cp-booking__price.is-best { margin: 20px auto; padding: 10px 10px 50px; background: transparent; }
.cp-booking__price p, .cp-booking__price strong, .cp-booking__price s { font-size: 16px; font-weight: 700; }
.cp-booking__price.is-promo strong, .cp-booking__price.is-best strong { margin-right: 10px; }
.cp-booking__price::after { bottom: auto; top: calc(100% - 40px); padding: 12px 0 50px; }

/* Cartes services plus comme autonome : coins 8 px, nom et prix en haut, case carrée de 25 px à 25 px du bas,
   voile blanc à 70 % quand l'option n'est pas disponible (paiement sur place). */
.cp-option { border-radius: 8px; gap: 0; }
.cp-option__name { margin: 0; line-height: 1.4; }
.cp-option__price { margin: 4px 0 0; font-size: 25px; line-height: 1.4; }
.cp-option__check { bottom: 25px; width: 25px; height: 25px; border-radius: 0; }
.cp-option.is-disabled::after { border-radius: 8px; background: rgba(255, 255, 255, .7); }

/* Sélecteur de marque avec recherche (même aspect que les autres listes de l'étape 4) */
.cp-checkout .cp-combo__native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.cp-combo { position: relative; }
.cp-combo__button { display: flex; align-items: center; width: 100%; height: 52px; padding: 0 44px 0 18px; border: 1px solid #c9cedb; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23122043' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center; color: var(--cp-navy); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.cp-combo__value { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cp-combo__value.is-placeholder { font-weight: 600; }
.cp-combo.is-open .cp-combo__button, .cp-combo__button:focus-visible { outline: 0; border-color: var(--cp-navy); box-shadow: 0 0 0 3px rgba(18, 32, 67, .12); }
.cp-combo__panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50; padding: 10px; border: 1px solid #c9cedb; border-radius: 10px; background: #fff; box-shadow: 0 16px 36px rgba(18, 32, 67, .18); }
.cp-combo__search { width: 100%; height: 44px; padding: 0 14px 0 40px; border: 1px solid #c9cedb; border-radius: 8px; background: #f4f5f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23122043' stroke-width='2.4'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 14px center; color: var(--cp-navy); font: inherit; font-size: 15px; }
.cp-combo__search:focus { outline: 0; border-color: var(--cp-navy); background-color: #fff; }
.cp-combo__list { max-height: 260px; margin: 8px 0 0; padding: 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.cp-combo__list li { padding: 10px 12px; border-radius: 6px; color: var(--cp-navy); font-size: 14px; font-weight: 600; cursor: pointer; }
.cp-combo__list li.is-active { background: var(--cp-navy); color: #fff; }
.cp-combo__list li.is-selected:not(.is-active) { background: #e7e9f3; }
.cp-combo__empty { margin: 10px 4px 2px; color: #6b7184; font-size: 13px; }
.woocommerce-invalid .cp-combo__button { border-color: var(--cp-red); }
.woocommerce-validated .cp-combo__button { border-color: #77df7a; }
@media (max-width: 1024px) { .cp-combo__button { border-width: 2px; } .cp-combo__list { max-height: 45vh; } }
.cp-checkout .cp-combo__search:focus, .cp-checkout .cp-combo__search:focus-visible { outline: none !important; box-shadow: 0 0 0 3px rgba(18, 32, 67, .12); }

/* Étape 4 : plus d'air entre moyens de paiement, case RGPD et boutons ; bouton « Modifier » contenu dans le récapitulatif */
.cp-checkout .wc_payment_methods { gap: 26px; margin: 0 0 40px; }
.cp-checkout .cp-rgpd { margin: 0 0 40px; padding-top: 30px; border-top: 1px solid #e3e6ee; }
.cp-checkout #payment .form-row.place-order, .cp-checkout #payment > .form-row { padding: 10px 0 0; }
.cp-checkout__actions { margin-top: 0; gap: 20px; }
.cp-booking__back { box-sizing: border-box; width: 100%; max-width: 100%; white-space: normal; text-align: center; gap: 8px; padding: 14px 16px; line-height: 1.3; }
@media (max-width: 767px) { .cp-checkout .wc_payment_methods { margin-bottom: 30px; } .cp-checkout .cp-rgpd { margin-bottom: 30px; padding-top: 24px; } }
/* « Retour page précédente » : capitales comme « Valider ma réservation », chevron « < » comme « Modifier le jour et l'heure » */
.cp-checkout__back { gap: 12px; font-size: 16px; font-weight: 700; text-transform: uppercase; }
.cp-checkout__back .cp-icon { width: 14px; height: 14px; color: var(--cp-red); transform: rotate(180deg); }
.cp-checkout__back:hover .cp-icon { color: #fff; }
@media (max-width: 1024px) { .cp-checkout__back { font-size: 14px; } }

/* Étape 3 mobile comme autonome : le bandeau s'arrête au milieu des jours, jours non choisis en gris plein,
   flèches sans fond, chevron sur « Je valide ». */
@media (max-width: 767px) {
	.cp-booking-header--slots .cp-page-header__inner { padding-bottom: 60px; }
	.cp-booking--slots > .cp-container { margin-top: -50px; }
	.cp-day:not(.is-active) { border-color: #b4b7c2; background: #b4b7c2; color: #fff; }
	.cp-day:not(.is-active) .cp-day__from, .cp-day:not(.is-active) .cp-day__price { color: #ff0014; }
	.cp-days__nav { background: none; color: var(--cp-navy); }
	.cp-days__nav .cp-icon { width: 20px; height: 20px; stroke-width: 2.4; }
	.cp-slot__btn { padding-right: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
	.cp-slot:hover .cp-slot__btn, .cp-slot:focus-within .cp-slot__btn, .cp-slot.is-active .cp-slot__btn { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0014' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E"); }
}

/* Tunnel en mobile comme autonome : bandeau rouge non collant, barre blanche « < PRENDRE RENDEZ-VOUS ⋮ » visible dès
   le chargement puis collée en haut, pas de bande de note, onglets de type non collants, pas de bouton calendrier. */
@media (max-width: 1099px) {
	body.cp-booking-page .cp-brandbar { position: relative; transform: none !important; }
	body.cp-booking-page .cp-booking-mbar { position: sticky; top: 0; z-index: 60; }
	.admin-bar.cp-booking-page .cp-booking-mbar { top: 46px; }
	body.cp-booking-page .cp-band { display: none !important; }
	.cp-booking__pick { display: none !important; }
}

/* Débordements mobiles (étape 4) : les colonnes des lignes de champ peuvent rétrécir, les choix radio passent
   l'un sous l'autre quand ils ne tiennent pas sur une ligne. */
.cp-checkout .form-row > *, .cp-checkout .woocommerce-input-wrapper { min-width: 0; max-width: 100%; }
@media (max-width: 440px) {
	.cp-checkout .cp-row-radio .woocommerce-input-wrapper { grid-template-columns: 30px minmax(0, 1fr); }
	.cp-checkout input.input-radio + label.radio { padding-right: 0; }
}
@media (max-width: 1099px) { body.cp-booking-page:has(.cp-booking-header--slots) .cp-booking-mbar { position: relative; } } /* étape 3 : barre non collante, comme autonome */

/* Menu « ⋮ » des étapes comme autonome : panneau bleu nuit sous la barre, étapes passées en rouge et cliquables,
   étape en cours en blanc, étapes à venir en contour ; la flèche retour disparaît et « ⋮ » devient une croix. */
.cp-booking-stepsnav { display: none; }
@media (max-width: 1099px) {
	.cp-booking-mbar { position: relative; }
	.cp-booking-stepsnav:not([hidden]) { position: absolute; top: 100%; left: 0; right: 0; z-index: 70; display: block; padding: 22px 24px 26px; background: var(--cp-navy); color: #fff; box-shadow: 0 12px 24px rgba(0, 0, 0, .2); animation: cp-fade .2s var(--cp-ease); }
	.cp-booking-stepsnav__title { margin: 0 0 18px; font-size: 17px; font-weight: 700; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
	.cp-booking-stepsnav ol { display: grid; gap: 18px; margin: 0 0 22px; padding: 0; list-style: none; }
	.cp-booking-stepsnav__item { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 18px; color: #fff; font-size: 15px; line-height: 1.4; text-decoration: none; }
	.cp-booking-stepsnav .is-done .cp-booking-stepsnav__item { color: #ff0014; }
	.cp-booking-stepsnav .is-done a.cp-booking-stepsnav__item:hover span:last-child { text-decoration: underline; }
	.cp-booking-stepsnav .cp-steps__num { position: relative; display: grid; place-items: center; width: 30px; height: 30px; }
	.cp-booking-stepsnav .cp-steps__num svg { position: absolute; inset: 0; width: 100%; height: 100%; }
	.cp-booking-stepsnav .cp-steps__num > span { position: relative; z-index: 1; font-size: 13px; font-weight: 800; }
	.cp-booking-stepsnav .is-done .cp-steps__num, .cp-booking-stepsnav .is-current .cp-steps__num { color: #ff0014; }
	.cp-booking-stepsnav .is-done .cp-steps__num svg, .cp-booking-stepsnav .is-current .cp-steps__num svg { fill: #ff0014; stroke: #ff0014; }
	.cp-booking-stepsnav .is-done .cp-steps__num > span, .cp-booking-stepsnav .is-current .cp-steps__num > span { color: #fff; }
	.cp-booking-stepsnav .is-next .cp-steps__num svg { fill: none; stroke: #fff; }
	.cp-booking-stepsnav .is-next .cp-steps__num > span { color: #fff; }
	.cp-booking-stepsnav__home { display: block; padding-left: 40px; color: #fff; font-size: 15px; text-decoration: none; }
	.cp-booking-mbar.is-steps-open .cp-booking-mbar__back { visibility: hidden; }
	.cp-booking-header .cp-steps.is-open { display: none; }
}
.cp-steps__link { display: inline-grid; color: inherit; text-decoration: none; }
a.cp-steps__link { cursor: pointer; }
a.cp-steps__link:hover .cp-steps__num { transform: scale(1.08); }
@media (max-width: 1099px) { .cp-booking-stepsnav .is-done .cp-steps__num path, .cp-booking-stepsnav .is-current .cp-steps__num path { fill: #ff0014; stroke: #ff0014; } }
.cp-checkout .cp-plate-hint { grid-column: 2; margin: 6px 0 0; color: var(--cp-muted); font-size: 13px; } @media (max-width: 1024px) { .cp-checkout .cp-plate-hint { grid-column: 1; } }

/* ===== Cartes « Mes services Plus » retravaillées : picto rond, titre, prix, case ronde ; choisie = bord rouge + fond rosé ===== */
.cp-services-plus .cp-option { display: grid; grid-template-rows: auto auto 1fr auto; justify-items: center; align-content: start; gap: 6px; min-height: 0; margin: 15px 0; padding: 26px 18px 22px; border: 1.5px solid #dde2ec; border-radius: 18px; background: #fff; text-align: center; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.cp-services-plus .cp-option:hover { border-color: var(--cp-navy); box-shadow: 0 10px 24px rgba(18, 32, 67, .08); transform: translateY(-2px); }
.cp-option__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 6px; border-radius: 50%; background: #eef1f8; color: var(--cp-navy); transition: background .2s, color .2s; }
.cp-option__icon .cp-icon { width: 26px; height: 26px; stroke-width: 1.7; }
.cp-option__2x { font-size: 20px; font-weight: 900; letter-spacing: -.04em; }
.cp-services-plus .cp-option__name { color: var(--cp-navy); font-size: 15px; font-weight: 700; line-height: 1.35; }
.cp-services-plus .cp-option__name small { margin-top: 4px; color: var(--cp-muted); font-size: 11px; font-weight: 600; opacity: 1; }
.cp-services-plus .cp-option__price { margin: 2px 0 0; color: var(--cp-red); font-size: 22px; font-weight: 800; line-height: 1.2; }
.cp-option__price--free { color: #1aa35c; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; }
.cp-services-plus .cp-option__check { position: static; grid-row: 4; width: 28px; height: 28px; margin-top: 12px; border: 2px solid #c3c9d6; border-radius: 50%; background: #fff; color: transparent; transform: none; transition: all .2s; }
.cp-services-plus .cp-option:has(input:checked) { border-color: var(--cp-red); background: #fff5f6; box-shadow: 0 0 0 1px var(--cp-red); }
.cp-services-plus .cp-option:has(input:checked) .cp-option__check { border-color: var(--cp-red); background: var(--cp-red); color: #fff; }
.cp-services-plus .cp-option:has(input:checked) .cp-option__icon { background: var(--cp-red); color: #fff; }
.cp-services-plus .cp-option.is-disabled { transform: none; box-shadow: none; }
.cp-services-plus .cp-option.is-disabled::after { border-radius: 18px; background: rgba(255, 255, 255, .62); }
.cp-services-plus .cp-option.is-disabled:hover { border-color: #dde2ec; }
@media (max-width: 767px) {
	.cp-services-plus .cp-option { grid-template-columns: 54px minmax(0, 1fr) auto; grid-template-rows: auto auto; justify-items: start; align-items: center; column-gap: 14px; row-gap: 2px; margin: 10px 0; padding: 16px; text-align: left; }
	.cp-services-plus .cp-option__icon { grid-row: 1 / span 2; margin: 0; }
	.cp-services-plus .cp-option__name { grid-column: 2; }
	.cp-services-plus .cp-option__price { grid-column: 2; font-size: 18px; }
	.cp-services-plus .cp-option__check { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
}

/* ===== Sélecteur de marque retravaillé ===== */
.cp-combo { position: relative; }
.cp-combo__button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 52px; padding: 0 16px 0 18px; border: 1px solid #c9cedb; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122043' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; color: var(--cp-navy); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.cp-combo__button:hover { border-color: var(--cp-navy); }
.cp-combo.is-open .cp-combo__button { border-color: var(--cp-navy); border-radius: 10px 10px 0 0; box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0014' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E"); }
.cp-combo__value.is-placeholder { color: #8a92a6; font-weight: 500; }
.cp-combo__panel { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; overflow: hidden; border: 1px solid var(--cp-navy); border-top: 0; border-radius: 0 0 12px 12px; background: #fff; box-shadow: 0 18px 36px rgba(18, 32, 67, .16); animation: cp-fade .15s var(--cp-ease); }
.cp-combo__search { display: block; width: calc(100% - 24px); height: 44px; margin: 12px; padding: 0 14px 0 42px; border: 1px solid #dde2ec; border-radius: 999px; background: #f4f6fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0014' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 15px center / 17px; color: var(--cp-navy); font: inherit; font-size: 15px; }
.cp-combo__search:focus { outline: 0; border-color: var(--cp-navy); background-color: #fff; }
.cp-combo__list { max-height: 280px; overflow-y: auto; margin: 0; padding: 0 6px 8px; list-style: none; overscroll-behavior: contain; }
.cp-combo__list li { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 8px; color: var(--cp-navy); font-size: 15px; cursor: pointer; }
.cp-combo__list li.is-active { background: #eef1f8; }
.cp-combo__list li.is-selected { color: var(--cp-red); font-weight: 700; }
.cp-combo__list li.is-selected::after { content: ""; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0014' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center / contain; }
.cp-combo__empty { margin: 0; padding: 4px 18px 16px; color: var(--cp-muted); font-size: 14px; }
.cp-combo__list mark { background: none; color: var(--cp-red); font-weight: 700; }
@media (min-width: 768px) {
	.cp-checkout .cp-services-plus .cp-option { display: grid; grid-template-rows: auto auto auto 1fr; justify-items: center; text-align: center; padding: 26px 18px 22px; }
	.cp-checkout .cp-services-plus .cp-option > * { justify-self: center; }
	.cp-checkout .cp-services-plus .cp-option__check { grid-row: 5; align-self: end; }
}
.cp-checkout .cp-services-plus .cp-option__price--free { color: #1aa35c; font-size: 15px; letter-spacing: .08em; }
.cp-combo__list li { position: relative; display: block; padding-right: 40px; }
.cp-combo__list li.is-active { background: #eef1f8; color: var(--cp-navy); }
.cp-combo__list li.is-selected::after { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); }
@media (min-width: 768px) { .cp-checkout .cp-services-plus .cp-option__name, .cp-checkout .cp-services-plus .cp-option__price { width: 100%; text-align: center; } }
@media (min-width: 768px) { .cp-checkout .cp-services-plus .cp-option { grid-template-columns: minmax(0, 1fr); justify-content: stretch; align-items: start; } }
.cp-exam__btn.cp-btn { pointer-events: auto; cursor: pointer; } /* le bouton dépasse sous la carte : il doit rester cliquable */

/* ===== Choix du moyen de paiement en cartes (même esprit que « Mes services Plus ») ===== */
.cp-checkout .wc_payment_methods { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cp-checkout .wc_payment_method { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr) 28px; align-items: center; column-gap: 14px; min-height: 86px; padding: 16px 18px; border: 1.5px solid #dde2ec; border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.cp-checkout .wc_payment_method:hover { border-color: var(--cp-navy); box-shadow: 0 10px 24px rgba(18, 32, 67, .08); transform: translateY(-1px); }
.cp-checkout .wc_payment_method::before { content: ""; grid-column: 1; grid-row: 1; width: 50px; height: 50px; border-radius: 50%; background: #eef1f8 no-repeat center / 24px; transition: background-color .2s; }
.cp-checkout .wc_payment_method.payment_method_cod::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122043' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0 0 4h14a2 2 0 0 1 2 2v3'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-3'/%3E%3Cpath d='M21 12h-4a2 2 0 0 0 0 4h4z'/%3E%3C/svg%3E"); }
.cp-checkout .wc_payment_method:not(.payment_method_cod)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23122043' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6.5 15h4'/%3E%3C/svg%3E"); }
.cp-checkout .wc_payment_method > input[type="radio"] { grid-column: 3; grid-row: 1; width: 26px; height: 26px; border: 2px solid #c3c9d6; box-shadow: none; }
.cp-checkout .wc_payment_method > label { grid-column: 2; grid-row: 1; display: block; font-size: 15px; line-height: 1.3; }
.cp-checkout .wc_payment_method > label::after { display: block; margin-top: 3px; color: var(--cp-muted); font-size: 12.5px; font-weight: 600; }
.cp-checkout .wc_payment_method.payment_method_cod > label::after { content: "Au centre, le jour du contrôle"; }
.cp-checkout .wc_payment_method:not(.payment_method_cod) > label::after { content: "En ligne, paiement 100 % sécurisé"; }
.cp-checkout .wc_payment_method:has(input:checked) { border-color: var(--cp-red); background: #fff5f6; box-shadow: 0 0 0 1px var(--cp-red); }
.cp-checkout .wc_payment_method:has(input:checked)::before { background-color: var(--cp-red); filter: none; }
.cp-checkout .wc_payment_method.payment_method_cod:has(input:checked)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0 0 4h14a2 2 0 0 1 2 2v3'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-3'/%3E%3Cpath d='M21 12h-4a2 2 0 0 0 0 4h4z'/%3E%3C/svg%3E"); }
.cp-checkout .wc_payment_method:not(.payment_method_cod):has(input:checked)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6.5 15h4'/%3E%3C/svg%3E"); }
.cp-checkout .wc_payment_method > input[type="radio"]:checked { border-color: var(--cp-red); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 20px var(--cp-red); }
/* Un seul moyen (Mitry-Mory) : WooCommerce masque la case, la carte reste affichée comme choisie */
.cp-checkout .wc_payment_methods > .wc_payment_method:only-child { border-color: var(--cp-red); background: #fff5f6; }
.cp-checkout .wc_payment_methods > .wc_payment_method:only-child > input { display: none; }
#order_review_heading, .cp-checkout #order_review_heading { margin-bottom: 18px; }
@media (max-width: 767px) { .cp-checkout .wc_payment_methods { grid-template-columns: 1fr; gap: 12px; } .cp-checkout .wc_payment_method { min-height: 76px; padding: 14px 16px; } }

/* ===== Confirmation de réservation en cartes ===== */
.cp-ty { display: grid; gap: 18px; }
.cp-ty__status { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 18px; padding: 22px 24px; border-radius: 16px; background: #eaf8ef; }
.cp-ty__status.is-error { background: #fff1f2; }
.cp-ty__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #1aa35c; color: #fff; }
.cp-ty__status.is-error .cp-ty__icon { background: var(--cp-red); }
.cp-ty__icon .cp-icon { width: 30px; height: 30px; stroke-width: 2.6; }
.cp-ty__hello { margin: 0; color: var(--cp-muted); font-size: 15px; font-weight: 700; }
.cp-ty__title { margin: 2px 0 6px; color: var(--cp-navy); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.2; }
.cp-ty__desc { margin: 0; font-size: 14px; line-height: 1.55; }
.cp-ty__desc a { color: var(--cp-navy); font-weight: 700; }
.cp-ty__rdv { padding: 26px 24px; border-radius: 16px; background: var(--cp-navy); color: #fff; text-align: center; }
.cp-ty__rdv p { margin: 0; }
.cp-ty__label { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.cp-ty__date { margin-top: 8px !important; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; }
.cp-ty__time { color: var(--cp-red); font-size: clamp(30px, 3.6vw, 40px); font-weight: 800; line-height: 1.1; }
.cp-ty__exam { margin-top: 10px !important; font-size: 15px; font-weight: 700; }
.cp-ty__ref { margin-top: 6px !important; font-size: 13px; opacity: .8; }
.cp-ty__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cp-ty__card { padding: 22px 24px; border: 1.5px solid #e3e6ee; border-radius: 16px; background: #fff; }
.cp-ty__card p { margin: 0 0 4px; }
.cp-ty__h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--cp-navy); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cp-ty__h .cp-icon { width: 20px; height: 20px; color: var(--cp-red); }
.cp-ty__strong { color: var(--cp-navy); font-size: 16px; font-weight: 800; }
.cp-ty__muted { color: var(--cp-muted); font-size: 14px; }
.cp-ty__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--cp-red); font-weight: 800; text-decoration: none; }
.cp-ty__phone .cp-icon { width: 16px; height: 16px; }
.cp-ty__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cp-ty__rows { margin: 0; }
.cp-ty__rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #eef0f5; font-size: 14px; }
.cp-ty__rows dt { color: var(--cp-muted); }
.cp-ty__rows dd { margin: 0; color: var(--cp-navy); font-weight: 700; text-align: right; }
.cp-ty__rows .is-total { border-bottom: 0; padding-top: 14px; }
.cp-ty__rows .is-total dt { color: var(--cp-navy); font-size: 15px; font-weight: 800; }
.cp-ty__rows .is-total dd { color: var(--cp-red); font-size: 22px; font-weight: 800; }
.cp-ty__note { margin-top: 10px !important; padding: 10px 12px; border-radius: 10px; background: #fff5f6; font-size: 13px; }
.cp-ty__docs ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cp-ty__docs li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 14px; line-height: 1.5; }
.cp-ty__docs li .cp-icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #e8f7ee; color: #1aa35c; stroke-width: 3; }
.cp-ty__team { padding: 6px 0 0; color: var(--cp-muted); font-size: 14px; text-align: center; }
.cp-ty__team p { margin: 0 0 4px; }
.cp-ty__team a { color: var(--cp-red); font-weight: 700; text-decoration: none; }
/* Ajouter à mon agenda : bouton blanc sur le bloc rendez-vous, menu Google / Outlook / .ics */
.cp-ty__agenda { position: relative; display: inline-block; margin-top: 18px; text-align: left; }
.cp-ty__agenda summary { list-style: none; cursor: pointer; user-select: none; }
.cp-ty__agenda summary::-webkit-details-marker { display: none; }
.cp-ty__agenda summary .cp-icon { width: 18px; height: 18px; }
.cp-ty__agenda summary > .cp-icon:last-child { width: 16px; height: 16px; transition: transform .2s var(--cp-ease); }
.cp-ty__agenda[open] summary > .cp-icon:last-child { transform: rotate(180deg); }
.cp-ty__agenda summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cp-ty__agenda-menu { position: absolute; top: calc(100% + 8px); left: 50%; z-index: 5; min-width: 310px; margin: 0; padding: 6px; border-radius: var(--cp-radius-sm); background: #fff; box-shadow: var(--cp-shadow-lg); list-style: none; transform: translateX(-50%); }
.cp-ty__agenda-menu a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-radius: 6px; color: var(--cp-navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.cp-ty__agenda-menu a:hover, .cp-ty__agenda-menu a:focus-visible { background: var(--cp-bg-alt); color: var(--cp-red); }
.cp-ty__agenda-menu .cp-icon { flex: none; width: 16px; height: 16px; color: var(--cp-red); }
/* Dossiers suggérés : tuiles photo, comme les cartes « Tout savoir » (styles .cp-dtile dans main.css) */
.cp-ty__more { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--cp-line); }
@media (max-width: 767px) {
	.cp-ty__agenda { display: block; }
	.cp-ty__agenda summary { width: 100%; }
	.cp-ty__agenda-menu { left: 0; right: 0; min-width: 0; transform: none; }
}
@media (max-width: 767px) {
	.cp-ty__grid { grid-template-columns: 1fr; }
	.cp-ty__status { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px 18px; }
	.cp-ty__card { padding: 18px; }
	.cp-ty__actions .cp-btn { flex: 1 1 100%; justify-content: center; }
}


/* ===== Étape 4 : retours du 15 octobre ===== */

/* Champs plus aérés, en particulier sur mobile. */
.cp-checkout .woocommerce-billing-fields .form-row, .cp-checkout .woocommerce-additional-fields .form-row { margin-bottom: 34px; }
.cp-checkout .cp-checkout__title--contact { margin-top: 54px; }
@media (max-width: 767px) {
	.cp-checkout .woocommerce-billing-fields .form-row { margin-bottom: 26px; }
	.cp-checkout .form-row > label:first-child { display: block; margin-bottom: 10px; }
	.cp-checkout .cp-checkout__title--contact { margin-top: 44px; }
}

/* Boutons radio alignés d'une ligne à l'autre : premier choix de largeur fixe. */
.cp-checkout .cp-row-radio .woocommerce-input-wrapper { display: grid !important; grid-template-columns: 30px 150px 30px auto !important; justify-content: start; align-items: center; gap: 10px 12px; }
.cp-checkout .cp-row-radio .woocommerce-input-wrapper > label { width: auto; }
@media (max-width: 767px) {
	.cp-checkout .cp-row-radio .woocommerce-input-wrapper { grid-template-columns: 30px 128px 30px auto !important; gap: 10px; }
}
@media (max-width: 359px) {
	.cp-checkout .cp-row-radio .woocommerce-input-wrapper { grid-template-columns: 30px minmax(0, 1fr) !important; }
}

/* Options de paiement : cartes repensées (titre, précision, moyens acceptés, avantage). */
.cp-checkout .wc_payment_methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0 0 40px; padding: 0; list-style: none; }
.cp-checkout .wc_payment_method.cp-pay { position: relative; display: block; min-height: 0; padding: 0; border: 0; border-radius: 18px; background: none; box-shadow: none; transform: none; cursor: default; }
.cp-checkout .wc_payment_method.cp-pay::before, .cp-checkout .wc_payment_method.cp-pay > label::after { content: none !important; display: none !important; }
.cp-checkout .wc_payment_method.cp-pay > input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cp-checkout .wc_payment_method.cp-pay > label { position: relative; display: flex; align-items: flex-start; gap: 16px; height: 100%; margin: 0; padding: 22px 22px 20px; border: 1.5px solid #dfe3ec; border-radius: 18px; background: #fff; color: var(--cp-navy); font-size: 15px; font-weight: 400; line-height: 1.35; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.cp-checkout .wc_payment_method.cp-pay > label:hover { border-color: #aab3c7; box-shadow: 0 10px 26px rgba(18, 32, 67, .08); }
.cp-checkout .wc_payment_method.cp-pay > input:focus-visible + label { outline: 3px solid rgba(18, 32, 67, .35); outline-offset: 2px; }
.cp-checkout .wc_payment_method.cp-pay > input:checked + label { border-color: var(--cp-navy); border-width: 2px; padding: 21.5px 21.5px 19.5px; box-shadow: 0 14px 30px rgba(18, 32, 67, .12); }
.cp-pay__radio { flex: none; position: relative; width: 26px; height: 26px; margin-top: 1px; border: 2px solid #c3c9d6; border-radius: 50%; background: #fff; transition: border-color .2s, background-color .2s; }
.cp-pay__radio::after { content: ""; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.cp-checkout .cp-pay > input:checked + label .cp-pay__radio { border-color: #77df7a; background: #77df7a; }
.cp-checkout .cp-pay > input:checked + label .cp-pay__radio::after { transform: rotate(45deg) scale(1); }
.cp-pay__body { display: grid; gap: 4px; min-width: 0; }
.cp-pay__title { color: var(--cp-navy); font-size: 17px; font-weight: 800; }
.cp-pay__desc { color: var(--cp-muted); font-size: 13.5px; font-weight: 600; }
.cp-pay__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.cp-pay__chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #f1f3f8; color: var(--cp-navy); font-size: 12px; font-weight: 700; line-height: 1.3; }
.cp-pay__chip svg { width: 13px; height: 13px; }
.cp-pay__chip--secure { background: #e9f8ea; color: #1f7a36; }
.cp-pay__brands { display: block !important; height: 24px; width: auto; margin-right: 4px; }
.cp-pay__perk { position: absolute; top: -11px; right: 18px; padding: 3px 10px; border-radius: 999px; background: var(--cp-red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 4px 10px rgba(255, 0, 20, .25); }
.cp-checkout .wc_payment_method.cp-pay .payment_box { display: none !important; }
.cp-checkout .wc_payment_methods > .wc_payment_method.cp-pay:only-child > label { border-color: var(--cp-navy); border-width: 2px; }
@media (max-width: 767px) {
	.cp-checkout .wc_payment_methods { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
	.cp-checkout .wc_payment_method.cp-pay > label { padding: 18px 16px 16px; }
	.cp-checkout .wc_payment_method.cp-pay > input:checked + label { padding: 17.5px 15.5px 15.5px; }
	.cp-pay__title { font-size: 16px; }
}

/* Services Plus et cases sous le paiement (déplacés par booking.js) : un peu d'air avant la validation. */
.cp-checkout #order_review + .cp-services-plus { margin-top: 10px; }
.cp-checkout .cp-checkout__consents + .place-order { margin-top: 10px; }
.cp-checkout .wc_payment_method.cp-pay:has(input:checked), .cp-checkout .wc_payment_methods > .wc_payment_method.cp-pay:only-child { border-color: transparent; background: none; box-shadow: none; }
.cp-checkout .wc_payment_methods:has(.cp-pay__perk) { padding-top: 14px; }
#choix-controle { scroll-margin-top: 140px; }
.cp-pay__chips:empty { display: none; }

/* Page intermédiaire avant la banque : ni récapitulatif ni message de redirection, seulement une roue de chargement. */
.woocommerce-order-pay .order_details, .woocommerce-order-pay #JS-WCE-form > p, .woocommerce-order-pay #JS-WCE-form button,
.cp-pay-auto #PaymentRequest #bouton { display: none !important; }
.woocommerce-order-pay #JS-WCE-form, .cp-pay-auto #PaymentRequest { display: block; width: 44px; height: 44px; margin: 60px auto; border: 4px solid #e1e4ec; border-top-color: var(--cp-red, #ff0014); border-radius: 50%; animation: cp-pay-spin .8s linear infinite; }
@keyframes cp-pay-spin { to { transform: rotate(360deg); } }
