/* Boutons PayPal express : panier, haut de la commande, mini-panier, fiche produit */
.wp-block-woocommerce-cart-express-payment-block,
.wp-block-woocommerce-checkout-express-payment-block,
.wc-block-components-express-payment,
.wc-block-components-express-payment-continue-rule,
#ppc-button-minicart,
.single-product .ppc-button-wrapper { display: none !important; }

/* Textes du panier et de la commande */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout { font-size: 20px !important; line-height: 1.5; }

body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) :is(
	p, li, label, a, td, th, span, input, select, textarea, address,
	.wc-block-components-product-name,
	.wc-block-components-product-price,
	.wc-block-components-product-details,
	.wc-block-components-totals-item,
	.wc-block-components-radio-control__label,
	.wc-block-components-checkbox__label,
	.wc-block-components-address-card
) { font-size: 20px !important; }

/* Libellés flottants des champs de saisie */
body .wp-block-woocommerce-checkout .wc-block-components-text-input input { min-height: 62px; padding-top: 24px !important; }
body .wp-block-woocommerce-checkout .wc-block-components-text-input label { font-size: 18px !important; }
body .wp-block-woocommerce-checkout .wc-block-components-text-input.is-active label { font-size: 18px !important; transform: translateY(4px) scale(.85) !important; }

/* Titres */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) :is(h2, .wc-block-components-title) { font-size: 28px !important; }
body .wp-block-woocommerce-cart :is(.wc-block-cart__totals-title, th, th span) { font-size: 18px !important; }

/* Total */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-totals-footer-item :is(span, div) { font-size: 26px !important; font-weight: 700; }

/* Pastille quantité sur la vignette : reste compacte */
body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__quantity span { font-size: 14px !important; }

/* ===== Valider la commande / Commander : même style que « Ajouter au panier » ===== */
body .wp-block-woocommerce-cart a.wc-block-cart__submit-button,
body .wp-block-woocommerce-checkout button.wc-block-components-checkout-place-order-button,
body [class*="pa-woo-mc"] a[class*="checkout"] {
	display: flex !important; align-items: center; justify-content: center;
	padding: .9rem 1rem !important;
	border: 1px solid #2c3e50 !important; border-radius: 40px !important;
	background: transparent !important; color: #2c3e50 !important; box-shadow: none !important;
	font-family: 'Montserrat', sans-serif !important; font-size: 15px !important; font-weight: 500 !important;
	letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none !important; line-height: 1.3;
	transition: all .25s ease;
}
body .wp-block-woocommerce-cart a.wc-block-cart__submit-button *,
body .wp-block-woocommerce-checkout button.wc-block-components-checkout-place-order-button *,
body [class*="pa-woo-mc"] a[class*="checkout"] * {
	font-family: inherit !important; font-size: 15px !important; font-weight: inherit !important; color: inherit !important;
}
body .wp-block-woocommerce-cart a.wc-block-cart__submit-button:hover,
body .wp-block-woocommerce-checkout button.wc-block-components-checkout-place-order-button:hover,
body [class*="pa-woo-mc"] a[class*="checkout"]:hover {
	background: var(--e-global-color-e4f1ab6, #6b3fa0) !important;
	border-color: var(--e-global-color-e4f1ab6, #6b3fa0) !important;
	color: #fff !important;
}
.wc-block-components-panel__button {
    font-size: 20px;
}
.wc-block-components-product-metadata__description {
    display: none;
}
span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value {
    display: none;
}
a.wc-block-components-product-name{
    font-weight: 500;
    text-decoration: none;
    color: var(--e-global-color-e4f1ab6);
}
.wc-block-components-text-input.wc-block-components-address-form__email.is-active {
    line-height: 77px;
}
/* Réaffiche le prix de chaque produit, à droite (page validation et panier) */
body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__total-price span.wc-block-components-product-price__value,
body .wp-block-woocommerce-cart .wc-block-cart-item__total span.wc-block-components-product-price__value {
	display: inline-block !important;
	font-size: 20px !important;
	white-space: nowrap;
}

/* Masque le prix répété sous le nom du produit : seul celui de droite reste */
body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
body .wp-block-woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-price,
body .wp-block-woocommerce-cart .wc-block-cart-item__prices {
	display: none !important;
}

/* Frais de port : libellé à gauche, prix à droite */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-totals-shipping .wc-block-components-totals-item {
	display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-items: flex-start; column-gap: 12px;
}
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-totals-shipping .wc-block-components-totals-item__label {
	flex: 1 1 0 !important; min-width: 0;
}
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-totals-shipping .wc-block-components-totals-item__value {
	flex: 0 0 auto !important; margin-left: auto !important; text-align: right; white-space: nowrap;
}
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) .wc-block-components-totals-shipping .wc-block-components-totals-item__description {
	flex: 0 0 100%;
}

/* Bouton « Appliquer » du code promo : même style que les autres */
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) button.wc-block-components-totals-coupon__button {
	display: flex !important; align-items: center; justify-content: center;
	padding: .8rem 1.4rem !important;
	border: 1px solid #2c3e50 !important; border-radius: 40px !important;
	background: transparent !important; color: #2c3e50 !important; box-shadow: none !important;
	font-family: 'Montserrat', sans-serif !important; font-weight: 500 !important;
	letter-spacing: 2.5px; text-transform: uppercase; line-height: 1.3;
	transition: all .25s ease;
}
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) button.wc-block-components-totals-coupon__button span {
	font-family: inherit !important; font-size: 15px !important; font-weight: inherit !important; color: inherit !important;
}
body :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) button.wc-block-components-totals-coupon__button:not(:disabled):hover {
	background: var(--e-global-color-e4f1ab6, #6b3fa0) !important;
	border-color: var(--e-global-color-e4f1ab6, #6b3fa0) !important;
	color: #fff !important;
}
/* Centrage du bloc panier */
.woocommerce-cart .wp-block-woocommerce-cart {
	margin-left: auto !important;
	margin-right: auto !important;
	left: auto !important;
	transform: none !important;
	max-width: 1200px;
	width: 100%;
}