/*
 * ── LES PAGES DE LA BOUTIQUE AU STYLE D'ASTRA ─────────────────────────────
 *
 * Feuille seulement: les gabarits WooCommerce de 2016 ne changent pas. Elle
 * se charge sur les pages de la boutique (catégories, fiches produit, panier,
 * commande, compte) et redonne à leurs éléments existants le vocabulaire
 * d'Astra, relevé au navigateur le 10 septembre 2026 sur
 * /jardinerie/categorie/plantes à 1440, 768 et 390 px : crème, forêt, lime,
 * Avenir pour le texte, Iowan pour les titres, pastilles à filet fin,
 * cartes à coins arrondis.
 *
 * Aucune valeur en rem : le thème met html à 62,5 %. Les !important ne
 * visent que ce que le thème de 2016 impose lui-même en !important ou en
 * style en ligne (couleur des pastilles, largeur du bouton Chercher).
 */

body.woocommerce, body.woocommerce-page {
	/* Refonte du 19 octobre 2026 : la charte historique (charte-v1.css). */
	--gb-foret: var(--gv-ardoise);
	--gb-creme: #ffffff;
	--gb-lime: var(--gv-tilleul);
	--gb-bord: #dfe3e8;
	--gb-champ: #f6f7f8;
	--gb-sourdine: var(--gv-ardoise-doux);
	--gb-prix: var(--gv-ardoise);
	--gb-image: var(--gv-gris);
	--gb-police: var(--gv-police);
	--gb-titres: var(--gv-police);
	background: var(--gb-creme);
	color: var(--gb-foret);
	font-family: var(--gb-police);
}

/* Le conteneur de la charte V1 (19 octobre 2026) : celui de l'en-tête et du
   pied, 1240 px au plus, la gouttière commune de chaque côté. */
body.woocommerce .wrapper, body.woocommerce-page .wrapper {
	max-width: var(--gv-conteneur); width: calc(100% - 2 * var(--gv-gouttiere)); padding: 0; box-sizing: border-box;
}

/* ── Les univers (catégories de premier niveau), en pastilles d'Astra ───── */
body.woocommerce .triangle { border: 0; padding: 32px 0 0; background: none; }
body.woocommerce .triangle::before, body.woocommerce .triangle::after { display: none; }
body.woocommerce ul.product-categories {
	display: flex; flex-wrap: wrap; gap: 12px 13px; justify-content: flex-start;
	margin: 0; padding: 0; list-style: none; text-align: left;
}
body.woocommerce ul.product-categories li { display: block; margin: 0; font-size: 14.1px; }
body.woocommerce ul.product-categories li a {
	display: inline-block; margin: 0; padding: 10px 17px;
	border: 1px solid var(--gb-bord); border-radius: 5px;
	background: transparent !important; color: var(--gb-foret) !important;
	font: 400 14.1px/1.6 var(--gb-police); text-transform: none; letter-spacing: 0;
	text-decoration: none; transition: border-color .15s, background-color .15s;
}
body.woocommerce ul.product-categories li a:hover { border-color: var(--gb-foret); }
body.woocommerce ul.product-categories li.current-cat > a,
body.woocommerce ul.product-categories li.current-cat-parent > a {
	background: var(--gb-lime) !important; border-color: var(--gb-lime);
}
/* Les familles (sous-catégories) : même pastille, plus discrète. */
body.woocommerce section.grey { background: none; padding: 14px 0 0; }
body.woocommerce ul.child-product-categories li a {
	padding: 7px 14px; border-radius: 999px; background: #fff !important;
	font-size: 13.6px; text-transform: none;
}
body.woocommerce ul.child-product-categories li a:first-letter { text-transform: none; }

/* ── Le fil d'Ariane ────────────────────────────────────────────────────── */
body.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 24px; padding: 24px 0 0;
	font: 400 13.4px/1.6 var(--gb-police); color: var(--gb-sourdine); text-transform: none;
}
body.woocommerce .woocommerce-breadcrumb a { color: var(--gb-sourdine); text-decoration: none; }
body.woocommerce .woocommerce-breadcrumb a:hover { color: var(--gb-foret); text-decoration: underline; }

/* ── La liste et ses filtres: le panneau revient à droite ──────────────── */
/*
 * Le gabarit de 2016 (woocommerce/archive-product.php) pose sous la section
 * trois frères : le bloc de la liste, le panneau aside.product_filter_container
 * (rempli par sidebar_search.php) et un div.clear. Sur ordinateur, la section
 * devient une grille : la liste à gauche, le panneau à droite comme à
 * l'époque, mais en carte claire d'Astra au lieu du gris #474f5d. Il colle au
 * défilement quand il tient dans l'écran (voir « Le panneau collant » plus bas).
 *
 * Sous 900 px, il redevient le tiroir de 2016 : js/scripts.js ajoute ou retire
 * la classe « open » sur .openclosebutton à chaque clic, et anime `right` en
 * style en ligne. On fige `right` (seul !important du panneau lui-même) et on
 * fait glisser le tiroir par transform, piloté par :has(.openclosebutton.open).
 */
body.woocommerce.archive .wrapper > section {
	display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 0 40px; align-items: start;
}
body.woocommerce.archive .wrapper > section > div:first-child { grid-column: 1; grid-row: 1; min-width: 0; }
body.woocommerce.archive .wrapper > section > .clear { display: none; }
body.woocommerce.archive .listofproducts { float: none; width: 100%; padding: 0; min-height: 0; }
body.woocommerce.archive .product_filter_container {
	grid-column: 2; grid-row: 1; position: relative; top: auto; right: auto !important; left: auto;
	box-sizing: border-box; width: auto; margin: 24px 0 0; padding: 0; z-index: 5;
	border: 1px solid var(--gb-bord); border-radius: 18px; background: #f3f4f6; transform: none;
	color: var(--gb-foret); font: 400 15px/1.5 var(--gb-police);
}
body.woocommerce.archive .product_filter_container .openclosebutton { display: none; }
body.woocommerce.archive .product_filter_container form { display: flex; flex-direction: column; margin: 0; padding: 22px 24px 24px; }
body.woocommerce.archive .product_filter_container form::before {
	content: "Affiner la liste"; display: block; padding: 0 0 12px;
	font: 800 24px/1.15 var(--gb-titres); letter-spacing: -.02em; color: var(--gb-foret);
}
/* Chaque filtre: un titre sur toute la largeur, puis ses choix en ligne. */
body.woocommerce.archive .product_filter_container form > div {
	display: flex; flex-wrap: wrap; align-items: center; gap: 7px 6px;
	margin: 0 !important; padding: 14px 0; border-top: 1px solid var(--gb-bord); color: var(--gb-foret);
}
body.woocommerce.archive .product_filter_container form > div.reset_filters { padding: 0 0 14px; border: 0; }
body.woocommerce.archive .product_filter_container form > div > label:not(.control) {
	flex: 0 0 100%; display: block; margin: 0 0 3px; padding: 0;
	font: 500 14.6px/1.6 var(--gb-police); color: var(--gb-foret); text-transform: none; letter-spacing: 0;
}
/* Sol, pH, feuillage, odeur: les cases à cocher deviennent des pastilles. La
   case reste là, transparente, par-dessus la pastille : c'est elle qu'on clique. */
body.woocommerce.archive .product_filter_container label.control {
	position: relative; display: inline-flex; align-items: center; gap: 5px;
	box-sizing: border-box; min-height: 32px; margin: 0; padding: 5px 12px;
	border: 1px solid #d6dce2; border-radius: 999px; background: #fff;
	font: 400 13.6px/1.3 var(--gb-police); color: var(--gb-foret); cursor: pointer;
	transition: border-color .15s, background-color .15s;
}
body.woocommerce.archive .product_filter_container label.control:hover { border-color: var(--gb-foret); }
body.woocommerce.archive .product_filter_container label.control input[type="checkbox"] {
	position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
	border: 0; border-radius: 999px; opacity: 0; cursor: pointer;
}
body.woocommerce.archive .product_filter_container label.control:has(input:checked) {
	border-color: var(--gb-foret); background: var(--gb-lime); font-weight: 500;
}
body.woocommerce.archive .product_filter_container label.control:has(input:checked)::before {
	content: ""; flex: 0 0 12px; height: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23183e31' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
body.woocommerce.archive .product_filter_container label.control:has(input:focus-visible) { outline: 2px solid var(--gb-foret); outline-offset: 2px; }
/* Ensoleillement, arrosage, hauteur, largeur, longueur: les pictogrammes du
   thème (img/icons/*.svg, tracés en #444) dans des pastilles rondes. */
body.woocommerce.archive .product_filter_container .product_filter a:not(.icon_color_button) {
	box-sizing: border-box; display: block; flex: 0 0 auto; width: 44px; height: 44px; margin: 0; padding: 0;
	border: 1px solid #d6dce2; border-radius: 50%; background-color: #fff;
	background-position: center; background-size: 22px auto; box-shadow: none; opacity: 1;
	overflow: hidden; text-indent: -9999px; font-size: 0; line-height: 0;
	transition: border-color .15s, background-color .15s;
}
body.woocommerce.archive .product_filter_container .product_filter a[class*="icon_sun_low"] { background-size: 27px auto; }
body.woocommerce.archive .product_filter_container .product_filter a[class*="icon_water_"] { background-size: 14px auto; }
body.woocommerce.archive .product_filter_container .product_filter a[class*="icon_height_"] { background-size: 29px auto; }
body.woocommerce.archive .product_filter_container .product_filter a[class*="icon_width_"],
body.woocommerce.archive .product_filter_container .product_filter a[class*="icon_length_"] { background-size: 25px auto; }
body.woocommerce.archive .product_filter_container .product_filter a:not(.icon_color_button):hover { border-color: var(--gb-foret); }
body.woocommerce.archive .product_filter_container .product_filter a:not(.icon_color_button).selected {
	border-color: var(--gb-foret); background-color: var(--gb-lime); box-shadow: inset 0 0 0 1px var(--gb-foret);
}
body.woocommerce.archive .product_filter_container .product_filter a:focus-visible { outline: 2px solid var(--gb-foret); outline-offset: 2px; }
/* Hauteur, largeur, longueur: la valeur passe sous sa pastille, dans le flux. */
body.woocommerce.archive .product_filter_container .height_parent {
	position: static; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 6px 0 0; padding: 0;
}
body.woocommerce.archive .product_filter_container .height_value {
	position: static; width: auto; font: 400 12.5px/1.2 var(--gb-police); color: var(--gb-sourdine); text-align: center;
}
/* Couleurs de fleur et de feuille: pastilles nettes, liseré blanc, anneau
   forêt quand la couleur est choisie. Le thème les grossissait de 20 % : non. */
body.woocommerce.archive .product_filter_container .product_filter a.icon_color_button {
	box-sizing: border-box; display: block; flex: 0 0 auto; width: 30px; height: 30px; margin: 0; padding: 0;
	border: 1px solid rgba(24, 62, 49, .3); border-radius: 50%; box-shadow: inset 0 0 0 2px #fff;
	opacity: 1; transform: none; overflow: hidden; text-indent: -9999px; font-size: 0; line-height: 0;
	transition: box-shadow .15s;
}
body.woocommerce.archive .product_filter_container .product_filter a.icon_color_button:hover { transform: none; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #d6dce2; }
body.woocommerce.archive .product_filter_container .product_filter a.icon_color_button.selected { transform: none; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--gb-foret); }
body.woocommerce.archive .product_filter_container .product_filter a.color_button_multi { background-position: center; background-size: cover; }
/* Les champs au format d'Astra: 51 px, rayon 10, filet #8d99a5, fond #ffffff.
   Deux champs côte à côte (prix, températures, floraison) se partagent la ligne. */
body.woocommerce.archive .product_filter_container input[type="text"],
body.woocommerce.archive .product_filter_container select {
	box-sizing: border-box; flex: 1 1 0; min-width: 0; width: 100%; height: 51px; padding: 13px 15px; margin: 0;
	border: 1px solid var(--gb-champ); border-radius: 10px; background: #ffffff; box-shadow: none;
	font: 400 16px/1.5 var(--gb-police); color: var(--gb-foret);
}
body.woocommerce.archive .product_filter_container input[type="text"]::placeholder { color: #5d6e7e; opacity: 1; }
body.woocommerce.archive .product_filter_container input[type="text"]:focus,
body.woocommerce.archive .product_filter_container select:focus { border-color: var(--gb-foret); outline: 2px solid var(--gb-foret); outline-offset: 1px; }
/* La liste « Ordre » et les listes de dates sont remplacées à l'affichage par
   Chosen (js/chosen.jquery.min.js), qui recopie la largeur en style en ligne:
   c'est sa boîte qu'on met au format des champs d'Astra. */
body.woocommerce.archive .product_filter_container .chosen-container { flex: 1 1 0; min-width: 0; width: auto !important; font: 400 16px/1.5 var(--gb-police); }
body.woocommerce.archive .product_filter_container .chosen-container-single .chosen-single {
	box-sizing: border-box; height: 51px; padding: 13px 36px 13px 15px;
	border: 1px solid var(--gb-champ); border-radius: 10px; background: #ffffff; box-shadow: none;
	color: var(--gb-foret); font: 400 16px/23px var(--gb-police);
}
body.woocommerce.archive .product_filter_container .chosen-container-active .chosen-single { border-color: var(--gb-foret); }
body.woocommerce.archive .product_filter_container .chosen-container-single .chosen-single span { line-height: 23px; margin: 0; }
/* En demi-largeur (températures, mois), « Décembre » doit tenir en entier. */
body.woocommerce.archive .product_filter_container .chosen-container[id$="_min_chosen"] .chosen-single,
body.woocommerce.archive .product_filter_container .chosen-container[id$="_max_chosen"] .chosen-single { padding: 13px 28px 13px 12px; font-size: 15px; }
body.woocommerce.archive .product_filter_container .chosen-container[id$="_min_chosen"] .chosen-single div,
body.woocommerce.archive .product_filter_container .chosen-container[id$="_max_chosen"] .chosen-single div { right: 9px; }
body.woocommerce.archive .product_filter_container .chosen-container-single .chosen-single div { top: 50%; right: 12px; width: 16px; height: 16px; transform: translateY(-50%); }
body.woocommerce.archive .product_filter_container .chosen-container-single .chosen-single div b {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23536453' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat !important;
}
body.woocommerce.archive .product_filter_container .chosen-container .chosen-drop {
	margin-top: 4px; border: 1px solid var(--gb-champ); border-radius: 10px; background: #ffffff; box-shadow: 0 8px 20px rgba(24, 62, 49, .08);
}
body.woocommerce.archive .product_filter_container .chosen-container .chosen-results li { padding: 8px 12px; font-size: 15px; line-height: 1.5; color: var(--gb-foret); }
body.woocommerce.archive .product_filter_container .chosen-container .chosen-results li.highlighted { background: #f3f4f6; color: var(--gb-foret); }
/* Chercher en pilule forêt, Réinitialiser en lien souligné. */
body.woocommerce.archive .product_filter_container .charlie_button[type="submit"] {
	display: block; box-sizing: border-box; width: 100% !important; min-height: 51px; margin: 18px 0 0; padding: 14px 25px;
	border: 0; border-radius: 999px; background: var(--gb-foret); color: #fff; box-shadow: none;
	font: 600 16px/1.4 var(--gb-police); text-transform: none; letter-spacing: 0; cursor: pointer;
}
body.woocommerce.archive .product_filter_container .charlie_button[type="submit"]:hover { background: #303947; color: #fff !important; }
body.woocommerce.archive .product_filter_container .charlie_button[type="submit"]:focus-visible { outline: 2px solid var(--gb-foret); outline-offset: 3px; }
body.woocommerce.archive .product_filter_container p.reset_filters { margin: 14px 0 0; padding: 0; text-align: center; }
body.woocommerce.archive .product_filter_container .reset_filters a {
	display: inline; margin: 0; padding: 0; border: 0; border-radius: 0; background: none;
	color: var(--gb-foret) !important; font: 500 14.6px/1.6 var(--gb-police); text-transform: none; letter-spacing: 0;
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
body.woocommerce.archive .product_filter_container .reset_filters a:hover { text-decoration-thickness: 2px; }
/* « ACTIVER LE MARCHE PERSONNEL » (bloc du haut, affiché quand le cookie
   resetFilterCookie existe) : le texte du gabarit est en capitales, on le
   met au format des sur-titres d'Astra. */
body.woocommerce.archive .product_filter_container form > div.reset_filters a {
	display: inline-block; font: 500 14.6px/1.6 var(--gb-police); letter-spacing: 0; text-transform: lowercase;
}
body.woocommerce.archive .product_filter_container form > div.reset_filters a::first-letter { text-transform: uppercase; }

/* Le message « aucun article » (fréquent avec plusieurs filtres) : la note d'Astra. */
body.woocommerce.archive .woocommerce-info {
	margin: 0 0 24px; padding: 4px 0 4px 16px; border: 0; border-left: 3px solid #5d6e7e; background: none;
	font: 400 16px/1.6 var(--gb-police); color: #304559;
}
body.woocommerce.archive .woocommerce-info::before { display: none; }

/* ── Les cartes produit ─────────────────────────────────────────────────── */
body.woocommerce.woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px;
	margin: 0; padding: 0;
}
body.woocommerce.woocommerce-page ul.products::before, body.woocommerce.woocommerce-page ul.products::after { display: none; }
body.woocommerce.woocommerce-page ul.products li.product {
	position: relative; display: flex; flex-direction: column;
	float: none; width: auto; margin: 0; padding: 0;
	border: 0; border-radius: 16px; background: none; box-shadow: none; text-align: left;
}
body.woocommerce.woocommerce-page ul.products li.product:hover { box-shadow: none; }
body.woocommerce.woocommerce-page ul.products li.product > a { display: block; color: var(--gb-foret); text-decoration: none; }
body.woocommerce.woocommerce-page ul.products li.product img {
	display: block; box-sizing: border-box; width: 100%; height: auto; aspect-ratio: 1;
	margin: 0 0 16px; padding: 17px; object-fit: contain;
	border-radius: 13px; background: var(--gb-image); box-shadow: none;
}
body.woocommerce.woocommerce-page ul.products li.product .product_summary { height: auto; min-height: 0; max-height: none; padding: 0; overflow: visible; background: none; }
body.woocommerce.woocommerce-page ul.products li.product .product_summary::before,
body.woocommerce.woocommerce-page ul.products li.product .product_summary::after { display: none; }
body.woocommerce.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
	margin: 0; padding: 0; font: 800 21.6px/1.2 var(--gb-titres); letter-spacing: -.015em;
	color: var(--gb-foret); text-transform: none; text-align: left;
}
/* Astra ne met ni résumé ni pictogrammes dans ses cartes. */
body.woocommerce.woocommerce-page ul.products li.product .summary,
body.woocommerce.woocommerce-page ul.products li.product .product_filter { display: none; }
body.woocommerce.woocommerce-page ul.products li.product .cta {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: auto; padding: 13px 0 0;
}
body.woocommerce.woocommerce-page ul.products li.product .cta > a:first-child { color: var(--gb-prix); text-decoration: none; }
body.woocommerce.woocommerce-page ul.products li.product .price {
	display: block; margin: 0; font: 400 15px/1.6 var(--gb-police); color: var(--gb-prix);
}
body.woocommerce.woocommerce-page ul.products li.product .cta a.button {
	float: none; flex: 0 0 auto; width: 44px !important; height: 44px; margin: 0 !important; padding: 0;
	border: 1px solid #d6dce2; border-radius: 50% !important;
	/* Le bouton de 2016 est vide et porte un œil blanc en image: on lui
	   donne l'œil d'Astra (lucide « eye »), en forêt, sur fond transparent. */
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23183e31' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 18px no-repeat !important;
	font-size: 0; color: transparent;
}
body.woocommerce.woocommerce-page ul.products li.product .cta a.button:hover { border-color: var(--gb-foret); }
/*
 * Deux boutons sortent du gabarit: l'œil (goseebutton) et un second lien
 * qui, pour un article qu'on ne peut pas commander, dit « Lire la suite » et
 * mène à la même fiche. On ne garde que l'œil, sauf si l'article est vraiment
 * ajoutable au panier (classe ajax_add_to_cart de WooCommerce) : il devient
 * alors le « + » d'Astra.
 */
body.woocommerce.woocommerce-page ul.products li.product .cta a.addtocartbutton:not(.ajax_add_to_cart) { display: none; }
body.woocommerce.woocommerce-page ul.products li.product .cta a.addtocartbutton.ajax_add_to_cart {
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23183e31' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / 18px no-repeat !important;
	text-indent: 0;
}
body.woocommerce.woocommerce-page ul.products li.product .cta .added_to_cart { display: none; }

/* ── La fiche produit: deux colonnes, titre en Iowan, comme Astra ───────── */
body.single-product .productbit { float: none; width: 100%; padding: 0; min-height: 0; }
body.single-product .product_filter_container { display: none; }
body.single-product div.product {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 86px;
	padding: 16px 0 75px;
}
body.single-product div.product::before, body.single-product div.product::after { display: none; }
body.single-product div.product > .clear { display: none; }
body.single-product div.product div.images,
body.single-product div.product div.summary { float: none; width: auto; margin: 0; }
body.single-product div.product div.images img { display: block; width: 100%; height: auto; border-radius: 0; background: var(--gb-image); }
body.single-product div.product div.summary { padding-top: 10px; color: var(--gb-foret); font: 400 16px/1.6 var(--gb-police); }
body.single-product div.product .product_title {
	margin: 0 0 24px; padding: 0; color: var(--gb-foret); text-align: left; text-transform: none;
	font: 800 clamp(38px, 3.8vw, 54.7px)/1.04 var(--gb-titres); letter-spacing: -.015em;
}
body.single-product div.product p.price .amount,
body.single-product div.product p.price bdi { font: inherit; color: inherit; }
body.single-product div.product p.price {
	margin: 0 0 25px; color: var(--gb-foret); font: 800 40px/1.15 var(--gv-police); letter-spacing: -.015em;
}
body.single-product div.product .greenastic-indisponible {
	/* L'encart est écrit avec un style en ligne (mu-plugins/greenastic-verrou-vente.php) :
	   seul !important le remet à la note de référence d'Astra. */
	margin: 20px 0 24px !important; padding: 4px 0 4px 16px !important; border: 0; border-left: 3px solid #5d6e7e !important;
	background: none !important; color: #304559 !important; font: 400 16px/1.6 var(--gb-police);
}
body.single-product div.product div.summary p:not(.price) { font-size: 16px; line-height: 1.6; color: var(--gb-sourdine); }
body.single-product div.product div.summary strong, body.single-product div.product div.summary b { color: var(--gb-foret); font-weight: 600; }
body.single-product div.product .product_attributes {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px;
	margin: 24px 0 0; padding: 16px; background: #f3f4f6;
}
body.single-product div.product .product_attribute { float: none; width: auto; margin: 0; }
body.single-product div.product .product_attribute h5 {
	margin: 0 0 2px; font: 500 14.6px/1.6 var(--gb-police); color: var(--gb-foret); text-transform: none; letter-spacing: 0;
}
body.single-product div.product .product_attribute p { margin: 0; font-size: 15.2px; line-height: 1.6; color: var(--gb-sourdine); }
body.single-product section.related {
	grid-column: 1 / -1; margin: 56px 0 0; padding: 55px 0 0; border-top: 1px solid var(--gb-bord);
}
body.single-product section.related > h2 {
	margin: 0 0 32px; text-align: left; text-transform: none; color: var(--gb-foret);
	font: 800 clamp(36px, 4.1vw, 59px)/1.08 var(--gb-titres); letter-spacing: -.015em;
}

/* ── La pagination ──────────────────────────────────────────────────────── */
body.woocommerce .woocommerce-pagination { margin: 48px 0 0; text-align: center; }
body.woocommerce .woocommerce-pagination ul.page-numbers {
	display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px;
	margin: 0; padding: 0; border: 0; list-style: none;
}
body.woocommerce .woocommerce-pagination ul.page-numbers li { display: block; float: none; margin: 0; border: 0; overflow: visible; }
body.woocommerce .woocommerce-pagination .page-numbers a,
body.woocommerce .woocommerce-pagination .page-numbers span {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
	min-width: 36px; height: 36px; padding: 0 8px;
	border: 1px solid transparent; border-radius: 10px; background: transparent;
	font: 500 14px/20px var(--gb-police); color: var(--gb-foret); text-decoration: none;
}
body.woocommerce .woocommerce-pagination .page-numbers a:hover { background: #f3f4f6; color: var(--gb-foret); }
body.woocommerce .woocommerce-pagination .page-numbers span.current { border-color: var(--gb-foret); background: var(--gb-creme); }
body.woocommerce .woocommerce-pagination .page-numbers span.dots { border: 0; }

/* ── Les replis d'Astra ─────────────────────────────────────────────────── */
@media (max-width: 1150px) {
	body.woocommerce.woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	body.single-product div.product { grid-template-columns: 1fr; gap: 32px; }
	body.woocommerce.woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
	body.woocommerce.woocommerce-page ul.products li.product .woocommerce-loop-product__title { font-size: 24px; }
}
@media (max-width: 640px) {
	body.woocommerce.woocommerce-page ul.products { gap: 27px 14px; }
	body.woocommerce.woocommerce-page ul.products li.product img { padding: 10px; }
	body.woocommerce.woocommerce-page ul.products li.product .woocommerce-loop-product__title { font-size: 19px; line-height: 1.24; }
	body.woocommerce.woocommerce-page ul.products li.product .cta { padding-top: 11px; gap: 8px; }
	body.woocommerce ul.product-categories { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	body.woocommerce ul.product-categories li { flex: 0 0 auto; }
}

/* ── Trois colonnes à côté du panneau, deux quand la place manque ──────── */
body.woocommerce.woocommerce-page.archive ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1150px) {
	body.woocommerce.archive .wrapper > section { grid-template-columns: minmax(0, 1fr) 288px; gap: 0 28px; }
	body.woocommerce.archive .product_filter_container form { padding: 20px 20px 22px; }
	body.woocommerce.woocommerce-page.archive ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Le panneau collant ─────────────────────────────────────────────────── */
/* Il colle sous l'en-tête (header.gv3-entete, collant, 78 px) quand il tient
   dans l'écran. Plus haut que l'écran, il resterait coupé jusqu'au bas de la
   liste, Chercher hors d'atteinte: il défile alors avec la page. */
@media (min-width: 901px) {
	body.woocommerce.archive .product_filter_container { position: sticky; top: 102px; }
}
/* Hauteurs mesurées à 1440 le 10 septembre 2026 : 424 px avec le prix et
   l'ordre seuls (plantes, arbres et arbustes), 800 px avec hauteur, largeur
   et longueur (outillage), 1 780 à 1 940 px avec les filtres botaniques
   (vivaces, arbres fruitiers). Il ne colle que si l'écran offre sa hauteur,
   plus l'en-tête et une marge. */
@media (min-width: 901px) and (max-height: 579px) {
	body.woocommerce.archive .product_filter_container { position: relative; top: auto; }
}
@media (min-width: 901px) and (max-height: 959px) {
	body.woocommerce.archive .product_filter_container:has(.height_parent) { position: relative; top: auto; }
}
/* Potager et graines (pastilles de sol, pH, récolte, plantation) : 918 à
   987 px, 952 avec le lien du marché personnel. Collant sous 1 100 px d'écran,
   Chercher sortait du bas de l'écran (relevé du contrôle du 10.09.2026). */
@media (min-width: 901px) and (max-height: 1099px) {
	body.woocommerce.archive .product_filter_container:has(label.control) { position: relative; top: auto; }
}
@media (min-width: 901px) and (max-height: 2099px) {
	body.woocommerce.archive .product_filter_container:has(.icon_color_button) { position: relative; top: auto; }
}

/* ── Sous 900 px: le tiroir de 2016, restylé ───────────────────────────── */
@media (max-width: 900px) {
	body.woocommerce.archive .wrapper > section { display: block; }
	body.woocommerce.archive .product_filter_container {
		position: fixed; top: 0; bottom: 0; right: 0 !important; left: auto; z-index: 100;
		display: flex; flex-direction: column; width: min(380px, calc(100vw - 40px)); margin: 0;
		border: 0; border-left: 1px solid var(--gb-bord); border-radius: 18px 0 0 18px;
		transform: translateX(100%); visibility: hidden;
		transition: transform .35s ease, visibility 0s linear .35s, box-shadow .35s ease;
	}
	body.woocommerce.archive .product_filter_container:has(> .openclosebutton.open) {
		transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(16, 39, 29, .4);
		transition: transform .35s ease, visibility 0s, box-shadow .35s ease;
	}
	/* Le voile est une ombre: il ne capte aucun toucher, et le produit
	   dessous s'ouvrait. Tant que le tiroir est ouvert, la page ne répond
	   plus ; seul le tiroir (et son bouton Fermer) reste actif. */
	body.woocommerce.archive:has(.product_filter_container > .openclosebutton.open) { overflow: hidden; pointer-events: none; }
	body.woocommerce.archive .product_filter_container { pointer-events: auto; }
	/* Le tiroir défile dans son formulaire, pas dans l'aside: le bouton, posé
	   hors du tiroir quand il est fermé, n'est ainsi pas rogné. */
	body.woocommerce.archive .product_filter_container form {
		flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px 22px 36px;
	}
	body.woocommerce.archive .product_filter_container form::before { padding-right: 104px; }
	/* Le bouton de 2016 (vide, loupe blanche sur gris) devient la pilule
	   « Filtres », en bas à droite de l'écran tant que le tiroir est fermé. */
	body.woocommerce.archive .product_filter_container .openclosebutton {
		visibility: visible; position: absolute; top: auto; bottom: 20px; left: auto; right: calc(100% + 16px); z-index: 1;
		display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; width: auto; height: 48px; margin: 0; padding: 0 22px 0 17px;
		border: 0; border-radius: 999px; background: var(--gb-foret) none; color: #fff;
		font: 600 15px/1 var(--gb-police); white-space: nowrap; cursor: pointer;
		box-shadow: 0 8px 22px rgba(16, 39, 29, .28);
	}
	body.woocommerce.archive .product_filter_container .openclosebutton::before {
		content: ""; flex: 0 0 18px; height: 18px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 4h-7M10 4H3M21 12h-9M8 12H3M21 20h-5M12 20H3M14 2v4M8 10v4M16 18v4'/%3E%3C/svg%3E") center / 18px no-repeat;
	}
	body.woocommerce.archive .product_filter_container .openclosebutton::after { content: "Filtres"; }
	/* Un filtre est déjà actif: un point lime sur la pilule. Le champ de
	   recherche interne de Chosen n'a pas de placeholder : on l'écarte. */
	body.woocommerce.archive .product_filter_container:has(a.selected, input[type="checkbox"]:checked, input[type="text"][placeholder]:not(:placeholder-shown)) .openclosebutton:not(.open) {
		background: var(--gb-foret) radial-gradient(circle, var(--gb-lime) 0 4px, transparent 4.5px) right 7px top 7px / 10px 10px no-repeat;
	}
	/* Tiroir ouvert: le même bouton devient « Fermer », en haut du tiroir. */
	body.woocommerce.archive .product_filter_container .openclosebutton.open {
		top: 16px; bottom: auto; right: 16px; height: 40px; padding: 0 15px 0 12px; gap: 6px;
		border: 1px solid #d6dce2; background: #fff none; color: var(--gb-foret); box-shadow: none; font-size: 14.6px;
	}
	body.woocommerce.archive .product_filter_container .openclosebutton.open::before {
		flex-basis: 16px; height: 16px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23183e31' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 16px no-repeat;
	}
	body.woocommerce.archive .product_filter_container .openclosebutton.open::after { content: "Fermer"; }
}

/* ══ L'ACHAT: fiche produit, panier, commande, compte (14.09.2026) ════════════
   Un seul langage d'une page à l'autre, celui d'Astra : une action principale
   par écran en pilule forêt, les secondaires en contour ou en lien souligné,
   des champs clairs à coins arrondis, des avis en note à filet vert. Sans
   capitales, sans le violet ni le bleu de WooCommerce, sans le lime de 2016. */

/* Les avis WooCommerce (ajouté au panier, information, erreur). */
body.woocommerce-page .woocommerce-message,
body.woocommerce-page .woocommerce-info,
body.woocommerce-page .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
	margin: 0 0 24px; padding: 14px 18px; list-style: none;
	border: 0; border-left: 3px solid #5d6e7e; border-radius: 10px; background: #f3f4f6;
	font: 400 15px/1.6 var(--gb-police); color: var(--gb-foret);
}
body.woocommerce-page .woocommerce-error { border-left-color: #b3261e; background: #fbefed; }
body.woocommerce-page .woocommerce-message::before,
body.woocommerce-page .woocommerce-info::before,
body.woocommerce-page .woocommerce-error::before { display: none; }
body.woocommerce-page .woocommerce-message a.button,
body.woocommerce-page .woocommerce-info a.button {
	order: 2; float: none; margin: 0; padding: 9px 18px; border: 1px solid var(--gb-foret); border-radius: 999px;
	background: transparent; color: var(--gb-foret); font: 600 14px/1.4 var(--gb-police); text-transform: none; letter-spacing: 0;
}
body.woocommerce-page .woocommerce-message a.button:hover,
body.woocommerce-page .woocommerce-info a.button:hover { background: var(--gb-foret); color: #fff; }

/* Les boutons: une famille. */
body.woocommerce-page .gb-bouton,
body.single-product form.cart .single_add_to_cart_button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout #place_order,
body.woocommerce-account form.login button[type="submit"],
body.woocommerce-account form.register button[type="submit"],
body.woocommerce-account form.login input[type="submit"],
body.woocommerce-account form.register input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
	min-height: 52px; margin: 0; padding: 14px 28px; border: 0; border-radius: 999px;
	background: var(--gb-foret); color: #fff; font: 600 16px/1.4 var(--gb-police);
	text-transform: none; letter-spacing: 0; cursor: pointer; transition: background-color .15s;
}
body.single-product form.cart .single_add_to_cart_button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-checkout #place_order:hover,
body.woocommerce-account form.login [type="submit"]:hover,
body.woocommerce-account form.register [type="submit"]:hover { background: #303947; color: #fff; }
body.woocommerce-cart td.actions .button,
body.woocommerce-cart td.actions button.button {
	float: none; min-height: 48px; margin: 0; padding: 11px 20px; border: 1px solid var(--gb-foret); border-radius: 999px;
	background: transparent; color: var(--gb-foret); font: 600 15px/1.4 var(--gb-police); text-transform: none; letter-spacing: 0;
}
body.woocommerce-cart td.actions .button:hover { background: #f3f4f6; color: var(--gb-foret); }
body.woocommerce-cart td.actions .button:disabled,
body.woocommerce-cart td.actions .button[disabled] { opacity: .45; cursor: default; }

/* Les champs: la même boîte partout (quantité, code promo, adresses, compte). */
body.woocommerce-page .quantity input.qty,
body.woocommerce-cart td.actions .coupon input.input-text,
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.woocommerce-cart .shipping-calculator-form input.input-text,
body.woocommerce-cart .shipping-calculator-form select,
body.woocommerce-account .form-row input.input-text,
body.woocommerce-account form .input-text {
	box-sizing: border-box; height: 52px; margin: 0; padding: 13px 15px;
	border: 1px solid var(--gb-champ); border-radius: 10px; background: #ffffff; box-shadow: none;
	font: 400 16px/1.5 var(--gb-police); color: var(--gb-foret); text-transform: none;
}
body.woocommerce-checkout .form-row textarea { height: auto; min-height: 120px; }
body.woocommerce-page .quantity input.qty { width: 84px; padding: 13px 8px; text-align: center; }
body.woocommerce-page .form-row input.input-text:focus,
body.woocommerce-page .quantity input.qty:focus,
body.woocommerce-page .coupon input.input-text:focus { outline: 3px solid var(--gb-lime); outline-offset: 1px; border-color: var(--gb-foret); }
body.woocommerce-page .form-row label,
body.woocommerce-account form label {
	display: block; margin: 0 0 6px; font: 500 14.56px/1.5 var(--gb-police); color: var(--gb-foret); text-transform: none;
}
body.woocommerce-page .form-row label .required { color: #9a3b2e; text-decoration: none; border: 0; }
/* Listes à recherche de WooCommerce (pays, canton). */
body.woocommerce-page .select2-container .select2-selection--single {
	height: 52px; border: 1px solid var(--gb-champ); border-radius: 10px; background: #ffffff;
}
body.woocommerce-page .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 40px 0 15px; line-height: 50px; color: var(--gb-foret); font: 400 16px/50px var(--gb-police);
}
body.woocommerce-page .select2-container .select2-selection--single .select2-selection__arrow { top: 13px; right: 10px; }
body.woocommerce-page .select2-dropdown { border-color: var(--gb-champ); border-radius: 10px; overflow: hidden; }
body.woocommerce-page .select2-results__option--highlighted[aria-selected],
body.woocommerce-page .select2-results__option--highlighted[data-selected] { background: #f3f4f6; color: var(--gb-foret); }

/* ── La zone d'achat de la fiche produit ─────────────────────────────────── */
body.single-product div.product form.cart {
	display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 8px 0 16px;
}
body.single-product div.product form.cart::before, body.single-product div.product form.cart::after { display: none; }
body.single-product div.product form.cart .quantity { float: none; margin: 0; }
body.single-product div.product form.cart .single_add_to_cart_button { flex: 1 1 auto; max-width: 360px; float: none; }
body.single-product #wc-stripe-express-checkout-element { max-width: 456px; margin-top: 4px !important; }
body.single-product div.product div.images a { display: block; background: none; }

/* ── Les titres des pages du tunnel (Mon panier, Commande, Mon compte) ───── */
body.woocommerce-cart .wrapper h1,
body.woocommerce-checkout .wrapper h1,
body.woocommerce-account .wrapper h1 {
	margin: 40px 0 28px; padding: 0; text-align: left; text-transform: none; color: var(--gb-foret);
	font: 900 clamp(34px, 4.2vw, 56px)/1.06 var(--gb-titres); letter-spacing: -.02em;
}
body.woocommerce-cart .wrapper h2, body.woocommerce-checkout .wrapper h3,
body.woocommerce-checkout .wrapper h2, body.woocommerce-account .wrapper h2 {
	margin: 0 0 18px; text-align: left; text-transform: none; color: var(--gb-foret);
	font: 800 30px/1.1 var(--gb-titres); letter-spacing: -.015em;
}

/* ── Le panier ──────────────────────────────────────────────────────────── */
body.woocommerce-cart table.shop_table.cart {
	width: 100%; margin: 0 0 32px; border: 0; border-collapse: collapse; border-radius: 0; background: none;
	font: 400 16px/1.5 var(--gb-police); color: var(--gb-foret);
}
body.woocommerce-cart table.shop_table.cart th {
	padding: 0 12px 12px; border: 0; border-bottom: 1px solid var(--gb-bord);
	font: 500 13px/1.4 var(--gb-police); color: var(--gb-sourdine); text-transform: none; letter-spacing: 0;
}
body.woocommerce-cart table.shop_table.cart td {
	padding: 20px 12px; border: 0; border-bottom: 1px solid var(--gb-bord); background: none; vertical-align: middle;
}
body.woocommerce-cart table.shop_table.cart td.product-name,
body.woocommerce-cart table.shop_table.cart td.product-name a { font: 800 20px/1.25 var(--gb-titres); color: var(--gb-foret); text-decoration: none; }
body.woocommerce-cart table.shop_table.cart td.product-price,
body.woocommerce-cart table.shop_table.cart td.product-subtotal { font: 400 16px/1.5 var(--gb-police); color: var(--gb-prix); white-space: nowrap; }
body.woocommerce-cart table.shop_table.cart td.product-subtotal { color: var(--gb-foret); font-weight: 600; }
body.woocommerce-cart table.shop_table.cart a.remove {
	display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
	border: 1px solid var(--gb-bord); border-radius: 50%; background: transparent; color: var(--gb-sourdine) !important;
	font: 400 20px/1 var(--gb-police);
}
body.woocommerce-cart table.shop_table.cart a.remove:hover { border-color: #9a3b2e; background: #fbefed; color: #9a3b2e !important; }
body.woocommerce-cart table.shop_table.cart td.actions { padding: 24px 0 0; border: 0; text-align: right; }
body.woocommerce-cart td.actions .coupon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; float: left; }
body.woocommerce-cart td.actions .coupon label { display: none; }
body.woocommerce-cart td.actions .coupon input.input-text { width: 220px; height: 48px; float: none; }
body.woocommerce-cart td.actions .coupon input.input-text::placeholder { text-transform: none; color: #6b7a88; }
body.woocommerce-cart .cart-collaterals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 32px; align-items: start; }
body.woocommerce-cart .cart-collaterals::before, body.woocommerce-cart .cart-collaterals::after { display: none; }
body.woocommerce-cart .cart-collaterals > div[style] { float: none !important; width: auto !important; padding-top: 18px; }
body.woocommerce-cart .cart-collaterals a.charlie_button {
	display: inline; margin: 0; padding: 0 0 6px; background: none !important; color: var(--gb-foret) !important;
	border-bottom: 1px solid currentColor; font: 600 15px/1.5 var(--gb-police); text-transform: none;
}
body.woocommerce-cart .cart-collaterals a.charlie_button::before { content: "\2190\00a0"; }
body.woocommerce-cart .cart-collaterals .cart_totals {
	float: none; width: auto; padding: 26px 26px 22px; border: 1px solid var(--gb-bord); border-radius: 18px; background: #fff;
}
body.woocommerce-cart .cart_totals table.shop_table,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
	width: 100%; margin: 0 0 20px; border: 0; border-collapse: collapse; border-radius: 0; background: none;
}
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
	padding: 12px 0; border: 0; border-bottom: 1px solid var(--gb-bord); background: none;
	font: 400 15px/1.5 var(--gb-police); color: var(--gb-foret); text-align: left; vertical-align: top;
}
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table th { font-weight: 500; color: var(--gb-sourdine); }
body.woocommerce-cart .cart_totals table.shop_table td,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td { text-align: right; }
body.woocommerce-cart .cart_totals tr.order-total th,
body.woocommerce-cart .cart_totals tr.order-total td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total td { border-bottom: 0; padding-top: 16px; }
body.woocommerce-cart .cart_totals tr.order-total strong,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr.order-total strong { font: 800 28px/1.15 var(--gv-police); color: var(--gb-foret); }
body.woocommerce-page small.includes_tax { display: block; margin-top: 4px; font-size: 13px; color: var(--gb-sourdine); }
body.woocommerce-cart .shipping-calculator-button { color: var(--gb-foret); text-decoration: underline; text-underline-offset: 4px; }
body.woocommerce-cart .shipping-calculator-button::after { display: none; }
body.woocommerce-cart .wc-proceed-to-checkout { padding: 4px 0 0; }
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: flex; width: 100%; min-height: 56px; margin: 0 0 12px; font-size: 17px; }
body.woocommerce-cart #wc-stripe-express-checkout-element { margin-top: 0 !important; }
/* Panier vide. */
body.woocommerce-cart .cart-empty.woocommerce-info { font-size: 17px; }
body.woocommerce-cart p.return-to-shop a.button {
	min-height: 52px; padding: 14px 28px; border-radius: 999px; background: var(--gb-foret); color: #fff;
	font: 600 16px/1.4 var(--gb-police); text-transform: none;
}

/* ── La commande ─────────────────────────────────────────────────────────── */
body.woocommerce-checkout form.checkout { margin: 0 0 64px; }
body.woocommerce-checkout .col2-set .col-1, body.woocommerce-checkout .col2-set .col-2 { padding: 0; }
body.woocommerce-checkout .form-row { margin: 0 0 18px; padding: 0; }
body.woocommerce-checkout #wc-stripe-express-checkout-button-separator { margin: 14px 0 26px; font-size: 0; text-align: center; color: var(--gb-sourdine); }
body.woocommerce-checkout #wc-stripe-express-checkout-button-separator::after { content: "ou remplissez vos coordonnées"; font: 400 14px/1.5 var(--gb-police); }
body.woocommerce-checkout #order_review_heading { margin-top: 36px; }
body.woocommerce-checkout #order_review {
	padding: 26px 26px 22px; border: 1px solid var(--gb-bord); border-radius: 18px; background: #fff;
}
body.woocommerce-checkout #payment { border-radius: 14px; background: #f3f4f6; }
body.woocommerce-checkout #payment ul.payment_methods { padding: 18px 20px; border-bottom: 1px solid #d6dce2; }
body.woocommerce-checkout #payment ul.payment_methods li { font: 500 15.5px/1.5 var(--gb-police); color: var(--gb-foret); }
body.woocommerce-checkout #payment div.payment_box { border-radius: 10px; background: #fff; color: var(--gb-sourdine); font: 400 14.5px/1.6 var(--gb-police); }
body.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
body.woocommerce-checkout #payment div.form-row.place-order { padding: 20px; }
body.woocommerce-checkout #place_order { width: 100%; min-height: 56px; font-size: 17px; float: none; }
body.woocommerce-checkout .woocommerce-privacy-policy-text,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font: 400 14px/1.6 var(--gb-police); color: var(--gb-sourdine); }
/* La page de remerciement. */
body.woocommerce-order-received .woocommerce-thankyou-order-received,
body.woocommerce-checkout .woocommerce-thankyou-order-received {
	margin: 0 0 24px; padding: 18px 20px; border-left: 3px solid #5d6e7e; border-radius: 10px; background: #f3f4f6;
	font: 400 18px/1.5 var(--gb-police); color: var(--gb-foret);
}
body.woocommerce-checkout ul.woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 32px; padding: 0; list-style: none;
}
body.woocommerce-checkout ul.woocommerce-order-overview li {
	margin: 0; padding: 0 32px 0 0; border: 0; border-right: 1px solid var(--gb-bord);
	font: 400 13px/1.5 var(--gb-police); color: var(--gb-sourdine); text-transform: none;
}
body.woocommerce-checkout ul.woocommerce-order-overview li strong { display: block; font: 600 16px/1.5 var(--gb-police); color: var(--gb-foret); }

/* ── Le compte ───────────────────────────────────────────────────────────── */
body.woocommerce-account #customer_login { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 0 0 64px; }
body.woocommerce-account #customer_login::before, body.woocommerce-account #customer_login::after { display: none; }
body.woocommerce-account #customer_login > .col-1,
body.woocommerce-account #customer_login > .col-2 {
	float: none; width: auto; padding: 28px; border: 1px solid var(--gb-bord); border-radius: 18px; background: #fff;
}
body.woocommerce-account form.login, body.woocommerce-account form.register { margin: 0; padding: 0; border: 0; }
body.woocommerce-account form .form-row { margin: 0 0 18px; }
body.woocommerce-account form .input-text { width: 100%; }
body.woocommerce-account form label.inline,
body.woocommerce-account .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 14px; font-weight: 400; }
body.woocommerce-account p.lost_password a,
body.woocommerce-account .woocommerce-privacy-policy-text a { color: var(--gb-foret); text-decoration: underline; text-underline-offset: 4px; }
body.woocommerce-account .woocommerce-privacy-policy-text { margin: 0 0 18px; font: 400 14px/1.6 var(--gb-police); color: var(--gb-sourdine); }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; }
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block; padding: 11px 16px; border: 1px solid var(--gb-bord); border-radius: 10px;
	color: var(--gb-foret); font: 500 15px/1.4 var(--gb-police); text-decoration: none;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { border-color: var(--gb-lime); background: var(--gb-lime); }

/* ── Les replis ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
	body.woocommerce-cart .cart-collaterals { grid-template-columns: 1fr; }
	body.woocommerce-cart .cart-collaterals > div[style] { order: 2; }
	body.woocommerce-account #customer_login { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	/* Le tableau du panier devient une liste (classes « responsive » de WooCommerce). */
	body.woocommerce-cart table.shop_table.cart td { padding: 12px 0; }
	body.woocommerce-cart table.shop_table.cart tr.cart_item { display: block; padding: 8px 0; border-bottom: 1px solid var(--gb-bord); }
	body.woocommerce-cart table.shop_table.cart tr.cart_item td { display: flex; justify-content: space-between; align-items: center; border: 0; text-align: right; }
	body.woocommerce-cart table.shop_table.cart tr.cart_item td::before { font: 500 13px/1.4 var(--gb-police); color: var(--gb-sourdine); }
	body.woocommerce-cart td.actions .coupon { float: none; width: 100%; margin-bottom: 12px; }
	body.woocommerce-cart td.actions .coupon input.input-text { flex: 1 1 160px; width: auto; }
	body.woocommerce-cart td.actions > .button { width: 100%; }
	body.single-product div.product form.cart .single_add_to_cart_button { max-width: none; }
}

/* ── Ce que le thème de 2016 impose en dur (14.09.2026, après captures) ─────
   Le bouton d'ajout au panier restait lime et en capitales, les boutons du
   panier et du compte en capitales: des règles du thème portent leurs
   couleurs et leur casse en !important, on les reprend de même. */
body.single-product form.cart .single_add_to_cart_button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout #place_order,
body.woocommerce-account form.login [type="submit"],
body.woocommerce-account form.register [type="submit"] {
	background: var(--gb-foret) !important; color: #fff !important; text-transform: none !important;
	font: 600 16px/1.4 var(--gb-police) !important; letter-spacing: 0 !important; border-radius: 999px !important;
}
body.woocommerce-cart td.actions .button,
body.woocommerce-page .woocommerce-message a.button,
body.woocommerce-page .woocommerce-info a.button {
	text-transform: none !important; letter-spacing: 0 !important; font-size: 14.5px !important;
}
body.woocommerce-cart td.actions .button { background: transparent !important; color: var(--gb-foret) !important; font-size: 15px !important; }
body.woocommerce-cart td.actions .coupon input.input-text::placeholder { font: 400 15px/1.5 var(--gb-police); }
/* L'avis reçoit le focus à l'ajout (rôle alert) : pas d'anneau bleu du navigateur. */
body.woocommerce-page .woocommerce-message:focus,
body.woocommerce-page .woocommerce-notices-wrapper:focus { outline: none; }
body.woocommerce-checkout #ship-to-different-address { font-weight: 400; }
body.woocommerce-checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: inherit; }

/* Les produits suggérés du panier: une rangée pleine largeur SOUS les totaux,
   au format des cartes du catalogue. */
body.woocommerce-cart .cart-collaterals > div[style] { grid-column: 1; grid-row: 1; }
body.woocommerce-cart .cart-collaterals .cart_totals { grid-column: 2; grid-row: 1; }
body.woocommerce-cart .cart-collaterals .cross-sells {
	grid-column: 1 / -1; grid-row: 2; float: none; width: auto; margin: 40px 0 0; padding: 48px 0 0; border-top: 1px solid var(--gb-bord);
}
body.woocommerce-cart .cross-sells > h2 { font: 800 clamp(30px, 3vw, 44px)/1.08 var(--gb-titres); letter-spacing: -.015em; margin: 0 0 28px; }
body.woocommerce-cart .cross-sells ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; margin: 0; padding: 0;
}
body.woocommerce-cart .cross-sells ul.products::before, body.woocommerce-cart .cross-sells ul.products::after { display: none; }
body.woocommerce-cart .cross-sells ul.products li.product {
	float: none; width: auto !important; margin: 0 !important; padding: 0; border: 0; box-shadow: none; text-align: left;
	display: flex; flex-direction: column;
}
body.woocommerce-cart .cross-sells ul.products li.product img {
	display: block; box-sizing: border-box; width: 100%; height: auto; aspect-ratio: 1; margin: 0 0 14px; padding: 14px;
	object-fit: contain; border-radius: 13px; background: var(--gb-image);
}
body.woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title {
	margin: 0; padding: 0; font: 800 19px/1.2 var(--gb-titres); color: var(--gb-foret); text-transform: none;
}
body.woocommerce-cart .cross-sells ul.products li.product .summary,
body.woocommerce-cart .cross-sells ul.products li.product .product_filter { display: none; }
body.woocommerce-cart .cross-sells ul.products li.product .price { font: 400 15px/1.6 var(--gb-police); color: var(--gb-prix); }
body.woocommerce-cart .cross-sells ul.products li.product .cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
body.woocommerce-cart .cross-sells ul.products li.product .cta a.button { display: none; }

@media (max-width: 900px) {
	body.woocommerce-cart .cart-collaterals > div[style],
	body.woocommerce-cart .cart-collaterals .cart_totals,
	body.woocommerce-cart .cart-collaterals .cross-sells { grid-column: 1; grid-row: auto; }
	body.woocommerce-cart .cross-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
}
@media (max-width: 768px) {
	/* Une ligne de panier: le nom en tête, la croix en haut à droite, puis
	   prix, quantité, total en « libellé : valeur ». Pas de vignette. */
	body.woocommerce-cart table.shop_table.cart tr.cart_item { position: relative; }
	body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-thumbnail { display: none; }
	body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove {
		position: absolute; top: 14px; right: 0; display: block; padding: 0; border: 0;
	}
	body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-remove::before,
	body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name::before { display: none; }
	body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name { display: block; padding: 18px 48px 8px 0; text-align: left; }
}

/* Retouches du panier: bouton du code promo sur une ligne ; en mobile, le nom
   du produit à gauche (WooCommerce aligne à droite en !important) et le libellé
   du total en français (le gabarit de 2016 écrit « Subtotal »). */
body.woocommerce-cart td.actions .button { white-space: nowrap; }
@media (max-width: 768px) {
	body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-name { text-align: left !important; }
	body.woocommerce-cart table.shop_table.cart tr.cart_item td.product-subtotal::before { content: "Total" !important; }
}
