/*
 Feuille WooCommerce de Les Nouvelles Pailles (boutique, fiche produit, panier, mini-panier,
 Mon compte, page Commande, page merci, extensions moom-*).
 Chargée juste après style.css (functions.php) : les couleurs et polices viennent des variables :root de style.css.
*/

/* Règles WooCommerce isolées (reprises du haut de style.css) */
img.size-shop_single{border-radius:5px;}
.wc-block-components-notice-banner.is-success{
    display: none !important;
	width: fit-content;
	position:fixed;    
	right: 10px;
    z-index: 10;
}
.woocommerce .woocommerce-error{background-color: #b81c23 !important;}


/* WOOCOMMERCE — règles générales reprises de MOOM */


.row_module{
padding:0px !important; margin:0px;	
	
}

.grid-item-cont .et_pb_button {
    display: inherit;
}

.woocommerce-store-notice, p.demo_store,  p.demo_store a {
	color : #000;
	background-color: #FFF265;
	padding-bottom :20px!important;
	font-size: 21px;
	
}

 .grid-posts .loop-grid {
    grid-row-gap: 50px!important;
    grid-column-gap: 35px!important;
}

a.button.out-of-stock {
    opacity: 0.6;
}


.woocommerce ul#shipping_method li label {
	font-weight: bold;}

.free-liv{background-color:var(--vert); font-weight: 600!important; line-height:1.2em; padding: 1px 2px;}

.term-item { margin: 0px !important}

.woocommerce-Price-amount.amount {
    font-weight: 600;
    margin-right: 4px; color: black; font-size:22px;
}

.woocommerce-message { display: none;}

#et-top-navigation .et-cart-info {
    margin: 0px 0px 0px 12px;
}

.cart-icon {
    position: initial;
    top: 0px;
    right: 0px !important;
    padding: 0px;
    overflow: hidden;
    margin-bottom: 0px !important;
}


.wc-stripe-elements-field, .wc-stripe-iban-element-field {
    border: 1px solid #ddd;
    margin: 0px 0;
    padding: 16px;
    background-color: var(--blanc);
    outline: 0;
    border-radius: 5px;
}

#payment {
    max-width: 512px;
    margin: auto;
}


.woocommerce-terms-and-conditions-wrapper {
    font-size: 12px;
    line-height: 1.4em;
}

#add_payment_method #payment div.payment_box .form-row, .woocommerce-cart #payment div.payment_box .form-row, .woocommerce-checkout #payment div.payment_box .form-row {
    margin: 0;
	padding:5px;
}


.woocommerce-price-suffix {
	font-size: 20px;
}


p.stock.available-on-backorder {
    font-size: 19px;
    font-weight: 600;
}

li.mini_cart_item p.backorder_notification {
    font-size: 13px;
    font-weight: 200;
    margin-top: 6px;
    text-transform: none;
}


li.mini_cart_item{
	text-align:left;
}


a.button.product_type_simple.ajax_add_to_cart {
    text-align: center;
}


 .continueshopping a, button.woocommerce-button.button.woocommerce-form-login__submit {
	    background-color: var(--vert)!important; border: 1px solid var(--vert)!important;

}

 .continueshopping a:hover, button.woocommerce-button.button.woocommerce-form-login__submit:hover {
    border: 1px solid var(--vert)!important;
    text-align: center;
	transition:0.3s;
background:white !important;
}


button.single_add_to_cart_button.button.alt.ajax_add_to_cart {
    height: 50px !important;
    font-size: 19px !important;
	background-color: var(--vert)!important; 
	border: 1px solid var(--vert)!important;

}

 button.single_add_to_cart_button.button.alt.ajax_add_to_cart:hover {
	background-color: var(--beige)!important; 
	border: 1px solid var(--vert)!important;

}

.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] {
    font-size: 18px;
    font-weight: 600;
	border-radius: 5px;
	opacity:0.3;
}

.woocommerce-cart table.cart td.actions .coupon .input-text { padding : 7px; background: transparent; border: 1px solid black; color: black !important;}

@media (max-width: 980px){
.woocommerce-page table.cart td.actions .coupon .button{ width:100%;}


	

	

	
   


}


.woocommerce-mini-cart-item.mini_cart_item .quantity{ display:flex!important;}

.cart-link-span {color: var(--vert);}


.woocommerce-product-details__short-description h3 {
    font-size: 25px;
    line-height: 1.2em;
}

.woocommerce-product-details__short-description p {
    font-size: 20px;
	line-height: 1.3em;padding-bottom:8px;}

.woocommerce .quantity input.qty{ padding:2px 10px !important;background: transparent; border: 1px solid black; color:black;}

.woocommerce-checkout #page-container form .form-row input[type=text], .woocommerce-checkout #page-container form .form-row select, .woocommerce-checkout #page-container form .form-row textarea , .woocommerce-checkout #page-container form .form-row input[type=tel] , .woocommerce-checkout #page-container form .form-row input[type=email] ,.woocommerce-checkout #page-container form .form-row input[type=password]{
    padding: 10px !important;
}

@media only screen and (min-device-width : 768px) and (min-width : 1224px) {
.woocommerce form .form-row-first, .woocommerce form .form-row-last , .woocommerce form #billing_postcode_field , .woocommerce form #billing_city_field , .woocommerce form #shipping_city_field , .woocommerce form #shipping_postcode_field{
	width: 49%!important; clear:inherit;}

 .woocommerce form #billing_city_field ,  .woocommerce form #shipping_city_field{
	float:left!important;}

.woocommerce form #billing_postcode_field , .woocommerce form #shipping_postcode_field{ float:right !important;}

}

.woocommerce-checkout #payment div.payment_box {
    padding: 0;
    margin: 0px;
}

fieldset#wc-stripe-cc-form label {
    text-transform: inherit;
    font-weight: 400;
    color: black;
}

tr.cart_item td {
    padding: 7px !important;
}

tfoot th, tfoot td {
    padding: 7px !important;
}

.woocommerce-info {
    font-style: normal;
    font-weight: 600;
    font-size: 27px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   BOUTIQUE — gabarit maison woocommerce/archive-product.php (boutique + catégories)
   ========================================================= */
.moom-boutique {
	background-color: var(--beige)!important;
	padding: 120px 0 60px;
}

.moom-boutique{background-color: #fffbf4 !important;}
.moom-boutique__inner { width: 80%; max-width: 1200px; margin: 0 auto; }

/* En-tête : titre + filtre */
.moom-boutique__entete { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 40px; margin-bottom: 20px; }
.moom-boutique__titre { flex: 1 1 400px; margin: 0; padding: 0 0 10px; }
.moom-boutique__filtre { flex: 0 1 300px; }

/* Bandeau promo */
.moom-boutique__bandeau { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 40px; padding: 0; }
.moom-boutique__bandeau li {
	flex: 1 1 auto; min-width: 0; padding: 10px 15px; text-align: center;
	font-family: var(--police-texte); font-size: 18px; font-weight: bold; line-height: 1.2em; color: var(--main); margin:0px;
}

/* Grille */
.moom-grille {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
	list-style: none; margin: 0; padding: 0;
}
.moom-panier__complementaires { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .moom-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .moom-grille { grid-template-columns: repeat(1, minmax(0, 1fr)); } }

/* Carte */
.moom-carte { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; }
.moom-carte__image { display: block; margin-bottom: 20px; box-shadow: -3px -3px 0 3px var(--orange); border-radius:5px; overflow: hidden; }
.moom-carte__image img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.moom-carte__titre { margin: 0; padding: 0; font-size: 24px; line-height: 1.1em; color: #000; }
.moom-carte__titre a { color: inherit; text-decoration: none; }
.moom-carte__attributs { margin: 0; padding: 0; font-size: 20px; line-height: 1.2em; }
.moom-carte__prix { margin: 0 0 15px; padding: 0; }
.moom-carte__prix .woocommerce-Price-amount { font-size: 20px; font-weight: 600; color: var(--main); }
.moom-carte__prix .woocommerce-price-suffix { font-size: 18px; color: #808080; }
.moom-carte__bouton {
	display: block; margin-top: auto; padding: 10px 12px; text-align: center; text-decoration: none;
	border: 2px solid var(--vert); background-color:transparent; color: var(--main);
	font-size: 22px; font-weight: bold ;transition: background-color .15s; border-radius: 5px;
}
.moom-carte__bouton:hover { background-color: var(--vert); color: var(--main); }
.moom-carte .added_to_cart { display: none; } /* lien « Voir le panier » ajouté par WooCommerce : doublon du mini-panier */

/* Filtre catégories */
.moom-filtre select {
	width: 100%; padding: 16px; border: 1px solid var(--main); border-radius: 5px;
	background-color: var(--beige)!important; color: var(--main); font-size: 22px; cursor: pointer;
}

.moom-boutique .woocommerce-pagination { margin-top: 40px; }

/* =========================================================
   FICHE PRODUIT — gabarit maison woocommerce/single-product.php
   Variantes : .moom-produit--pailles / --couverts / --sans-degressif
   Les cartes « Produits similaires » reprennent le style de la boutique (.moom-grille, .moom-carte).
   ========================================================= */
.moom-produit {
	background-color: var(--beige)!important;
	padding: 120px 0 60px;
}
.moom-produit__inner { width: 80%; max-width: 1200px; margin: 0 auto; }

/* Haut : galerie + résumé */
.moom-produit__haut { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 980px) { .moom-produit__haut { grid-template-columns: 1fr; gap: 30px; } }

.moom-produit .woocommerce-breadcrumb { margin: 0 0 20px; font-size: 18px; }
.moom-produit .woocommerce-breadcrumb a { color: var(--main); text-decoration: underline; }
.moom-produit .woocommerce-product-gallery { position: relative; width: 100% !important; float: none !important; margin: 0 !important; }
.moom-produit .woocommerce-product-gallery img { display: block; width: 100%; height: auto; }
.moom-produit .flex-control-thumbs { display: flex; gap: 10px; list-style: none; margin: 10px 0 0; padding: 0; }
.moom-produit .flex-control-thumbs li { flex: 0 0 calc(25% - 7.5px); }
.moom-produit .flex-control-thumbs img { cursor: pointer; opacity: .6; }
.moom-produit .flex-control-thumbs img.flex-active,
.moom-produit .flex-control-thumbs img:hover { opacity: 1; }
.moom-produit .woocommerce-product-gallery__trigger { position: absolute; top: 15px; right: 15px; z-index: 9; }

.moom-produit__titre { margin: 0 0 10px; padding: 0; font-size: 48px; line-height: 1.05em; }
.moom-produit__attributs { margin: 0 0 15px; padding: 0; font-size: 22px; }
.moom-produit__prix { margin: 0 0 20px; padding: 0; }
.moom-produit__prix .woocommerce-Price-amount { font-size: 28px; color: var(--main); }
.moom-produit__prix .woocommerce-price-suffix { font-size: 20px; color: #808080; }

.moom-produit__badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 30px; padding: 0; font-size:16px;}
.moom-produit__badges li { padding: 2px; font-weight: 600; line-height: 1.2em; margin:0px;}
.moom-produit__badges a { color: #000; text-decoration: underline; }

.moom-produit__intro { margin-bottom: 20px; }
.moom-produit div.product .stock { margin: 0 0 20px; font-family: var(--police-titres); font-weight: var(--graisse-titres); font-size: 26px; text-transform: uppercase; color: var(--main); }
.moom-produit div.product .stock.out-of-stock { color: var(--orange); }
.moom-produit div.product .stock.available-on-backorder { font-size: 26px; font-weight: 900; color: var(--orange); } /* précommande */

/* Ajout au panier */
.moom-produit__achat form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 30px; margin: 0 0 20px; }
.moom-produit div.product .moom-produit__achat form.cart::before,
.moom-produit div.product .moom-produit__achat form.cart::after { display: none; } /* clearfix WooCommerce : inutile en flex, provoque un retour à la ligne */
.moom-produit__achat .quantity, .moom-produit__achat .single_add_to_cart_button { float: none; margin: 0; }
.moom-produit__achat .quantity input.qty { width: 120px; height: 56px; padding: 0 10px; border: 1px solid #000; background: transparent; font-size: 20px; text-align: center; }

.moom-produit__note { margin: 0; font-size: 18px; line-height: 1.2em; color: var(--rouge); }
.moom-produit__note a { color: inherit; text-decoration: underline; }

/* Onglets + logo */
.moom-produit__infos { margin-top: 60px; }
.moom-produit__infos--logo { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 767px) { .moom-produit__infos--logo { grid-template-columns: 1fr; } }
.moom-produit__logo { display: block; width: 160px; height: auto; justify-self: end; margin-top: 20px; }
/* Onglets — même style que l'ancien site : texte gras souligné orange, actif en orange.
   Préfixe « body.woocommerce .moom-produit div.product » pour passer devant les styles d'onglets de WooCommerce et de Divi.
   Les quelques !important répondent aux !important du CSS WooCommerce de Divi (couleur, marges internes, bordure des onglets). */

body.woocommerce .moom-produit div.product .woocommerce-tabs { margin: 0 0 45px; padding: 0; border: 0; }
body.woocommerce .moom-produit div.product .woocommerce-tabs ul.tabs {
	display: flex; flex-wrap: wrap; gap: 0; list-style: none;
	margin: 0; padding: 2px 0 0; border: 0; background: none; overflow: visible;
}
body.woocommerce .moom-produit div.product .woocommerce-tabs ul.tabs::before,
body.woocommerce .moom-produit div.product .woocommerce-tabs ul.tabs::after,
body.woocommerce .moom-produit div.product .woocommerce-tabs ul.tabs li::before,
body.woocommerce .moom-produit div.product .woocommerce-tabs ul.tabs li::after { display: none; }
body.woocommerce .moom-produit div.product .woocommerce-tabs ul.tabs li {
	margin: 0; padding: 0; border: 0 !important; border-radius: 0; background: none;
}
body.woocommerce .moom-produit div.product .woocommerce-tabs ul.tabs li a {
	display: inline-block; margin: 0 5px; padding: 5px !important;
	border-bottom: 2px solid var(--bleu);
	color: var(--main) !important; font-size: 18px; font-weight: 700; line-height: 1.2em; text-decoration: none;
}
body.woocommerce .moom-produit div.product .woocommerce-tabs ul.tabs li:first-child a { margin-left: 0; }
body.woocommerce .moom-produit div.product .woocommerce-tabs ul.tabs li.active a { color: var(--bleu) !important; background: none; }
body.woocommerce .moom-produit div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--bleu) !important; }
body.woocommerce .moom-produit div.product .woocommerce-tabs .panel { margin: 0; padding: 30px 0; border: 0; background: none; box-shadow: none; }
body.woocommerce .moom-produit div.product .woocommerce-tabs .panel > h2:first-child { display: none; } /* titre répété par WooCommerce */

/* Produits similaires et avis */
.moom-produit__similaires { margin-top: 80px; }
.moom-produit__sous-titre { margin: 0 0 40px; padding: 0; font-size: 40px; }
.moom-produit__avis { margin-top: 80px;background-color: var(--bleu);padding: 40px;}
.moom-produit__avis-titre { width: 95%; margin: 0 auto 20px; padding: 0; text-align: center; font-size: 32px; line-height: 1.2em; color: var(--main); }

/* =========================================================
   PANIER — gabarits maison woocommerce/moom-page-panier.php, cart/cart.php, cart/cart-empty.php
   Préfixe « body.woocommerce-cart .moom-panier » pour passer devant le CSS WooCommerce de Divi.
   ========================================================= */
.moom-panier {
	background-color: var(--beige)!important;
	padding: 120px 0 80px;
}
.moom-panier__inner { width: 80%; max-width: 1200px; margin: 0 auto; }
.moom-panier__titre { margin: 0 0 50px; padding: 0; }
.moom-panier__entete-vide { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 15px 30px; margin: -30px 0 40px; }
.moom-panier__sous-titre { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; }
@media (max-width: 767px) { .moom-panier__entete-vide { flex-wrap: wrap; } }
.moom-panier__bouton-boutique {
	flex: 0 0 auto; padding: 12px 30px; border: 1px solid var(--rose);
	background: transparent; color: #000; font-size: 20px; text-decoration: none; transition: background-color .15s;
}
.moom-panier__bouton-boutique:hover { background: var(--vert); color: #000; }

/* Bandeau promo (même rendu que la boutique) */
.moom-bandeau { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 40px; padding: 0; }
.moom-bandeau li {
	flex: 1 1 auto; min-width: 0; padding: 10px 15px; text-align: center;
	font-family: var(--police-titres); font-weight: var(--graisse-titres); font-size: 18px; line-height: 1.2em; color: var(--main); margin:0px; font-style: italic;
}
.moom-bandeau li u { text-decoration: underline; }

/* Deux colonnes : tableau + totaux */
.moom-panier__grille { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 40px; align-items: start; }
@media (max-width: 1100px) { .moom-panier__grille { grid-template-columns: 1fr; } }

/* Tableau des produits */
body.woocommerce-cart .moom-panier table.shop_table {
	width: 100%; margin: 0; border: 1px solid var(--main); border-radius: 4px; border-collapse: separate; border-spacing: 0; background: none;
}
body.woocommerce-cart .moom-panier table.shop_table th,
body.woocommerce-cart .moom-panier table.shop_table td {
	padding: 14px 12px; border: 0; border-top: 1px solid var(--main); vertical-align: middle; font-size: 22px; color: #000;
}
body.woocommerce-cart .moom-panier table.shop_table thead th { border-top: 0; font-weight: 600; text-align: left; }
body.woocommerce-cart .moom-panier table.shop_table .product-thumbnail { width: 60px; }
body.woocommerce-cart .moom-panier table.shop_table .product-thumbnail img { width: 40px; height: auto; display: block; }
body.woocommerce-cart .moom-panier table.shop_table .product-name a { color: var(--rose); text-decoration: none; }
body.woocommerce-cart .moom-panier .moom-unites { color: #000; }
body.woocommerce-cart .moom-panier table.shop_table .product-price { font-weight: 600; }
body.woocommerce-cart .moom-panier table.shop_table .product-subtotal { font-weight: 600; white-space: nowrap; }
body.woocommerce-cart .moom-panier table.shop_table .product-price .woocommerce-price-suffix { font-size: inherit; color: inherit; }
body.woocommerce-cart .moom-panier table.shop_table .product-price .woocommerce-Price-amount { font-size: inherit; }
body.woocommerce-cart .moom-panier a.remove {
	display: inline-block; width: auto; height: auto; border-radius: 0; background: none !important;
	color: var(--rouge) !important; font-size: 26px; font-weight: 400; line-height: 1; text-decoration: none;
}
body.woocommerce-cart .moom-panier .quantity .qty { width: 90px; height: 42px; padding: 0 8px; border: 1px solid #000; background: transparent; font-size: 18px; text-align: center; }

/* Code promo + mise à jour */
body.woocommerce-cart .moom-panier table.shop_table td.actions { padding: 12px 14px; }
body.woocommerce-cart .moom-panier td.actions { display: table-cell; }
body.woocommerce-cart .moom-panier td.actions .coupon { display: flex; flex-wrap: wrap; gap: 12px; float: left; }
body.woocommerce-cart .moom-panier td.actions .coupon .input-text {
	width: 180px; height: 50px; margin: 0; padding: 0 10px; border: 1px solid #000; border-radius: 0; background: transparent; font-size: 18px;
}
body.woocommerce-cart .moom-panier td.actions .button {
	height: 50px; margin: 0; padding: 0 22px; border: 1px solid var(--rose); border-radius: 0;
	background: transparent; color: #000; font-size: 20px; font-weight: 500; line-height: 1;
}
body.woocommerce-cart .moom-panier td.actions .button:hover { background: var(--vert); }
body.woocommerce-cart .moom-panier td.actions .button::after { display: none; }
body.woocommerce-cart .moom-panier td.actions .moom-panier__maj { float: right; }
body.woocommerce-cart .moom-panier td.actions .moom-panier__maj:disabled { opacity: .45; cursor: default; background: none; }

.moom-panier__precision { margin: 30px 0 10px; font-size: 18px; }
.moom-panier__note-livraison { margin: 0 0 50px; font-size: 18px; line-height: 1.3em; color: var(--rouge); }
.moom-panier__note-livraison a { color: inherit; text-decoration: underline; }
/* Prix normal barré quand la remise dégressive s'applique (panier, mini-panier, page Commande) */
del.moom-prix-normal { color: #808080; font-weight: 400; margin-right: 4px; }
del.moom-prix-normal .woocommerce-Price-amount { color: inherit; font-weight: inherit; }
.moom-panier__complementaires { margin-top: 0; }
 /* panier vide : 4 produits sur une ligne */

/* Encadré « Total panier » */
.moom-panier__totaux { position: sticky; top: 100px; }
@media (max-width: 1100px) { .moom-panier__totaux { position: static; } }
body.woocommerce-cart .moom-panier .cart-collaterals .cart_totals {
	float: none; width: 100%; padding: 20px 20px 40px; background: var(--blanc); box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
body.woocommerce-cart .moom-panier .cart_totals h2 { margin: 0 0 20px; padding: 0; font-size: 30px; }
body.woocommerce-cart .moom-panier .cart_totals table.shop_table { border-radius: 4px; }
body.woocommerce-cart .moom-panier .cart_totals table.shop_table th {font-family:var(--police-titres) ; font-weight: var(--graisse-titres); width: 35%; border-top: 1px solid var(--main); vertical-align: top; }
body.woocommerce-cart .moom-panier .cart_totals table.shop_table tr:first-child th,
body.woocommerce-cart .moom-panier .cart_totals table.shop_table tr:first-child td { border-top: 0; }
body.woocommerce-cart .moom-panier .cart_totals .woocommerce-shipping-destination { margin: 10px 0; }
body.woocommerce-cart .moom-panier .cart_totals .shipping-calculator-button { color: var(--rose); }
body.woocommerce-cart .moom-panier .wc-proceed-to-checkout { padding: 50px 0 0; }
body.woocommerce-cart .moom-panier .wc-proceed-to-checkout a.checkout-button {
	display: block; margin: 0 0 15px; padding: 12px 16px; 
	font-size: 22px; font-weight: 500; text-align: center;
}
body.woocommerce-cart .moom-panier .wc-proceed-to-checkout a.checkout-button:hover { background: var(--vert); }
body.woocommerce-cart .moom-panier .wc-proceed-to-checkout a.checkout-button::after { display: none; }

/* Mobile : tableau en lignes empilées (classes shop_table_responsive de WooCommerce) */
@media (max-width: 767px) {
	body.woocommerce-cart .moom-panier td.actions .coupon,
	body.woocommerce-cart .moom-panier td.actions .moom-panier__maj { float: none; width: 100%; }
	body.woocommerce-cart .moom-panier td.actions .coupon .input-text { flex: 1 1 140px; width: auto; }
	.moom-panier__totaux { position: static; }
}

/* =========================================================
   MON COMPTE — enveloppe woocommerce/moom-page-compte.php + myaccount/dashboard.php
   Le reste (menu, commandes, adresses, formulaires, connexion) garde les gabarits WooCommerce : habillage ici uniquement.
   Préfixe « body.woocommerce-account .moom-compte » pour passer devant le CSS WooCommerce de Divi.
   ========================================================= */
.moom-compte {
	background-color: var(--beige)!important;
	padding: 120px 0 80px;
}
.moom-compte__inner { width: 80%; max-width: 1200px; margin: 0 auto; }
.moom-compte__titre { margin: 0 0 40px; padding: 0; }
body.woocommerce-account .moom-compte h2,
body.woocommerce-account .moom-compte h3 { margin: 0 0 20px; padding: 0; }

/* Mise en page connectée : menu à gauche, contenu à droite */
body.woocommerce-account .moom-compte--connecte .woocommerce {
	display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 50px; align-items: start;
}
body.woocommerce-account .moom-compte .woocommerce::before,
body.woocommerce-account .moom-compte .woocommerce::after { display: none; }
@media (max-width: 980px) { body.woocommerce-account .moom-compte--connecte .woocommerce { grid-template-columns: 1fr; gap: 30px; } }

/* Menu du compte */
body.woocommerce-account .moom-compte .woocommerce-MyAccount-navigation {
	float: none; width: auto; position: sticky; top: 100px;
	background: var(--blanc); box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
@media (max-width: 980px) { body.woocommerce-account .moom-compte .woocommerce-MyAccount-navigation { position: static; } }
body.woocommerce-account .moom-compte .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 10px 0; }
body.woocommerce-account .moom-compte .woocommerce-MyAccount-navigation li { margin: 0; padding: 0; border: 0; }
body.woocommerce-account .moom-compte .woocommerce-MyAccount-navigation li a { font-family: var(--police-titres);
	display: block; padding: 12px 24px; border-left: 4px solid transparent;
	color: var(--main); font-size: 18px; font-weight: var(--graisse-titres); text-decoration: none;
}
body.woocommerce-account .moom-compte .woocommerce-MyAccount-navigation li a:hover {border-left-color: var(--vert); color: var(--main); }
body.woocommerce-account .moom-compte .woocommerce-MyAccount-navigation li.is-active a { border-left-color: var(--vert); color: var(--main); }
body.woocommerce-account .moom-compte .woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 10px; border-top: 1px solid var(--main); padding-top: 10px; }
body.woocommerce-account .moom-compte .woocommerce-MyAccount-navigation-link--customer-logout a { color: #000; }

body.woocommerce-account .moom-compte .woocommerce-MyAccount-content { float: none; width: auto; font-size: 18px; }

/* Tableau de bord */
.moom-compte__bonjour { margin: 0 0 30px; padding: 0; font-size: 24px; }
.moom-compte__raccourcis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px; list-style: none; margin: 0 0 30px; padding: 0; }
.moom-compte__raccourcis:has(> li:nth-child(4)) { grid-template-columns: repeat(2, 1fr); } /* 4 raccourcis (pro) : 2 × 2 plutôt que 3 + 1 */
@media (max-width: 767px) { .moom-compte__raccourcis, .moom-compte__raccourcis:has(> li:nth-child(4)) { grid-template-columns: 1fr; gap: 15px; } }
.moom-compte__raccourcis li { margin: 0; padding: 0; }
body.woocommerce-account .moom-compte .moom-compte__raccourcis a {
	display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 25px;
	background: var(--blanc); box-shadow: -3px -3px 0 3px var(--rose);
	color: #000; text-decoration: none; transition: transform .15s;
}
body.woocommerce-account .moom-compte .moom-compte__raccourcis a:hover { transform: translateY(-3px); }
.moom-compte__raccourci-titre { font-family: var(--police-titres); font-weight: var(--graisse-titres); font-size: 26px; text-transform: uppercase; line-height: 1.05em; color: var(--main); }
.moom-compte__raccourci-texte { font-size: 20px; line-height: 1.3em; }
.moom-compte__deconnexion { margin: 0; font-size: 20px; }

/* Tableaux (commandes, détail de commande) */
body.woocommerce-account .moom-compte table.shop_table {
	width: 100%; margin: 0 0 30px; border: 1px solid var(--main); border-radius: 4px; border-collapse: separate; border-spacing: 0; background: var(--blanc);
}
body.woocommerce-account .moom-compte table.shop_table th,
body.woocommerce-account .moom-compte table.shop_table td { padding: 14px 12px; border: 0; border-top: 1px solid var(--main); vertical-align: middle; font-size: 22px; color: #000; text-align: left; }
body.woocommerce-account .moom-compte table.shop_table thead th { border-top: 0; font-weight: 700; }
body.woocommerce-account .moom-compte table.shop_table tfoot th { font-weight: 700; }
body.woocommerce-account .moom-compte table.shop_table tr,
body.woocommerce-account .moom-compte table.shop_table th,
body.woocommerce-account .moom-compte table.shop_table td { background: transparent; }
body.woocommerce-account .moom-compte .woocommerce-MyAccount-content > p:first-child { margin-bottom: 30px; }
body.woocommerce-account .moom-compte .woocommerce-order-details,
body.woocommerce-account .moom-compte .woocommerce-customer-details { margin-bottom: 40px; }

/* Boutons */
body.woocommerce-account .moom-compte .button,
body.woocommerce-account .moom-compte button[type="submit"] {
	display: inline-block; margin: 0; padding: 12px 26px; border: 1px solid var(--main); border-radius: 5px;
	background: var(--main); color: var(--vert); font-size: 20px; font-weight: 500; line-height: 1.2; cursor: pointer;
}
body.woocommerce-account .moom-compte .button:hover,
body.woocommerce-account .moom-compte button[type="submit"]:hover { background: var(--vert); color: var(--main); }
body.woocommerce-account .moom-compte .button::after,
body.woocommerce-account .moom-compte button[type="submit"]::after { display: none; }
/* boutons dans les tableaux (Voir, Payer, Annuler…) : plus discrets */
body.woocommerce-account .moom-compte table.shop_table .button {
	padding: 6px 14px; border-color: var(--main); background: transparent; color: var(--main); font-size: 20px; margin: 2px 4px 2px 0;
}
body.woocommerce-account .moom-compte table.shop_table .button:hover { background: var(--vert); color: var(--main); }

/* Formulaires */
body.woocommerce-account .moom-compte form .form-row { margin: 0 0 18px; padding: 0; }
body.woocommerce-account .moom-compte form .form-row label { display: block; margin-bottom: 6px; font-size: 20px; font-weight: 600; color: #000; }
body.woocommerce-account .moom-compte form .form-row .required { color: var(--rose); text-decoration: none; }
body.woocommerce-account .moom-compte form .input-text,
body.woocommerce-account .moom-compte form select,
body.woocommerce-account .moom-compte form textarea,
body.woocommerce-account .moom-compte .select2-container .select2-selection {
	width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--main); border-radius: 0;
	background: transparent; color: #000; font-size: 22px; box-shadow: none;
}
body.woocommerce-account .moom-compte .select2-container .select2-selection__rendered { padding: 0; line-height: 26px; }
body.woocommerce-account .moom-compte .select2-container .select2-selection__arrow { top: 10px; right: 8px; }
body.woocommerce-account .moom-compte form .input-text:focus,
body.woocommerce-account .moom-compte form select:focus { outline: 2px solid var(--vert); outline-offset: 0; }
body.woocommerce-account .moom-compte fieldset { margin: 30px 0 20px; padding: 25px; border: 1px solid var(--main); background: var(--blanc); }
body.woocommerce-account .moom-compte fieldset legend { padding: 0 10px; font-family: var(--police-titres); font-weight: var(--graisse-titres); font-size: 24px; text-transform: uppercase; }
body.woocommerce-account .moom-compte form .show-password-input { top: 12px; }

/* Adresses : deux cartes côte à côte */
body.woocommerce-account .moom-compte .woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 20px; }
@media (max-width: 767px) { body.woocommerce-account .moom-compte .woocommerce-Addresses { grid-template-columns: 1fr; } }
body.woocommerce-account .moom-compte .woocommerce-Addresses::before,
body.woocommerce-account .moom-compte .woocommerce-Addresses::after { display: none; }
body.woocommerce-account .moom-compte .woocommerce-Address { float: none; width: auto; padding: 25px; background: var(--blanc); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
body.woocommerce-account .moom-compte .woocommerce-Address-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
body.woocommerce-account .moom-compte .woocommerce-Address-title::before,
body.woocommerce-account .moom-compte .woocommerce-Address-title::after { display: none; }
body.woocommerce-account .moom-compte .woocommerce-Address-title h2 { margin: 0; font-size: 26px; }
body.woocommerce-account .moom-compte .woocommerce-Address-title .edit { float: none; font-size: 20px; text-decoration: underline; }
body.woocommerce-account .moom-compte .woocommerce-Address address { margin-top: 15px; font-style: normal; line-height: 1.5em; }

/* Connexion / inscription (visiteur) : deux cartes */
body.woocommerce-account .moom-compte .u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 767px) { body.woocommerce-account .moom-compte .u-columns.col2-set { grid-template-columns: 1fr; } }
body.woocommerce-account .moom-compte .u-columns.col2-set::before,
body.woocommerce-account .moom-compte .u-columns.col2-set::after { display: none; }
body.woocommerce-account .moom-compte .u-columns .u-column1,
body.woocommerce-account .moom-compte .u-columns .u-column2 { float: none; width: auto; padding: 30px; background: var(--blanc); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
body.woocommerce-account .moom-compte form.login,
body.woocommerce-account .moom-compte form.register,
body.woocommerce-account .moom-compte form.lost_reset_password { margin: 0; padding: 0; border: 0; border-radius: 0; }
body.woocommerce-account .moom-compte form.lost_reset_password { max-width: 600px; padding: 30px; background: var(--blanc); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
body.woocommerce-account .moom-compte .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 20px; font-weight: 400; }
body.woocommerce-account .moom-compte .lost_password { margin: 15px 0 0; }
body.woocommerce-account .moom-compte .woocommerce-privacy-policy-text { font-size: 18px; line-height: 1.4em; }

/* Messages WooCommerce dans le compte */
body.woocommerce-account .moom-compte .woocommerce-message,
body.woocommerce-account .moom-compte .woocommerce-info,
body.woocommerce-account .moom-compte .woocommerce-error {
	margin: 0 0 25px; padding: 15px 20px; border: 0; border-left: 4px solid var(--main); background: var(--blanc); color: #000; font-size: 22px;
}
body.woocommerce-account .moom-compte .woocommerce-error { border-left-color: var(--rose); }


/* =========================================================
   PAGE MERCI — enveloppe woocommerce/moom-page-merci.php + checkout/thankyou.php
   Mise en page de l'ancien modèle BodyCommerce : fond beige, titre centré, carte récapitulatif, carte détails.
   Le détail de commande et l'adresse sont les gabarits WooCommerce d'origine : habillage ici uniquement.
   ========================================================= */
.moom-merci {
	background-color: var(--beige)!important;
	padding: 120px 0 80px;
}
.moom-merci__inner { width: 80%; max-width: 1000px; margin: 0 auto; }
.moom-merci__titre { margin: 0 0 40px; padding: 0; text-align: center; }
body.woocommerce-order-received .moom-merci a { color: var(--rose); }
body.woocommerce-order-received .moom-merci h2 { margin: 0 0 20px; padding: 0; }

/* Carte récapitulatif (n° de commande, date, e-mail, total, paiement) */
body.woocommerce-order-received .moom-merci ul.order_details {
	display: flex; flex-wrap: wrap; margin: 0 0 40px; padding: 20px;
	list-style: none; background: var(--blanc); border-radius: 15px;
}
body.woocommerce-order-received .moom-merci ul.order_details::before,
body.woocommerce-order-received .moom-merci ul.order_details::after { display: none; }
body.woocommerce-order-received .moom-merci ul.order_details li {
	float: none; flex: 1 1 auto; margin: 0; padding: 10px 20px;
	border-right: 1px dashed var(--main); font-size: 18px; line-height: 1.4; text-transform: uppercase; color: #000;
}
body.woocommerce-order-received .moom-merci ul.order_details li:last-child { border-right: 0; }
body.woocommerce-order-received .moom-merci ul.order_details li strong {
	display: block; margin-top: 4px; font-size: 18px; text-transform: none; overflow-wrap: anywhere;
}
@media (max-width: 767px) {
	body.woocommerce-order-received .moom-merci ul.order_details li { flex-basis: 100%; border-right: 0; border-bottom: 1px dashed var(--main); }
	body.woocommerce-order-received .moom-merci ul.order_details li:last-child { border-bottom: 0; }
}

/* Carte détails (instructions de paiement, produits commandés, adresses) */
.moom-merci__details { padding: 40px; background: var(--blanc); border-radius: 15px; }
.moom-merci__details:empty { display: none; }
@media (max-width: 767px) { .moom-merci__details { padding: 20px; } }
body.woocommerce-order-received .moom-merci .woocommerce-order-details,
body.woocommerce-order-received .moom-merci .woocommerce-bacs-bank-details { margin-bottom: 40px; }
body.woocommerce-order-received .moom-merci .woocommerce-customer-details { margin-bottom: 0; }
body.woocommerce-order-received .moom-merci table.shop_table {
	width: 100%; margin: 0 0 20px; border: 1px solid #ddd; border-radius: 4px; border-collapse: separate; border-spacing: 0;
}
body.woocommerce-order-received .moom-merci table.shop_table th,
body.woocommerce-order-received .moom-merci table.shop_table td { padding: 14px 12px; border: 0; border-top: 1px solid #ddd; font-size: 22px; color: #000; text-align: left; }
body.woocommerce-order-received .moom-merci table.shop_table thead th { border-top: 0; font-weight: 700; }
body.woocommerce-order-received .moom-merci table.shop_table tfoot th { font-weight: 700; }
body.woocommerce-order-received .moom-merci address { padding: 20px; border: 1px solid #ddd; border-radius: 4px; font-style: normal; font-size: 22px; line-height: 1.5; }

/* Boutons (Facture, Payer…) */
body.woocommerce-order-received .moom-merci .button {
	display: inline-block; margin: 2px 4px 2px 0; padding: 8px 18px; border: 1px solid var(--vert); border-radius: 0;
	background: var(--vert); color: #000; font-size: 20px; font-weight: 500; line-height: 1.2;
}
body.woocommerce-order-received .moom-merci .button:hover { background: var(--blanc); color: #000; }
body.woocommerce-order-received .moom-merci .button::after { display: none; }

/* Messages (paiement refusé, connexion demandée) */
body.woocommerce-order-received .moom-merci .woocommerce-notice,
body.woocommerce-order-received .moom-merci .woocommerce-info {
	margin: 0 0 25px; padding: 15px 20px; border: 0; border-left: 4px solid var(--main); background: var(--blanc); color: #000; font-size: 22px;
}
body.woocommerce-order-received .moom-merci .woocommerce-notice--error { border-left-color: var(--rose); }


/* =========================================================
   PAGE COMMANDE — enveloppe woocommerce/moom-page-commande.php + checkout/form-checkout.php
   Reprend l'ancien modèle BodyCommerce : titre souligné à gauche, connexion à droite, bandeau vert « Votre commande ».
   Deux colonnes : client à gauche, récapitulatif + code promo + paiement à droite (440px).
   Préfixe « body.woocommerce-checkout .moom-commande » pour passer devant le CSS WooCommerce de Divi.
   ========================================================= */
.moom-commande {
	background-color: var(--beige)!important;
	padding: 120px 0 80px;
}
.moom-commande__inner { width: 80%; max-width: 1200px; margin: 0 auto; }
body.woocommerce-checkout .moom-commande a { color: var(--rose); }
body.woocommerce-checkout .moom-commande h3 { margin: 0 0 20px; padding: 0; }

/* En-tête : titre + connexion */
.moom-commande__entete {
	display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 50px; align-items: start; margin-bottom: 40px;
}
.moom-commande__entete--seul { grid-template-columns: 1fr; }
.moom-commande__titre { margin: 0; padding: 0 0 10px; border-bottom: 3px solid var(--vert); }
.moom-commande__connexion { padding: 25px; background: var(--blanc); }
.moom-commande__connexion-titre { margin: 0 0 15px; padding: 0; font-size: 22px; }
body.woocommerce-checkout .moom-commande .moom-commande__connexion form.login { margin: 0; padding: 0; border: 0; }

/* Deux colonnes */
body.woocommerce-checkout .moom-commande form.moom-commande__formulaire {
	display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 50px; align-items: start;
}
body.woocommerce-checkout .moom-commande form.moom-commande__formulaire::before,
body.woocommerce-checkout .moom-commande form.moom-commande__formulaire::after { display: none; }
body.woocommerce-checkout .moom-commande #customer_details .col-1,
body.woocommerce-checkout .moom-commande #customer_details .col-2 { float: none; width: 100%; margin: 0 0 30px; }
.moom-commande__recap { position: sticky; top: 100px; }
@media (max-width: 980px) {
	.moom-commande__entete,
	body.woocommerce-checkout .moom-commande form.moom-commande__formulaire { grid-template-columns: 1fr; gap: 30px; }
	.moom-commande__recap { position: static; }
}

/* Champs */
body.woocommerce-checkout .moom-commande form .form-row { margin: 0 0 18px; padding: 0; }
body.woocommerce-checkout .moom-commande form .form-row label { display: block; margin-bottom: 6px; font-family: var(--police-titres);font-size: 18px; font-weight: var(--graisse-titres); color:var(--main); }
body.woocommerce-checkout .moom-commande form .form-row label.checkbox,
body.woocommerce-checkout .moom-commande form .form-row label.woocommerce-form__label-for-checkbox { display: block; }
body.woocommerce-checkout .moom-commande form .form-row label.checkbox input[type="checkbox"],
body.woocommerce-checkout .moom-commande form .form-row label.woocommerce-form__label-for-checkbox input[type="checkbox"] { margin: 0 8px 0 0; vertical-align: middle; }
body.woocommerce-checkout .moom-commande form .form-row .required { color: var(--rose); text-decoration: none; }
body.woocommerce-checkout .moom-commande form .input-text,
body.woocommerce-checkout .moom-commande form select,
body.woocommerce-checkout .moom-commande form textarea,
body.woocommerce-checkout .moom-commande .select2-container .select2-selection {
	width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #000; border-radius: 5px;
	background: var(--blanc); color: #000; font-size: 22px; box-shadow: none; font-weight:bold;
}
body.woocommerce-checkout .moom-commande .select2-container .select2-selection__rendered { padding: 0; line-height: 26px; }
body.woocommerce-checkout .moom-commande .select2-container .select2-selection__arrow { top: 10px; right: 8px; }
body.woocommerce-checkout .moom-commande form .input-text:focus,
body.woocommerce-checkout .moom-commande form select:focus,
body.woocommerce-checkout .moom-commande form textarea:focus { outline: 2px solid var(--vert); outline-offset: 0; }
body.woocommerce-checkout .moom-commande form .woocommerce-invalid .input-text { border-color: var(--rose); }
body.woocommerce-checkout .moom-commande #ship-to-different-address { margin: 10px 0 20px; font-size: 20px; }

/* Récapitulatif « Votre commande » */
body.woocommerce-checkout .moom-commande h3.moom-commande__recap-titre {
	margin: 0 0 3px; padding: 15px 20px 6px; background: var(--main); color: var(--vert);
	border-bottom: 3px solid var(--vert); font-size: 26px; letter-spacing: 1px;
}
body.woocommerce-checkout .moom-commande #order_review { background: var(--blanc); border:1px solid var(--main);}
body.woocommerce-checkout .moom-commande table.shop_table { width: 100%; margin: 0; border: 0; border-radius: 0; border-collapse: collapse; }
body.woocommerce-checkout .moom-commande table.shop_table th,
body.woocommerce-checkout .moom-commande table.shop_table td { padding: 12px 15px; border: 0; border-top: 1px solid #ddd; font-size: 20px; color: #000; text-align: left; vertical-align: top; }
body.woocommerce-checkout .moom-commande table.shop_table thead th { border-top: 0; }
body.woocommerce-checkout .moom-commande table.shop_table .product-total,
body.woocommerce-checkout .moom-commande table.shop_table tfoot td { text-align: right; }
body.woocommerce-checkout .moom-commande table.shop_table tfoot .order-total th,
body.woocommerce-checkout .moom-commande table.shop_table tfoot .order-total td { font-size: 20px; font-weight: 700; color: var(--main); }
body.woocommerce-checkout .moom-commande table.shop_table .product-name small { display: block; color: #555; }

/* Code promo */
.moom-commande__promo { display: flex; flex-wrap: wrap; gap: 10px; padding: 15px; background: var(--blanc); border-top: 1px solid #ddd; }
body.woocommerce-checkout .moom-commande .moom-commande__promo .input-text { flex: 1 1 160px; min-height: 44px; }
body.woocommerce-checkout .moom-commande .moom-commande__promo .button {
	padding: 8px 18px; border: 1px solid var(--rose); border-radius: 0; background: transparent; color: #000; font-size: 22px;
}
body.woocommerce-checkout .moom-commande .moom-commande__promo .button:hover { background: var(--vert); }
.moom-commande__promo-message { flex-basis: 100%; }
.moom-commande__promo-message:empty { display: none; }

/* Paiement (reprend le CSS saisi dans BodyCommerce) */
body.woocommerce-checkout .moom-commande #payment { max-width: 100%; border-radius: 0; background: var(--blanc); border-top: 1px solid #ddd; }
body.woocommerce-checkout .moom-commande #payment ul.payment_methods { padding: 15px; border-bottom: 1px solid #ddd; }
body.woocommerce-checkout .moom-commande #payment ul.payment_methods li label { font-weight: 600; text-transform: uppercase; }
body.woocommerce-checkout .moom-commande #payment div.payment_box { background-color: #f7f7f7; font-size: 20px; color: #000; }
body.woocommerce-checkout .moom-commande #payment div.payment_box::before { display: none; }
body.woocommerce-checkout .moom-commande fieldset#wc-stripe-upe-form { margin-bottom: 20px; padding: 20px 0; border: 0; border-bottom: 1px solid lightgray; }
body.woocommerce-checkout .moom-commande #payment div.form-row.place-order { margin: 0; padding: 15px; }
body.woocommerce-checkout .moom-commande #payment #place_order {
	float: none; width: 100%; margin: 10px 0 0; padding: 14px 26px; border: 1px solid var(--vert); border-radius: 0;
	background: var(--vert); color: #000; font-size: 22px; font-weight: 600; line-height: 1.2;
}
body.woocommerce-checkout .moom-commande #payment #place_order:hover { background: var(--blanc); }
body.woocommerce-checkout .moom-commande .button::after { display: none; }

/* Bouton « Se connecter » */
body.woocommerce-checkout .moom-commande .moom-commande__connexion .button {
	padding: 10px 22px; border: 1px solid var(--vert); border-radius: 0; background: var(--vert); color: #000; font-size: 18px;
}
body.woocommerce-checkout .moom-commande .moom-commande__connexion .button:hover { background: var(--blanc); }

/* Messages */
body.woocommerce-checkout .moom-commande .woocommerce-error,
body.woocommerce-checkout .moom-commande .woocommerce-message,
body.woocommerce-checkout .moom-commande .woocommerce-info {
	margin: 0 0 25px; padding: 15px 20px; border: 0; border-left: 4px solid var(--main); background: var(--blanc); color: #000; font-size: 22px;
}
body.woocommerce-checkout .moom-commande .woocommerce-error { border-left-color: var(--rose); }
body.woocommerce-checkout .moom-commande .woocommerce-error::before,
body.woocommerce-checkout .moom-commande .woocommerce-message::before,
body.woocommerce-checkout .moom-commande .woocommerce-info::before { display: none; }

/* Téléphone siège sur la page merci / détail de commande */
.moom-tel-siege { margin: 10px 0 0; }


/* =========================================================
   INSCRIPTION / CONNEXION — extension moom-comptes (templates/connexion.php, inscription-particulier.php, inscription-pro.php)
   Affichées dans l'enveloppe Mon compte (.moom-compte--visiteur) : champs et boutons hérités du bloc « MON COMPTE ».
   ========================================================= */
.moom-connexion {
	max-width: 560px; margin: 0 auto;
}
.moom-connexion__titre { margin: 0 0 10px; padding: 0; text-align: center; }
.moom-connexion__intro { margin: 0 0 30px; text-align: center; font-size: 18px; }
.moom-carte-compte { margin: 0 0 30px; padding: 30px; background: var(--blanc); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.moom-carte-compte h3 { margin: 0 0 20px; padding: 0; font-size: 26px; }
.moom-carte-compte h3:not(:first-child) { margin-top: 35px; }
.moom-connexion__oubli { margin: 15px 0 0; font-size: 20px; }
body.woocommerce-account .moom-compte .moom-connexion .moom-bouton-principal { width: 100%; margin-top: 10px; }
body.woocommerce-account .moom-compte .moom-connexion .moom-choix-compte {
	display: block; width: 100%; margin: 0 0 15px; padding: 18px; text-align: center; text-decoration: none;
	border: 1px solid var(--main); border-radius: 5px; background: var(--main); color: var(--vert); font-size: 22px;
}
body.woocommerce-account .moom-compte .moom-connexion .moom-choix-compte:hover { background: var(--vert); color: var(--main); }
body.woocommerce-account .moom-compte .moom-connexion .moom-bouton-secondaire {
	padding: 8px 18px; border: 1px solid var(--main); border-radius: 5px; background: transparent; color: var(--main); font-size: 20px;
}
body.woocommerce-account .moom-compte .moom-connexion .moom-bouton-secondaire:hover { background: var(--vert); color: var(--main); }
.moom-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .moom-2col { grid-template-columns: 1fr; } .moom-carte-compte { padding: 20px; } }
.moom-encart { margin: 0 0 15px; padding: 15px 18px; border: 1px solid #ddd; font-size: 22px; }
.moom-aide { display: block; margin-top: 6px; font-size: 18px; line-height: 1.3em; color: #555; }
.moom-erreur { display: block; margin-top: 6px; font-size: 18px; color: var(--rose); }
body.woocommerce-account .moom-compte .moom-connexion .woocommerce-invalid .input-text,
body.woocommerce-account .moom-compte .moom-connexion .woocommerce-invalid select { border-color: var(--rose); }
.moom-note-livraison { margin: 15px 0 0; font-size: 18px; line-height: 1.3em; color: var(--rouge); }
.moom-note-livraison a { color: inherit; text-decoration: underline; }
.moom-attestation { margin-top: 30px; font-size: 20px; }
.moom-retour { margin: 0 0 10px; font-size: 20px; }
.moom-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.moom-connexion [hidden] { display: none; }

/* Mon compte > Adresses (extension moom-comptes : templates/adresses.php, adresse-livraison.php) */
.moom-adresses h2 { margin: 0 0 10px; padding: 0; }
.moom-adresses h2:not(:first-child) { margin-top: 40px; }
.moom-adresses__retour { margin: 0 0 20px; font-size: 22px; }
.moom-adresse { margin: 0 0 15px; padding: 20px 22px; background: var(--blanc); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); border-left: 4px solid transparent; }
.moom-adresse--defaut { border-left-color: var(--main); }
.moom-adresse address { margin: 0 0 12px; font-style: normal; font-size: 22px; line-height: 1.5; }
.moom-adresse__nom { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.moom-adresse__badge { margin-left: 8px; padding: 2px 8px; background: var(--main); color: var(--blanc); font-size: 13px; font-weight: 400; }
.moom-adresse__actions { margin: 0; font-size: 20px; }
body.woocommerce-account .moom-compte .moom-adresses .moom-bouton-secondaire { padding: 6px 16px; border: 1px solid var(--main); border-radius: 5px; background: transparent; color: var(--main); font-size: 20px; }
body.woocommerce-account .moom-compte .moom-adresses .moom-bouton-secondaire:hover { background: var(--vert); color: var(--main); }
body.woocommerce-account .moom-compte .moom-adresses .moom-bouton-principal { margin-top: 10px; }

/* Page Commande — résumé (extension moom-comptes : templates/commande-facturation.php, commande-livraison.php) */
body.woocommerce-checkout .moom-commande .moom-resume { margin: 0 0 30px; }
.moom-resume__bloc { margin: 0 0 10px; padding: 18px 20px; background: var(--blanc); font-size: 22px; line-height: 1.5; }
.moom-resume__statut { color: #b26200; font-size: 18px; }
body.woocommerce-checkout .moom-commande .moom-resume__modifier { display: inline-block; margin: 0 0 10px; font-size: 20px; }
.moom-choix-adresse { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 10px; padding: 15px 18px; background: var(--blanc); border: 2px solid transparent; cursor: pointer; font-size: 20px; line-height: 1.45; }
.moom-choix-adresse input { margin-top: 5px; }
.moom-choix-adresse--actif { border-color: var(--main); }
.moom-livraison-visiteur td { font-size: 18px; color: #555; }
/* Mon compte > Détails du compte : « Votre profil » (extension moom-comptes, class-moom-profil.php) */
body.woocommerce-account .moom-compte fieldset.moom-profil label { display: inline-flex; align-items: center; gap: 8px; margin-right: 25px; font-size: 18px; }
body.woocommerce-account .moom-compte fieldset.moom-profil .moom-profil__pro label { display: block; margin-right: 0; font-size: 20px; }

/* =========================================================
   CADEAU PANIER — extension moom-cadeau (jauge dans le panier et le mini-panier, ligne « Offert »)
   ========================================================= */
.moom-cadeau-jauge {
	margin: 0 0 25px; padding: 15px 18px; background: var(--blanc); border-radius: 4px;
}
/* page panier : fond transparent, bordure sanguine */
body.woocommerce-cart .moom-panier .moom-cadeau-jauge { background: transparent; border: 1px solid var(--rose); }
.moom-cadeau-jauge__texte { margin: 0 0 10px; padding: 0; font-size: 22px; line-height: 1.35; color: #000; }
.moom-cadeau-jauge__barre { height: 12px; background: #e6e6e6; border-radius: 6px; overflow: hidden; }
.moom-cadeau-jauge__barre span { display: block; height: 100%; background: var(--vert); border-radius: 6px; transition: width .4s ease; }
.moom-cadeau-jauge--atteinte .moom-cadeau-jauge__barre span { background: var(--main); }
.moom-mp__contenu .moom-cadeau-jauge { margin: 10px 0 15px; padding: 10px 12px; border: 1px solid #eee; }
.moom-cadeau-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; background: var(--main); color: var(--blanc); font-size: 12px; font-weight: 600; vertical-align: middle; }
.moom-cadeau-offert { font-weight: 700; color: var(--main); }
.moom-cadeau-qte, .moom-mp__quantite--fige { font-weight: 600; }


/* =========================================================
   POLICES ET LIENS DES PAGES BOUTIQUE (variables :root ci-dessus)
   ========================================================= */
.moom-boutique, .moom-produit, .moom-panier, .moom-compte, .moom-merci, .moom-commande, .moom-mp {
	font-family: var(--police-texte);
}
:is(.moom-boutique, .moom-produit, .moom-panier, .moom-compte, .moom-merci, .moom-commande) :is(h1, h2, h3) {
	font-family: var(--police-titres); font-weight: var(--graisse-titres);
}
/* Liens dans les paragraphes : rose (plus spécifique que les règles « a » de chaque bloc) */
body :is(.moom-boutique, .moom-produit, .moom-panier, .moom-compte, .moom-merci, .moom-commande) p a:not(.button),
body.woocommerce-account .moom-compte p a:not(.button),
body.woocommerce-order-received .moom-merci p a:not(.button),
body.woocommerce-checkout .moom-commande p a:not(.button),
body.woocommerce-cart .moom-panier p a:not(.button) {
	color: var(--rose);
}
