/* ══════════════════════════════════════════════════════════
   Pages WooCommerce — panier, commande, compte (blocs WC)
   ══════════════════════════════════════════════════════════ */

body.nut-wc-page main.nut-wc-page,
body.nut-wc-page .nut-wc-page__wrap {
	margin: 0;
	padding: 0;
	max-width: none;
}

.nut-wc-page__wrap {
	background: #f4f5f7;
	min-height: 50vh;
}

.nut-wc-page__body {
	max-width: 1180px;
	margin: 0 auto;
	padding: 1.5rem clamp(1rem, 4vw, 2rem) 3rem;
}

.nut-wc-page__content {
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 14px;
	padding: clamp(1.25rem, 3vw, 2rem);
	box-shadow: 0 4px 24px rgba(5, 10, 94, 0.04);
}

/* Panier / commande / confirmation : contenu transparent, cartes internes */
.nut-wc-page--cart .nut-wc-page__content,
.nut-wc-page--checkout .nut-wc-page__content,
.nut-wc-page--order-received .nut-wc-page__content {
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
}

.nut-wc-trust {
	margin-bottom: 1.25rem;
}

/* Fil d'Ariane */
.nut-wc-breadcrumb {
	margin-bottom: 1rem;
}

.nut-wc-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.82rem;
	color: #6b7280;
}

.nut-wc-breadcrumb__item {
	display: inline-flex;
	align-items: center;
}

.nut-wc-breadcrumb__item:not(:last-child)::after {
	content: '/';
	margin: 0 0.45rem;
	color: #9ca3af;
}

.nut-wc-breadcrumb__item a {
	color: #050A5E;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.15s;
}

.nut-wc-breadcrumb__item a:hover {
	color: #39B54A;
}

.nut-wc-breadcrumb__item span[aria-current] {
	color: #374151;
	font-weight: 600;
}

/* Notices */
.nut-wc-notices {
	margin-bottom: 1rem;
}

.nut-wc-page .woocommerce-message,
.nut-wc-page .woocommerce-info,
.nut-wc-page .woocommerce-error,
.nut-wc-page .wc-block-components-notice-banner {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9rem;
	border-radius: 8px;
	margin-bottom: 0.75rem;
}

.nut-wc-page .woocommerce-message,
.nut-wc-page .woocommerce-info {
	background: rgba(57, 181, 74, 0.08);
	border-left: 4px solid #39B54A;
	color: #166534;
}

.nut-wc-page .woocommerce-error {
	background: #fef2f2;
	border-left: 4px solid #dc2626;
	color: #991b1b;
}

/* ── Blocs panier & commande (layout) ── */
.nut-wc-page .wp-block-woocommerce-cart,
.nut-wc-page .wp-block-woocommerce-checkout {
	margin: 0;
	max-width: none;
	width: 100%;
}

.nut-wc-page .wp-block-woocommerce-cart.alignwide,
.nut-wc-page .wp-block-woocommerce-checkout.alignwide {
	max-width: none;
}

.nut-wc-page .wc-block-cart {
	padding-top: 0;
}

/* Grille 2 colonnes — panier */
.nut-wc-page--cart .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1.12fr) minmax(320px, 400px) !important;
	gap: 1.75rem !important;
	align-items: start !important;
	margin: 0 !important;
}

/* Grille checkout — formulaire large, résumé fixe à droite */
.nut-wc-page--checkout .nut-wc-page__body {
	max-width: 1320px;
}

.nut-wc-page--checkout .wp-block-woocommerce-checkout,
.nut-wc-page--checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	width: 100% !important;
	max-width: 100% !important;
}

.nut-wc-page--checkout .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 400px !important;
	gap: clamp(2rem, 4vw, 3.5rem) !important;
	align-items: start !important;
	margin: 0 !important;
	width: 100% !important;
}

/* Annuler le layout flex WC (65% / 35%) — sans toucher au padding des cartes */
.nut-wc-page--cart .wc-block-components-sidebar-layout .wc-block-components-main:not(.wc-block-cart__main),
.nut-wc-page--checkout .wc-block-components-sidebar-layout .wc-block-components-main:not(.wc-block-checkout__main),
.nut-wc-page--cart .wc-block-components-sidebar-layout .wc-block-components-sidebar,
.nut-wc-page--checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	width: 100% !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin: 0 !important;
	float: none !important;
}

.nut-wc-page .wc-block-components-main:not(.wc-block-cart__main):not(.wc-block-checkout__main) {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	box-sizing: border-box;
}

.nut-wc-page .wc-block-components-sidebar:not(.wc-block-cart__sidebar):not(.wc-block-checkout__sidebar) {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	box-sizing: border-box;
}

.nut-wc-page--checkout .wc-block-components-sidebar.wc-block-checkout__sidebar,
.nut-wc-page--checkout .wc-block-checkout__sidebar.wp-block-woocommerce-checkout-totals-block {
	width: 100% !important;
	max-width: 400px !important;
	min-width: 0;
	margin: 0 !important;
	box-sizing: border-box;
	justify-self: end;
}

@media (max-width: 960px) {
	.nut-wc-page--cart .wc-block-components-sidebar-layout,
	.nut-wc-page--checkout .wc-block-components-sidebar-layout {
		grid-template-columns: 1fr !important;
	}
}

/* ══ PANIER — carte articles ══ */
.nut-wc-page--cart .wc-block-cart__main {
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(5, 10, 94, 0.06);
}

.nut-wc-page--cart table.wc-block-cart-items {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
}

.nut-wc-page--cart table.wc-block-cart-items .wc-block-cart-items__header th {
	background: #050A5E !important;
	border: none !important;
	padding: 0.95rem 1.25rem !important;
	font-family: 'Quicksand', sans-serif !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	color: rgba(255, 255, 255, 0.92) !important;
	vertical-align: middle;
}

.nut-wc-page--cart table.wc-block-cart-items .wc-block-cart-items__header th:first-child {
	border-radius: 0;
}

.nut-wc-page--cart table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image {
	width: 140px;
}

.nut-wc-page--cart table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product {
	visibility: visible !important;
}

.nut-wc-page--cart table.wc-block-cart-items .wc-block-cart-items__row td {
	background: #fff !important;
	border: none !important;
	border-bottom: 1px solid #f0f1f4 !important;
	padding: 1.25rem 1.35rem !important;
	vertical-align: middle;
}

/* Colonnes PRODUIT | DÉTAILS | TOTAL */
.nut-wc-page--cart .wc-block-cart.is-large table.wc-block-cart-items {
	table-layout: fixed;
}

.nut-wc-page--cart .wc-block-cart-items__header-image,
.nut-wc-page--cart td.wc-block-cart-item__image {
	width: 140px !important;
	text-align: center;
	vertical-align: middle !important;
	padding-left: 1rem !important;
	padding-right: 0.75rem !important;
}

.nut-wc-page--cart .wc-block-cart-items__header-product,
.nut-wc-page--cart td.wc-block-cart-item__product {
	width: auto !important;
}

.nut-wc-page--cart .wc-block-cart-items__header-total,
.nut-wc-page--cart td.wc-block-cart-item__total {
	width: 128px !important;
	text-align: right !important;
	vertical-align: middle !important;
}

.nut-wc-page--cart td.wc-block-cart-item__product .wc-block-cart-item__wrap {
	display: block;
}

.nut-wc-page--cart td.wc-block-cart-item__product .wc-block-cart-item__product-name {
	display: block;
	margin-bottom: 0.35rem;
	text-decoration: none !important;
}

.nut-wc-page--cart td.wc-block-cart-item__product .wc-block-cart-item__prices {
	display: block;
	margin-bottom: 0.65rem;
}

/* Masquer l'extrait produit tronqué dans le panier */
.nut-wc-page--cart .wc-block-components-product-metadata__description,
.nut-wc-page--cart .wc-block-cart-item__product-metadata .wc-block-components-product-metadata__description {
	display: none !important;
}

.nut-wc-page--cart .wc-block-components-product-metadata:not(:has(.wc-block-components-product-metadata__description)) {
	display: none;
}

.nut-wc-page--cart td.wc-block-cart-item__product .wc-block-cart-item__quantity {
	margin-top: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.nut-wc-page--cart td.wc-block-cart-item__total .wc-block-cart-item__total-price-and-badge,
.nut-wc-page--cart td.wc-block-cart-item__total .wc-block-components-product-price,
.nut-wc-page--cart td.wc-block-cart-item__total .wc-block-components-formatted-money-amount {
	font-family: 'Quicksand', sans-serif !important;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	color: #050A5E !important;
}

.nut-wc-page--cart td.wc-block-cart-item__total .wc-block-cart-item__remove-link {
	margin-top: 0.5rem;
}

.nut-wc-page--cart table.wc-block-cart-items .wc-block-cart-items__row:last-child td {
	border-bottom: none !important;
}

.nut-wc-page--cart .wc-block-cart-item__image {
	flex-shrink: 0;
}

.nut-wc-page--cart td.wc-block-cart-item__image .wc-block-cart-item__wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}

.nut-wc-page--cart .wc-block-cart-item__image img {
	width: 100px !important;
	height: 100px !important;
	max-width: none !important;
	object-fit: contain;
	border-radius: 12px;
	background: #f9fafb;
	border: 1px solid #e8eaef;
	padding: 0.5rem;
	box-sizing: border-box;
}

.nut-wc-page--cart .wc-block-cart-item__product {
	font-family: 'Open Sans', sans-serif;
	min-width: 0;
}

.nut-wc-page--cart .wc-block-cart-item__product-name {
	font-family: 'Quicksand', sans-serif !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: #050A5E !important;
	text-decoration: none;
	line-height: 1.35;
}

.nut-wc-page--cart .wc-block-cart-item__product-name:hover {
	color: #39B54A !important;
}

.nut-wc-page--cart .wc-block-cart-item__product-metadata,
.nut-wc-page--cart .wc-block-cart-item__product-price-value {
	font-size: 0.85rem;
	color: #6b7280;
	margin-top: 0.2rem;
}

.nut-wc-page--cart .wc-block-cart-item__total {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #050A5E;
	justify-content: flex-end;
}

.nut-wc-page--cart .wc-block-cart-item__quantity {
	margin-top: 0.65rem;
}

.nut-wc-page--cart .wc-block-components-quantity-selector {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e8eaef;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.nut-wc-page--cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
	width: 2rem;
	height: 2rem;
	min-width: 2rem;
	padding: 0;
	background: #f7f8fc;
	border: none;
	color: #050A5E;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.nut-wc-page--cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover {
	background: #39B54A;
	color: #fff;
}

.nut-wc-page--cart .wc-block-components-quantity-selector input {
	width: 2.5rem !important;
	min-height: 2rem;
	padding: 0 !important;
	text-align: center;
	font-weight: 700;
	color: #050A5E;
	border: none !important;
	background: #fff !important;
}

.nut-wc-page--cart .wc-block-cart-item__remove-link {
	display: inline-block;
	margin-top: 0.45rem;
	font-size: 0.78rem;
	color: #9ca3af !important;
	text-decoration: none;
}

.nut-wc-page--cart .wc-block-cart-item__remove-link:hover {
	color: #dc2626 !important;
}

/* ══ PANIER — carte récap (sidebar) ══ */
.nut-wc-page--cart .wc-block-cart__sidebar {
	position: sticky;
	top: 1.25rem;
}

.nut-wc-page--cart .wp-block-woocommerce-cart-totals-block,
.nut-wc-page--cart .wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 14px;
	padding: 1.75rem 1.85rem 1.85rem !important;
	box-shadow: 0 4px 24px rgba(5, 10, 94, 0.06);
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

/* Contenu interne — respecter la marge de la carte */
.nut-wc-page--cart .wc-block-cart__totals-title {
	font-family: 'Quicksand', sans-serif !important;
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	color: #050A5E !important;
	margin: 0 0 1.15rem !important;
	padding: 0 0 0.85rem 0 !important;
	border-bottom: 2px solid #39B54A;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.nut-wc-page--cart .wp-block-woocommerce-cart-order-summary-block {
	border-bottom: none !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	font-size: 0.9rem;
}

.nut-wc-page--cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-coupon,
.nut-wc-page--cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item,
.nut-wc-page--cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item,
.nut-wc-page--cart .wp-block-woocommerce-cart-order-summary-coupon-form-block {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.nut-wc-page--cart .wp-block-woocommerce-proceed-to-checkout-block,
.nut-wc-page--cart .wc-block-cart__submit {
	margin-top: 0.25rem;
	padding: 0 !important;
}

/* Codes promo — accordéon (libellé au-dessus, formulaire en dessous) */
.nut-wc-page--cart .wc-block-components-totals-coupon.wc-block-components-panel {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	border: 1px solid #e8eaef;
	border-left: 3px solid #39B54A;
	border-radius: 10px;
	margin: 0 0 1.1rem;
	padding: 0;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 8px rgba(5, 10, 94, 0.04);
}

.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem;
	width: 100% !important;
	margin: 0 !important;
	padding: 0.85rem 1rem !important;
	font-family: 'Quicksand', sans-serif !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	color: #050A5E !important;
	background: #f7f8fc !important;
	border: none !important;
	border-radius: 0 !important;
	cursor: pointer;
	text-align: left;
	line-height: 1.35;
	box-sizing: border-box;
	transition: background 0.15s, color 0.15s;
	position: relative;
}

.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] {
	margin-bottom: 0 !important;
	border-bottom: 1px solid #f0f1f4;
}

.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-panel__button:hover {
	background: rgba(57, 181, 74, 0.08) !important;
	color: #2D9A3E !important;
}

.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-panel__button-icon,
.nut-wc-page--checkout .wc-block-components-totals-coupon .wc-block-components-panel__button-icon,
.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-panel__button > svg,
.nut-wc-page--checkout .wc-block-components-totals-coupon .wc-block-components-panel__button > svg {
	order: 2 !important;
	margin-left: auto !important;
	position: static !important;
	right: auto !important;
	left: auto !important;
	top: auto !important;
	flex-shrink: 0;
	width: 1.15rem !important;
	height: 1.15rem !important;
	color: #39B54A;
	fill: currentColor;
	transform: none !important;
	transition: transform 0.2s ease;
}

.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] .wc-block-components-panel__button-icon,
.nut-wc-page--checkout .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] .wc-block-components-panel__button-icon,
.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] > svg,
.nut-wc-page--checkout .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] > svg {
	transform: rotate(180deg) !important;
}

.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-panel__content {
	display: block !important;
	width: 100% !important;
	padding: 1rem !important;
	margin: 0 !important;
	box-sizing: border-box;
}

.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-totals-coupon__content,
.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-panel__content > div {
	width: 100% !important;
	display: block !important;
}

.nut-wc-page--cart .wc-block-components-totals-coupon__form {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	gap: 0.65rem !important;
	width: 100% !important;
	margin: 0 !important;
}

.nut-wc-page--cart .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input,
.nut-wc-page--cart .wc-block-components-totals-coupon__form .wc-block-components-text-input {
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.nut-wc-page--cart .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
	flex: 0 0 auto !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0.7rem 1rem !important;
	white-space: normal;
}

/* Lignes totaux */
.nut-wc-page--cart .wc-block-components-totals-item,
.nut-wc-page--cart .wc-block-components-totals-footer-item {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 1rem;
	padding: 0.65rem 0 !important;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.92rem;
	color: #374151 !important;
	border-bottom: 1px solid #f0f1f4;
}

.nut-wc-page--cart .wc-block-components-totals-item__label,
.nut-wc-page--cart .wc-block-components-totals-item__value {
	color: #374151 !important;
	font-weight: 500;
}

.nut-wc-page--cart .wc-block-components-totals-item__value .wc-block-components-formatted-money-amount {
	color: #050A5E !important;
	font-weight: 700;
}

.nut-wc-page--cart .wc-block-components-totals-footer-item {
	border-bottom: none;
	padding-top: 1rem !important;
	margin-top: 0.5rem;
	border-top: 2px solid #050A5E;
	font-family: 'Quicksand', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #050A5E !important;
}

.nut-wc-page--cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.nut-wc-page--cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: #050A5E !important;
	font-weight: 700;
}

.nut-wc-page--cart .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
	font-size: 1.25rem !important;
	color: #39B54A !important;
}

/* Bouton valider commande — largeur réduite, centré */
.nut-wc-page--cart .wp-block-woocommerce-proceed-to-checkout-block {
	margin-top: 1.15rem;
}

.nut-wc-page--cart .wc-block-cart__submit-container {
	display: flex;
	justify-content: center;
	padding-top: 0.25rem;
}

.nut-wc-page--cart .wc-block-cart__submit-button,
.nut-wc-page--cart .wc-block-cart__submit-container .wc-block-components-button {
	width: auto !important;
	min-width: 200px;
	max-width: 88%;
	padding: 0.8rem 1.75rem !important;
	font-size: 0.92rem !important;
	letter-spacing: 0.02em;
	text-transform: none;
}

.nut-wc-page--cart .wc-block-components-totals-wrapper {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}

/* Titres sections blocs */
.nut-wc-page .wc-block-components-title,
.nut-wc-page .wc-block-cart__totals-title,
.nut-wc-page .wc-block-checkout__sidebar .wc-block-components-title,
.nut-wc-page h2.wc-block-components-title {
	font-family: 'Quicksand', sans-serif !important;
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	color: #050A5E !important;
	margin: 0 0 1rem !important;
}

/* Champs formulaire blocs — panier / compte (pas checkout : floating labels dédiés) */
.nut-wc-page--cart .wc-block-components-text-input label,
.nut-wc-page--cart .wc-block-components-combobox label,
.nut-wc-page--account .wc-block-components-text-input label,
.nut-wc-page--account .wc-block-components-combobox label,
.nut-wc-page .wc-block-components-checkbox label {
	font-family: 'Open Sans', sans-serif;
	font-size: 0.82rem;
	font-weight: 600;
	color: #374151;
}

.nut-wc-page--cart .wc-block-components-text-input input,
.nut-wc-page--cart .wc-block-components-combobox .wc-block-components-combobox-control input,
.nut-wc-page--account .wc-block-components-text-input input,
.nut-wc-page--account .wc-block-components-combobox .wc-block-components-combobox-control input,
.nut-wc-page .wc-block-components-select select,
.nut-wc-page .wc-block-components-textarea textarea {
	padding: 0.65rem 0.85rem !important;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 0.92rem !important;
	color: #050A5E !important;
	background: #f9fafb !important;
	border: 1px solid #e8eaef !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.nut-wc-page--cart .wc-block-components-text-input input:focus,
.nut-wc-page--cart .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.nut-wc-page--account .wc-block-components-text-input input:focus,
.nut-wc-page--account .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.nut-wc-page .wc-block-components-select select:focus,
.nut-wc-page .wc-block-components-textarea textarea:focus {
	border-color: #39B54A !important;
	box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.15) !important;
	outline: none !important;
	background: #fff !important;
}

/* ══ CHECKOUT — formulaire coordonnées ══ */
.nut-wc-page--checkout .wc-block-checkout__main,
.nut-wc-page--checkout .wc-block-components-sidebar-layout .wc-block-checkout__main {
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 14px;
	padding: 2rem 2rem 2.15rem !important;
	box-shadow: 0 4px 24px rgba(5, 10, 94, 0.06);
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
}

.nut-wc-page--checkout .wc-block-checkout__main form.wc-block-checkout__form {
	margin: 0;
	padding: 0;
	width: 100%;
}

/* Floating labels — champs texte checkout */
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-combobox {
	position: relative;
	line-height: 0;
	margin-top: 0;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input label,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-combobox label {
	position: absolute !important;
	left: 0.85rem !important;
	top: 1.6rem !important;
	transform: translateY(-50%) !important;
	transform-origin: top left !important;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	color: #6b7280 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent;
	pointer-events: none;
	cursor: text;
	transition: top 0.2s ease, transform 0.2s ease, color 0.2s ease;
	z-index: 2;
	max-width: calc(100% - 1.75rem);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.2 !important;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input.is-active label,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input:focus-within label,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input input:-webkit-autofill + label,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-combobox.is-active label,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-combobox:focus-within label {
	top: 0.5rem !important;
	transform: translateY(0) scale(0.78) !important;
	color: #39B54A !important;
	font-weight: 600 !important;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input input,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-combobox .wc-block-components-combobox-control input {
	height: 3.25rem !important;
	min-height: 3.25rem !important;
	padding: 1rem 0.85rem 0.4rem !important;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 0.97rem !important;
	font-weight: 600 !important;
	color: #050A5E !important;
	background: #fff !important;
	border: 1px solid #e8eaef !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	line-height: 1.35 !important;
	width: 100%;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input.is-active input,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input:focus-within input,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input input:-webkit-autofill,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-combobox.is-active input,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-combobox:focus-within input {
	padding: 1.35rem 0.85rem 0.45rem !important;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input input:focus,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	border-color: #39B54A !important;
	box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.12) !important;
	outline: none !important;
	background: #fff !important;
}

/* Selects pays / région */
.nut-wc-page--checkout .wc-block-checkout__main .wc-blocks-components-select {
	margin-top: 0;
	width: 100%;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-blocks-components-select__container {
	border-radius: 8px;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-blocks-components-select__label {
	font-family: 'Open Sans', sans-serif !important;
	font-size: 0.72rem !important;
	font-weight: 600 !important;
	color: #39B54A !important;
	left: 0.85rem !important;
	top: 0.45rem !important;
	line-height: 1.2 !important;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-blocks-components-select__select {
	height: 3.25rem !important;
	min-height: 3.25rem !important;
	padding: 1.15rem 2rem 0.35rem 0.85rem !important;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 0.97rem !important;
	font-weight: 600 !important;
	color: #050A5E !important;
	background: #fff !important;
	border: 1px solid #e8eaef !important;
	border-radius: 8px !important;
	line-height: 1.35 !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-blocks-components-select__select:focus {
	border-color: #39B54A !important;
	box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.12) !important;
	outline: none !important;
	padding: 1.15rem 1.95rem 0.35rem 0.8rem !important;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-blocks-components-select__expand {
	fill: #050A5E !important;
	right: 0.85rem !important;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input.has-error input,
.nut-wc-page--checkout .wc-block-checkout__main .wc-blocks-components-select.has-error .wc-blocks-components-select__select {
	border-color: #dc2626 !important;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input.has-error.is-active label,
.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input.has-error:focus-within label {
	color: #dc2626 !important;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-checkout-step {
	margin-bottom: 2.25rem;
	padding-bottom: 2.25rem;
	border-bottom: 1px solid #f0f1f4;
}

.nut-wc-page--checkout form.wc-block-checkout__form > fieldset.wc-block-components-checkout-step {
	border: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}

/* Léger espace avant facturation (après notice invité) et paiement */
.nut-wc-page--checkout form.wc-block-checkout__form > fieldset#billing-fields,
.nut-wc-page--checkout form.wc-block-checkout__form > fieldset#payment-method {
	margin-top: 0.85rem !important;
}

.nut-wc-page--checkout fieldset#billing-fields .wc-block-components-checkout-step__heading-container,
.nut-wc-page--checkout fieldset#payment-method .wc-block-components-checkout-step__heading-container {
	padding-top: 0.35rem;
}

.nut-wc-page--checkout .wc-block-components-checkout-step__content {
	padding-top: 0.35rem;
}

.nut-wc-page--checkout .wc-block-components-address-form-wrapper,
.nut-wc-page--checkout .wc-block-components-address-address-wrapper {
	width: 100%;
}

.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-checkout-step:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.nut-wc-page--checkout .wc-block-components-checkout-step__title,
.nut-wc-page--checkout .wc-block-checkout__main > .wc-block-components-title {
	font-family: 'Quicksand', sans-serif !important;
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	color: #050A5E !important;
	margin: 0 0 1.15rem !important;
	padding: 0 0 0.85rem 0 !important;
	border-bottom: 2px solid #39B54A;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.nut-wc-page--checkout .wc-block-components-notice-banner {
	margin-bottom: 1rem;
	border-radius: 8px;
	font-size: 0.88rem;
}

.nut-wc-page--checkout .wc-block-components-address-form {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	width: 100% !important;
}

.nut-wc-page--checkout #billing.wc-block-components-address-form,
.nut-wc-page--checkout fieldset#billing-fields .wc-block-components-address-form,
.nut-wc-page--checkout #shipping.wc-block-components-address-form,
.nut-wc-page--checkout fieldset#shipping-fields .wc-block-components-address-form {
	gap: 1.05rem 1.25rem !important;
}

.nut-wc-page--checkout .wc-block-components-address-form .wc-block-components-text-input,
.nut-wc-page--checkout .wc-block-components-address-form .wc-block-components-combobox,
.nut-wc-page--checkout .wc-block-components-address-form .wc-block-components-state-input,
.nut-wc-page--checkout .wc-block-components-address-form .wc-block-components-country-input {
	grid-column: 1 / -1;
	margin: 0 !important;
}

.nut-wc-page--checkout .wc-block-components-address-form #billing-first_name-field,
.nut-wc-page--checkout .wc-block-components-address-form #billing-last_name-field,
.nut-wc-page--checkout .wc-block-components-address-form #shipping-first_name-field,
.nut-wc-page--checkout .wc-block-components-address-form #shipping-last_name-field {
	grid-column: span 1;
}

.nut-wc-page--checkout .wc-block-components-address-form__address_2-toggle {
	grid-column: 1 / -1 !important;
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
	margin: 0.15rem 0 0 !important;
	padding: 0.7rem 0.95rem !important;
	background: #f7f8fc;
	border: 1px dashed #c5cad6;
	border-radius: 8px;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.86rem;
	font-weight: 600;
	color: #050A5E !important;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	box-sizing: border-box;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.nut-wc-page--checkout .wc-block-components-address-form__address_2-toggle:hover,
.nut-wc-page--checkout .wc-block-components-address-form__address_2-toggle:focus {
	background: #eef0f5;
	border-color: #39B54A;
	color: #39B54A !important;
	outline: none;
}

/* Contact — flex colonne (après règles grid générales) */
.nut-wc-page--checkout #contact.wc-block-components-address-form,
.nut-wc-page--checkout fieldset#contact-fields .wc-block-components-address-form {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	gap: 0.85rem !important;
	width: 100% !important;
}

.nut-wc-page--checkout #contact .wc-block-components-text-input,
.nut-wc-page--checkout fieldset#contact-fields .wc-block-components-text-input {
	width: 100% !important;
	flex: 0 0 auto;
}

.nut-wc-page--checkout #wc-guest-checkout-notice,
.nut-wc-page--checkout .wc-block-checkout__guest-checkout-notice {
	flex: 0 0 100% !important;
	align-self: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0.75rem 1rem !important;
	background: #f7f8fc;
	border: 1px solid #e8eaef;
	border-left: 3px solid #39B54A;
	border-radius: 8px;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.86rem;
	line-height: 1.45;
	color: #374151 !important;
	box-sizing: border-box;
}

.nut-wc-page--checkout .wc-block-components-address-form__field:last-child {
	margin-bottom: 0;
}

.nut-wc-page--checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option {
	border: 1px solid #e8eaef !important;
	border-radius: 10px !important;
	margin-bottom: 0.5rem;
	overflow: hidden;
	background: #fff;
}

.nut-wc-page--checkout .wc-block-checkout__actions {
	margin-top: 1.25rem;
	padding-top: 0.25rem;
}

.nut-wc-page--checkout .wc-block-components-checkout-place-order-button {
	width: 100% !important;
	padding: 0.95rem 1.25rem !important;
	font-size: 0.95rem !important;
	letter-spacing: 0.02em;
}

/* ══ CHECKOUT — carte résumé commande ══ */
.nut-wc-page--checkout .wc-block-checkout__sidebar {
	position: sticky;
	top: 1.25rem;
	align-self: start;
}

.nut-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block {
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 14px;
	padding: 1.75rem 1.85rem !important;
	box-shadow: 0 4px 24px rgba(5, 10, 94, 0.06);
	box-sizing: border-box;
	overflow: visible;
	width: 100% !important;
	max-width: 400px !important;
	min-width: 0;
}

.nut-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block > .wc-block-components-title,
.nut-wc-page--checkout .wc-block-components-order-summary .wc-block-components-order-summary__button-text {
	font-family: 'Quicksand', sans-serif !important;
	font-size: 1.2rem !important;
	font-weight: 700 !important;
	color: #050A5E !important;
	margin: 0 0 1.15rem !important;
	padding: 0 0 0.85rem 0 !important;
	border-bottom: 2px solid #39B54A;
	text-transform: none !important;
}

.nut-wc-page--checkout .wc-block-components-order-summary,
.nut-wc-page--checkout .wc-block-components-order-summary__content,
.nut-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
	width: 100% !important;
	max-width: none !important;
	min-width: 0;
	box-sizing: border-box;
}

.nut-wc-page--checkout .wc-block-components-order-summary-item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid #f0f1f4;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.88rem;
}

.nut-wc-page--checkout .wc-block-components-order-summary-item__image {
	flex-shrink: 0;
}

.nut-wc-page--checkout .wc-block-components-order-summary-item__image img {
	width: 56px !important;
	height: 56px !important;
	object-fit: contain;
	border-radius: 8px;
	background: #f9fafb;
	border: 1px solid #e8eaef;
	padding: 0.25rem;
	box-sizing: border-box;
}

.nut-wc-page--checkout .wc-block-components-order-summary-item__description {
	flex: 1;
	min-width: 0;
}

.nut-wc-page--checkout .wc-block-components-order-summary-item .wc-block-components-product-name {
	font-family: 'Quicksand', sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	color: #050A5E !important;
}

.nut-wc-page--checkout .wc-block-components-order-summary-item .wc-block-components-product-metadata__description {
	display: none !important;
}

.nut-wc-page--checkout .wc-block-components-order-summary-item__individual-prices,
.nut-wc-page--checkout .wc-block-components-order-summary-item__total-price {
	font-weight: 700;
	color: #050A5E;
	white-space: nowrap;
}

/* Codes promo checkout — même layout que panier */
.nut-wc-page--checkout .wc-block-components-totals-coupon.wc-block-components-panel {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	border: 1px solid #e8eaef;
	border-left: 3px solid #39B54A;
	border-radius: 10px;
	margin: 1rem 0;
	padding: 0;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 8px rgba(5, 10, 94, 0.04);
}

.nut-wc-page--checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: flex-start;
	gap: 0.75rem;
	width: 100% !important;
	margin: 0 !important;
	padding: 0.85rem 1rem !important;
	font-family: 'Quicksand', sans-serif !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	color: #050A5E !important;
	background: #f7f8fc !important;
	border: none !important;
	border-radius: 0 !important;
	cursor: pointer;
	box-sizing: border-box;
	position: relative;
	text-align: left !important;
}

.nut-wc-page--checkout .wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] {
	border-bottom: 1px solid #f0f1f4;
	margin-bottom: 0 !important;
}

.nut-wc-page--checkout .wc-block-components-totals-coupon .wc-block-components-panel__content {
	display: block !important;
	width: 100% !important;
	padding: 1rem !important;
	margin: 0 !important;
	box-sizing: border-box;
}

.nut-wc-page--checkout .wc-block-components-totals-coupon__form {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.65rem !important;
	width: 100% !important;
}

.nut-wc-page--checkout .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input,
.nut-wc-page--checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input {
	width: 100% !important;
	margin: 0 !important;
}

.nut-wc-page--checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input {
	line-height: normal;
}

.nut-wc-page--checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input label {
	position: static !important;
	transform: none !important;
	display: block;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	color: #374151 !important;
	margin-bottom: 0.35rem !important;
	pointer-events: auto;
}

.nut-wc-page--checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input input {
	height: auto !important;
	min-height: 0 !important;
	padding: 0.65rem 0.85rem !important;
	font-size: 0.92rem !important;
	font-weight: 500 !important;
}

.nut-wc-page--checkout .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
	width: 100% !important;
	padding: 0.7rem 1rem !important;
}

/* Totaux checkout */
.nut-wc-page--checkout .wc-block-components-totals-item,
.nut-wc-page--checkout .wc-block-components-totals-footer-item {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 1rem;
	padding: 0.65rem 0 !important;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.92rem;
	color: #374151 !important;
	border-bottom: 1px solid #f0f1f4;
}

.nut-wc-page--checkout .wc-block-components-totals-item__label,
.nut-wc-page--checkout .wc-block-components-totals-item__value {
	color: #374151 !important;
	font-weight: 500;
}

.nut-wc-page--checkout .wc-block-components-totals-footer-item {
	border-bottom: none;
	padding-top: 1rem !important;
	margin-top: 0.5rem;
	border-top: 2px solid #050A5E;
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
	color: #050A5E !important;
}

.nut-wc-page--checkout .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
	font-size: 1.25rem !important;
	color: #39B54A !important;
	font-weight: 700;
}

.nut-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel,
.nut-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Masquer titres dupliqués (étape + légende interne WC) */
.nut-wc-page--checkout .wc-block-checkout__contact-fields > .wc-block-components-title,
.nut-wc-page--checkout .wc-block-checkout__billing-fields > .wc-block-components-title,
.nut-wc-page--checkout .wc-block-checkout__shipping-fields > .wc-block-components-title {
	display: none !important;
}

.nut-wc-page .wc-block-components-panel:not(.wc-block-components-totals-coupon),
.nut-wc-page .wc-block-cart__sidebar .wc-block-components-totals-wrapper:not(.wc-block-components-totals-coupon) {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
}

.nut-wc-page .wc-block-components-product-name {
	color: #050A5E;
	font-weight: 600;
}

.nut-wc-page .wc-block-components-product-price,
.nut-wc-page .wc-block-components-formatted-money-amount {
	color: #050A5E;
	font-weight: 700;
}

/* Table panier — styles complémentaires (checkout sidebar) */
.nut-wc-page .wc-block-cart-items__header {
	font-family: 'Quicksand', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #6b7280;
}

/* Boutons */
.nut-wc-page .wc-block-components-button,
.nut-wc-page .wc-block-cart__submit-button,
.nut-wc-page .wc-block-components-checkout-place-order-button,
.nut-wc-page .woocommerce .button,
.nut-wc-page .woocommerce a.button,
.nut-wc-page .woocommerce button.button,
.nut-wc-page .woocommerce input.button {
	font-family: 'Quicksand', sans-serif !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	border-radius: 8px !important;
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.nut-wc-page .wc-block-components-button:not(.is-link),
.nut-wc-page .wc-block-cart__submit-button,
.nut-wc-page .wc-block-components-checkout-place-order-button,
.nut-wc-page .woocommerce .button.alt,
.nut-wc-page .woocommerce button.button.alt {
	background: linear-gradient(135deg, #39B54A 0%, #2D9A3E 100%) !important;
	color: #fff !important;
	border: none !important;
	box-shadow: 0 4px 14px rgba(57, 181, 74, 0.3);
}

.nut-wc-page .wc-block-components-button:not(.is-link):hover,
.nut-wc-page .wc-block-cart__submit-button:hover,
.nut-wc-page .wc-block-components-checkout-place-order-button:hover,
.nut-wc-page .woocommerce .button.alt:hover {
	background: linear-gradient(135deg, #45c856 0%, #39B54A 100%) !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(57, 181, 74, 0.35);
}

.nut-wc-page .wc-block-components-button.is-link,
.nut-wc-page .wc-block-cart-item__remove-link {
	color: #050A5E !important;
	font-weight: 600;
}

.nut-wc-page .wc-block-components-button.is-link:hover {
	color: #39B54A !important;
}

/* Paiement — options radio */
.nut-wc-page .wc-block-components-radio-control-accordion-option {
	border-color: #e8eaef !important;
	border-radius: 8px !important;
}

.nut-wc-page .wc-block-components-radio-control__option--checked-option-highlighted,
.nut-wc-page .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	box-shadow: inset 0 0 0 1.5px #39B54A;
}

/* Airtel Money — checkout & confirmation */
.nut-wc-page--checkout .nutr-airtel-money-checkout-box,
.nut-wc-page .nutr-airtel-money-checkout-box {
	margin-top: 0.85rem;
	padding: 0.95rem 1rem;
	background: #f7f8fc;
	border: 1px solid #e8eaef;
	border-left: 3px solid #e60000;
	border-radius: 8px;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.88rem;
	color: #374151;
	line-height: 1.5;
}

.nut-wc-page .nutr-airtel-money-checkout-box__lead {
	margin: 0 0 0.5rem;
	font-weight: 600;
	color: #050A5E;
}

.nut-wc-page .nutr-airtel-money-checkout-box__list {
	margin: 0 0 0.75rem 1.1rem;
	padding: 0;
}

.nut-wc-page .nutr-airtel-money-checkout-box__merchant {
	margin: 0 0 0.5rem;
	color: #050A5E;
	font-weight: 600;
}

.nut-wc-page .nutr-airtel-money-checkout-box__name {
	font-weight: 500;
	color: #6b7280;
}

.nut-wc-page .nutr-airtel-money-checkout-box__note {
	margin: 0;
	font-size: 0.82rem;
	color: #6b7280;
}

.nut-wc-page .nutr-airtel-money-instructions {
	margin: 1.5rem 0 0;
	padding: 1.5rem 1.65rem;
	background: #fff;
	border: 1px solid #e8eaef;
	border-left: 4px solid #e60000;
	border-radius: 14px;
	box-shadow: 0 8px 32px rgba(5, 10, 94, 0.08);
	font-family: 'Open Sans', sans-serif;
	color: #374151;
	overflow: hidden;
}

.nut-wc-page .nutr-airtel-money-instructions__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.35rem;
	padding-bottom: 1.15rem;
	border-bottom: 1px solid #f0f1f4;
	text-align: center;
}

.nut-wc-page .nutr-airtel-money-instructions__logo {
	display: block;
	width: auto;
	max-width: 180px;
	height: 52px;
	object-fit: contain;
}

.nut-wc-page .nutr-airtel-money-instructions__title {
	margin: 0;
	font-family: 'Quicksand', sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	color: #050A5E;
}

.nut-wc-page .nutr-airtel-money-instructions__meta-panel {
	margin-bottom: 1.25rem;
	padding: 1.15rem;
	background: linear-gradient(145deg, #f7f8fc 0%, #ffffff 100%);
	border: 1px solid #e8eaef;
	border-radius: 12px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nut-wc-page .nutr-airtel-money-instructions__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 0;
}

.nut-wc-page .nutr-airtel-money-instructions__meta-item {
	margin: 0;
	padding: 1rem 1.1rem;
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 11px;
	box-shadow: 0 2px 10px rgba(5, 10, 94, 0.04);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nut-wc-page .nutr-airtel-money-instructions__meta-item:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(5, 10, 94, 0.08);
}

.nut-wc-page .nutr-airtel-money-instructions__meta-item--wide {
	grid-column: 1 / -1;
}

.nut-wc-page .nutr-airtel-money-instructions__meta-item--amount {
	background: linear-gradient(135deg, #ecfdf3 0%, #f0fdf4 100%);
	border-color: #bbf7d0;
}

.nut-wc-page .nutr-airtel-money-instructions__meta-item--amount dd {
	color: #39B54A !important;
	font-size: 1.45rem !important;
}

.nut-wc-page .nutr-airtel-money-instructions__meta-item--merchant {
	background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
	border-color: #fecaca;
	border-left: 3px solid #e60000;
}

.nut-wc-page .nutr-airtel-money-instructions__meta-item--reference {
	background: linear-gradient(135deg, #050A5E 0%, #0a1580 100%);
	border-color: #050A5E;
}

.nut-wc-page .nutr-airtel-money-instructions__meta-item--reference dt {
	color: rgba(255, 255, 255, 0.72) !important;
}

.nut-wc-page .nutr-airtel-money-instructions__meta-item--reference dd {
	color: #fff !important;
	font-size: 1.2rem !important;
}

.nut-wc-page .nutr-airtel-money-instructions__meta dt {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #6b7280;
	margin-bottom: 0.35rem;
}

.nut-wc-page .nutr-airtel-money-instructions__meta dd {
	margin: 0;
	font-family: 'Quicksand', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #050A5E;
	line-height: 1.35;
}

.nut-wc-page .nutr-airtel-money-instructions__copy-value {
	display: inline-block;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.nut-wc-page .nutr-airtel-money-instructions__steps {
	margin: 0 0 1rem 1.15rem;
	padding: 0;
	line-height: 1.6;
}

.nut-wc-page .nutr-airtel-money-instructions__steps li {
	margin-bottom: 0.5rem;
	padding-left: 0.15rem;
}

.nut-wc-page .nutr-airtel-money-instructions__steps li::marker {
	color: #39B54A;
	font-weight: 700;
}

.nut-wc-page .nutr-airtel-money-instructions__delivery {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-left: 3px solid #050A5E;
	border-radius: 10px;
	font-size: 0.88rem;
	color: #1e3a5f;
}

.nut-wc-page .nutr-airtel-money-instructions__extra {
	margin: 0 0 1rem;
	font-size: 0.9rem;
}

.nut-wc-page .nutr-airtel-money-instructions__whatsapp-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: #39B54A !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 0.75rem 1.25rem !important;
	font-family: 'Quicksand', sans-serif !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

.nut-wc-page .nutr-airtel-money-instructions__whatsapp-btn:hover {
	background: #2D9A3E !important;
	color: #fff !important;
}

.nut-wc-page .nutr-airtel-money-label,
.nut-wc-page .wc-block-components-payment-method-label.nutr-airtel-money-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.nut-wc-page .nutr-airtel-money-label__icon,
.nut-wc-page .wc-block-components-payment-method-label--with-icon .nutr-airtel-money-label__icon {
	width: auto !important;
	height: 32px !important;
	max-width: 40px !important;
	margin: 0 !important;
	border-radius: 0;
	object-fit: contain;
	flex-shrink: 0;
	vertical-align: middle;
}

.nut-wc-page--checkout .wc-block-components-radio-control__label-group .wc-block-components-payment-method-label {
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
	color: #050A5E;
}

@media (max-width: 640px) {
	.nut-wc-page .nutr-airtel-money-instructions__meta {
		grid-template-columns: 1fr;
	}

	.nut-wc-page .nutr-airtel-money-instructions__meta-item--amount dd {
		font-size: 1.25rem !important;
	}
}

/* ── Shortcodes classiques (fallback) ── */
.nut-wc-page .woocommerce-cart-form,
.nut-wc-page .woocommerce-checkout,
.nut-wc-page .woocommerce-MyAccount-navigation,
.nut-wc-page .woocommerce-MyAccount-content {
	font-family: 'Open Sans', sans-serif;
}

.nut-wc-page table.shop_table {
	border: 1px solid #e8eaef;
	border-radius: 12px;
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
}

.nut-wc-page table.shop_table th {
	font-family: 'Quicksand', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
	background: #f7f8fc;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #e8eaef;
}

.nut-wc-page table.shop_table td {
	padding: 1rem;
	border-bottom: 1px solid #f0f1f4;
	color: #374151;
	vertical-align: middle;
}

.nut-wc-page table.shop_table tr:last-child td {
	border-bottom: none;
}

.nut-wc-page .cart_totals,
.nut-wc-page .woocommerce-checkout-review-order {
	background: #f7f8fc;
	border: 1px solid #e8eaef;
	border-radius: 12px;
	padding: 1.25rem;
}

.nut-wc-page .cart_totals h2,
.nut-wc-page #order_review_heading {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: #050A5E;
}

.nut-wc-page form .form-row label {
	font-size: 0.82rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: 0.35rem;
}

.nut-wc-page form .form-row input.input-text,
.nut-wc-page form .form-row select,
.nut-wc-page form .form-row textarea {
	padding: 0.65rem 0.85rem;
	font-size: 0.92rem;
	color: #050A5E;
	background: #f9fafb;
	border: 1px solid #e8eaef;
	border-radius: 8px;
	width: 100%;
	box-sizing: border-box;
}

.nut-wc-page form .form-row input.input-text:focus,
.nut-wc-page form .form-row select:focus,
.nut-wc-page form .form-row textarea:focus {
	border-color: #39B54A;
	box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.15);
	outline: none;
	background: #fff;
}

/* Mon compte — navigation */
.nut-wc-page--account .nut-wc-page__content {
	padding: 0;
	overflow: hidden;
}

.nut-wc-page .woocommerce-MyAccount-navigation {
	float: none;
	width: 100%;
	background: #050A5E;
	padding: 0;
	margin: 0;
}

.nut-wc-page .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.nut-wc-page .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.55rem 0.9rem;
	font-family: 'Quicksand', sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	border-radius: 6px;
	transition: background 0.15s, color 0.15s;
}

.nut-wc-page .woocommerce-MyAccount-navigation li.is-active a,
.nut-wc-page .woocommerce-MyAccount-navigation li a:hover {
	background: rgba(57, 181, 74, 0.2);
	color: #fff;
}

.nut-wc-page .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
	padding: clamp(1.25rem, 3vw, 2rem);
	box-sizing: border-box;
}

.nut-wc-page .woocommerce-MyAccount-content h2,
.nut-wc-page .woocommerce-MyAccount-content h3 {
	font-family: 'Quicksand', sans-serif;
	color: #050A5E;
}

/* ══ CONFIRMATION COMMANDE ══ */
.nutr-order-receipt-download {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.25rem;
	margin: 0 0 1.25rem;
	padding: 1.15rem 1.35rem;
	background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
	border: 1px solid #bfdbfe;
	border-left: 4px solid #050A5E;
	border-radius: 14px;
	box-shadow: 0 4px 20px rgba(5, 10, 94, 0.06);
}

.nutr-order-receipt-download__icon {
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #050A5E;
	color: #fff;
	border-radius: 50%;
	font-size: 1.2rem;
	font-weight: 700;
}

.nutr-order-receipt-download__body {
	flex: 1 1 220px;
	min-width: 0;
}

.nutr-order-receipt-download__title {
	margin: 0 0 0.35rem;
	font-family: 'Quicksand', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	color: #050A5E;
}

.nutr-order-receipt-download__text {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.88rem;
	line-height: 1.55;
	color: #374151;
}

.nutr-order-receipt-download__btn {
	flex-shrink: 0;
	margin: 0 !important;
	white-space: nowrap;
}

.nut-wc-page--order-received .woocommerce-order {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 920px;
	margin: 0 auto;
	font-family: 'Open Sans', sans-serif;
	color: #374151;
}

.nut-wc-page--order-received .nutr-order-receipt-download {
	max-width: 920px;
	margin: 0 auto 1.25rem;
}

/* Bandeau succès */
.nut-wc-page--order-received .woocommerce-thankyou-order-received {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	margin: 0;
	padding: 1.35rem 1.5rem;
	background: linear-gradient(135deg, #ecfdf3 0%, #f0fdf4 100%);
	border: 1px solid #bbf7d0;
	border-left: 4px solid #39B54A;
	border-radius: 14px;
	font-family: 'Quicksand', sans-serif;
	font-size: clamp(1.05rem, 2.5vw, 1.3rem);
	font-weight: 700;
	line-height: 1.4;
	color: #166534;
	text-align: center;
	box-shadow: 0 4px 20px rgba(57, 181, 74, 0.12);
}

.nut-wc-page--order-received .woocommerce-thankyou-order-received::before {
	content: '';
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	background: #39B54A;
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.15rem;
	box-shadow: 0 4px 12px rgba(57, 181, 74, 0.35);
}

/* Échec paiement */
.nut-wc-page--order-received .woocommerce-thankyou-order-failed {
	margin: 0;
	padding: 1.25rem 1.35rem;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-left: 4px solid #dc2626;
	border-radius: 14px;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.95rem;
	color: #991b1b;
	text-align: center;
}

.nut-wc-page--order-received .woocommerce-thankyou-order-failed-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin: 0;
}

/* Récapitulatif commande — grille */
.nut-wc-page--order-received .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.85rem;
	list-style: none;
	margin: 0;
	padding: 1.35rem 1.5rem;
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 14px;
	box-shadow: 0 4px 24px rgba(5, 10, 94, 0.06);
}

.nut-wc-page--order-received .woocommerce-order-overview li {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0;
	padding: 1rem 1.1rem;
	background: #f7f8fc;
	border: 1px solid #e8eaef;
	border-radius: 12px;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #6b7280;
	text-align: left;
}

.nut-wc-page--order-received .woocommerce-order-overview li strong {
	display: block;
	font-family: 'Quicksand', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	text-transform: none;
	letter-spacing: normal;
	color: #050A5E;
	line-height: 1.3;
}

.nut-wc-page--order-received .woocommerce-order-overview li.total strong {
	color: #39B54A;
	font-size: 1.15rem;
}

.nut-wc-page--order-received .woocommerce-order-overview li.method {
	background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
	border-color: #fecaca;
	border-left: 3px solid #e60000;
}

.nut-wc-page--order-received .woocommerce-order-overview li.method strong {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex-wrap: wrap;
}

/* Instructions Airtel Money sur page merci */
.nut-wc-page--order-received .nutr-airtel-money-instructions {
	margin: 0;
	padding: 1.65rem 1.75rem;
	text-align: left;
}

.nut-wc-page--order-received .nutr-airtel-money-instructions__header {
	margin-bottom: 1.5rem;
}

.nut-wc-page--order-received .nutr-airtel-money-instructions__logo {
	max-width: 200px;
	height: 56px;
}

.nut-wc-page--order-received .nutr-airtel-money-instructions__title {
	font-size: 1.3rem;
}

.nut-wc-page--order-received .nutr-airtel-money-instructions__meta-panel {
	padding: 1.25rem;
}

.nut-wc-page--order-received .nutr-airtel-money-instructions__meta-item--amount dd {
	font-size: 1.55rem !important;
}

.nut-wc-page--order-received .nutr-airtel-money-instructions__steps li {
	margin-bottom: 0.55rem;
}

.nut-wc-page--order-received .nutr-airtel-money-instructions__whatsapp {
	margin: 0;
	text-align: center;
}

/* Détails commande */
.nut-wc-page--order-received .woocommerce-order-details {
	margin: 0;
	padding: 1.5rem 1.65rem;
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 14px;
	box-shadow: 0 4px 24px rgba(5, 10, 94, 0.06);
}

.nut-wc-page--order-received .woocommerce-order-details__title {
	margin: 0 0 1.15rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid #f0f1f4;
	font-family: 'Quicksand', sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	color: #050A5E;
}

.nut-wc-page--order-received .woocommerce-table--order-details {
	width: 100%;
	margin: 0;
}

.nut-wc-page--order-received .woocommerce-table--order-details .product-name {
	font-weight: 600;
	color: #050A5E;
}

.nut-wc-page--order-received .woocommerce-table--order-details .product-name a {
	color: #050A5E;
	text-decoration: none;
	font-weight: 600;
}

.nut-wc-page--order-received .woocommerce-table--order-details .product-name a:hover {
	color: #39B54A;
}

.nut-wc-page--order-received .woocommerce-table--order-details .product-quantity {
	font-weight: 400;
	color: #6b7280;
	font-size: 0.88rem;
}

.nut-wc-page--order-received .woocommerce-table--order-details tfoot th {
	text-align: right;
	font-weight: 600;
	color: #6b7280;
	background: #f7f8fc;
}

.nut-wc-page--order-received .woocommerce-table--order-details tfoot td {
	font-weight: 700;
	color: #050A5E;
}

.nut-wc-page--order-received .woocommerce-table--order-details tfoot tr:last-child th,
.nut-wc-page--order-received .woocommerce-table--order-details tfoot tr:last-child td {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.05rem;
	color: #39B54A;
	background: #f0fdf4;
}

.nut-wc-page--order-received .woocommerce-table--order-details .order-actions-button {
	margin-right: 0.5rem;
	margin-top: 0.25rem;
}

/* Adresses client */
.nut-wc-page--order-received .woocommerce-customer-details {
	margin: 0;
	padding: 1.5rem 1.65rem;
	background: #fff;
	border: 1px solid #e8eaef;
	border-radius: 14px;
	box-shadow: 0 4px 24px rgba(5, 10, 94, 0.06);
}

.nut-wc-page--order-received .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
}

.nut-wc-page--order-received .woocommerce-column__title {
	margin: 0 0 0.75rem;
	font-family: 'Quicksand', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #050A5E;
}

.nut-wc-page--order-received .woocommerce-customer-details address {
	margin: 0;
	padding: 1rem 1.15rem;
	background: #f7f8fc;
	border: 1px solid #e8eaef;
	border-radius: 10px;
	font-style: normal;
	font-size: 0.92rem;
	line-height: 1.6;
	color: #374151;
}

.nut-wc-page--order-received .woocommerce-customer-details--phone,
.nut-wc-page--order-received .woocommerce-customer-details--email {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	color: #6b7280;
}

@media (max-width: 900px) {
	.nut-wc-page--order-received .woocommerce-order-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 540px) {
	.nut-wc-page--order-received .woocommerce-order-overview {
		grid-template-columns: 1fr;
		padding: 1.15rem;
	}

	.nut-wc-page--order-received .woocommerce-thankyou-order-received {
		flex-direction: column;
		padding: 1.25rem 1.15rem;
	}

	.nut-wc-page--order-received .woocommerce-columns--addresses {
		grid-template-columns: 1fr;
	}

	.nut-wc-page--order-received .woocommerce-order-details,
	.nut-wc-page--order-received .woocommerce-customer-details,
	.nut-wc-page--order-received .nutr-airtel-money-instructions {
		padding: 1.25rem 1.15rem;
	}

	.nut-wc-page--order-received table.shop_table thead {
		display: none;
	}

	.nut-wc-page--order-received .woocommerce-table--order-details tbody tr {
		display: block;
		padding: 0.85rem 0;
		border-bottom: 1px solid #f0f1f4;
	}

	.nut-wc-page--order-received .woocommerce-table--order-details tbody td {
		display: block;
		width: 100% !important;
		padding: 0.25rem 1rem !important;
		border: none !important;
		text-align: right;
	}

	.nut-wc-page--order-received .woocommerce-table--order-details tbody td::before {
		content: attr(data-title);
		float: left;
		font-weight: 600;
		color: #6b7280;
		font-size: 0.78rem;
		text-transform: uppercase;
	}
}

/* Panier vide */
.nut-wc-page .wc-block-cart__empty-cart,
.nut-wc-page .cart-empty {
	text-align: center;
	padding: 2rem 1rem;
	color: #6b7280;
	font-family: 'Open Sans', sans-serif;
}

.nut-wc-page .wc-block-cart__empty-cart__title {
	font-family: 'Quicksand', sans-serif;
	font-size: 1.25rem;
	color: #050A5E;
}

/* Footer pages WC */
body.nut-wc-page .nut-footer {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 !important;
	background: linear-gradient(165deg, #050A5E 0%, #030740 55%, #061160 100%);
}

body.nut-wc-page .nut-footer.wp-block-group {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Mode sombre — fond page sombre, cartes panier/commande toujours claires */
body.nut-dark .nut-wc-page__wrap {
	background: var(--nut-navy-dark, #030740);
}

body.nut-dark .nut-wc-breadcrumb__list {
	color: rgba(255, 255, 255, 0.55);
}

body.nut-dark .nut-wc-breadcrumb__item a {
	color: rgba(255, 255, 255, 0.88);
}

body.nut-dark .nut-wc-breadcrumb__item a:hover {
	color: var(--nut-green, #39B54A);
}

body.nut-dark .nut-wc-breadcrumb__item span[aria-current] {
	color: rgba(255, 255, 255, 0.65);
}

body.nut-dark .nut-wc-page__content {
	background: transparent;
	border: none;
	box-shadow: none;
}

/* Surfaces blanches (lisibilité formulaire & totaux) */
body.nut-dark.nut-wc-page--cart .wc-block-cart__main,
body.nut-dark.nut-wc-page--cart .wp-block-woocommerce-cart-totals-block,
body.nut-dark.nut-wc-page--checkout .wc-block-checkout__main,
body.nut-dark.nut-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block {
	background: #ffffff !important;
	border: 1px solid #e8eaef !important;
	color: #374151 !important;
	color-scheme: light;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

body.nut-dark.nut-wc-page--cart table.wc-block-cart-items .wc-block-cart-items__row td {
	background: #ffffff !important;
	border-bottom-color: #f0f1f4 !important;
}

body.nut-dark.nut-wc-page--cart .wc-block-components-totals-coupon.wc-block-components-panel {
	background: #ffffff !important;
	border-color: #e8eaef !important;
	border-left-color: #39B54A !important;
}

body.nut-dark.nut-wc-page--cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
	background: #f7f8fc !important;
}

/* Empêcher l'héritage du mode sombre dans les cartes */
body.nut-dark.nut-wc-page--cart .wc-block-cart__main,
body.nut-dark.nut-wc-page--cart .wp-block-woocommerce-cart-totals-block {
	--nut-text: #1a1a1a;
}

body.nut-dark.nut-wc-page--cart .wc-block-cart__totals-title,
body.nut-dark.nut-wc-page--cart .wc-block-cart-item__product-name,
body.nut-dark.nut-wc-page--cart .wc-block-cart-item__total,
body.nut-dark.nut-wc-page--cart .wc-block-components-totals-item__label,
body.nut-dark.nut-wc-page--cart .wc-block-components-totals-item__value,
body.nut-dark.nut-wc-page--cart .wc-block-components-totals-footer-item,
body.nut-dark.nut-wc-page--cart .wc-block-components-panel__button,
body.nut-dark.nut-wc-page--cart .wc-block-components-formatted-money-amount {
	color: #050A5E !important;
}

body.nut-dark.nut-wc-page--cart .wc-block-cart-item__product-metadata,
body.nut-dark.nut-wc-page--cart .wc-block-cart-item__product-price-value,
body.nut-dark.nut-wc-page--cart .wc-block-components-totals-item {
	color: #6b7280 !important;
}

body.nut-dark.nut-wc-page--cart .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
	color: #39B54A !important;
}

body.nut-dark.nut-wc-page--cart .wc-block-cart__main a {
	color: #050A5E;
}

body.nut-dark.nut-wc-page--cart .wc-block-cart__main a:hover {
	color: #39B54A;
}

body.nut-dark.nut-wc-page--checkout .wc-block-checkout__main,
body.nut-dark.nut-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block {
	color: #374151 !important;
	--nut-text: #1a1a1a;
}

body.nut-dark.nut-wc-page--checkout .wc-block-components-checkout-step__title,
body.nut-dark.nut-wc-page--checkout .wc-block-components-title,
body.nut-dark.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input.is-active label,
body.nut-dark.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input:focus-within label,
body.nut-dark.nut-wc-page--checkout .wc-block-checkout__main .wc-blocks-components-select__label,
body.nut-dark.nut-wc-page--checkout .wc-block-components-order-summary-item .wc-block-components-product-name,
body.nut-dark.nut-wc-page--checkout .wc-block-components-totals-item__label,
body.nut-dark.nut-wc-page--checkout .wc-block-components-totals-item__value,
body.nut-dark.nut-wc-page--checkout .wc-block-components-totals-footer-item,
body.nut-dark.nut-wc-page--checkout .wc-block-components-panel__button,
body.nut-dark.nut-wc-page--checkout .wc-block-components-formatted-money-amount {
	color: #050A5E !important;
}

body.nut-dark.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input input,
body.nut-dark.nut-wc-page--checkout .wc-block-checkout__main .wc-blocks-components-select__select {
	color: #050A5E !important;
	background: #fff !important;
}

body.nut-dark.nut-wc-page--checkout .wc-block-checkout__main .wc-block-components-text-input label {
	color: #6b7280 !important;
}

body.nut-dark.nut-wc-page--checkout .wc-block-components-totals-item {
	color: #6b7280 !important;
}

body.nut-dark.nut-wc-page--checkout .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
	color: #39B54A !important;
}

body.nut-dark.nut-wc-page--checkout .wc-block-components-totals-coupon.wc-block-components-panel {
	background: #ffffff !important;
	border-color: #e8eaef !important;
	border-left-color: #39B54A !important;
}

body.nut-dark.nut-wc-page--checkout .wc-block-components-totals-coupon .wc-block-components-panel__button {
	background: #f7f8fc !important;
}

body.nut-dark.nut-wc-page--checkout .wc-block-checkout__main a {
	color: #050A5E;
}

body.nut-dark.nut-wc-page--checkout .wc-block-checkout__main a:hover {
	color: #39B54A;
}

/* Confirmation — cartes claires sur fond sombre */
body.nut-dark.nut-wc-page--order-received .woocommerce-thankyou-order-received {
	background: linear-gradient(135deg, #ecfdf3 0%, #f0fdf4 100%) !important;
	border-color: #bbf7d0 !important;
	color: #166534 !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

body.nut-dark.nut-wc-page--order-received .woocommerce-order-overview,
body.nut-dark.nut-wc-page--order-received .woocommerce-order-details,
body.nut-dark.nut-wc-page--order-received .woocommerce-customer-details,
body.nut-dark.nut-wc-page--order-received .nutr-airtel-money-instructions {
	background: #ffffff !important;
	border-color: #e8eaef !important;
	color: #374151 !important;
	color-scheme: light;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

body.nut-dark.nut-wc-page--order-received .woocommerce-order-overview li {
	background: #f7f8fc !important;
	border-color: #e8eaef !important;
	color: #6b7280 !important;
}

body.nut-dark.nut-wc-page--order-received .woocommerce-order-overview li strong,
body.nut-dark.nut-wc-page--order-received .woocommerce-order-details__title,
body.nut-dark.nut-wc-page--order-received .woocommerce-column__title,
body.nut-dark.nut-wc-page--order-received .nutr-airtel-money-instructions__title,
body.nut-dark.nut-wc-page--order-received .nutr-airtel-money-instructions__meta dd,
body.nut-dark.nut-wc-page--order-received .woocommerce-table--order-details .product-name,
body.nut-dark.nut-wc-page--order-received .woocommerce-table--order-details tfoot td {
	color: #050A5E !important;
}

body.nut-dark.nut-wc-page--order-received .woocommerce-order-overview li.total strong,
body.nut-dark.nut-wc-page--order-received .woocommerce-table--order-details tfoot tr:last-child th,
body.nut-dark.nut-wc-page--order-received .woocommerce-table--order-details tfoot tr:last-child td {
	color: #39B54A !important;
}

body.nut-dark.nut-wc-page--order-received .woocommerce-customer-details address {
	background: #f7f8fc !important;
	border-color: #e8eaef !important;
	color: #374151 !important;
}

body.nut-dark.nut-wc-page--order-received .nutr-airtel-money-instructions__meta-item,
body.nut-dark.nut-wc-page--order-received .nutr-airtel-money-instructions__meta-panel {
	background: #ffffff !important;
	border-color: #e8eaef !important;
}

body.nut-dark.nut-wc-page--order-received .nutr-airtel-money-instructions__meta-item--amount {
	background: linear-gradient(135deg, #ecfdf3 0%, #f0fdf4 100%) !important;
}

body.nut-dark.nut-wc-page--order-received .nutr-airtel-money-instructions__meta-item--reference {
	background: linear-gradient(135deg, #050A5E 0%, #0a1580 100%) !important;
	border-color: #050A5E !important;
}

body.nut-dark.nut-wc-page--order-received .nutr-airtel-money-instructions__delivery {
	background: #eff6ff !important;
	border-color: #bfdbfe !important;
	color: #1e3a5f !important;
}

body.nut-dark.nut-wc-page--account .nut-wc-page__content {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
	.nut-wc-page__content {
		padding: 1rem;
		border-radius: 10px;
	}

	.nut-wc-page .woocommerce-MyAccount-navigation ul {
		flex-direction: column;
	}

	.nut-wc-page--cart .wc-block-cart-item__wrap {
		flex-direction: column;
		align-items: flex-start;
	}

	.nut-wc-page--cart table.wc-block-cart-items .wc-block-cart-items__header {
		display: none;
	}

	.nut-wc-page--cart table.wc-block-cart-items .wc-block-cart-items__row td {
		display: block;
		width: 100% !important;
		padding: 0.75rem 1rem !important;
	}

	.nut-wc-page--cart .wc-block-cart-item__total {
		justify-content: flex-start;
		padding-top: 0 !important;
	}

	.nut-wc-page--checkout .wc-block-components-address-form {
		grid-template-columns: 1fr !important;
	}

	.nut-wc-page--checkout .wc-block-components-address-form #billing-first_name-field,
	.nut-wc-page--checkout .wc-block-components-address-form #billing-last_name-field,
	.nut-wc-page--checkout .wc-block-components-address-form #shipping-first_name-field,
	.nut-wc-page--checkout .wc-block-components-address-form #shipping-last_name-field {
		grid-column: 1 / -1;
	}

	.nut-wc-page--checkout .wc-block-checkout__main,
	.nut-wc-page--checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.nut-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block {
		padding: 1.35rem 1.25rem !important;
	}

	.nut-wc-page--checkout .wc-block-checkout__sidebar,
	.nut-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block {
		max-width: none !important;
		justify-self: stretch;
	}
}
