/* Cart and checkout pages — tokens alignés rideon-2026 (pas le -0.2em legacy BF) */
body.woocommerce-cart,
body.woocommerce-checkout {
	--font-main: "Space Grotesk", sans-serif;
	--font-headline: "mono45-headline", Impact, sans-serif;
	--headline-word-spacing: 0;
	--pill-radius: 100px;
	--container-width: 1440px;
	--onewheel-blue: #4cc0e8;
	background: #fff;
	color: #0b0b0b;
	font-family: var(--font-main);
}

/* 2026 : `* { box-sizing: border-box }` — sans ça min-height:44 + padding → CTA ~66px */
body.woocommerce-cart .main,
body.woocommerce-cart .main *,
body.woocommerce-cart .main *::before,
body.woocommerce-cart .main *::after,
body.woocommerce-checkout .main,
body.woocommerce-checkout .main *,
body.woocommerce-checkout .main *::before,
body.woocommerce-checkout .main *::after {
	box-sizing: border-box;
}

/* Anti-legacy Poppins / “+” boutons (style.css BF) */
body.woocommerce-cart,
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .rideon-cart-recos,
body.woocommerce-checkout,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .wc-block-checkout {
	font-family: var(--font-main) !important;
}

body.woocommerce-cart .woocommerce a.button::after,
body.woocommerce-cart .woocommerce button.button::after,
body.woocommerce-cart .woocommerce input.button::after,
body.woocommerce-cart a.button::after,
body.woocommerce-cart .wc-block-cart__submit-button::after,
body.woocommerce-cart .rideon-cart-recos__cta::after,
body.woocommerce-cart .rideon-empty-cart-marketing__link::after,
body.woocommerce-checkout .woocommerce a.button::after,
body.woocommerce-checkout .woocommerce button.button::after,
body.woocommerce-checkout #place_order::after {
	content: none !important;
	display: none !important;
	padding: 0 !important;
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-cart .rideon-cart-recos__cta,
body.woocommerce-cart .rideon-cart-recos__name,
body.woocommerce-cart .rideon-cart-recos__price,
body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-cart .wc-block-components-product-name a,
body.woocommerce-cart .wc-block-components-totals-item,
body.woocommerce-cart .wc-block-components-totals-coupon__button,
body.woocommerce-cart .rideon-empty-cart-marketing__link,
body.woocommerce-cart .rideon-empty-cart-marketing__text,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button {
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
}

/* Titres display : mono45 + word-spacing 0 (tokens 2026, pas le -0.225em legacy) */
body.woocommerce-cart .rideon-cart-recos__title,
body.woocommerce-cart .rideon-empty-cart-marketing__title {
	font-family: var(--font-headline, "mono45-headline", Impact, sans-serif) !important;
	font-weight: 700 !important;
	word-spacing: var(--headline-word-spacing, 0) !important;
	text-transform: uppercase !important;
	color: #101010 !important;
	-webkit-text-stroke: 0 !important;
	text-shadow: none !important;
}

/* Pastilles — calque style.css 2026, scopées panier (évite de polluer boutique) */
body.woocommerce-cart .rideon-new-badge,
body.woocommerce-cart .rideon-cart-recos .rideon-new-badge {
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	bottom: auto !important;
	width: 84px !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
	object-position: center !important;
	z-index: 10 !important;
	pointer-events: none !important;
	display: block !important;
	filter: none !important;
	transform: none !important;
	box-shadow: none !important;
	flex: 0 0 auto !important;
}

body.woocommerce-cart .rideon-new-badge--pdp {
	top: 18px !important;
	left: 18px !important;
	width: 120px !important;
}

body.woocommerce-cart .rideon-promo-badge,
body.woocommerce-cart .rideon-cart-recos .rideon-promo-badge {
	position: absolute !important;
	top: -22px !important;
	right: -12px !important;
	left: auto !important;
	bottom: auto !important;
	width: 72px !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	aspect-ratio: 116 / 127 !important;
	object-fit: contain !important;
	object-position: center !important;
	z-index: 12 !important;
	pointer-events: none !important;
	display: block !important;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18)) !important;
	transform: none !important;
	box-shadow: none !important;
}

@media (max-width: 768px) {
	body.woocommerce-cart .rideon-new-badge,
	body.woocommerce-cart .rideon-cart-recos .rideon-new-badge {
		width: 64px !important;
		top: 10px !important;
		left: 10px !important;
	}

	body.woocommerce-cart .rideon-promo-badge,
	body.woocommerce-cart .rideon-cart-recos .rideon-promo-badge {
		width: 58px !important;
		top: -16px !important;
		right: -8px !important;
	}
}

/* Media reco : pastille en overlay, image produit seule dans le flux flex */
body.woocommerce-cart .rideon-cart-recos__media-link {
	position: relative !important;
}

body.woocommerce-cart .rideon-cart-recos__media-link > .rideon-cart-recos__image,
body.woocommerce-cart .rideon-cart-recos__media-link > img:not(.rideon-new-badge):not(.rideon-promo-badge) {
	position: relative;
	z-index: 1;
}

/* Marges éditeur WP legacy */
body.woocommerce-cart .entry-content > .wp-block-group,
body.woocommerce-cart .post-content > .wp-block-group,
body.woocommerce-cart section.wp-block-group,
body.woocommerce-cart .wp-block-group {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
}

/* Largeur / padding : voir bloc « BF wrappers » en bas (calque .container.page-container 2026). */
.woocommerce-cart .contenuPAge,
.woocommerce-cart .page-container,
.woocommerce-checkout .contenuPAge,
.woocommerce-checkout .page-container {
	overflow: visible;
}

.woocommerce-cart .post-content,
.woocommerce-cart .entry-content,
.woocommerce-checkout .post-content,
.woocommerce-checkout .entry-content {
	max-width: 1160px;
	margin: 0 auto;
	overflow: visible;
}

.woocommerce table.shop_table {
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #e8e8e8;
	border-radius: 14px;
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 14px 12px;
}

/* Cart item images: preserve horizontal product visuals (no forced 1:1 crop). */
.woocommerce-cart table.shop_table td.product-thumbnail a,
.woocommerce-checkout table.shop_table td.product-thumbnail a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 180px;
	min-width: 180px;
	height: 110px;
	min-height: 110px;
	aspect-ratio: auto !important;
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: visible !important;
}

.woocommerce-cart table.shop_table td.product-thumbnail img,
.woocommerce-checkout table.shop_table td.product-thumbnail img {
	display: block;
	width: auto !important;
	max-width: 180px !important;
	height: 110px !important;
	max-height: 110px !important;
	object-fit: contain !important;
	object-position: center !important;
	margin-inline: auto;
}

.woocommerce-cart table.shop_table td.product-name a,
.woocommerce-checkout table.shop_table td.product-name a {
	color: #0b0b0b;
	text-decoration: none;
	font-weight: 600;
}

body.woocommerce-cart table.shop_table td.product-name a,
body.woocommerce-checkout table.shop_table td.product-name a,
.page .woocommerce table.shop_table td.product-name a {
	text-decoration: none;
}

.woocommerce-cart table.shop_table td.product-name a:hover,
.woocommerce-checkout table.shop_table td.product-name a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.woocommerce .cart_totals,
.woocommerce .woocommerce-checkout-review-order {
	background: #f8f8f8;
	border: 1px solid #ebebeb;
	border-radius: 14px;
	padding: 18px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #payment #place_order {
	border-radius: var(--pill-radius, 100px);
	background: #0b0b0b;
	color: #fff;
	text-transform: none;
	letter-spacing: 0.04em;
	font-weight: 700;
	min-height: 48px;
	padding: 10px 20px;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	border-radius: var(--pill-radius, 100px);
	background: #0b0b0b;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: none;
	text-decoration: none;
	border: 0;
	text-decoration: none;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
.page .woocommerce .wc-proceed-to-checkout a.checkout-button {
	text-decoration: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #payment #place_order:hover {
	background: var(--black-pure, #000);
	color: #fff;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button:hover {
	background: var(--black-pure, #000);
	color: #fff;
	text-decoration: none;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:visited,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button:visited,
.woocommerce .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce .wc-proceed-to-checkout a.checkout-button:focus,
.woocommerce-page .wc-proceed-to-checkout a.checkout-button:focus {
	color: #fff;
	text-decoration: none;
}

/* Checkout : note de commande — pas de redimensionnement libre (poignée navigateur) */
body.woocommerce-checkout textarea#order_comments,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 6.5rem;
	resize: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 6.5rem;
	resize: none;
}

/* WooCommerce Cart/Checkout Blocks support */
.wc-block-cart .wc-block-components-product-name,
.wc-block-cart .wc-block-components-product-name a,
.wc-block-checkout .wc-block-components-product-name,
.wc-block-checkout .wc-block-components-product-name a {
	color: #0b0b0b;
	text-decoration: none;
	font-weight: 600;
}

.wc-block-cart .wc-block-components-product-name a:hover,
.wc-block-checkout .wc-block-components-product-name a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wc-block-cart .wc-block-components-checkout-place-order-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button {
	background: #0b0b0b;
	color: #fff;
	border-radius: var(--pill-radius, 100px);
	border: 0;
	min-height: 52px;
	text-decoration: none;
}

.wc-block-cart .wc-block-components-checkout-place-order-button .wc-block-components-button__text,
.wc-block-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: none;
	text-decoration: none;
}

.wc-block-cart .wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	background: var(--black-pure, #000);
	color: #fff;
}

/* Final hard override for Woo Blocks CSS loaded later */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-cart .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-place-order-button,
body.page .wc-block-cart .wc-block-components-checkout-place-order-button {
	background: #0b0b0b !important;
	color: #fff !important;
	border-radius: var(--pill-radius, 100px) !important;
	border: 0 !important;
	min-height: 52px !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wp-block-woocommerce-filled-cart-block .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-cart .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
body.page .wc-block-cart .wc-block-components-checkout-place-order-button:hover {
	background: var(--black-pure, #000) !important;
	color: #fff !important;
	text-decoration: none !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-button__text,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-button__text,
body.page .wc-block-cart .wc-block-components-button__text {
	color: #fff !important;
	font-size: 0.82rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.05em !important;
	text-transform: none !important;
	text-decoration: none !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-button__text a,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-button__text a,
body.page .wc-block-cart .wc-block-components-button__text a {
	color: #fff !important;
	text-decoration: none !important;
}

/* Premium layout for WooCommerce Blocks checkout funnel */
.wc-block-cart,
.wc-block-checkout {
	--wc-primary-text: var(--black-pure, #000);
	--wc-muted-text: #616161;
	--wc-surface: #fff;
	--wc-surface-soft: #f8f8f8;
	--wc-border: #e8e8e8;
	--wc-radius: 16px;
}

.wc-block-cart .wc-block-cart__main,
.wc-block-checkout .wc-block-checkout__main {
	background: var(--wc-surface);
	border: 1px solid var(--wc-border);
	border-radius: var(--wc-radius);
	padding: clamp(14px, 2vw, 22px);
}

.wc-block-cart .wc-block-cart__sidebar,
.wc-block-checkout .wc-block-checkout__sidebar {
	background: var(--wc-surface-soft);
	border: 1px solid var(--wc-border);
	border-radius: var(--wc-radius);
	padding: clamp(12px, 2vw, 18px);
}

.wc-block-cart .wc-block-components-title,
.wc-block-checkout .wc-block-components-title {
	font-family: var(--font-headline);
	word-spacing: var(--headline-word-spacing);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.wc-block-cart .wc-block-components-totals-item,
.wc-block-checkout .wc-block-components-totals-item,
.wc-block-cart .wc-block-components-panel,
.wc-block-checkout .wc-block-components-panel {
	border-color: var(--wc-border);
}

.wc-block-cart .wc-block-components-quantity-selector,
.wc-block-checkout .wc-block-components-quantity-selector {
	border-radius: var(--pill-radius, 100px);
	border-color: var(--wc-border);
}

.wc-block-cart .wc-block-components-product-metadata__description,
.wc-block-checkout .wc-block-components-product-metadata__description,
.wc-block-cart .wc-block-components-product-metadata__variation,
.wc-block-checkout .wc-block-components-product-metadata__variation {
	color: var(--wc-muted-text);
}

.wc-block-cart .wc-block-components-form .wc-block-components-text-input input,
.wc-block-cart .wc-block-components-form .wc-block-components-text-input select,
.wc-block-checkout .wc-block-components-form .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-form .wc-block-components-text-input select,
.wc-block-checkout .wc-block-components-address-form input,
.wc-block-checkout .wc-block-components-address-form select {
	min-height: 46px;
	border-radius: 12px;
	border: 1px solid var(--wc-border);
	background: #fff;
}

.wc-block-cart .wc-block-components-form .wc-block-components-text-input label,
.wc-block-checkout .wc-block-components-form .wc-block-components-text-input label,
.wc-block-checkout .wc-block-components-address-form label {
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-weight: 700;
	color: #5d5d5d;
}

.wc-block-cart .wc-block-components-checkbox__label,
.wc-block-checkout .wc-block-components-checkbox__label {
	color: #222;
}

/* « Créer un compte ? » sous l’e-mail — léger décalage vers le bas */
body.woocommerce-checkout .wc-block-checkout__create-account,
body.woocommerce-checkout .woocommerce-account-fields,
body.woocommerce-checkout .woocommerce-account-fields .form-row.create-account {
	margin-top: 0.75rem;
}

/*
 * Prix lignes panier — aligné DEV rideon-2026/style.css `.price` :
 * wrapper bleu 1.2rem ; prix actuel noir ; barré (regular/del) hérite le bleu.
 */
body.woocommerce-cart .wc-block-cart .price.wc-block-components-product-price,
body.woocommerce-checkout .wc-block-checkout .price.wc-block-components-product-price,
body.woocommerce-cart .wc-block-cart .wc-block-components-product-price,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-product-price {
	font-size: 1.2rem;
	line-height: 1.25;
	color: var(--onewheel-blue, #4cc0e8);
	font-weight: 700;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-product-price__regular,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-product-price__regular,
body.woocommerce-cart .wc-block-cart .wc-block-components-product-price__regular .wc-block-formatted-money-amount,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-product-price__regular .wc-block-formatted-money-amount,
body.woocommerce-cart .wc-block-cart .wc-block-components-product-price__regular bdi,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-product-price__regular bdi,
body.woocommerce-cart .wc-block-cart .wc-block-components-product-price del,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-product-price del,
body.woocommerce-cart .wc-block-cart .wc-block-components-product-price del .wc-block-formatted-money-amount,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-product-price del .wc-block-formatted-money-amount,
body.woocommerce-cart .wc-block-cart .wc-block-components-product-price del bdi,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-product-price del bdi {
	color: var(--onewheel-blue, #4cc0e8) !important;
	text-decoration: line-through;
	font-weight: 700;
}

.wc-block-cart .wc-block-components-product-price__value,
.wc-block-checkout .wc-block-components-product-price__value,
.wc-block-cart .wc-block-components-product-price__value.is-discounted,
.wc-block-checkout .wc-block-components-product-price__value.is-discounted,
.wc-block-cart .wc-block-components-product-price__value .wc-block-formatted-money-amount,
.wc-block-checkout .wc-block-components-product-price__value .wc-block-formatted-money-amount,
.wc-block-cart .wc-block-cart-item__total .wc-block-formatted-money-amount,
.wc-block-checkout .wc-block-components-order-summary-item__total-price .wc-block-formatted-money-amount {
	font-weight: 700;
	color: #101010;
}

/* ins (prix promo Woo Blocks) : pas de soulignement, noir */
body.woocommerce-cart .wc-block-cart .wc-block-components-product-price ins,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-product-price ins {
	text-decoration: none;
	color: #101010;
}

/* Thumbs desktop — scoped ≥769px pour ne pas écraser la grille Woo mobile (80px). */
@media (min-width: 769px) {
	.wc-block-cart .wc-block-cart-item__image,
	.wc-block-checkout .wc-block-components-order-summary-item__image {
		display: flex;
		align-items: center;
		justify-content: center;
		background: transparent;
		border-radius: 0;
		aspect-ratio: auto !important;
		overflow: hidden !important;
		padding: 0;
		box-sizing: border-box;
		flex: 0 0 200px !important;
		width: 200px !important;
		min-width: 200px !important;
		max-width: 200px !important;
		height: 120px !important;
		min-height: 120px !important;
		max-height: 120px !important;
	}

	.wc-block-cart .wc-block-components-product-image,
	.wc-block-cart .wc-block-components-product-image a,
	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__image,
	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__image a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 120px !important;
		min-height: 120px !important;
		max-height: 120px !important;
		aspect-ratio: auto !important;
		background: transparent;
		border-radius: 0;
		padding: 0;
		box-sizing: border-box;
		overflow: hidden !important;
	}

	.wc-block-cart .wc-block-cart-item__image img,
	.wc-block-checkout .wc-block-components-order-summary-item__image img,
	.wc-block-cart .wc-block-components-product-image img,
	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__image img {
		width: auto !important;
		max-width: 200px !important;
		height: auto !important;
		max-height: 120px !important;
		object-fit: contain !important;
		object-position: center !important;
		margin-inline: auto;
	}
}

/* Cart rows: one continuous separator across product + total columns. */
body.woocommerce-cart .wc-block-cart .wc-block-cart-items__row {
	position: relative;
	border-bottom: 0 !important;
	border-top: 0 !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-items__row::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: #e6e6e6;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-items__row:last-child::after {
	display: none;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-items__header {
	position: relative;
	border-bottom: 0 !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-items__header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: #e6e6e6;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-item__product,
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__total,
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__prices {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-item__product::before,
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__product::after,
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__total::before,
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__total::after,
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__prices::before,
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__prices::after {
	display: none !important;
	content: none !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-items__row > * {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

.wc-block-cart .wc-block-components-checkout-return-to-cart-button,
.wc-block-checkout .wc-block-components-checkout-return-to-cart-button {
	text-decoration: none;
}

.wc-block-cart .wc-block-components-totals-coupon__button,
.wc-block-checkout .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wc-block-components-totals-coupon__button,
body.woocommerce-checkout .wc-block-components-totals-coupon__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 14px;
	border-radius: var(--pill-radius, 100px);
	border: 1px solid var(--black-pure, #000);
	background: var(--black-pure, #000) !important;
	color: #fff !important;
	text-decoration: none;
	box-shadow: none;
	font-family: var(--font-main) !important;
}

.wc-block-cart .wc-block-components-totals-coupon__button[disabled],
.wc-block-checkout .wc-block-components-totals-coupon__button[disabled] {
	background: #2a2a2a !important;
	color: #fff !important;
	opacity: 1 !important;
	border-color: #2a2a2a !important;
	cursor: not-allowed;
}

.wc-block-cart .wc-block-components-totals-coupon__button[aria-disabled="true"],
.wc-block-checkout .wc-block-components-totals-coupon__button[aria-disabled="true"] {
	background: #2a2a2a !important;
	color: #fff !important;
	opacity: 1 !important;
	border-color: #2a2a2a !important;
}

.wc-block-cart .wc-block-components-totals-coupon__button .wc-block-components-button__text,
.wc-block-checkout .wc-block-components-totals-coupon__button .wc-block-components-button__text {
	color: #fff !important;
	font-family: var(--font-main) !important;
	font-size: 0.74rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.06em !important;
	text-transform: none;
	text-decoration: none !important;
	line-height: 1 !important;
}

.wc-block-cart .wc-block-components-totals-coupon__button[disabled] .wc-block-components-button__text,
.wc-block-checkout .wc-block-components-totals-coupon__button[disabled] .wc-block-components-button__text,
.wc-block-cart .wc-block-components-totals-coupon__button[aria-disabled="true"] .wc-block-components-button__text,
.wc-block-checkout .wc-block-components-totals-coupon__button[aria-disabled="true"] .wc-block-components-button__text {
	color: #fff !important;
	opacity: 1 !important;
}

.wc-block-cart .wc-block-components-totals-coupon__button:hover,
.wc-block-checkout .wc-block-components-totals-coupon__button:hover {
	background: var(--surface-dark, #1a1a1a);
	border-color: var(--surface-dark, #1a1a1a);
}

.wc-block-cart .wc-block-components-totals-coupon__button:focus-visible,
.wc-block-checkout .wc-block-components-totals-coupon__button:focus-visible {
	outline: 2px solid var(--electric-lime);
	outline-offset: 2px;
}

.wc-block-cart .wc-block-cart__submit-button,
.wc-block-checkout .wc-block-components-checkout-place-order-button {
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	transform: translateY(-1px);
}

@media (min-width: 1024px) {
	.wc-block-cart .wc-block-cart__sidebar,
	.wc-block-checkout .wc-block-checkout__sidebar {
		position: sticky;
		top: calc(var(--site-top-offset) + 18px);
	}
}

@media (max-width: 767px) {
	.woocommerce table.shop_table th,
	.woocommerce table.shop_table td {
		padding: 10px 8px;
	}

	.wc-block-cart .wc-block-cart__main,
	.wc-block-checkout .wc-block-checkout__main,
	.wc-block-cart .wc-block-cart__sidebar,
	.wc-block-checkout .wc-block-checkout__sidebar {
		border-radius: 12px;
		padding: 12px;
	}
}

/* Empty cart premium polish (Woo Blocks) */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
	max-width: 1160px;
	margin: 0 auto;
}

body.woocommerce-cart .rideon-empty-cart-marketing {
	display: grid;
	grid-template-columns: minmax(220px, 340px) 1fr;
	gap: clamp(18px, 3vw, 40px);
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0 0 22px;
}

body.woocommerce-cart .rideon-empty-cart-marketing__media {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: url("../assets/images/ride-on-empty-cart.webp") center/contain no-repeat;
}

body.woocommerce-cart .rideon-empty-cart-marketing__content {
	max-width: 680px;
}

body.woocommerce-cart .rideon-empty-cart-marketing__title {
	margin: 0 !important;
	font-family: var(--font-headline) !important;
	font-size: clamp(1.6rem, 3.1vw, 2.5rem) !important;
	font-weight: 700 !important;
	line-height: 0.94 !important;
	letter-spacing: -0.02em !important;
	word-spacing: var(--headline-word-spacing, 0) !important;
	text-transform: uppercase !important;
	color: #101010 !important;
}

body.woocommerce-cart .rideon-empty-cart-marketing__text {
	margin: 14px 0 0 !important;
	max-width: 72ch;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: 0.98rem !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
	letter-spacing: 0 !important;
	word-spacing: normal !important;
	color: #4a4a4a !important;
}

body.woocommerce-cart .rideon-empty-cart-marketing__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

body.woocommerce-cart .rideon-empty-cart-marketing__link,
body.woocommerce-cart a.rideon-empty-cart-marketing__link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	min-height: 44px !important;
	height: auto !important;
	padding: 10px 16px !important;
	border-radius: var(--pill-radius, 100px) !important;
	background: transparent;
	color: var(--black-pure, #000) !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0.02em !important;
	word-spacing: normal !important;
	white-space: nowrap !important;
	line-height: 1.5 !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
	border: 1px solid transparent !important;
	box-shadow: none !important;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

body.woocommerce-cart .rideon-empty-cart-marketing__link::before,
body.woocommerce-cart .rideon-empty-cart-marketing__link::after,
body.woocommerce-cart a.rideon-empty-cart-marketing__link::before,
body.woocommerce-cart a.rideon-empty-cart-marketing__link::after {
	content: none !important;
	display: none !important;
}

body.woocommerce-cart .rideon-empty-cart-marketing__link--primary,
body.woocommerce-cart a.rideon-empty-cart-marketing__link--primary {
	background: var(--black-pure, #000) !important;
	color: #fff !important;
	border-color: transparent !important;
}

body.woocommerce-cart .rideon-empty-cart-marketing__link--secondary,
body.woocommerce-cart a.rideon-empty-cart-marketing__link--secondary {
	background: #fff !important;
	color: var(--black-pure, #000) !important;
	border-color: var(--surface-mute, #dedede) !important;
}

body.woocommerce-cart .rideon-empty-cart-marketing__link:hover,
body.woocommerce-cart a.rideon-empty-cart-marketing__link:hover {
	transform: translateY(-1px);
	opacity: 0.96;
	text-decoration: none !important;
}

/* Remove Woo dotted separator in empty cart block */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-separator.is-style-dots {
	display: none;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
	margin-top: 14px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart.wp-block-button {
	margin-top: 14px;
}

/* Woo default empty message + icon: hidden (custom hero above replaces it) */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2.wc-block-cart__empty-cart__title,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon {
	display: none !important;
}

/* Section title "Nouveautés en boutique" — align with marketing typography */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2.wp-block-heading.has-text-align-center:not(.wc-block-cart__empty-cart__title) {
	margin: clamp(28px, 4vw, 44px) 0 0;
	padding: 0;
	text-align: left;
	font-family: var(--font-headline);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	word-spacing: var(--headline-word-spacing);
	text-transform: uppercase;
	color: #101010;
	font-weight: 900;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__description,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block p {
	color: #4b4b4b;
	font-size: 1rem;
	line-height: 1.55;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-forward {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 22px;
	border-radius: var(--pill-radius, 100px);
	background: var(--black-pure, #000);
	color: #fff;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0.05em;
	font-size: 0.76rem;
	font-weight: 800;
	border: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button__link:hover,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-forward:hover {
	transform: translateY(-1px);
	opacity: 0.96;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid {
	margin-top: 10px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
	gap: 18px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 18px;
	overflow: hidden;
	padding-bottom: 14px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
	transform: translateY(-2px);
	border-color: #d8d8d8;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f7;
	aspect-ratio: 1236 / 742;
	padding: clamp(8px, 2.5vw, 14px);
	box-sizing: border-box;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
	font-family: var(--font-main);
	font-size: clamp(1rem, 1.7vw, 1.16rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	color: #101010;
	padding: 14px 14px 6px;
	margin: 0;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
	font-family: var(--font-main);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.3;
	color: #303030;
	padding: 0 14px;
	margin: 0 0 10px;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product .wp-block-button__link,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product .add_to_cart_button {
	width: calc(100% - 28px);
	margin: 0 14px;
	min-height: 44px;
	padding: 10px 14px;
	border-radius: var(--pill-radius, 100px);
	background: var(--black-pure, #000);
	color: #fff;
	text-transform: none;
	letter-spacing: 0.05em;
	font-size: 0.72rem;
	font-weight: 800;
	text-decoration: none;
	border: 0;
}

@media (max-width: 767px) {
	body.woocommerce-cart .rideon-empty-cart-marketing {
		grid-template-columns: 1fr;
		margin-bottom: 16px;
	}

	body.woocommerce-cart .rideon-empty-cart-marketing__media {
		width: min(100%, 92vw);
		max-width: none;
		margin: 0 auto 4px;
	}

	body.woocommerce-cart .rideon-empty-cart-marketing__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	body.woocommerce-cart .rideon-empty-cart-marketing__link {
		width: 100%;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
		gap: 12px;
	}

	body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
		border-radius: 14px;
	}
}

/* -------------------------------------------------------
   Cart recommendations (filled cart)
-------------------------------------------------------- */
.rideon-cart-recos {
	margin: 40px auto 0;
	max-width: 1160px;
	padding: 24px 0 8px;
	border-top: 1px solid #ebebeb;
}

.rideon-cart-recos__title {
	font-family: var(--font-headline, inherit);
	font-size: clamp(1.4rem, 4vw, 2rem);
	font-weight: 700;
	line-height: 1;
	word-spacing: var(--headline-word-spacing);
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin: 0 0 18px;
	color: #0b0b0b;
}

.rideon-cart-recos__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.rideon-cart-recos__item {
	background: #fff;
	border: 1px solid #ebebeb;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.rideon-cart-recos__media-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5f5f7;
	aspect-ratio: 1236 / 742;
	padding: clamp(8px, 2.5vw, 14px);
	box-sizing: border-box;
	overflow: hidden;
}

.rideon-cart-recos__item--onewheel-board .rideon-cart-recos__media-link {
	aspect-ratio: 16 / 9;
}

.rideon-cart-recos__image {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	transition: transform 0.4s ease;
}

.rideon-cart-recos__media-link:hover .rideon-cart-recos__image:not(.rideon-new-badge) {
	transform: scale(1.03);
}

.rideon-cart-recos__body {
	padding: 12px 14px 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.rideon-cart-recos__name {
	color: #0b0b0b;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	text-wrap: balance;
}

.rideon-cart-recos__name:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rideon-cart-recos__price {
	color: #333;
	font-size: 0.95rem;
	font-weight: 600;
}

.rideon-cart-recos__price del {
	color: #888;
	margin-right: 6px;
	font-weight: 500;
}

.rideon-cart-recos__price ins {
	text-decoration: none;
}

.rideon-cart-recos__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 10px 14px;
	border-radius: var(--pill-radius, 100px);
	text-decoration: none;
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: none;
	box-shadow: none;
	transition: transform 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.rideon-cart-recos__cta--primary {
	background: #0b0b0b;
	color: #fff;
	border: 1px solid #0b0b0b;
}

.rideon-cart-recos__cta--primary:hover {
	transform: translateY(-1px);
	opacity: 0.95;
}

.rideon-cart-recos__cta--secondary {
	background: transparent;
	color: #0b0b0b;
	border: 1px solid #0b0b0b;
}

.rideon-cart-recos__cta--secondary:hover {
	background: #0b0b0b;
	color: #fff;
}

.rideon-cart-recos__cta.is-loading {
	pointer-events: none;
	opacity: 0.6;
}

.rideon-cart-recos-wrap:empty {
	display: none;
}

/* Bandeau réassurance pleine page sous les recos panier */
body.woocommerce-cart .rideon-reassurance--cart {
	margin-top: clamp(2rem, 5vw, 3.25rem);
}

@media (min-width: 768px) {
	.rideon-cart-recos__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 18px;
	}

	.rideon-cart-recos {
		padding-top: 32px;
	}
}

/* -------------------------------------------------------
   Cart thumbnails desktop (final targeted override)
   Mobile : voir bloc « Cart mobile layout » en bas de fichier.
-------------------------------------------------------- */
@media (min-width: 769px) {
	body.woocommerce-cart td.wc-block-cart-item__image,
	body.woocommerce-cart td.product-thumbnail {
		width: 200px !important;
		min-width: 200px !important;
		max-width: 200px !important;
		padding-right: 12px !important;
	}

	body.woocommerce-cart td.wc-block-cart-item__image > a,
	body.woocommerce-cart td.product-thumbnail > a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 200px !important;
		height: 120px !important;
		min-width: 200px !important;
		min-height: 120px !important;
		background: transparent !important;
		overflow: hidden !important;
	}

	body.woocommerce-cart td.wc-block-cart-item__image img,
	body.woocommerce-cart td.product-thumbnail img {
		width: auto !important;
		max-width: 200px !important;
		height: auto !important;
		max-height: 120px !important;
		object-fit: contain !important;
		object-position: center !important;
	}
}

/* -------------------------------------------------------
   Cart item layout harmony (mobile-first)
   Keeps rows readable and prevents overlap in blocks cart.
-------------------------------------------------------- */
body.woocommerce-cart .wc-block-cart .wc-block-cart-items__row > td {
	vertical-align: top;
	padding-top: 14px !important;
	padding-bottom: 14px !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-item__product {
	padding-right: 12px !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-item__wrap,
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__description {
	min-width: 0;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-item__description {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-item__quantity {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-quantity-selector {
	min-width: 124px;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-product-name {
	line-height: 1.25;
	word-break: break-word;
}

@media (min-width: 769px) {
	body.woocommerce-cart .wc-block-cart .wc-block-cart-items__row > td {
		padding-top: 18px !important;
		padding-bottom: 18px !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__product {
		padding-right: 18px !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__description {
		gap: 10px;
	}
}

/* -------------------------------------------------------
   Checkout — résumé en double sur mobile
   Le résumé est aussi rendu dans `.checkout-order-summary-block-fill` (hors sidebar).
   Le `:has(.checkout-order-summary-block-fill)` sur `.wc-block-checkout` est souvent faux
   car le fill n’est pas descendant du même nœud → on masque toute la sidebar checkout.
-------------------------------------------------------- */
@media (max-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		display: none !important;
	}

	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* -------------------------------------------------------
   Checkout — order summary thumbnails (same logic as cart)
-------------------------------------------------------- */
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
	width: 200px !important;
	min-width: 200px !important;
	max-width: 200px !important;
	padding-right: 12px !important;
	flex: 0 0 200px !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image > a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 200px !important;
	height: 120px !important;
	min-width: 200px !important;
	min-height: 120px !important;
	background: transparent !important;
	overflow: hidden !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
	width: auto !important;
	max-width: 200px !important;
	height: auto !important;
	max-height: 120px !important;
	object-fit: contain !important;
	object-position: center !important;
}

body.woocommerce-checkout table.shop_table td.product-thumbnail,
body.woocommerce-checkout table.shop_table td.product-thumbnail > a {
	width: 200px !important;
	min-width: 200px !important;
	max-width: 200px !important;
}

body.woocommerce-checkout table.shop_table td.product-thumbnail > a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 120px !important;
	min-height: 120px !important;
}

body.woocommerce-checkout table.shop_table td.product-thumbnail img {
	width: auto !important;
	max-width: 200px !important;
	height: auto !important;
	max-height: 120px !important;
	object-fit: contain !important;
	object-position: center !important;
}

@media (max-width: 768px) {
	body.woocommerce-checkout .wc-block-components-order-summary-item__image {
		width: 110px !important;
		min-width: 110px !important;
		max-width: 110px !important;
		padding-right: 8px !important;
		flex: 0 0 110px !important;
	}

	body.woocommerce-checkout .wc-block-components-order-summary-item__image > a {
		width: 110px !important;
		height: 72px !important;
		min-width: 110px !important;
		min-height: 72px !important;
	}

	body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
		width: auto !important;
		max-width: 110px !important;
		height: auto !important;
		max-height: 72px !important;
	}

	body.woocommerce-checkout table.shop_table td.product-thumbnail,
	body.woocommerce-checkout table.shop_table td.product-thumbnail > a {
		width: 110px !important;
		min-width: 110px !important;
		max-width: 110px !important;
	}

	body.woocommerce-checkout table.shop_table td.product-thumbnail > a {
		height: 72px !important;
		min-height: 72px !important;
	}

	body.woocommerce-checkout table.shop_table td.product-thumbnail img {
		width: auto !important;
		max-width: 110px !important;
		height: auto !important;
		max-height: 72px !important;
	}
}

/* Pack / Offert / promo — bleu Ride On (aligné custom clair #1789b5, pas vert) */
.rideon-pack-offered {
	color: #1789b5;
	font-weight: 600;
}

/* Pack discounts — prix barré boutique + prix pack */
.rideon-pack-price {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35em;
}

.rideon-pack-price del {
	opacity: 0.55;
	text-decoration: line-through;
	font-weight: 400;
	color: rgba(11, 11, 11, 0.45);
}

.rideon-pack-price ins {
	text-decoration: none;
	font-weight: 600;
	color: #1789b5;
}

/* Checkout / panier classique : remises, Offert, montants promo */
body.woocommerce-checkout #order_review .rideon-pack-offered,
body.woocommerce-checkout #order_review .rideon-pack-price ins,
body.woocommerce-cart .rideon-pack-offered,
body.woocommerce-cart .rideon-pack-price ins,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.cart-discount td,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.cart-discount td .amount,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.cart-discount th,
body.woocommerce-checkout .cart-discount .amount,
body.woocommerce-checkout .product-price .rideon-pack-offered,
body.woocommerce-checkout .product-subtotal .rideon-pack-offered {
	color: #1789b5;
}

/* -------------------------------------------------------
   Cart loading — spinner centré (masque liste + totaux)
-------------------------------------------------------- */
@keyframes rideon-cart-spin {
	to {
		transform: rotate(360deg);
	}
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
	position: relative;
}

/* Spinner plein panier : uniquement au 1er chargement (rideon-is-loading),
   pas sur les is-loading Woo (qty / coupon / cagnotte). */
body.woocommerce-cart .wp-block-woocommerce-cart.rideon-is-loading {
	pointer-events: none;
	min-height: 320px;
}

body.woocommerce-cart .wp-block-woocommerce-cart.rideon-is-loading > * {
	visibility: hidden !important;
	opacity: 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart.rideon-is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	box-sizing: border-box;
	border: 2px solid rgba(11, 11, 11, 0.12);
	border-top-color: #0b0b0b;
	border-radius: 50%;
	animation: rideon-cart-spin 0.65s linear infinite;
	visibility: visible !important;
	opacity: 1 !important;
	z-index: 20;
	pointer-events: none;
}

/* Cart line-item skeleton rows (React placeholder while Store API loads) */
body.woocommerce-cart .wc-block-cart-items__row:has(.wc-block-components-skeleton__element),
body.woocommerce-checkout .wc-block-components-order-summary-item:has(.wc-block-components-skeleton__element) {
	display: none !important;
}

/* Kill every skeleton rectangle / shimmer — cart & checkout */
body.woocommerce-cart .wc-block-components-skeleton,
body.woocommerce-checkout .wc-block-components-skeleton,
body.woocommerce-cart .wc-block-components-skeleton__element,
body.woocommerce-checkout .wc-block-components-skeleton__element {
	display: none !important;
	background: transparent !important;
	animation: none !important;
	padding: 0 !important;
	margin: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	border: none !important;
	box-shadow: none !important;
}

body.woocommerce-cart .wc-block-components-skeleton__element:after,
body.woocommerce-checkout .wc-block-components-skeleton__element:after {
	display: none !important;
	content: none !important;
	animation: none !important;
	background: none !important;
}

/* Loading mask Woo : pas de double spinner */
body.woocommerce-cart .wc-block-components-loading-mask .wc-block-components-loading-mask__children,
body.woocommerce-checkout .wc-block-components-loading-mask .wc-block-components-loading-mask__children {
	opacity: 0.55;
}

body.woocommerce-cart .wc-block-components-loading-mask .components-spinner,
body.woocommerce-checkout .wc-block-components-loading-mask .components-spinner {
	display: none !important;
}

@media (prefers-reduced-motion: reduce) {
	body.woocommerce-cart .wp-block-woocommerce-cart.rideon-is-loading::after {
		animation: none;
		border-top-color: rgba(11, 11, 11, 0.35);
		opacity: 0.7 !important;
	}
}

/* -------------------------------------------------------
   Checkout desktop — prix par ligne dans le résumé
   Redondant avec Sous-total / Total en dessous ; déborde du layout Woo.
-------------------------------------------------------- */
@media (min-width: 769px) {
	body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
		display: none !important;
	}
}

/* Bons bonus client (lambda) */
.roe-bonus-vouchers {
	margin: 0 0 1.15rem;
	padding: 0.95rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-family: var(--font-main, 'Space Grotesk', system-ui, sans-serif);
	display: grid;
	gap: 0.75rem;
}

.roe-bonus-vouchers__item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--black-pure, #000);
	cursor: pointer;
}

.roe-bonus-vouchers__input {
	margin-top: 0.2rem;
	accent-color: var(--black-pure, #000);
}

.roe-bonus-vouchers__text {
	display: grid;
	gap: 0.2rem;
	min-width: 0;
}

.roe-bonus-vouchers__text strong {
	font-weight: 700;
}

.roe-bonus-vouchers__meta {
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.35;
	color: rgba(0, 0, 0, 0.55);
	overflow-wrap: anywhere;
}

.roe-bonus-vouchers.is-busy {
	opacity: 0.62;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.roe-bonus-vouchers__error {
	margin: 0;
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.4;
	color: #b42318;
}

/* Cagnotte ambassadeur */
.roe-store-credit {
	margin: 0 0 1.15rem;
	padding: 0.95rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-family: var(--font-main, 'Space Grotesk', system-ui, sans-serif);
}

.roe-store-credit__label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--black-pure, #000);
	cursor: pointer;
}

.roe-store-credit__label input {
	margin-top: 0.2rem;
	accent-color: var(--black-pure, #000);
}

.roe-store-credit.is-busy {
	opacity: 0.62;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

/* Remise ambassadeur (−20 %) — item_data Store API */
body.woocommerce-cart .wc-block-components-product-details__remise,
body.woocommerce-checkout .wc-block-components-product-details__remise {
	margin-top: 0.35rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(0, 0, 0, 0.62);
}

/* Carnet multi-adresses — sélecteur checkout */
.roe-ship-book {
	margin: 0 0 1.25rem;
	padding: 0 0 1.1rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-family: var(--font-main, 'Space Grotesk', system-ui, sans-serif);
}

.roe-ship-book__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin: 0 0 0.75rem;
}

.roe-ship-book__title {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5d5d5d;
}

.roe-ship-book__manage {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--black-pure, #000);
	text-decoration: none;
}

.roe-ship-book__manage:hover {
	text-decoration: underline;
}

.roe-ship-book__list {
	display: grid;
	gap: 0.55rem;
}

.roe-ship-book__option {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.45rem 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0.85rem 1rem;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fff;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
	font: inherit;
	color: var(--black-pure, #000);
}

.roe-ship-book__option:hover {
	border-color: #bbb;
}

.roe-ship-book__option.is-selected {
	border-color: var(--black-pure, #000);
	background: #f8f8f8;
	box-shadow: inset 0 0 0 1px var(--black-pure, #000);
}

.roe-ship-book__label {
	flex: 1 1 12rem;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.35;
}

.roe-ship-book__badge {
	display: inline-flex;
	align-items: center;
	min-height: 1.3rem;
	padding: 0.1rem 0.5rem;
	border-radius: var(--pill-radius, 100px);
	background: var(--electric-lime, #d3ff00);
	color: var(--black-pure, #000);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.roe-ship-book.is-busy {
	opacity: 0.62;
	pointer-events: none;
}

.roe-ship-book__error {
	margin: 0.65rem 0 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: #b42318;
}

.roe-ship-book--classic {
	margin-top: 0.5rem;
}

/* Snackbar Woo Blocks — DA Ride On */
body.woocommerce-cart .wc-block-components-notices__snackbar,
body.woocommerce-checkout .wc-block-components-notices__snackbar,
body.woocommerce-cart .wc-block-components-notice-snackbar-list,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list {
	top: auto;
	bottom: 1.5rem;
	left: auto;
	right: 1.5rem;
	width: auto;
	max-width: min(24rem, calc(100vw - 2rem));
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.55rem;
	z-index: 100000;
	pointer-events: none;
}

body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner,
body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar,
body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar,
body.woocommerce-cart .wc-block-components-notices__snackbar .wc-block-components-notices__notice,
body.woocommerce-checkout .wc-block-components-notices__snackbar .wc-block-components-notices__notice {
	pointer-events: all;
	margin: 0 !important;
	max-width: 100%;
	width: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem !important;
	border: 0 !important;
	border-radius: 14px !important;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
	background: #0b0b0b !important;
	color: #fff !important;
	font-family: var(--font-main, "Space Grotesk", system-ui, sans-serif);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: -0.01em;
}

body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-success,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-success,
body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-success,
body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-success,
body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-info,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-info,
body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-info,
body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-info,
body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-default,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-default,
body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-error,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-error,
body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-error,
body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-error,
body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-warning,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-warning {
	background: #0b0b0b !important;
	color: #fff !important;
	border: 0 !important;
}

/* Icône statut Woo → pastille lime / rouge Ride On */
body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner > svg,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner > svg,
body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar > svg,
body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar > svg {
	width: 1.35rem !important;
	height: 1.35rem !important;
	min-width: 1.35rem;
	padding: 0.2rem !important;
	border-radius: var(--pill-radius, 100px) !important;
	background: var(--electric-lime, #d3ff00) !important;
	fill: var(--black-pure, #000) !important;
	transform: none !important;
	align-self: center;
}

body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-error > svg,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-error > svg,
body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-error > svg,
body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-error > svg,
body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-warning > svg,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner.is-warning > svg {
	background: #ff3b30 !important;
	fill: #fff !important;
}

body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner__content,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner__content,
body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar .wc-block-components-notice-banner__content,
body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar .wc-block-components-notice-banner__content,
body.woocommerce-cart .wc-block-components-notices__snackbar .components-notice__content,
body.woocommerce-checkout .wc-block-components-notices__snackbar .components-notice__content {
	color: #fff;
	padding-right: 0.35rem;
}

body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner .components-notice__dismiss,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner .components-notice__dismiss,
body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar .components-notice__dismiss,
body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar .components-notice__dismiss,
body.woocommerce-cart .wc-block-components-notices__snackbar .components-notice__dismiss,
body.woocommerce-checkout .wc-block-components-notices__snackbar .components-notice__dismiss {
	color: rgba(255, 255, 255, 0.72);
	opacity: 1;
	align-self: center;
}

body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner .components-notice__dismiss:hover,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner .components-notice__dismiss:hover,
body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar .components-notice__dismiss:hover,
body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar .components-notice__dismiss:hover {
	color: #fff;
}

body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner .components-notice__dismiss svg,
body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner .components-notice__dismiss svg,
body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar .components-notice__dismiss svg,
body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar .components-notice__dismiss svg {
	fill: currentColor;
}

@media (max-width: 782px) {
	body.woocommerce-cart .wc-block-components-notices__snackbar,
	body.woocommerce-checkout .wc-block-components-notices__snackbar,
	body.woocommerce-cart .wc-block-components-notice-snackbar-list,
	body.woocommerce-checkout .wc-block-components-notice-snackbar-list {
		top: calc(var(--site-top-offset, 72px) + 0.65rem);
		bottom: auto;
		left: 0.75rem;
		right: 0.75rem;
		max-width: none;
		align-items: stretch;
	}

	body.woocommerce-cart .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner,
	body.woocommerce-checkout .wc-block-components-notice-snackbar-list .wc-block-components-notice-banner,
	body.woocommerce-cart .wc-block-components-notice-banner.wc-block-components-notice-snackbar,
	body.woocommerce-checkout .wc-block-components-notice-banner.wc-block-components-notice-snackbar {
		width: 100%;
	}
}


/* ---- BF wrappers = 2026 `.container.page-container` + `.entry-content` ---- */
/* site-top sticky est déjà dans le flux : annuler le margin-top:125px legacy de .main */
body.bf-header-2026.woocommerce-cart .main,
body.bf-header-2026.woocommerce-checkout .main,
body.woocommerce-cart .main,
body.woocommerce-checkout .main {
	margin-top: 0 !important;
}

/*
 * 2026 :
 *   .container.page-container { max-width:1440; padding:48px 20px 0; border-box }
 *   .entry-content { max-width:1160; margin:auto; padding:0 }
 * BF n’a pas .page-container : .contenuPAge joue ce rôle.
 * L’ancien padding 16px sur .post-content réduisait le contenu à ~1128px.
 */
body.woocommerce-cart .contenuPAge,
body.woocommerce-cart .main > .contenuPAge,
body.woocommerce-checkout .contenuPAge,
body.woocommerce-checkout .main > .contenuPAge {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: var(--container-width, 1440px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 48px 20px 72px !important;
	overflow: visible !important;
	float: none !important;
}
body.woocommerce-cart .contenuPAge:has(.rideon-reassurance--cart),
body.woocommerce-cart .main > .contenuPAge:has(.rideon-reassurance--cart) {
	padding-bottom: 0 !important;
}
body.woocommerce-cart .post,
body.woocommerce-cart .post-content,
body.woocommerce-checkout .post,
body.woocommerce-checkout .post-content {
	max-width: 1160px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	overflow: visible !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box !important;
	float: none !important;
}
body.woocommerce-cart .post-content > .wp-block-woocommerce-cart,
body.woocommerce-cart .post-content > .rideon-empty-cart-marketing,
body.woocommerce-cart .post-content > .rideon-cart-recos-wrap,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
	max-width: 1160px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}
/* Title page legacy BF */
body.woocommerce-cart .entry-header,
body.woocommerce-cart .page-header,
body.woocommerce-cart .post > .entry-title,
body.woocommerce-cart h1.entry-title {
	display: none !important;
}
/* Réassurance full-bleed hors du max-width post */
body.woocommerce-cart .rideon-reassurance--cart {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* =========================================================
   Classic checkout DA (/commander) — light 2026
   ========================================================= */

body.woocommerce-checkout {
	background: #fff !important;
	color: #0b0b0b;
}

body.bf-header-2026.woocommerce-checkout .main,
body.woocommerce-checkout .main {
	margin-top: 0 !important;
	background: #fff;
}

body.woocommerce-checkout .contenuPAge,
body.woocommerce-checkout .post,
body.woocommerce-checkout .post-content {
	background: #fff !important;
	color: #0b0b0b;
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

/* Marges haut : moins d’air entre header et facturation */
body.bf-header-2026.woocommerce-checkout .contenuPAge,
body.bf-header-2026.woocommerce-checkout .main > .contenuPAge,
body.woocommerce-checkout .contenuPAge,
body.woocommerce-checkout .main > .contenuPAge {
	padding-top: 1rem !important;
	padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}

/* Checkout : pas de communauté ; réassurance dark (footer) visible */
body.woocommerce-checkout .rideon-community {
	display: none !important;
}

body.woocommerce-checkout .woocommerce {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0.35rem clamp(1rem, 3.2vw, 1.25rem) clamp(2.25rem, 4.5vw, 3rem);
	box-sizing: border-box;
}

/* Login : lien compact (plus de bandeau pleine largeur) */
body.woocommerce-checkout .woocommerce-form-login-toggle {
	margin: 0 0 0.85rem;
	max-width: 36rem;
}

body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
	border: 0;
	background: transparent;
	color: rgba(0, 0, 0, 0.62);
	padding: 0;
	margin: 0;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.45;
	box-shadow: none;
	text-align: left;
}

body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before {
	display: none;
}

body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a {
	color: #0b0b0b;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* Ancien coupon haut de page : masqué (remplacé dans le résumé) */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
	display: none !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
	display: grid;
	gap: clamp(1.1rem, 2.4vw, 1.55rem);
	margin-top: 0.85rem;
}

@media (min-width: 960px) {
	body.woocommerce-checkout form.checkout.woocommerce-checkout {
		grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
		align-items: start;
		column-gap: clamp(1.35rem, 2.8vw, 2rem);
		row-gap: 0.75rem;
	}

	body.woocommerce-checkout #customer_details {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	body.woocommerce-checkout #order_review_heading {
		grid-column: 2;
		grid-row: 1;
		margin: 0;
	}

	body.woocommerce-checkout #order_review {
		grid-column: 2;
		grid-row: 2;
		position: sticky;
		top: calc(var(--site-top-offset, 136px) + 0.75rem);
	}
}

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.woocommerce-checkout .col2-set {
	display: grid;
	gap: clamp(1.25rem, 3vw, 1.75rem);
}

body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3,
body.woocommerce-checkout #order_review_heading {
	font-family: var(--font-headline, "mono45-headline", Impact, sans-serif) !important;
	font-size: clamp(1.35rem, 2.8vw, 1.7rem) !important;
	font-weight: 900 !important;
	text-transform: uppercase;
	letter-spacing: -0.03em;
	word-spacing: 0;
	line-height: 0.95;
	color: #0a0a0a;
	margin: 0 0 0.85rem;
	padding: 0;
	border: 0;
	background: transparent;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.7rem 0.85rem;
}

body.woocommerce-checkout .form-row {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	gap: 0.35rem;
}

body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last {
	width: 100% !important;
}

body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout .form-row.notes,
body.woocommerce-checkout #order_comments_field {
	grid-column: 1 / -1;
}

body.woocommerce-checkout #order_comments_field .woocommerce-input-wrapper,
body.woocommerce-checkout textarea#order_comments {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

@media (max-width: 640px) {
	body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
	body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
	body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
		grid-template-columns: 1fr;
	}
}

body.woocommerce-checkout .form-row label {
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.48);
	line-height: 1.3;
}

body.woocommerce-checkout .form-row label .required {
	color: #c62828;
	text-decoration: none;
	border: 0;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 2.85rem;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.16);
	background: #fff;
	padding: 0.6rem 0.85rem;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.98rem;
	font-weight: 500;
	color: #0b0b0b;
	box-shadow: none;
	outline: none;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

body.woocommerce-checkout .form-row textarea {
	min-height: 5.5rem;
	resize: none;
}

body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout .form-row select:focus {
	border-color: rgba(0, 0, 0, 0.45);
}

body.woocommerce-checkout .select2-container--default .select2-selection--single {
	display: flex;
	align-items: center;
	padding: 0 0.95rem;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 1.2;
	color: #0b0b0b;
	font-weight: 500;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	right: 0.65rem;
}

body.woocommerce-checkout #ship-to-different-address {
	margin: 0 0 0.75rem;
}

body.woocommerce-checkout #ship-to-different-address label {
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: #0b0b0b;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

body.woocommerce-checkout #order_review {
	background: #f7f7f7;
	border: 1px solid #ebebeb;
	border-radius: 14px;
	padding: clamp(0.9rem, 2.2vw, 1.15rem);
	box-sizing: border-box;
}

/*
 * Récap commande : layout flex (plus de table) pour que sous-total /
 * expédition / Sendcloud prennent toute la largeur du bloc, sans déborder.
 */
body.woocommerce-checkout #order_review table.shop_table {
	display: block;
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0 0 0.85rem;
	width: 100%;
	max-width: 100%;
	overflow: visible;
	border-collapse: collapse;
	border-spacing: 0;
}

body.woocommerce-checkout #order_review table.shop_table thead {
	display: none;
}

body.woocommerce-checkout #order_review table.shop_table tbody,
body.woocommerce-checkout #order_review table.shop_table tfoot {
	display: block;
	width: 100%;
	max-width: 100%;
}

body.woocommerce-checkout #order_review table.shop_table tr {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
	display: block;
	float: none;
	border: 0;
	padding: 0;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.92rem;
	color: #0b0b0b;
	background: transparent;
	box-sizing: border-box;
	min-width: 0;
	max-width: 100%;
}

body.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item {
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	align-items: center;
}

body.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item:last-child {
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

body.woocommerce-checkout #order_review table.shop_table td.product-name {
	flex: 1 1 auto;
	padding-right: 0;
	min-width: 0;
}

body.woocommerce-checkout #order_review table.shop_table td.product-total {
	flex: 0 0 auto;
	text-align: right;
	font-weight: 700;
	white-space: nowrap;
	align-self: center;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr {
	align-items: baseline;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.woocommerce-checkout #order_review table.shop_table tfoot th {
	flex: 1 1 auto;
	text-align: left;
	font-weight: 600;
}

body.woocommerce-checkout #order_review table.shop_table tfoot td {
	flex: 0 1 auto;
	text-align: right;
	font-weight: 700;
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* Ligne produit : miniature + meta */
body.woocommerce-checkout .rideon-checkout-line {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
}

body.woocommerce-checkout .rideon-checkout-line__thumb {
	flex: 0 0 88px;
	width: 88px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 10px;
	overflow: hidden;
	box-sizing: border-box;
}

body.woocommerce-checkout .rideon-checkout-line__thumb img {
	display: block !important;
	width: auto !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: 58px !important;
	object-fit: contain !important;
	object-position: center !important;
	margin: 0 !important;
}

body.woocommerce-checkout .rideon-checkout-line__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	min-width: 0;
	flex: 1 1 auto;
}

body.woocommerce-checkout .rideon-checkout-line__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.45rem;
	min-width: 0;
}

body.woocommerce-checkout .rideon-checkout-line__name {
	font-weight: 600;
	font-size: 0.94rem;
	line-height: 1.3;
	color: #0b0b0b;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: manual;
}

body.woocommerce-checkout .rideon-checkout-line__title .product-quantity {
	font-weight: 700;
	font-size: 0.86rem;
	color: rgba(0, 0, 0, 0.55);
	white-space: nowrap;
}

body.woocommerce-checkout .rideon-checkout-line__meta .variation,
body.woocommerce-checkout .rideon-checkout-line__meta dl.variation {
	margin: 0;
	font-size: 0.8rem;
	color: rgba(0, 0, 0, 0.55);
}

body.woocommerce-checkout #order_review table.shop_table tfoot th {
	font-weight: 600;
}

body.woocommerce-checkout #order_review table.shop_table tfoot td {
	font-weight: 700;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.cart-subtotal td,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.cart-discount td,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.fee td,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.tax-total td {
	white-space: nowrap;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total {
	align-items: flex-start;
	border-bottom: 0;
	padding-top: 0.85rem;
	margin-top: 0.15rem;
	border-top: 1px solid rgba(0, 0, 0, 0.14);
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total th,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td {
	font-weight: 800;
	font-size: 1.02rem;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td strong,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td .woocommerce-Price-amount {
	white-space: nowrap;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td small,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td .includes_tax {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.78rem;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.55);
	white-space: normal;
}

/*
 * Expédition : label au-dessus, méthodes en pleine largeur du bloc commande.
 */
body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals {
	flex-direction: column;
	align-items: stretch;
	gap: 0.55rem;
	padding: 0.85rem 0;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals th,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals td {
	width: 100%;
	flex: 0 0 auto;
	text-align: left;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.woocommerce-shipping-totals th {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.48);
}

body.woocommerce-checkout #order_review ul#shipping_method,
body.woocommerce-checkout #order_review ul.woocommerce-shipping-methods {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout #order_review ul#shipping_method li,
body.woocommerce-checkout #order_review ul.woocommerce-shipping-methods li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 0.55rem;
	row-gap: 0.55rem;
	align-items: start;
	margin: 0;
	padding: 0.75rem 0.85rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	background: #fff;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

body.woocommerce-checkout #order_review ul#shipping_method li > input.shipping_method,
body.woocommerce-checkout #order_review ul.woocommerce-shipping-methods li > input.shipping_method {
	grid-column: 1;
	grid-row: 1;
	width: 1.05rem;
	height: 1.05rem;
	margin: 0.28rem 0 0;
	justify-self: start;
}

body.woocommerce-checkout #order_review ul#shipping_method li > label,
body.woocommerce-checkout #order_review ul.woocommerce-shipping-methods li > label {
	grid-column: 2;
	grid-row: 1;
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	font-weight: 500;
	font-size: 0.86rem;
	line-height: 1.4;
	color: #0b0b0b;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: manual;
}

body.woocommerce-checkout #order_review ul#shipping_method li > .sc-delivery-method-mount-point,
body.woocommerce-checkout #order_review ul.woocommerce-shipping-methods li > .sc-delivery-method-mount-point,
body.woocommerce-checkout #order_review ul#shipping_method li > .sc-shipping-option,
body.woocommerce-checkout #order_review ul.woocommerce-shipping-methods li > .sc-shipping-option {
	grid-column: 1 / -1;
}

body.woocommerce-checkout #order_review ul#shipping_method li label .woocommerce-Price-amount,
body.woocommerce-checkout #order_review ul.woocommerce-shipping-methods li label .woocommerce-Price-amount {
	white-space: nowrap;
	font-weight: 700;
}

/* Masqué tant que la méthode points relais n’est pas active */
body.woocommerce-checkout #order_review .sc-delivery-method-mount-point:not([data-rideon-sc-inline="1"]):not(.rideon-sc-map-fullscreen) {
	display: none !important;
}

/*
 * Sendcloud inline (méthode points relais active) :
 * widget visible pour que Mapbox s’initialise correctement,
 * puis agrandi en plein écran via .rideon-sc-map-fullscreen.
 */
body.woocommerce-checkout #order_review .sc-delivery-method-mount-point[data-rideon-sc-inline="1"] {
	grid-column: 1 / -1;
	display: block !important;
	position: relative !important;
	width: 100% !important;
	min-height: 420px !important;
	height: 460px !important;
	max-height: 520px !important;
	margin: 0.35rem 0 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	background: #fff;
	box-sizing: border-box !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	z-index: 1 !important;
}

body.woocommerce-checkout #order_review .sc-delivery-method-mount-point[data-rideon-sc-inline="1"] .sc-service-point-delivery,
body.woocommerce-checkout #order_review .sc-delivery-method-mount-point[data-rideon-sc-inline="1"] .sc-service-point-picker,
body.woocommerce-checkout #order_review .sc-delivery-method-mount-point[data-rideon-sc-inline="1"] .sc-shipping-option {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

body.woocommerce-checkout #order_review .sc-delivery-method-mount-point[data-rideon-sc-inline="1"] .sc-service-point-picker-header {
	position: relative !important;
	z-index: 3;
	background: #fff;
}

body.woocommerce-checkout #order_review .sc-delivery-method-mount-point[data-rideon-sc-inline="1"] .sc-service-point-map-container {
	position: absolute !important;
	top: 3.25rem !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	min-height: 280px !important;
}

body.woocommerce-checkout #order_review .sc-delivery-method-mount-point[data-rideon-sc-inline="1"] .sc-service-point-map,
body.woocommerce-checkout #order_review .sc-delivery-method-mount-point[data-rideon-sc-inline="1"] .mapboxgl-map {
	width: 100% !important;
	height: 100% !important;
	min-height: 280px !important;
}

body.woocommerce-checkout #order_review .sc-delivery-method-mount-point[data-rideon-sc-inline="1"] .sc-service-point-list-container {
	position: absolute !important;
	left: 0.55rem !important;
	right: 0.55rem !important;
	bottom: 0.55rem !important;
	top: auto !important;
	width: auto !important;
	max-height: 48% !important;
	overflow: auto !important;
	z-index: 4;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}

body.woocommerce-checkout #order_review .rideon-sc-open-map {
	grid-column: 1 / -1;
	grid-row: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0.15rem 0 0;
	padding: 0.8rem 1rem;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.14);
	background: #0b0b0b;
	color: #fff;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	text-align: center;
	white-space: normal;
}

body.woocommerce-checkout #order_review .rideon-sc-open-map[hidden] {
	display: none !important;
}

body.woocommerce-checkout #order_review .rideon-sc-open-map.has-selection {
	background: #fff;
	color: #0b0b0b;
}

body.woocommerce-checkout #order_review .rideon-sc-open-map:hover {
	background: #000;
	color: #fff;
}

body.woocommerce-checkout #order_review .rideon-sc-open-map.has-selection:hover {
	border-color: rgba(0, 0, 0, 0.35);
}

body.woocommerce-checkout #order_review .rideon-sc-point-hint {
	grid-column: 1 / -1;
	grid-row: 3;
	margin: 0;
	padding: 0.15rem 0.1rem 0;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.35;
	color: #b42318;
}

body.woocommerce-checkout #order_review .rideon-sc-point-hint[hidden] {
	display: none !important;
}

@media (max-width: 959px) {
	body.woocommerce-checkout #order_review {
		overflow: hidden;
	}
}

@media (max-width: 640px) {
	body.woocommerce-checkout .rideon-checkout-line__thumb {
		flex-basis: 72px;
		width: 72px;
		height: 54px;
	}

	body.woocommerce-checkout .rideon-checkout-line__thumb img {
		max-height: 50px !important;
	}

	body.woocommerce-checkout #order_review ul#shipping_method li,
	body.woocommerce-checkout #order_review ul.woocommerce-shipping-methods li {
		padding: 0.65rem 0.7rem;
	}

	body.woocommerce-checkout #order_review ul#shipping_method li label,
	body.woocommerce-checkout #order_review ul.woocommerce-shipping-methods li label {
		font-size: 0.84rem;
	}
}

body.woocommerce-checkout #payment {
	background: transparent;
	border-radius: 0;
	border: 0;
	padding: 0;
}

body.woocommerce-checkout #payment ul.payment_methods {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
}

body.woocommerce-checkout #payment ul.payment_methods li {
	margin: 0 0 0.65rem;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	background: #fff;
}

body.woocommerce-checkout #payment ul.payment_methods li label {
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.95rem;
	font-weight: 600;
	color: #0b0b0b;
}

body.woocommerce-checkout #payment div.payment_box {
	background: #f3f3f3;
	border-radius: 10px;
	color: rgba(0, 0, 0, 0.72);
	font-size: 0.9rem;
	margin: 0.75rem 0 0;
	padding: 0.85rem 1rem;
	box-shadow: none;
}

body.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

body.woocommerce-checkout #payment div.form-row {
	padding: 0;
	margin: 0;
}

body.woocommerce-checkout #payment #place_order {
	width: 100%;
	min-height: 3.25rem;
	margin-top: 0.35rem;
	border-radius: var(--pill-radius, 100px);
	background: #0b0b0b;
	color: #fff !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
	border: 0;
	cursor: pointer;
}

body.woocommerce-checkout #payment #place_order:hover {
	background: #000;
}

/* CGV : ne pas coller tout le légal dans le funnel — boîte scrollable */
body.woocommerce-checkout .woocommerce-terms-and-conditions,
body.woocommerce-checkout .woocommerce-privacy-policy-text + .woocommerce-terms-and-conditions,
body.woocommerce-checkout .wc-terms-and-conditions .woocommerce-terms-and-conditions {
	max-height: 12rem;
	overflow: auto;
	padding: 0.85rem 1rem;
	margin: 0.75rem 0 1rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	background: #fff;
	font-size: 0.88rem;
	line-height: 1.45;
	color: rgba(0, 0, 0, 0.72);
}

body.woocommerce-checkout .woocommerce-terms-and-conditions h1,
body.woocommerce-checkout .woocommerce-terms-and-conditions h2,
body.woocommerce-checkout .woocommerce-terms-and-conditions h3 {
	font-family: var(--font-main, "Space Grotesk", sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	margin: 0.85rem 0 0.35rem !important;
	line-height: 1.3 !important;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.9rem;
	line-height: 1.45;
	color: rgba(0, 0, 0, 0.72);
}

body.woocommerce-checkout .woocommerce-privacy-policy-text a,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
	color: #0b0b0b;
	font-weight: 700;
}

/* =========================================================
   Coupon accordion dans le résumé (calque /panier)
   ========================================================= */
body.woocommerce-checkout #order_review table.shop_table tfoot tr.rideon-checkout-coupon-row {
	display: block !important;
	width: 100%;
	padding: 0.55rem 0 0.75rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin: 0 0 0.15rem;
	align-items: stretch;
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.rideon-checkout-coupon-row > td {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
	padding: 0 !important;
	border: 0;
	text-align: left !important;
	font-weight: 500;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon {
	margin: 0;
	padding: 0;
	border: 0;
	width: 100%;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__panel[hidden] {
	display: none !important;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	padding: 0.15rem 0;
	border: 0;
	background: transparent;
	color: #0b0b0b;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	text-align: left;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__chevron {
	flex: 0 0 auto;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.18s ease;
	opacity: 0.55;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__toggle[aria-expanded="true"] .rideon-checkout-coupon__chevron {
	transform: rotate(-135deg);
	margin-top: 0.25rem;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__panel {
	margin-top: 0.65rem;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.45rem;
	align-items: stretch;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__input {
	width: 100%;
	min-height: 2.6rem;
	padding: 0.55rem 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.16);
	border-radius: 10px;
	background: #fff;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.92rem;
	font-weight: 500;
	color: #0b0b0b;
	box-sizing: border-box;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__apply {
	min-height: 2.6rem;
	padding: 0.55rem 0.95rem;
	border: 0;
	border-radius: 10px;
	background: #0b0b0b;
	color: #fff !important;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__apply:hover {
	background: #000;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__apply:disabled {
	opacity: 0.55;
	cursor: wait;
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__feedback {
	margin: 0.45rem 0 0;
	font-size: 0.82rem;
	color: rgba(0, 0, 0, 0.62);
}

body.woocommerce-checkout #order_review .rideon-checkout-coupon__feedback.is-error {
	color: #c62828;
}

/* =========================================================
   Sendcloud — sélection point relais pleine page + carte
   (position:fixed sur le mount — Mapbox reste intact)
   ========================================================= */
body.rideon-sc-map-open {
	overflow: hidden;
}

.rideon-sc-map-shell {
	display: none;
}

body.rideon-sc-map-open .rideon-sc-map-shell {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2147483003;
	pointer-events: none;
	background: transparent;
}

.rideon-sc-map-shell__bar {
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem clamp(0.9rem, 2.5vw, 1.35rem);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	background: #fff;
}

.rideon-sc-map-shell__title {
	margin: 0;
	font-family: var(--font-headline, "mono45-headline", Impact, sans-serif);
	font-size: clamp(1.05rem, 2.4vw, 1.35rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: #0a0a0a;
}

.rideon-sc-map-shell__close {
	flex: 0 0 auto;
	min-height: 2.4rem;
	padding: 0.45rem 0.9rem;
	border-radius: 100px;
	border: 1px solid rgba(0, 0, 0, 0.14);
	background: #fff;
	color: #0b0b0b;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
}

.rideon-sc-map-shell__close:hover {
	border-color: rgba(0, 0, 0, 0.35);
}

body.rideon-sc-map-open .sc-delivery-method-mount-point.rideon-sc-map-fullscreen {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 2147483002 !important;
	width: auto !important;
	max-width: none !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 3.55rem 0 0 !important;
	background: #fff !important;
	display: block !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
}

/* Barre titre/fermeture au-dessus de la carte (pas d’overlay blanc plein écran) */
body.rideon-sc-map-open .rideon-sc-map-shell {
	z-index: 2147483003;
	background: #fff;
}

body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-delivery,
body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-shipping-option,
body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-picker,
body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-picker-overlay {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	display: block !important;
	box-sizing: border-box !important;
	background: #fff;
}

body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-picker-header {
	position: absolute !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 5;
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem clamp(0.75rem, 2vw, 1.1rem);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	background: #fff;
	box-sizing: border-box;
}

body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-search-container,
body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-search-form {
	display: flex !important;
	align-items: stretch;
	gap: 0.4rem;
	min-width: 12rem;
	width: auto !important;
	max-width: 28rem;
	flex: 1 1 auto;
}

body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-search,
body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-search__control {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 2.5rem;
	width: 100% !important;
	border: 1px solid rgba(0, 0, 0, 0.16) !important;
	border-radius: 10px !important;
	padding: 0.45rem 0.75rem !important;
	box-sizing: border-box;
	font-family: var(--font-main, "Space Grotesk", sans-serif);
	font-size: 0.92rem;
}

body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-search-button,
body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-list-button,
body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-map-button,
body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-clear-search-button {
	flex: 0 0 auto;
	min-height: 2.5rem;
	border-radius: 10px !important;
}

body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-map-container {
	position: absolute !important;
	top: 4.25rem !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	z-index: 1;
}

body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-map,
body.rideon-sc-map-open .rideon-sc-map-fullscreen .mapboxgl-map {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 280px !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body.rideon-sc-map-open .rideon-sc-map-fullscreen .mapboxgl-canvas-container,
body.rideon-sc-map-open .rideon-sc-map-fullscreen canvas.mapboxgl-canvas {
	width: 100% !important;
	height: 100% !important;
}

/* Liste toujours visible en panneau (fallback si carte lente) */
body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-list-container {
	position: absolute !important;
	left: clamp(0.75rem, 2vw, 1.1rem);
	top: 5rem !important;
	bottom: 1rem !important;
	width: min(22rem, calc(100% - 1.5rem));
	height: auto !important;
	max-height: calc(100% - 6rem) !important;
	overflow: auto !important;
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	z-index: 4;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	box-sizing: border-box !important;
}

@media (max-width: 720px) {
	body.rideon-sc-map-open .rideon-sc-map-fullscreen .sc-service-point-list-container {
		left: 0.65rem;
		right: 0.65rem;
		width: auto;
		top: auto;
		bottom: 0.65rem;
		max-height: 42vh;
	}
}

/* =========================================================
   Cart mobile layout — grille Woo (is-mobile) rééquilibrée
   Woo attend ~80px d’image ; nos thumbs 110/200px cassaient la row.
========================================================= */
@media (max-width: 768px) {
	body.woocommerce-cart .contenuPAge,
	body.woocommerce-cart .main > .contenuPAge {
		padding: 1.1rem max(1rem, env(safe-area-inset-left, 0px)) 4.5rem max(1rem, env(safe-area-inset-right, 0px)) !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart__main,
	body.woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
		border-radius: 14px;
		padding: 14px 12px !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-cart .wc-block-cart.is-mobile,
	body.woocommerce-cart .wc-block-cart.is-small,
	body.woocommerce-cart .wc-block-cart.is-medium {
		gap: 14px !important;
	}

	/* Row : image | infos | total */
	body.woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row,
	body.woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-items__row,
	body.woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-items__row {
		display: grid !important;
		grid-template-columns: 72px minmax(0, 1fr) max-content !important;
		column-gap: 12px !important;
		row-gap: 0 !important;
		padding: 14px 0 !important;
		align-items: start !important;
	}

	body.woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-item__image,
	body.woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-item__image,
	body.woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-item__image,
	body.woocommerce-cart td.wc-block-cart-item__image,
	body.woocommerce-cart td.product-thumbnail {
		grid-column: 1 !important;
		grid-row: 1 / span 2 !important;
		width: 72px !important;
		min-width: 72px !important;
		max-width: 72px !important;
		flex: none !important;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
		padding: 0 !important;
		padding-right: 0 !important;
		align-self: start !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__image a,
	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__image .wc-block-components-product-image,
	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__image .wc-block-components-product-image a,
	body.woocommerce-cart td.wc-block-cart-item__image > a,
	body.woocommerce-cart td.product-thumbnail > a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 72px !important;
		min-width: 72px !important;
		max-width: 72px !important;
		height: 72px !important;
		min-height: 72px !important;
		max-height: 72px !important;
		padding: 0 !important;
		background: #f5f5f7 !important;
		border-radius: 10px !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__image img,
	body.woocommerce-cart .wc-block-cart .wc-block-components-product-image img,
	body.woocommerce-cart td.wc-block-cart-item__image img,
	body.woocommerce-cart td.product-thumbnail img {
		width: auto !important;
		max-width: 64px !important;
		height: auto !important;
		max-height: 64px !important;
		object-fit: contain !important;
		object-position: center !important;
		margin: 0 auto !important;
	}

	body.woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-item__product,
	body.woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-item__product,
	body.woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-item__product {
		grid-column: 2 !important;
		grid-row: 1 !important;
		padding: 0 !important;
		min-width: 0 !important;
		justify-self: stretch !important;
	}

	body.woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-item__total,
	body.woocommerce-cart .wc-block-cart.is-small table.wc-block-cart-items .wc-block-cart-item__total,
	body.woocommerce-cart .wc-block-cart.is-medium table.wc-block-cart-items .wc-block-cart-item__total {
		grid-column: 3 !important;
		grid-row: 1 !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-end !important;
		justify-content: flex-start !important;
		padding: 0 0 0 8px !important;
		min-width: 4.5rem !important;
		text-align: right !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__total .wc-block-formatted-money-amount,
	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__total .wc-block-components-product-price__value {
		font-size: 0.98rem !important;
		font-weight: 700 !important;
		line-height: 1.2 !important;
		white-space: nowrap !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-components-product-name {
		font-size: 0.98rem !important;
		line-height: 1.3 !important;
		font-weight: 650 !important;
		margin: 0 0 0.2rem !important;
		padding-right: 0.25rem !important;
	}

	/* Aligné DEV style-cart mobile (0.98rem) — plus de 0.86rem trop petit */
	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__prices,
	body.woocommerce-cart .wc-block-cart .price.wc-block-components-product-price,
	body.woocommerce-cart .wc-block-cart .wc-block-components-product-price,
	body.woocommerce-cart .wc-block-cart .wc-block-components-product-price__value,
	body.woocommerce-cart .wc-block-cart .wc-block-components-product-price__regular {
		font-size: 0.98rem !important;
		line-height: 1.25 !important;
	}

	/* Teaser produit inutile dans le panier mobile — garder variations */
	body.woocommerce-cart .wc-block-cart .wc-block-components-product-metadata__description {
		display: none !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-components-product-details,
	body.woocommerce-cart .wc-block-cart .wc-block-components-product-metadata__variation {
		font-size: 0.78rem !important;
		line-height: 1.35 !important;
		margin-top: 0.2rem !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__quantity {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 0.65rem !important;
		margin-top: 0.65rem !important;
		width: 100% !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-components-quantity-selector {
		min-width: 0 !important;
		width: auto !important;
		flex: 0 0 auto !important;
	}

	body.woocommerce-cart .wc-block-cart .wc-block-cart-item__remove-link {
		margin: 0 !important;
		flex: 0 0 auto !important;
		align-self: center !important;
	}

	/* Méta variation : garder lisible, masquer le teaser HTML trop long */
	body.woocommerce-cart .wc-block-cart .wc-block-components-product-metadata__description p {
		margin: 0 !important;
	}

	/* Totaux / expédition */
	body.woocommerce-cart .wc-block-components-totals-item {
		align-items: flex-start !important;
		gap: 0.5rem !important;
	}

	body.woocommerce-cart .wc-block-components-totals-item__label,
	body.woocommerce-cart .wc-block-components-totals-item__value {
		line-height: 1.3 !important;
	}

	body.woocommerce-cart .wc-block-components-totals-shipping .wc-block-components-totals-item__description {
		margin-top: 0.2rem !important;
		font-size: 0.78rem !important;
	}

	body.woocommerce-cart .wc-block-cart__submit-button,
	body.woocommerce-cart .wp-block-woocommerce-filled-cart-block .wc-block-cart__submit-button {
		width: 100% !important;
		min-height: 50px !important;
	}

	body.woocommerce-cart .wc-block-cart__submit-container {
		padding: 0 !important;
		background: transparent !important;
	}

	/* Recos : cartes plus lisibles */
	body.woocommerce-cart .rideon-cart-recos {
		padding-top: 1.25rem !important;
		margin-top: 1.25rem !important;
	}

	body.woocommerce-cart .rideon-cart-recos__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	body.woocommerce-cart .rideon-cart-recos__body {
		padding: 10px !important;
	}

	body.woocommerce-cart .rideon-cart-recos__name {
		font-size: 0.82rem !important;
		line-height: 1.25 !important;
	}

	body.woocommerce-cart .rideon-cart-recos__cta {
		min-height: 40px !important;
		padding: 0.55rem 0.7rem !important;
		font-size: 0.72rem !important;
	}
}
