/* Choréâme 2026-2027 — parcours de recette administrateur uniquement. */
body.fpr-admin-preview-mode {
	--fpr-preview-red: #92334c;
	--fpr-preview-red-dark: #76273d;
	--fpr-preview-sticky-top: 128px;
	--fpr-preview-admin-bottom: 32px;
}

body.fpr-admin-test-mode {
	padding-top: 40px;
}

body.fpr-admin-test-mode .fpr-admin-preview-banner {
	position: fixed;
	z-index: 100000;
	top: var(--fpr-preview-admin-bottom);
	right: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 16px;
	background: linear-gradient(90deg, var(--fpr-preview-red-dark), #a3425b);
	color: #fff;
	font: 800 13px/1.35 Arial, sans-serif;
	letter-spacing: .01em;
	text-align: center;
	box-shadow: 0 5px 18px rgba(85, 25, 43, .22);
}

body.fpr-admin-test-mode .fpr-admin-preview-banner a {
	flex: 0 0 auto;
	margin-left: 14px;
	padding: 2px 10px;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 999px;
	color: #fff;
	font-size: 11px;
	text-decoration: none;
}

body.fpr-admin-test-mode .fpr-admin-preview-banner > span {
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

body.fpr-admin-test-mode .fpr-admin-preview-banner::before {
	width: 8px;
	height: 8px;
	margin-right: 9px;
	border: 2px solid rgba(255, 255, 255, .55);
	border-radius: 50%;
	background: #fff;
	content: '';
}

/* Le raccourci vers le nouveau planning reste disponible pendant la recette. */
body.fpr-admin-preview-mode .fpr-planning-bubble {
	z-index: 90010;
	display: grid !important;
}

body.fpr-admin-preview-mode .fpr-demo-journey__badge > span {
	background: var(--fpr-preview-red);
}

body.fpr-admin-preview-mode .fpr-demo-journey__badge {
	border-color: rgba(146, 51, 76, .18);
}

body.fpr-admin-preview-mode .fpr-demo-assurance {
	border-color: rgba(146, 51, 76, .13);
	border-radius: 0;
	background: #fff7f2;
	color: #6f3c4b;
}

body.fpr-admin-preview-mode .fpr-demo-assurance i {
	background: var(--fpr-preview-red);
}

body.fpr-admin-preview-mode .fpr-reservation-price-note {
	display: grid;
	grid-template-columns: minmax(170px, .38fr) minmax(0, 1fr);
	gap: 14px 24px;
	align-items: center;
	padding: 18px clamp(20px, 3vw, 34px);
	border: 1px solid rgba(199, 155, 43, .28);
	border-top: 0;
	border-radius: 0 0 24px 24px;
	background: linear-gradient(135deg, #fff9e8, #fff4ef);
	color: #6a4937;
	font-size: 13px;
	line-height: 1.55;
}

body.fpr-admin-preview-mode .fpr-reservation-price-note strong {
	color: #7d3558;
	font-size: 14px;
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout #customer_details > div,
body.fpr-admin-preview-mode.fpr-demo-stage-checkout #order_review {
	border: 1px solid rgba(35, 31, 32, .09);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 16px 45px rgba(35, 31, 32, .07);
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout #customer_details > div {
	margin-bottom: 18px;
	padding: clamp(20px, 3vw, 30px);
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout .form-row label {
	margin-bottom: 7px;
	color: #56474f;
	font-size: 12px;
	font-weight: 800;
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout .input-text,
body.fpr-admin-preview-mode.fpr-demo-stage-checkout select,
body.fpr-admin-preview-mode.fpr-demo-stage-checkout .select2-selection {
	min-height: 48px;
	border: 1px solid #e5dce1 !important;
	border-radius: 11px !important;
	background: #fffcfa !important;
	box-shadow: none !important;
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout textarea.input-text {
	min-height: 112px;
	resize: vertical;
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout #order_review .product-name dl.variation,
body.fpr-admin-preview-mode.fpr-demo-stage-checkout #order_review .product-name .wc-item-meta,
body.fpr-admin-preview-mode.fpr-demo-stage-checkout #order_review .product-name > br {
	display: none !important;
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout #order_review .shop_table {
	table-layout: auto;
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout #order_review .product-name {
	word-break: normal;
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout #place_order {
	min-height: 54px;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1.25;
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout #order_review {
	top: calc(var(--fpr-preview-sticky-top) + 12px) !important;
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout .woocommerce-form-login-toggle {
	display: none;
}

body.fpr-admin-preview-mode .fpr-checkout-account-gate {
	display: grid;
	gap: 15px;
	margin: 0 0 20px;
	padding: clamp(18px, 3vw, 26px);
	border: 1px solid rgba(8, 127, 131, .2);
	border-radius: 20px;
	background: linear-gradient(135deg, #eef8f5, #fffaf4);
	color: #243f42;
	box-shadow: 0 14px 38px rgba(24, 44, 47, .07);
}

body.fpr-admin-preview-mode .fpr-checkout-account-gate__intro,
body.fpr-admin-preview-mode .fpr-checkout-account-gate.is-connected {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
}

body.fpr-admin-preview-mode .fpr-checkout-account-gate__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #087f83;
	color: #fff;
	font-size: 13px;
	font-weight: 900;
}

body.fpr-admin-preview-mode .fpr-checkout-account-gate strong,
body.fpr-admin-preview-mode .fpr-checkout-account-gate small {
	display: block;
}

body.fpr-admin-preview-mode .fpr-checkout-account-gate small {
	margin-top: 3px;
	color: #607274;
	font-size: 12px;
	line-height: 1.5;
}

body.fpr-admin-preview-mode .fpr-checkout-account-gate__choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

body.fpr-admin-preview-mode .fpr-checkout-account-gate__choice {
	padding: 14px 16px;
	border: 1px solid rgba(8, 127, 131, .22);
	border-radius: 14px;
	background: #fff;
	color: #244b4e;
	text-decoration: none;
}

body.fpr-admin-preview-mode a.fpr-checkout-account-gate__choice:hover,
body.fpr-admin-preview-mode a.fpr-checkout-account-gate__choice:focus-visible {
	border-color: #087f83;
	box-shadow: 0 0 0 3px rgba(8, 127, 131, .1);
}

body.fpr-admin-preview-mode .fpr-checkout-account-gate__choice span {
	display: block;
	margin-top: 4px;
	color: #647577;
	font-size: 12px;
}

body.fpr-admin-preview-mode .fpr-checkout-account-gate > p {
	margin: 0;
	color: #51686a;
	font-size: 12px;
}

body.fpr-admin-preview-mode .fpr-checkout-account-gate.is-connected > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #087f83;
	color: #fff;
	font-size: 12px;
	font-weight: 850;
	text-decoration: none;
}

body.fpr-admin-preview-mode .fpr-preview-payment-safety {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 16px;
	border-bottom: 1px solid rgba(146, 51, 76, .12);
	background: #fff7f2;
	color: #623747;
}

body.fpr-admin-preview-mode .fpr-preview-payment-safety__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--fpr-preview-red);
	color: #fff;
	font-weight: 900;
}

body.fpr-admin-preview-mode .fpr-preview-payment-safety strong,
body.fpr-admin-preview-mode .fpr-preview-payment-safety small {
	display: block;
}

body.fpr-admin-preview-mode .fpr-preview-form-progress {
	display: grid;
	grid-template-columns: 50px minmax(0, 1fr);
	gap: 10px 14px;
	align-items: center;
	margin: 0 0 18px;
	padding: 15px 18px;
	border: 1px solid rgba(146, 51, 76, .14);
	border-radius: 16px;
	background: #fffaf7;
}

body.fpr-admin-preview-mode .fpr-preview-form-progress__count {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #f3e5e9;
	color: var(--fpr-preview-red-dark);
	font-size: 13px;
	font-weight: 900;
}

body.fpr-admin-preview-mode .fpr-preview-form-progress strong,
body.fpr-admin-preview-mode .fpr-preview-form-progress small {
	display: block;
}

body.fpr-admin-preview-mode .fpr-preview-form-progress small {
	margin-top: 2px;
	color: #755f68;
	font-size: 12px;
}

body.fpr-admin-preview-mode .fpr-preview-form-progress > i {
	grid-column: 1 / -1;
	height: 5px;
	overflow: hidden;
	border-radius: 99px;
	background: #eadfe3;
}

body.fpr-admin-preview-mode .fpr-preview-form-progress > i b {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--fpr-preview-red);
	transition: width .2s ease;
}

body.fpr-admin-preview-mode .fpr-preview-form-progress.is-complete .fpr-preview-form-progress__count,
body.fpr-admin-preview-mode .fpr-preview-form-progress.is-complete > i b {
	background: #2f8f64;
	color: #fff;
}

body.fpr-admin-preview-mode.fpr-demo-stage-checkout .form-row.fpr-field-complete .input-text,
body.fpr-admin-preview-mode.fpr-demo-stage-checkout .form-row.fpr-field-complete select {
	border-color: rgba(47, 143, 100, .42) !important;
}

body.fpr-admin-preview-mode .fpr-preview-payment-safety small {
	margin-top: 3px;
	color: #7e5f69;
	font-size: 12px;
	line-height: 1.45;
}

body.fpr-admin-preview-mode .fpr-preview-complete {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	margin: 0 0 24px;
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid rgba(47, 143, 100, .19);
	border-radius: 24px;
	background: linear-gradient(135deg, #e8f5ee, #fffaf4);
	box-shadow: 0 16px 40px rgba(35, 31, 32, .07);
}

body.fpr-admin-preview-mode .fpr-preview-complete__check {
	display: grid;
	place-items: center;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: #2f8f64;
	color: #fff;
	font-size: 28px;
	font-weight: 900;
	box-shadow: 0 0 0 9px rgba(47, 143, 100, .11);
}

body.fpr-admin-preview-mode .fpr-preview-complete h2 {
	margin: 0 0 7px;
	color: #231f20;
	font-size: clamp(23px, 3vw, 34px);
	letter-spacing: -.03em;
	line-height: 1.1;
}

body.fpr-admin-preview-mode .fpr-preview-complete p {
	margin: 0;
	color: #6f6269;
	line-height: 1.5;
}

body.fpr-admin-preview-mode .fpr-preview-next {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

body.fpr-admin-preview-mode .fpr-preview-next li {
	padding: 12px;
	border: 1px solid rgba(47, 143, 100, .16);
	border-radius: 12px;
	background: rgba(255, 255, 255, .72);
}

body.fpr-admin-preview-mode .fpr-preview-next strong,
body.fpr-admin-preview-mode .fpr-preview-next span {
	display: block;
}

body.fpr-admin-preview-mode .fpr-preview-next strong {
	margin-bottom: 3px;
	color: #286f51;
	font-size: 11px;
	text-transform: uppercase;
}

body.fpr-admin-preview-mode .fpr-preview-next span {
	color: #5f555a;
	font-size: 12px;
	line-height: 1.4;
}

body.fpr-admin-preview-mode .fpr-preview-complete__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 17px;
}

body.fpr-admin-preview-mode .fpr-preview-complete__actions a,
body.fpr-admin-preview-mode .fpr-preview-complete__actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid #2f8f64;
	border-radius: 999px;
	background: #fff;
	color: #286f51;
	font: 850 12px/1.2 inherit;
	text-decoration: none;
	cursor: pointer;
}

body.fpr-admin-preview-mode .fpr-preview-complete__actions a {
	background: #2f8f64;
	color: #fff;
}

body.fpr-admin-preview-mode .fpr-preview-complete__actions a.is-secondary {
	background: #fff;
	color: #286f51;
}

body.fpr-admin-preview-mode.fpr-demo-stage-confirmation .woocommerce-thankyou-order-received {
	display: none;
}

body.fpr-admin-preview-mode.fpr-demo-stage-confirmation .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: -8px 0 22px;
	padding: 14px 18px;
	border: 1px solid rgba(35, 31, 32, .08);
	border-radius: 14px;
	background: #fff;
}

body.fpr-admin-preview-mode .fpr-preview-details {
	margin: 12px 0;
	border: 1px solid rgba(35, 31, 32, .1);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(35, 31, 32, .05);
}

body.fpr-admin-preview-mode .fpr-preview-details > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 17px 20px;
	color: #392f34;
	font-weight: 850;
	cursor: pointer;
}

body.fpr-admin-preview-mode .fpr-preview-details > summary small {
	color: var(--fpr-preview-red);
	font-size: 11px;
}

body.fpr-admin-preview-mode .fpr-preview-details > section,
body.fpr-admin-preview-mode .fpr-preview-details > .woocommerce-order-details,
body.fpr-admin-preview-mode .fpr-preview-details > .woocommerce-customer-details {
	margin: 0 !important;
	padding: 0 20px 20px;
	box-shadow: none !important;
}

body.fpr-admin-test-mode.fpr-demo-stage-confirmation .generate-invoice {
	display: none !important;
}

/* Sur la confirmation, la bulle reste disponible sans flotter au-dessus des actions. */
body.fpr-admin-preview-mode.fpr-demo-stage-confirmation .fpr-planning-bubble {
	position: static !important;
	width: max-content;
	max-width: calc(100% - 24px);
	margin: 22px 12px 22px auto;
}

/* Compteur de sélection visible pendant la navigation dans le planning. */
body.fpr-admin-preview-mode .fpr-preview-selection-float {
	position: fixed;
	z-index: 90000;
	top: calc(var(--fpr-preview-sticky-top) + 24px);
	right: 18px;
	width: min(300px, calc(100vw - 36px));
	padding: 16px;
	border: 2px solid rgba(125, 74, 131, .34);
	border-radius: 20px;
	background: #fffaf4;
	color: #231f20;
	box-shadow: 0 18px 50px rgba(35, 31, 32, .18);
	backdrop-filter: blur(14px);
	transition: transform .2s ease, opacity .2s ease;
}

body.fpr-admin-preview-mode .fpr-preview-selection-float.has-selection {
	border-color: rgba(146, 51, 76, .48);
	box-shadow: 0 20px 54px rgba(79, 28, 47, .24);
}

body.fpr-admin-preview-mode .fpr-preview-selection-float.is-summary-visible {
	opacity: 0;
	pointer-events: none;
	transform: translateX(18px);
}

body.fpr-admin-preview-mode .fpr-preview-selection-float__top {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	align-items: center;
	gap: 11px;
}

body.fpr-admin-preview-mode .fpr-preview-selection-float__count {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #a370a8;
	color: #fff;
	font-size: 18px;
	font-weight: 900;
	box-shadow: 0 0 0 7px rgba(163, 112, 168, .12);
}

body.fpr-admin-preview-mode .fpr-preview-selection-float__top strong,
body.fpr-admin-preview-mode .fpr-preview-selection-float__top small {
	display: block;
}

body.fpr-admin-preview-mode .fpr-preview-selection-float__top strong {
	font-size: 14px;
}

body.fpr-admin-preview-mode .fpr-preview-selection-float__top small {
	margin-top: 2px;
	color: #6f6269;
	font-size: 11px;
}

body.fpr-admin-preview-mode .fpr-preview-selection-float__list {
	display: grid;
	gap: 6px;
	max-height: 126px;
	margin: 14px 0;
	padding: 0;
	overflow: auto;
	list-style: none;
}

body.fpr-admin-preview-mode .fpr-preview-selection-float__list li {
	padding: 8px 10px;
	border: 1px solid rgba(35, 31, 32, .1);
	border-radius: 10px;
	background: #fff;
	font-size: 11px;
	font-weight: 750;
	line-height: 1.35;
}

body.fpr-admin-preview-mode .fpr-preview-selection-float__empty {
	margin: 13px 0;
	color: #6f6269;
	font-size: 12px;
	line-height: 1.45;
}

body.fpr-admin-preview-mode .fpr-preview-selection-float__continue {
	grid-column: 1 / -1;
	width: 100%;
	min-height: 46px;
	padding: 11px 16px;
	border: 0;
	border-radius: 999px;
	background: #a370a8;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(125, 74, 131, .24);
}

body.fpr-admin-preview-mode .fpr-preview-selection-float__continue:disabled {
	cursor: not-allowed;
	opacity: .45;
	box-shadow: none;
}

body.fpr-admin-preview-mode .fpr-preview-resume {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	gap: 12px 15px;
	align-items: center;
	padding: 15px clamp(18px, 3vw, 30px);
	border-top: 1px solid rgba(146, 51, 76, .12);
	background: #f7eef2;
	color: #55313e;
}

body.fpr-admin-preview-mode .fpr-preview-resume__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--fpr-preview-red);
	color: #fff;
	font-size: 19px;
	font-weight: 900;
}

body.fpr-admin-preview-mode .fpr-preview-resume strong,
body.fpr-admin-preview-mode .fpr-preview-resume small {
	display: block;
}

body.fpr-admin-preview-mode .fpr-preview-resume small {
	margin-top: 3px;
	color: #755b65;
	font-size: 12px;
	line-height: 1.4;
}

body.fpr-admin-preview-mode .fpr-preview-resume__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 16px;
	border: 1px solid var(--fpr-preview-red);
	border-radius: 999px;
	background: #fff;
	color: var(--fpr-preview-red-dark);
	font: 850 12px/1.2 inherit;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

body.fpr-admin-preview-mode .fpr-preview-resume__action:hover,
body.fpr-admin-preview-mode .fpr-preview-resume__action:focus-visible {
	background: var(--fpr-preview-red);
	color: #fff;
}

/* Le calque saisonnier reste décoratif et ne recouvre plus les actions. */
body.fpr-admin-preview-mode.fpr-demo-journey-page .fpr-seasonal-layer {
	z-index: 10 !important;
	opacity: .34;
	pointer-events: none;
}

body.fpr-admin-preview-mode.fpr-demo-journey-page.fpr-season-summer .fpr-seasonal-layer::before {
	display: none !important;
}

body.fpr-admin-preview-mode.fpr-demo-journey-page .csa-sun {
	display: none !important;
}

body.fpr-admin-preview-mode .fpr-demo-journey,
body.fpr-admin-preview-mode .fpr-preview-selection-float,
body.fpr-admin-preview-mode .fpr-planning-bubble {
	isolation: isolate;
}

@media (max-width: 1180px) {
	body.fpr-admin-preview-mode .fpr-preview-selection-float {
		top: auto;
		right: 12px;
		bottom: max(82px, calc(env(safe-area-inset-bottom) + 82px));
		left: 12px;
		width: auto;
		padding: 12px 14px;
	}

	body.fpr-admin-preview-mode .fpr-preview-selection-float__top {
		grid-template-columns: 40px minmax(0, 1fr) minmax(130px, auto);
	}

	body.fpr-admin-preview-mode .fpr-preview-selection-float__count {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}

	body.fpr-admin-preview-mode .fpr-preview-selection-float__continue {
		grid-column: 3;
		grid-row: 1;
	}

	body.fpr-admin-preview-mode .fpr-preview-selection-float__list,
	body.fpr-admin-preview-mode .fpr-preview-selection-float__empty {
		display: none;
	}

	body.fpr-admin-preview-mode .fpr-planning-bubble {
		right: 12px;
		bottom: max(12px, env(safe-area-inset-bottom));
	}

	body.fpr-admin-preview-mode:has(.fpr-planning-bubble.is-open) .fpr-preview-selection-float {
		opacity: 0;
		pointer-events: none;
	}
}

@media (max-width: 782px) {
	body.fpr-admin-test-mode {
		--fpr-preview-admin-bottom: 46px;
		padding-top: 46px;
	}

	body.fpr-admin-test-mode .fpr-admin-preview-banner {
		top: 46px;
		min-height: 46px;
		padding: 8px 12px;
		font-size: 11px;
	}

	body.fpr-admin-test-mode .fpr-admin-preview-banner a {
		margin-left: 8px;
		padding: 2px 8px;
		font-size: 10px;
	}
}

@media (max-width: 620px) {
	body.fpr-admin-preview-mode .fpr-reservation-price-note {
		grid-template-columns: 1fr;
		gap: 5px;
		padding: 16px 18px;
	}

	body.fpr-admin-preview-mode.fpr-demo-stage-checkout #customer_details > div {
		padding: 18px 15px;
		border-radius: 18px;
	}

	body.fpr-admin-preview-mode.fpr-demo-stage-checkout .form-row-first,
	body.fpr-admin-preview-mode.fpr-demo-stage-checkout .form-row-last {
		float: none;
		width: 100%;
	}

	body.fpr-admin-preview-mode .fpr-checkout-account-gate__choices {
		grid-template-columns: 1fr;
	}

	body.fpr-admin-preview-mode .fpr-checkout-account-gate.is-connected {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	body.fpr-admin-preview-mode .fpr-checkout-account-gate.is-connected > a {
		grid-column: 1 / -1;
		width: 100%;
	}

	body.fpr-admin-preview-mode.fpr-demo-stage-checkout #order_review .shop_table th,
	body.fpr-admin-preview-mode.fpr-demo-stage-checkout #order_review .shop_table td {
		padding: 11px 8px;
		font-size: 12px;
	}

	body.fpr-admin-preview-mode .fpr-preview-selection-float {
		right: 8px;
		bottom: max(76px, calc(env(safe-area-inset-bottom) + 76px));
		left: 8px;
		padding: 10px;
		border-radius: 17px;
	}

	body.fpr-admin-preview-mode .fpr-preview-selection-float__top {
		grid-template-columns: 38px minmax(0, 1fr) minmax(112px, 42%);
		gap: 9px;
	}

	body.fpr-admin-preview-mode .fpr-preview-selection-float__count {
		width: 38px;
		height: 38px;
		box-shadow: none;
	}

	body.fpr-admin-preview-mode .fpr-preview-selection-float__top small {
		display: none;
	}

	body.fpr-admin-preview-mode .fpr-preview-selection-float__continue {
		min-height: 42px;
		padding-inline: 12px;
		font-size: 12px;
	}

	body.fpr-admin-preview-mode .fpr-preview-complete {
		grid-template-columns: 1fr;
		padding: 22px 19px;
	}

	body.fpr-admin-preview-mode .fpr-preview-next {
		grid-template-columns: 1fr;
	}

	body.fpr-admin-preview-mode .fpr-preview-complete__actions > * {
		width: 100%;
	}

	body.fpr-admin-preview-mode .fpr-preview-resume {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 10px;
		padding: 14px 16px;
	}

	body.fpr-admin-preview-mode .fpr-preview-resume__icon {
		width: 38px;
		height: 38px;
	}

	body.fpr-admin-preview-mode .fpr-preview-resume__action {
		grid-column: 1 / -1;
		width: 100%;
	}
}

/* Tunnel public mobile : une information et une action utiles par écran. */
@media (max-width: 767px) {
	body.fpr-demo-mode.fpr-demo-journey-page {
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
		overflow-x: hidden;
	}

	body.fpr-demo-mode.fpr-demo-journey-page #main > .container,
	body.fpr-demo-mode.fpr-demo-journey-page #main .container,
	body.fpr-demo-mode.fpr-demo-journey-page #main .content,
	body.fpr-demo-mode.fpr-demo-journey-page #main .entry-content-wrapper {
		width: 100% !important;
		max-width: 100% !important;
		margin-inline: 0 !important;
		padding-inline: 0 !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-courses #fpr-ux-shell,
	body.fpr-demo-mode.fpr-demo-stage-courses .fpr-planning-wrapper,
	body.fpr-demo-mode.fpr-demo-stage-formula .woocommerce,
	body.fpr-demo-mode.fpr-demo-stage-checkout .woocommerce,
	body.fpr-demo-mode.fpr-demo-stage-confirmation .woocommerce,
	body.fpr-demo-mode.fpr-demo-journey-page .fpr-demo-journey {
		width: calc(100% - 16px) !important;
		max-width: none !important;
		margin-inline: 8px !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-formula .woocommerce,
	body.fpr-demo-mode.fpr-demo-stage-checkout .woocommerce,
	body.fpr-demo-mode.fpr-demo-stage-confirmation .woocommerce {
		box-sizing: border-box !important;
		padding-inline: 0 !important;
	}

	body.fpr-demo-mode.fpr-demo-journey-page .fpr-demo-journey {
		margin-top: calc(8px + var(--fpr-enfold-header-clearance)) !important;
		margin-bottom: 12px !important;
		border-radius: 16px !important;
	}

	body.fpr-demo-mode .fpr-demo-journey__intro {
		display: block;
		padding: 16px !important;
		border-radius: 16px 16px 0 0 !important;
	}

	body.fpr-demo-mode .fpr-demo-journey__eyebrow {
		font-size: 10px !important;
		letter-spacing: .05em !important;
	}

	body.fpr-demo-mode .fpr-demo-journey h1 {
		margin: 6px 0 0 !important;
		font-size: clamp(23px, 7vw, 28px) !important;
		line-height: 1.02 !important;
	}

	body.fpr-demo-mode .fpr-demo-journey__copy > p,
	body.fpr-demo-mode .fpr-demo-journey__badge,
	body.fpr-demo-mode .fpr-reservation-price-note,
	body.fpr-demo-mode .fpr-2026-preregistration-notice {
		display: none !important;
	}

	body.fpr-demo-mode .fpr-demo-progress {
		padding: 0 14px !important;
		border-bottom: 1px solid rgba(35, 31, 32, .08);
	}

	body.fpr-demo-mode .fpr-demo-progress ol {
		display: block;
		padding: 10px 0 !important;
	}

	body.fpr-demo-mode .fpr-demo-progress ol::before,
	body.fpr-demo-mode .fpr-demo-progress__step:not(.is-current) {
		display: none !important;
	}

	body.fpr-demo-mode .fpr-demo-progress__step.is-current {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		gap: 9px;
		min-width: 0;
		color: #5f3b51;
		font-size: 12px !important;
		text-align: left;
	}

	body.fpr-demo-mode .fpr-demo-progress__marker,
	body.fpr-demo-mode .fpr-demo-progress__step.is-current .fpr-demo-progress__marker {
		width: 28px !important;
		height: 28px !important;
		box-shadow: none !important;
	}

	body.fpr-demo-mode .fpr-demo-progress__label {
		max-width: none !important;
	}

	body.fpr-demo-mode .fpr-demo-assurance {
		display: flex !important;
		padding: 9px 14px !important;
		border-bottom: 0 !important;
		background: #f4faf7 !important;
		font-size: 11px !important;
	}

	body.fpr-demo-mode .fpr-demo-assurance span:not(:first-child) {
		display: none !important;
	}

	body.fpr-admin-preview-mode .fpr-preview-resume {
		display: grid;
		grid-template-columns: 30px minmax(0, 1fr) auto;
		gap: 8px;
		padding: 9px 13px !important;
		border-radius: 0 0 16px 16px;
	}

	body.fpr-admin-preview-mode .fpr-preview-resume__icon {
		width: 30px !important;
		height: 30px !important;
		font-size: 14px !important;
	}

	body.fpr-admin-preview-mode .fpr-preview-resume strong {
		font-size: 12px;
	}

	body.fpr-admin-preview-mode .fpr-preview-resume small,
	body.fpr-admin-preview-mode button.fpr-preview-resume__action {
		display: none !important;
	}

	body.fpr-admin-preview-mode .fpr-preview-resume__action {
		grid-column: auto !important;
		width: auto !important;
		min-height: 34px;
		padding: 6px 10px;
		font-size: 10px;
	}

	body.fpr-demo-mode.fpr-demo-journey-page .csa-layer,
	body.fpr-demo-mode.fpr-demo-journey-page .fpr-seasonal-layer,
	body.fpr-demo-mode.fpr-demo-journey-page .fpr-planning-bubble {
		display: none !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-courses .fpr-preview-selection-float {
		right: 8px;
		bottom: max(8px, env(safe-area-inset-bottom));
		left: 8px;
		padding: 8px 10px;
		border-width: 1px;
		border-radius: 14px;
	}

	body.fpr-demo-mode.fpr-demo-stage-courses .fpr-preview-selection-float__top {
		grid-template-columns: 34px minmax(0, 1fr) minmax(104px, 40%);
		gap: 8px;
	}

	body.fpr-demo-mode.fpr-demo-stage-courses .fpr-preview-selection-float__count {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	body.fpr-demo-mode.fpr-demo-stage-courses .fpr-preview-selection-float__continue {
		min-height: 38px;
		padding: 7px 10px;
		font-size: 11px;
	}

	/* Formule : le récapitulatif mobile remplace le tableau WooCommerce. */
	body.fpr-demo-mode .fpr-mobile-course-summary {
		margin: 0 0 12px;
		padding: 14px;
		border: 1px solid rgba(8, 127, 131, .18);
		border-radius: 15px;
		background: #fff;
		box-shadow: 0 8px 22px rgba(24, 44, 47, .06);
	}

	body.fpr-demo-mode .fpr-mobile-course-summary *,
	body.fpr-demo-mode .fpr-mobile-course-summary__heading > span,
	body.fpr-demo-mode .fpr-mobile-course-summary__heading > div {
		box-sizing: border-box;
		min-width: 0;
		max-width: 100%;
		float: none !important;
	}

	body.fpr-demo-mode .fpr-mobile-course-summary__heading {
		display: grid;
		grid-template-columns: 32px minmax(0, 1fr);
		gap: 9px;
		align-items: center;
		margin-bottom: 10px;
	}

	body.fpr-demo-mode .fpr-mobile-course-summary__heading > span {
		display: grid;
		place-items: center;
		width: 30px;
		height: 30px;
		border-radius: 50%;
		background: #087f83;
		color: #fff;
		font-weight: 900;
	}

	body.fpr-demo-mode .fpr-mobile-course-summary__heading > div {
		grid-column: 2;
	}

	body.fpr-demo-mode .fpr-mobile-course-summary__heading strong,
	body.fpr-demo-mode .fpr-mobile-course-summary__heading small,
	body.fpr-demo-mode .fpr-mobile-course-summary li strong,
	body.fpr-demo-mode .fpr-mobile-course-summary li span {
		display: block;
	}

	body.fpr-demo-mode .fpr-mobile-course-summary__heading small,
	body.fpr-demo-mode .fpr-mobile-course-summary li span {
		margin-top: 2px;
		color: #6b7475;
		font-size: 11px;
	}

	body.fpr-demo-mode .fpr-mobile-course-summary ul {
		display: grid;
		gap: 7px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	body.fpr-demo-mode .fpr-mobile-course-summary li {
		padding: 10px 11px;
		border-radius: 10px;
		background: #f7f4f7;
		font-size: 13px;
	}

	body.fpr-demo-mode.fpr-mobile-formula-ready .woocommerce-cart-form table.cart,
	body.fpr-demo-mode.fpr-mobile-formula-ready .woocommerce-cart-form table.shop_table,
	body.fpr-demo-mode.fpr-mobile-formula-ready .woocommerce-cart-form td.actions {
		display: none !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-formula .woocommerce > .button,
	body.fpr-demo-mode.fpr-demo-stage-formula .woocommerce > .return-to-shop {
		position: static !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100% !important;
		margin: 0 0 12px !important;
		float: none !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-formula .fpr-payment-plan-selector,
	body.fpr-demo-mode.fpr-demo-stage-formula .cart_totals {
		margin-bottom: 12px !important;
		padding: 14px !important;
		border-radius: 15px !important;
		box-shadow: none !important;
	}

	body.fpr-demo-mode .fpr-demo-formula-note {
		grid-template-columns: 30px minmax(0, 1fr) !important;
		margin-bottom: 12px;
		padding: 11px !important;
	}

	body.fpr-demo-mode .fpr-demo-formula-note > span {
		width: 28px !important;
		height: 28px !important;
	}

	body.fpr-demo-mode .fpr-demo-formula-note strong {
		margin: 4px 0 0;
		font-size: 12px;
	}

	body.fpr-demo-mode .fpr-demo-formula-note p {
		display: none;
	}

	body.fpr-demo-mode.fpr-demo-stage-formula .cart_totals .order-total th,
	body.fpr-demo-mode.fpr-demo-stage-formula .cart_totals .order-total td {
		font-size: 16px !important;
	}

	body.fpr-demo-mode .wc-proceed-to-checkout .checkout-button,
	body.fpr-demo-mode #place_order {
		width: 100% !important;
		min-height: 50px !important;
		padding: 12px 16px !important;
		font-size: 13px !important;
	}

	/* Coordonnées : cartes plates, champs utiles visibles, facultatifs repliés. */
	body.fpr-demo-mode .fpr-checkout-account-gate,
	body.fpr-demo-mode .fpr-preview-form-progress,
	body.fpr-demo-mode.fpr-demo-stage-checkout #customer_details,
	body.fpr-demo-mode.fpr-demo-stage-checkout #order_review {
		margin-bottom: 12px !important;
		padding: 14px !important;
		border-radius: 15px !important;
		box-shadow: none !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout .woocommerce-form-coupon-toggle,
	body.fpr-demo-mode.fpr-demo-stage-checkout form.checkout_coupon {
		display: none !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout form.checkout.woocommerce-checkout {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout #customer_details,
	body.fpr-demo-mode.fpr-demo-stage-checkout #order_review {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: none !important;
	}

	body.fpr-demo-mode .fpr-checkout-account-gate {
		gap: 10px;
	}

	body.fpr-demo-mode .fpr-checkout-account-gate__intro {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: 9px;
	}

	body.fpr-demo-mode .fpr-checkout-account-gate__icon {
		width: 34px;
		height: 34px;
		font-size: 10px;
	}

	body.fpr-demo-mode .fpr-checkout-account-gate__choices {
		gap: 7px;
	}

	body.fpr-demo-mode .fpr-checkout-account-gate__choice {
		padding: 10px 12px;
		border-radius: 10px;
		font-size: 12px;
	}

	body.fpr-demo-mode .fpr-checkout-account-gate__choice span,
	body.fpr-demo-mode .fpr-checkout-account-gate > p {
		font-size: 10px;
	}

	body.fpr-demo-mode .fpr-preview-form-progress {
		grid-template-columns: 34px minmax(0, 1fr);
		gap: 8px;
		padding: 10px 12px !important;
	}

	body.fpr-demo-mode .fpr-preview-form-progress__count {
		width: 32px;
		height: 32px;
		font-size: 10px;
	}

	body.fpr-demo-mode .fpr-preview-form-progress small,
	body.fpr-demo-mode .fpr-preview-form-progress > i {
		display: none;
	}

	body.fpr-demo-mode .fpr-mobile-optional-toggle {
		display: grid;
		grid-template-columns: 30px minmax(0, 1fr);
		gap: 9px;
		align-items: center;
		width: 100%;
		margin: 0 0 14px;
		padding: 10px 12px;
		border: 1px dashed rgba(8, 127, 131, .35);
		border-radius: 11px;
		background: #f6fbfa;
		color: #24575a;
		font: inherit;
		text-align: left;
		cursor: pointer;
	}

	body.fpr-demo-mode .fpr-mobile-optional-toggle > span:first-child {
		display: grid;
		place-items: center;
		width: 28px;
		height: 28px;
		border-radius: 50%;
		background: #087f83;
		color: #fff;
		font-size: 17px;
	}

	body.fpr-demo-mode .fpr-mobile-optional-toggle strong,
	body.fpr-demo-mode .fpr-mobile-optional-toggle small {
		display: block;
	}

	body.fpr-demo-mode .fpr-mobile-optional-toggle small {
		margin-top: 2px;
		color: #647577;
		font-size: 10px;
	}

	body.fpr-demo-mode [data-fpr-mobile-optional="1"] {
		display: none !important;
	}

	body.fpr-demo-mode.fpr-mobile-optionals-open [data-fpr-mobile-optional="1"] {
		display: block !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout #customer_details > div {
		padding: 0 !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout #customer_details h3,
	body.fpr-demo-mode.fpr-demo-stage-checkout #order_review h3 {
		font-size: 18px !important;
	}

	body.fpr-demo-mode .fpr-mobile-plan-heading {
		margin: 14px 0 0 !important;
		padding-top: 13px !important;
		border-top: 1px solid rgba(35, 31, 32, .1);
		font-size: 15px !important;
	}

	body.fpr-demo-mode .fpr-mobile-plan-value {
		margin: 6px 0 0 !important;
		padding: 10px 11px;
		border-radius: 9px;
		background: #f7f4f7;
		font-size: 12px;
		line-height: 1.45;
	}

	body.fpr-demo-mode .fpr-mobile-plan-value strong {
		display: block;
		margin-bottom: 3px;
		color: #7b5277;
		font-size: 10px;
		text-transform: uppercase;
	}

	body.fpr-demo-mode .fpr-mobile-plan-help {
		display: none !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout .form-row {
		margin-bottom: 11px !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout .form-row label {
		margin-bottom: 5px !important;
		font-size: 12px !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout .form-row input,
	body.fpr-demo-mode.fpr-demo-stage-checkout .form-row select,
	body.fpr-demo-mode.fpr-demo-stage-checkout .form-row textarea,
	body.fpr-demo-mode.fpr-demo-stage-checkout .select2-selection {
		min-height: 46px !important;
		padding: 10px 12px !important;
		font-size: 16px !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout .fpr-courses-summary {
		margin-bottom: 12px !important;
		padding: 12px !important;
		border-radius: 12px !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout .fpr-courses-list li {
		margin: 5px 0 !important;
		padding: 8px 9px !important;
		font-size: 12px;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout .woocommerce-checkout-review-order-table th,
	body.fpr-demo-mode.fpr-demo-stage-checkout .woocommerce-checkout-review-order-table td {
		padding: 9px 7px !important;
		font-size: 11px !important;
		overflow-wrap: anywhere;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout #payment {
		margin-top: 12px !important;
		border-radius: 13px !important;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout #payment ul.payment_methods {
		display: none !important;
	}

	body.fpr-demo-mode .fpr-preview-payment-safety {
		grid-template-columns: 32px minmax(0, 1fr);
		gap: 9px;
		padding: 11px 12px;
		border-bottom: 0;
	}

	body.fpr-demo-mode .fpr-preview-payment-safety__icon {
		width: 30px;
		height: 30px;
	}

	body.fpr-demo-mode .fpr-preview-payment-safety strong {
		font-size: 12px;
	}

	body.fpr-demo-mode .fpr-preview-payment-safety small {
		display: none;
	}

	body.fpr-demo-mode.fpr-demo-stage-checkout #payment .place-order {
		padding: 12px !important;
	}

	/* Confirmation : le résultat et les actions, les détails restent repliés. */
	body.fpr-demo-mode .fpr-preview-complete {
		gap: 12px;
		margin-bottom: 12px;
		padding: 17px 15px !important;
		border-radius: 16px;
	}

	body.fpr-demo-mode .fpr-preview-complete__check {
		width: 42px;
		height: 42px;
		font-size: 18px;
		box-shadow: none;
	}

	body.fpr-demo-mode .fpr-preview-complete h2 {
		font-size: 22px;
	}

	body.fpr-demo-mode .fpr-preview-next {
		display: none;
	}

	body.fpr-demo-mode .fpr-preview-complete__actions {
		margin-top: 12px;
	}

	body.fpr-demo-mode .fpr-preview-details > summary {
		padding: 13px 14px;
		font-size: 12px;
	}
}

/* Accès persistants : sélection en cours et dashboard après création du compte. */
body.fpr-admin-preview-mode .fpr-global-journey-menu {
	position: fixed;
	z-index: 9990;
	left: 16px;
	bottom: max(16px, env(safe-area-inset-bottom));
	display: flex;
	gap: 8px;
	align-items: center;
	max-width: min(520px, calc(100vw - 32px));
	padding: 7px;
	border: 1px solid rgba(35, 31, 32, .13);
	border-radius: 16px;
	background: rgba(255, 253, 248, .97);
	box-shadow: 0 14px 34px rgba(35, 31, 32, .16);
	backdrop-filter: blur(12px);
}

body.fpr-admin-preview-mode .fpr-global-journey-menu.is-inline {
	position: static;
	max-width: none;
	margin: 0;
	padding: 11px clamp(16px, 3vw, 28px);
	border: 0;
	border-top: 1px solid rgba(35, 31, 32, .1);
	border-radius: 0;
	background: #fffdf8;
	box-shadow: none;
	backdrop-filter: none;
}

body.fpr-admin-preview-mode .fpr-global-journey-menu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 13px;
	border: 1px solid rgba(8, 127, 131, .24);
	border-radius: 11px;
	background: #fff;
	color: #17676a;
	font: 800 12px/1.2 inherit;
	text-align: left;
	text-decoration: none;
}

body.fpr-admin-preview-mode .fpr-global-journey-menu a:hover,
body.fpr-admin-preview-mode .fpr-global-journey-menu a:focus-visible {
	border-color: #087f83;
	background: #eef8f6;
	color: #075f62;
}

body.fpr-admin-preview-mode .fpr-global-journey-menu__courses > span:last-child,
body.fpr-admin-preview-mode .fpr-global-journey-menu__courses strong,
body.fpr-admin-preview-mode .fpr-global-journey-menu__courses small {
	display: block;
}

body.fpr-admin-preview-mode .fpr-global-journey-menu__courses small {
	margin-top: 2px;
	color: #68797a;
	font-size: 10px;
	font-weight: 650;
}

body.fpr-admin-preview-mode .fpr-global-journey-menu__account {
	background: #087f83;
	color: #fff;
}

body.fpr-admin-preview-mode .fpr-global-journey-menu__account:hover,
body.fpr-admin-preview-mode .fpr-global-journey-menu__account:focus-visible {
	background: #075f62;
	color: #fff;
}

@media (max-width: 767px) {
	body.fpr-admin-preview-mode .fpr-global-journey-menu {
		left: 8px;
		bottom: max(8px, env(safe-area-inset-bottom));
		max-width: calc(100vw - 16px);
		padding: 6px;
		border-radius: 13px;
	}

	body.fpr-admin-preview-mode .fpr-global-journey-menu.is-inline {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin: 0;
		padding: 9px 10px;
		border-radius: 0;
	}

	body.fpr-admin-preview-mode .fpr-global-journey-menu a {
		min-height: 38px;
		padding: 7px 10px;
	}

	body.fpr-admin-preview-mode .fpr-global-journey-menu__courses {
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.fpr-admin-preview-mode .fpr-preview-selection-float {
		transition: none;
	}
}

@media print {
	body.fpr-admin-test-mode .fpr-admin-preview-banner,
	body.fpr-admin-preview-mode .fpr-preview-selection-float,
	body.fpr-admin-preview-mode .fpr-preview-resume,
	body.fpr-admin-preview-mode .fpr-global-journey-menu,
	body.fpr-admin-preview-mode .fpr-demo-journey {
		display: none !important;
	}
}
