/* La Botte (thème bloc) — composants. Charte (couleurs, police, tailles) dans theme.json. */

:root {
	/* Couleurs : source unique dans theme.json (Styles › Couleurs de l'éditeur de site). */
	--lb-texte: var(--wp--preset--color--texte);
	--lb-fonce: var(--wp--preset--color--fonce);
	--lb-gris: var(--wp--preset--color--gris);
	--lb-trait: var(--wp--preset--color--trait);
	--lb-fond: var(--wp--preset--color--fond);
	--lb-orange: var(--wp--preset--color--orange);
	--lb-dore: var(--wp--preset--color--dore);
	--lb-promo: var(--wp--preset--color--promo);
	--lb-bandeau: var(--wp--preset--color--bandeau);
	--lb-trait-clair: var(--wp--preset--color--trait-clair);
	--lb-image: var(--wp--preset--color--image);
	--lb-large: 1160px; /* largeur utile de la production (1 440 px d'écran : marges de 140 px) */
	--lb-marge: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 14.4px/1.5 Montserrat, system-ui, sans-serif; color: var(--lb-texte); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--lb-orange); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
button, input, select { font: inherit; color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.screen-reader-text:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 8px 12px; background: #fff; z-index: 100; }

/* En-tête ------------------------------------------------------------------ */
.lb-bandeau { margin: 0; padding: 5px 15px; background: var(--lb-bandeau); color: #fff; font-size: 12.96px; font-weight: 700; line-height: 26.64px; letter-spacing: .3px; text-align: center; text-transform: uppercase; }
.lb-bandeau:empty { display: none; } /* pas de bandeau par défaut : seul site.js (« en direct ») le remplit, et il pousse alors l'en-tête (07/10) */
.lb-entete { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 19px; max-width: calc(1170px + 2 * var(--lb-marge)); margin: 0 auto; padding: 10px var(--lb-marge); }
.lb-entete > * { margin: 0; } /* pas de l'espacement de blocs (16 px) : il décalait la rangée vers le bas */
.lb-logo { margin: 0; }
.lb-logo img { width: 127px; max-width: none; height: auto; } /* max-width 100 % : la grille rognait le logo (12 px en 1 024 px, recette [3]) ; la recherche se rétrécit à sa place */
.lb-recherche { width: 473px; max-width: calc(100% - 24px); margin-left: 24px; }
.lb-entete > .lb-raccourcis:last-child { gap: 55px; margin-right: 28px; }
/* FiboSearch, style « pirx » : champ bordé de la production (sélecteurs à la force des siens). */
.lb-recherche .dgwt-wcas-search-wrapp { max-width: none; }
.lb-recherche .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp { padding: 0; background: none; }
.lb-recherche .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input { height: 42px; padding: 12px 24px 12px 48px; border: 1px solid var(--lb-fonce); border-radius: 8px; background: #fff; box-shadow: none; font-size: 14px; }
.lb-recherche .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit { left: 8px; top: 4.5px; }
/* Icônes de la production (collection « La Botte ») : pleines, 26 px (contact), 28 px (compte), 38 px (sac). */
.lb-raccourcis { display: flex; align-items: center; gap: 58px; }
.lb-raccourcis svg { display: block; width: 26px; height: 26px; fill: currentColor; }
.lb-entete > .lb-raccourcis:last-child svg { width: 28px; height: 28px; }
.lb-entete > .lb-raccourcis:last-child .lb-panier svg { width: 38px; height: 38px; }
.lb-panier { position: relative; display: block; color: var(--lb-fonce); }
.lb-panier__n:not(:empty) { position: absolute; top: -3px; right: -3px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; background: var(--lb-orange); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
/* Méga-menu : parties « mega-menu-fr / -en » en blocs natifs. Un bloc Détails par entrée (un seul ouvert à la
   fois : attribut name), un bloc Colonnes par panneau. Ouverture au survol : lb.js. Mesures de la production. */
.lb-mega { position: relative; display: flex; justify-content: center; margin: 0; border-block: 1px solid var(--lb-trait); }
.lb-mega > .lb-mega__entree { margin: 0; }
.lb-mega__entree > summary { display: block; padding: 14px 20px; color: #1f2124; font-size: 14px; font-weight: 600; line-height: 21px; text-transform: uppercase; list-style: none; cursor: pointer; }
.lb-mega__entree > summary::-webkit-details-marker { display: none; }
/* Entre 901 et 1 180 px : entrées resserrées, sur une ligne (« Nos marques », « La Botte » passaient à la ligne, recette [3]). */
@media (min-width: 901px) and (max-width: 1180px) { .lb-mega__entree > summary { padding-inline: 12px; white-space: nowrap; } }
.lb-mega__entree[open] > summary { background: var(--lb-dore); color: #fff; }
/* Entrée mise en avant par les réglages « en direct » (lbDirect.menu : fond, survol, texte), ex. « Soldes » en rouge. */
.lb-mega__entree--avant > summary { border: 1px solid var(--lb-avant-fond); background: var(--lb-avant-fond); color: var(--lb-avant-texte); font-weight: 700; transition: background-color .25s ease, border-color .25s ease; }
.lb-mega__entree--avant > summary:hover, .lb-mega__entree--avant[open] > summary { border-color: var(--lb-avant-survol); background: var(--lb-avant-survol); color: var(--lb-avant-texte); }
.lb-mega .wp-block-columns.lb-mega__panneau { position: absolute; top: 100%; left: 0; right: 0; z-index: 50; flex-wrap: nowrap; gap: 20px; margin: 0; padding: 10px max(var(--lb-marge), calc((100% - 1170px) / 2)); background: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .08); }
.lb-mega .wp-block-columns.lb-mega__panneau > .wp-block-column { display: flex; flex: 0 1 270px; min-width: 0; flex-direction: column; gap: 4px; padding: 10px; }
.lb-mega__panneau .wp-block-column > * { margin: 0; }
.lb-mega__titre { padding-bottom: 8px; border-bottom: 1px solid #000; font-size: 14.4px; font-weight: 700; line-height: 1.2; }
.lb-mega__liens { padding: 0; list-style: none; }
.lb-mega__liens li { padding-bottom: 3.6px; font-size: 14.4px; line-height: 26.64px; }
.lb-mega__accroche { font-size: 9px; line-height: 1.6; }
.lb-mega__image img { display: block; width: 100%; height: auto; }
/* « Nos 6 boutiques » (colonne photo + liste) : photo à gauche, liste à droite, colonne double comme la prod (564 px utiles). */
@media (min-width: 901px) {
	.lb-mega .wp-block-columns.lb-mega__panneau > .wp-block-column:has(> .lb-mega__image + .lb-mega__liens) { display: grid; flex: 0 1 584px; min-width: 0; grid-template-columns: 1fr 1fr; column-gap: 0; align-content: start; }
	.lb-mega__panneau > .wp-block-column > .lb-mega__titre:has(~ .lb-mega__image + .lb-mega__liens) { grid-column: 1 / -1; }
	.lb-mega__panneau .lb-mega__image + .lb-mega__liens { padding-left: 10px; }
}
.lb-mega .lb-mega__boutons { flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; }
.lb-mega .lb-mega__bouton .wp-block-button__link { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 52px; padding: 8px 12px; border: 2px solid var(--lb-texte); border-radius: 0; background: #fff; color: var(--lb-texte); font-size: 12.24px; font-weight: 600; line-height: 1.2; text-align: center; text-transform: uppercase; transition: background-color .2s, border-color .2s, color .2s; -webkit-tap-highlight-color: transparent; }
/* Recette [3] : boutons de même hauteur (une ou deux lignes) ; colonnes rétrécies sous 1 180 px au lieu de déborder ;
   survol foncé comme la prod (souris seulement), focus clavier et toucher au doré du site (« jaune primaire »). */
@media (hover: hover) { .lb-mega .lb-mega__bouton .wp-block-button__link:hover { background: var(--lb-texte); color: #fff; } }
.lb-mega .lb-mega__bouton .wp-block-button__link:is(:focus-visible, :active) { border-color: var(--lb-dore); background: var(--lb-dore); color: #fff; outline: 0; }
/* Entrée « 🇫🇷 🇬🇧 Langue » (comme la prod) : petit panneau sous l'entrée, langues en liste (bloc la-botte/langues) ;
   masquée à partir de 1 024 px comme en prod (li:has(#lang_header) { display: none }), texte à 0,8 em, sans filet. */
.lb-mega__entree--langue { position: relative; }
.lb-mega .lb-mega__entree--langue > summary { border: 0; font-size: .8em; text-transform: none; }
@media (min-width: 1024px) { .lb-mega__entree--langue { display: none; } }
.lb-mega__entree--langue .lb-langues { position: absolute; top: 100%; right: 0; z-index: 50; min-width: 180px; padding: 8px 0; background: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .08); }
.lb-langues--liste .wpml-ls-legacy-list-vertical { width: auto; }
.lb-langues--liste ul { margin: 0; padding: 0; list-style: none; }
.lb-langues.lb-langues--liste .wpml-ls-legacy-list-vertical a { display: flex; align-items: center; gap: 8px; padding: 8px 18px; border: 0; background: none; color: var(--lb-texte); font-size: 14.4px; line-height: 21px; }
.lb-langues.lb-langues--liste a:hover, .lb-langues.lb-langues--liste .wpml-ls-current-language > a { color: var(--lb-dore); }

/* Mise en page ------------------------------------------------------------- */
.wp-site-blocks > * + * { margin-block-start: 0; } /* en-tête, contenu, pied : bord à bord (pas d'espacement de blocs) */
.lb-main { max-width: calc(var(--lb-large) + 2 * var(--lb-marge)); margin: 0 auto; padding: 0 var(--lb-marge) 48px; }
/* Modèle « Page sans titre » (pages de contenu reprises d'Elementor) : 10 px avant le pied et, sur mobile, 10 px de
   marge latérale, comme en production. Titre de page (h1 du contenu, classe lb-titre-page) : blanc de la production. */
.lb-main--page { padding-bottom: 10px; }
.lb-titre-page { padding-block: 60px; }
@media (max-width: 767px) {
	.lb-main.lb-main--page { padding-inline: 10px; }
	.lb-titre-page { padding-block: 40.5px; }
}
/* Fil d'Ariane sur un bandeau gris pleine largeur (ombre étalée, rognée en hauteur). Sélecteur sur .lb-main et non
   sur .woocommerce : WooCommerce ne pose pas cette classe sur le <body> des pages Panier, Commande, Mon compte. */
.lb-main .woocommerce-breadcrumb { margin: 0 0 18px; padding: 20px 0; background: var(--lb-fond); box-shadow: 0 0 0 100vmax var(--lb-fond); clip-path: inset(0 -100vmax); color: #767676; font-size: 13.25px; line-height: 26.64px; } /* texte centré dans la bande (13 / 26 px avant, recette [82]) */
/* Fil d'Ariane des pages de contenu (section sous le bandeau, reprise d'Elementor) : même bande et même texte que la boutique,
   la fiche, les magasins (recette [46]). */
.lb-contenu .lb-bloc.alignfull:is(:has(> .lb-sous-bloc > .woocommerce-breadcrumb), :has(> .woocommerce-breadcrumb)) { background: var(--lb-fond) !important; }
.lb-contenu .lb-bloc.alignfull:has(> .woocommerce-breadcrumb) { padding-block: 20px !important; }
.lb-contenu .lb-bloc > .lb-sous-bloc:has(> .woocommerce-breadcrumb) { padding: 20px 0 !important; }
.lb-contenu .woocommerce-breadcrumb { margin: 0; padding: 0 5px; color: #767676; font-size: 13.25px; line-height: 26.64px; }

/* Bloc Icône : les tracés Font Awesome peuvent déborder de leur cadre (comme avec la feuille de Font Awesome). */
.wp-block-icon svg { overflow: visible; }

/* Pied de page ------------------------------------------------------------- */
/* Parties « footer » / « footer-en » (inc/pied.php) : réassurance, trois cartes (avis, newsletter AcyMailing,
   réseaux), bandeau foncé (menus de navigation, sélecteur WPML, logos). Mesures de la production (1 440 px). */
.lb-pied > * + *, .lb-pied__haut > * + * { margin-block-start: 0; }
.lb-pied p { margin: 0; }
.lb-pied__haut { padding: 10px 10px 0; }
.lb-pied .lb-pied__trait { width: 100%; margin: 8px auto; border: 0; border-top: 1px solid rgba(0, 0, 0, .28); opacity: 1; }
.lb-pied .lb-pied__garanties { gap: 20px; margin: 26px auto 25px; }
.lb-pied__garanties > .wp-block-column { display: flex; flex-direction: column; gap: 0; padding: 0 10px; }
.lb-pied__garanties .wp-block-icon { margin: 0 0 17px; }
.lb-pied__garanties .wp-block-icon svg { height: 26px; } /* boîte de 26 × 26 px comme la production (icônes de proportions diverses) */
.lb-pied__garantie { margin-bottom: 6px !important; font-size: 12px; font-weight: 700; line-height: 14px; text-transform: uppercase; }
.lb-pied__garantie-texte { font-size: 12px; line-height: 26.64px; }
.lb-pied .lb-pied__cartes { gap: 15px; margin: 28px auto 20px; padding-bottom: 10px; }
.lb-pied__cartes > .lb-pied__carte { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; min-height: 300px; padding: 16px; }
.lb-pied__carte > * { margin: 0; }
.lb-pied__titre { font-size: 14.4px; font-weight: 500; line-height: 26.64px; text-transform: uppercase; }
.lb-pied__sous-titre { font-size: 14.4px; line-height: 26.64px; }
.lb-pied__avis { min-height: 66px; }
/* Badge Avis Vérifiés : image fournie par Skeepers (note figée dans le SVG, comme en prod ; à remplacer par leur nouveau code au besoin). */
.lb-pied__avis img { display: block; width: 160px; max-width: 100%; height: auto; margin-inline: auto; }
.lb-pied__reseaux.wp-block-social-links { gap: 0; margin: 0; }
.lb-pied__reseaux .wp-social-link a { padding: 16px; }
.lb-pied__reseaux .wp-social-link svg { width: 32px; height: 32px; }
.lb-pied__reseaux .wp-social-link a:hover { transform: scale(.9); transition: transform .3s; }
/* Formulaire AcyMailing (bloc de l'extension). */
:is(.lb-pied, .lb-contenu) .acym_module { width: 100%; }
:is(.lb-pied, .lb-contenu) .acym_form { display: flex; flex-direction: column; align-items: center; gap: 19px; font-size: 12.96px; }
:is(.lb-pied, .lb-contenu) .acym_form .onefield, :is(.lb-pied, .lb-contenu) .acym_form label { display: block; margin: 0; }
:is(.lb-pied, .lb-contenu) .acym__users__creation__fields__title { display: block; font-weight: 500; line-height: 26.64px; }
:is(.lb-pied, .lb-contenu) .acym__user__edit__email { width: 250px; max-width: 100%; height: 39px; padding: 8px 16px; border: 1px solid #666; border-radius: 3px; background: #fefefe; font-size: 14px; }
:is(.lb-pied, .lb-contenu) .fieldacyterms { line-height: 19.44px; }
:is(.lb-pied, .lb-contenu) .fieldacyterms a { color: var(--lb-dore); font-weight: 500; }
:is(.lb-pied, .lb-contenu) .acysubbuttons { margin: 19px 0 15px; }
:is(.lb-pied, .lb-contenu) .acysubbuttons .subbutton { padding: 8px 13px; border: 2px solid #fff; background: var(--lb-dore); color: #fff; font-size: 12.96px; font-weight: 700; line-height: 12.96px; text-transform: uppercase; cursor: pointer; }
:is(.lb-pied, .lb-contenu) .acysubbuttons .subbutton:hover { background: var(--lb-texte); }
/* Formulaire AcyMailing d'une page (Inscription à la newsletter, recette [33]) : mêmes styles que le pied de page ; sur fond doré,
   bouton foncé (le doré du bouton s'y perdait). */
.lb-contenu .has-dore-background-color .acysubbuttons .subbutton { background: var(--lb-texte); }
.lb-contenu .has-dore-background-color .acysubbuttons .subbutton:hover { background: #fff; color: var(--lb-texte); }
.lb-contenu .has-dore-background-color:has(> .acym_module) { text-align: center; } /* titre du formulaire (texte nu d'AcyMailing) */
.lb-contenu .has-dore-background-color .fieldacyterms a { color: var(--lb-texte); text-decoration: underline; }
/* Bandeau foncé. */
.lb-pied__bas { padding: 25px 10px; }
.lb-pied .lb-pied__colonnes { gap: 0; margin: 0 auto; }
.lb-pied__colonnes > .wp-block-column { display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.lb-pied__colonnes > .wp-block-column > * { margin: 0; }
.lb-pied__rubrique { font-size: 15px; font-weight: 700; line-height: 26.64px; text-transform: uppercase; }
.lb-pied__menu ul { margin: 0; padding: 0; list-style: none; }
.lb-pied__menu .wp-block-navigation__container { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lb-pied__menu .wp-block-navigation-item__content { display: block; font-size: 14px; font-weight: 500; line-height: 26.64px; transition: color .3s; }
.lb-pied__menu .lb-menu-accent > .wp-block-navigation-item__content.wp-block-navigation-item__content, .lb-pied__menu .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { color: var(--lb-dore); }
.lb-pied__colonnes .lb-langues { margin-top: auto; }
/* Sélecteur de langue (liste déroulante de WPML, inc/blocs.php) : valeurs de la production sur le bandeau foncé. */
.lb-langues .wpml-ls-legacy-dropdown { background-color: transparent; }
.lb-langues .wpml-ls-current-language > a { display: inline-flex; width: 100%; padding: 15px 10px; background-color: transparent; color: #fff; }
.lb-langues .wpml-ls-sub-menu a { padding: 15px 10px; }
.lb-pied .lb-pied__logos { gap: 20px; }
.lb-pied__logo { width: 58px; height: 43px; margin: 0; padding: 8px; background: #fff; }
.lb-pied__logo--large { width: 97px; }
.lb-pied__logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 767px) {
	.lb-pied .lb-pied__garanties { flex-wrap: wrap !important; row-gap: 20px; }
	.lb-pied .lb-pied__garanties > .wp-block-column { flex: 0 0 calc(50% - 10px) !important; min-height: 150px; justify-content: center; }
	.lb-pied__cartes > .lb-pied__carte { min-height: 250px; }
	.lb-pied__bas { padding: 25px 0; }
	.lb-pied .lb-pied__logos { justify-content: space-between; }
	.lb-pied__logo { flex: 0 0 calc((100% - 40px) / 3); width: auto; }
	.lb-pied__logo--large { flex-basis: 122px; }
	.lb-pied .lb-pied__logos:has(.lb-pied__logo--large) { justify-content: flex-start; }
}

/* Archive ------------------------------------------------------------------ */
.wp-block-columns.lb-archive { display: grid; grid-template-columns: 277px 1fr; gap: 23px; align-items: start; margin: 0; }
.wp-block-columns.lb-archive > .wp-block-column { min-width: 0; }
.lb-filtres > * + * { margin-top: 0; }
.lb-filtres__tete h2 { margin: 8px 0 16px; font-size: 24.19px; font-weight: 600; line-height: 1.2; }
.lb-filtres__fermer, .lb-filtres__ouvrir { display: none; }
/* Filtres actifs (FacetWP « selections ») et remise à zéro. */
.facetwp-selections ul { margin: 0; padding: 0; list-style: none; }
.facetwp-selections li { display: block; }
.facetwp-selections .facetwp-selection-label { display: none; }
.facetwp-selections .facetwp-selection-value { display: block; width: fit-content; margin: 4px 2px; padding: 8px 24px 8px 8px; background-color: #f5f5f5; background-position: right 8px center; font-weight: 500; line-height: 1; cursor: pointer; }
.lb-filtres .facetwp-reset { margin: 4px 0 16px; padding: 0; border: 0; background: none; font-size: 13.68px; text-decoration: underline; cursor: pointer; }
/* Sections de filtres, toutes ouvertes comme en production. */
.lb-facette { border-top: 1px solid #d5d8dc; }
.lb-facette summary { display: flex; justify-content: space-between; align-items: center; padding: 10px; color: #1f2124; font-size: 16px; font-weight: 700; line-height: 26.64px; list-style: none; cursor: pointer; }
.lb-facette summary::-webkit-details-marker { display: none; }
.lb-facette summary::after { content: ""; width: 7px; height: 7px; margin-right: 2px; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateY(2px) rotate(-45deg); }
.lb-facette:not([open]) summary::after { transform: translateY(-2px) rotate(135deg); }
.lb-facette .facetwp-facet { max-height: 305px; overflow-y: auto; margin: 0 10px 15px; }
/* Recherche dans les facettes marque et taille (assets/filtres.js) : valeurs de la prod (9 px, 0,95em, 8 px dessous). */
.lb-filtre-recherche { display: block; width: calc(100% - 20px); margin: 0 10px 8px; padding: 9px; border: 1px solid var(--lb-trait, #e1e1e1); font: inherit; font-size: .95em; }
@media (max-width: 767px) { .lb-filtre-recherche { padding: 14px 10px; } }
.lb-facette > input[type=text] { width: calc(100% - 20px); margin: 0 10px 8px; padding: 9px; border: 1px solid #666; border-radius: 3px; font-size: 13.68px; } /* recherche marque / taille (code maison) */
.facetwp-checkbox { display: flex; align-items: center; margin: 0 !important; padding: 6px 0 !important; background: none !important; line-height: 26.64px; cursor: pointer; }
.facetwp-checkbox::before { content: ""; flex: none; width: 26px; height: 26px; margin-right: 8px; border: 1px solid #010101; }
.facetwp-display-value { flex: 0 1 auto; min-width: 0; overflow: hidden; max-width: 200px; color: var(--lb-fonce); text-overflow: ellipsis; white-space: nowrap; }
.facetwp-checkbox.checked::before { background: var(--lb-dore); border-color: var(--lb-dore); }
.facetwp-counter { flex: none; margin-left: .3em; white-space: nowrap; }
.facetwp-toggle { color: var(--lb-texte); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; } /* « Voir plus » (recette [73] : l'orange se perdait sur mobile) */
.facetwp-facet-taille { display: flex; flex-wrap: wrap; gap: 6px; }
.facetwp-facet-taille .facetwp-checkbox { justify-content: center; width: 80px; height: 44px; margin: 0 !important; border: 1px solid var(--lb-fonce); border-radius: 4px; }
.facetwp-facet-taille .facetwp-checkbox::before, .facetwp-facet-taille .facetwp-counter { display: none; }
.facetwp-facet-taille .facetwp-checkbox.checked { border-color: var(--lb-dore); background: var(--lb-dore) !important; color: var(--lb-fonce); }
.facetwp-facet-couleur { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px 0; } /* colonnes égales sur toute la largeur (tiroir mobile : pastilles tassées à gauche) */
.facetwp-color-wrap { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; cursor: pointer; }
/* Pastilles (recette [72]) : sans la marge droite de FacetWP Color (pastille décalée par rapport au libellé, surtout visible sur
   mobile) ; position relative : sa coche (::after en position absolue) restait en place quand on fait défiler la liste ;
   coche foncée sur les couleurs claires ; « Multicolore » (couleur du terme : #f7f7f7, presque blanc) en arc-en-ciel. */
.facetwp-color-wrap .facetwp-color { position: relative; width: 30px; height: 30px; margin: 0; border-radius: 50%; } /* sélecteur renforcé : front.css de FacetWP Color est chargée après */
.facetwp-color.checked::after { margin: 9px 0 0 7px; }
.facetwp-color:is([data-color="#ffffff"], [data-color="#f7f7f7"], [data-color="#eae4a1"], [data-color="#ffda23"], [data-color="#d1d1d1"]).checked::after { border-color: var(--lb-fonce); }
.facetwp-color[data-value^="multicol"] { background: conic-gradient(#ed2f2f, #ff8800, #ffda23, #157f43, #257aea, #8a3fd1, #ed2f2f) !important; }
.facetwp-color[data-value^="multicol"].checked::after { border-color: #fff; filter: drop-shadow(0 0 1px #000); }
/* Couleur sans code (« Incolore » : FacetWP la rend sans enveloppe ni libellé, carré blanc) : pastille en damier, libellé tiré de
   la valeur. */
.facetwp-facet-couleur > .facetwp-color { position: relative; justify-self: center; width: 30px; height: 30px; margin: 0 0 26.64px; border-radius: 50%; background: repeating-conic-gradient(#ddd 0 25%, #fff 0 50%) 50% / 10px 10px; box-shadow: 1px 2px 3px #ccc; }
.facetwp-facet-couleur > .facetwp-color::before { content: attr(data-value); position: absolute; top: 30px; left: 50%; font-size: 12.8px; line-height: 26.64px; text-transform: capitalize; white-space: nowrap; transform: translateX(-50%); }
.facetwp-facet-couleur > .facetwp-color.checked::after { border-color: var(--lb-fonce); }
.facetwp-color[data-color="#ffffff"] { border: 1px solid #aaa; }
.facetwp-color.checked { outline: 2px solid var(--lb-fonce); outline-offset: 2px; }
.facetwp-color-label { font-size: 12.8px; line-height: 26.64px; }
/* Règles du CSS personnalisé de la production (poc/imports/prod-css-personnalise-elementor.css). */
.tax-product_cat:not(.search) .lb-facette:has(.facetwp-facet-sexe) { display: none; } /* le sexe découle de la catégorie */
.lb-facette:has(.facetwp-facet-talon .facetwp-checkbox:first-child:last-child) { display: none; }
.facetwp-facet-talon .facetwp-display-value::after { content: " cm"; }

.lb-titre-archive { margin: 0 0 31px; padding: 33.9px 0; border: 3px solid var(--lb-trait-clair); border-radius: 1px; font-size: 21.6px; font-weight: 700; line-height: 1; text-align: center; text-transform: uppercase; }
.lb-barre { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 55px; }
.lb-barre .facetwp-facet { margin: 0; }
.lb-barre select { width: 144px; height: 29px; padding: 5px; border: 1px solid #666; border-radius: 3px; background: #fff; color: #000; font-size: 12.96px; }

/* Grille et carte produit (sélecteurs à la force de ceux de woocommerce.css). */
ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 11px; margin: 0; padding: 0; list-style: none; }
ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
.woocommerce ul.products li.product.lb-carte { position: relative; float: none; width: auto; margin: 0; padding: 0; }
.lb-carte > a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--lb-trait-clair); color: var(--lb-texte); }
.lb-carte__image { position: relative; display: block; height: 315px; background: var(--lb-image); }
.woocommerce ul.products li.product.lb-carte a img { width: 100%; height: 100%; margin: 0; object-fit: contain; background: var(--lb-image); }
.woocommerce ul.products li.product.lb-carte a img.lb-carte__survol { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.lb-carte:hover .lb-carte__survol { opacity: 1 !important; }
.lb-carte__remise { position: absolute; top: 9px; right: 9px; padding: 5px; border-radius: 5px; background: var(--lb-promo); color: #fff; font-weight: 700; line-height: 26.64px; }
.lb-carte__marque { margin-top: 6px; padding: 0 7px; font-size: 16.56px; font-weight: 600; line-height: 26.64px; }
.woocommerce ul.products li.product.lb-carte .lb-carte__nom { margin: 0; padding: 6.12px 7px; font-size: 12.24px; font-weight: 400; line-height: 1; text-transform: uppercase; }
.lb-carte__resume { min-height: 42px; margin-bottom: 8px; padding: 1.27px 7px 0; font-size: 12.67px; font-style: italic; line-height: 1.1; }
.woocommerce ul.products li.product.lb-carte .price { display: block; margin: auto 0 0; padding: 10px 7px 0; border-top: 2px solid #ccc; color: var(--lb-texte); font-size: 14.4px; font-weight: 600; line-height: 26.64px; }
.woocommerce ul.products li.product.lb-carte .price del { color: inherit; opacity: 1; font-weight: 400; }
.woocommerce ul.products li.product.lb-carte .price ins { color: var(--lb-promo); font-size: 1.1em; font-weight: 600; text-decoration: none; }
.lb-carte .price ins .amount::before { content: "| "; color: #999; font-weight: 400; }
/* Prix et tailles en bas de la carte (margin-top: auto) : prix alignés dans une rangée même quand un nom passe sur deux lignes
   (vêtements, recette [57]) ; tailles séparées par un espace au lieu de virgules. */
.lb-carte__tailles { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0 9px; visibility: hidden; min-height: 98px; padding: 8px 7px 0; font-size: 12.96px; line-height: 19.44px; }
.lb-carte:hover .lb-carte__tailles { visibility: visible; }
/* Type de promotion (champ ACF « type_promo » posé par 4D pendant une opération) : carte et fiche, comme la prod. */
.lb-carte__typepromo, .lb-champ--type_promo { color: var(--lb-promo); font-style: italic; font-weight: 500; }
.lb-carte__typepromo { display: block; padding: 0 .5em; font-size: .9em; }
.lb-champ--type_promo { font-size: .85em; }
/* Mode « soldes » (lbDirect.remise, réglages « en direct ») : rouge #da3a34 de la prod (classes .remise.active
   d'Elementor) sur les taux de remise, prix remisés, type de promotion, lignes de remise du panier et mention des fiches. */
.lb-mode-remise .lb-carte__remise, .lb-mode-remise .lb-galerie .wc-block-components-product-sale-badge, .lb-mode-remise .lb-remise { background: #da3a34; }
.lb-mode-remise .price ins, .lb-mode-remise .price ins .amount, .lb-mode-remise .woocommerce ul.products li.product.lb-carte .price ins,
.lb-mode-remise .lb-carte__typepromo, .lb-mode-remise .lb-champ--type_promo, .lb-mode-remise .cart-discount th, .lb-mode-remise .cart-discount td,
.lb-mode-remise .lb-recap .cart-discount th, .lb-mode-remise .lb-recap .cart-discount td { color: #da3a34 !important; }
.lb-mention-remise { margin: 0 0 12px; color: #da3a34; font-size: .85em; font-weight: 600; text-align: start; }
.price { color: var(--lb-texte); font-weight: 600; }
.price del { color: var(--lb-gris); font-weight: 400; margin-right: 6px; }
.price ins { text-decoration: none; color: var(--lb-promo); }
/* Article en promotion du panier et du récapitulatif de commande : prix barré, taux de remise, prix remisé dessous. */
.product-subtotal del, .lb-recap__prix del { color: var(--lb-gris); font-size: .9em; font-weight: 400; }
.lb-remise { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 3px; background: var(--lb-promo); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; vertical-align: 1px; }
.product-subtotal ins, .lb-recap__prix ins { display: block; color: var(--lb-promo); text-decoration: none; }
/* Comme en production : prix TTC affiché sans suffixe. */
.woocommerce-price-suffix { display: none; }

.facetwp-pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.facetwp-page { min-width: 34px; padding: 6px 10px; border: 1px solid var(--lb-trait); text-align: center; cursor: pointer; }
.facetwp-page.active { background: var(--lb-fonce); color: #fff; border-color: var(--lb-fonce); }
/* Bouton « Voir plus de produits » (facette pagination en load_more) : style « Contour » des boutons du site. */
.facetwp-facet-pagination:has(.facetwp-load-more) { display: flex; justify-content: center; margin: 40px 0 0; }
.facetwp-load-more, .lb-voir-plus { padding: 16px 32px; border: 2px solid var(--lb-dore); border-radius: 0; background: var(--lb-dore); color: #fff; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.1; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.facetwp-load-more:is(:hover, :focus-visible), .lb-voir-plus:is(:hover, :focus-visible) { background: #fff; color: var(--lb-dore); } /* en couleur, plus visible (recette [63]) ; survol comme les autres boutons */
@media (width <= 767px) { .facetwp-load-more, .lb-voir-plus { width: 100%; } }
.lb-grille-page__plus { display: flex; justify-content: center; margin: 40px 0 0; }
.lb-voir-plus.is-loading { animation: lb-chargement 1s ease infinite alternate; pointer-events: none; }
/* Description courte de la catégorie : sous le titre, centrée, avant la barre et la grille. */
.lb-intro-archive { max-width: 860px; margin: -6px auto 36px; line-height: 26.64px; text-align: center; }
.lb-intro-archive p { margin: 0 0 12px; }
.lb-intro-archive > :last-child { margin-bottom: 0; }
@media (width <= 767px) { .lb-intro-archive { margin: 14px 0 16px; padding: 0 10px; font-size: 14.4px; line-height: 23px; } }
/* Textes sous la grille : description de la marque, champ ACF « section_bas_de_page » des catégories (texte SEO). */
.lb-texte-archive, .lb-champ--section_bas_de_page { margin: 56px 0 0; padding: 10px 10px 30px; text-align: justify; }
.lb-texte-archive h2, .lb-champ--section_bas_de_page h2 { margin: 8px 0 16px; font-size: 34.56px; font-weight: 600; line-height: 1.2; text-align: center; }
.lb-texte-archive p, .lb-champ--section_bas_de_page p { margin: 0 0 12px; line-height: 26.64px; }
/* FAQ de la catégorie (JSON-LD FAQPage du champ, rendu en blocs Détails) : style des accordéons des pages de contenu. */
.lb-faq { display: flex; flex-direction: column; gap: 15px; margin-top: 40px; text-align: left; }
.lb-faq h2 { margin-bottom: 10px; }
.lb-faq__question > summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 15px; border: solid var(--wp--preset--color--trait-clair); border-width: 1px 3px 3px; border-radius: 1px; color: var(--wp--preset--color--texte); font-weight: 600; line-height: 1.6; list-style: none; cursor: pointer; }
.lb-faq__question > summary::-webkit-details-marker { display: none; }
.lb-faq__question > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.lb-faq__question[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.lb-faq__reponse { padding: 25px 30px 13px 15px; background: #fbfbfb; }
@media (width <= 767px) { .lb-faq__question > summary { font-size: 15px; } .lb-faq__reponse { padding: 20px 15px 8px; text-align: left; } }
/* Filtrage en cours (FacetWP pose .is-loading sur les facettes, grisées par son front.css) :
   la grille « respire » comme la Loop Grid de la production. */
.lb-archive:has(.facetwp-facet.is-loading):not(.lb-charge-plus) .facetwp-template { animation: lb-chargement 1s ease infinite alternate; pointer-events: none; }
/* « Voir plus de produits » (classe posée par lb.js) : la grille reste nette, c'est le bouton qui respire. */
.lb-charge-plus .facetwp-load-more { animation: lb-chargement 1s ease infinite alternate; pointer-events: none; }
@keyframes lb-chargement { 50% { opacity: .6; } }
@media (prefers-reduced-motion: reduce) {
	.lb-archive:has(.facetwp-facet.is-loading):not(.lb-charge-plus) .facetwp-template, .lb-charge-plus .facetwp-load-more { animation: none; opacity: .6; }
}

/* Fiche produit ------------------------------------------------------------ */
.lb-fiche__haut { display: grid; grid-template-columns: 767px 1fr; gap: 29px; align-items: start; margin: 0; }
.lb-fiche__haut > .wp-block-column { min-width: 0; }
/* Galerie : bloc « Galerie de produit » de WooCommerce (lb-galerie). Photo en 3:2 (93 % du catalogue ; portraits et
   carrés entiers sur le fond des photos), zoom au survol, vignettes de 69 px centrées dessous. Feuille du bloc en :where(). */
.lb-galerie { gap: 0; }
.lb-galerie .wc-block-product-gallery-large-image__wrapper { background: var(--lb-fond); }
.lb-galerie .wc-block-product-gallery-thumbnails { aspect-ratio: auto !important; height: auto; margin-block: 1rem; }
.lb-galerie .wc-block-product-gallery-thumbnails__scrollable { justify-content: center; gap: 10px; }
.lb-galerie .wc-block-product-gallery-thumbnails__thumbnail { height: auto; }
.lb-galerie .wc-block-product-gallery-thumbnails__thumbnail__image { width: 69px; height: 69px; border: 1px solid #ddd; border-radius: 2px; filter: none; }
.lb-galerie .wc-block-product-gallery-dialog__content > * { flex-shrink: 0; } /* plein écran : Safari rétrécissait les photos pour les faire tenir dans la fenêtre */
.lb-galerie .wc-block-next-previous-buttons__button { border: 0; border-radius: 50%; background: rgba(255,255,255,.8); }
/* Chevrons de WooCommerce (8 × 12 px sans viewBox, pointes rognées de quelques centièmes) : agrandis, sans rognage (recette [84]). */
.lb-galerie .wc-block-next-previous-buttons__icon { overflow: visible; color: var(--lb-texte); transform: scale(1.4); }
/* Zoom au survol comme la prod (lb.js, loupe en haute définition à taille réelle). Zoom ×1,3 du bloc neutralisé sous la
   loupe seulement : il reste le zoom de secours (photo HD en cours de téléchargement, introuvable ou trop petite). */
.lb-galerie .wc-block-product-gallery-large-image__wrapper { position: relative; overflow: hidden; }
.lb-galerie .wc-block-woocommerce-product-gallery-large-image__image--hoverZoom:has(+ .lb-loupe.est-visible) { transform: none !important; }
.lb-loupe { position: absolute; z-index: 1; width: auto !important; max-width: none !important; height: auto !important; max-height: none !important; background: var(--lb-image, #f2f2f2); opacity: 0; transition: opacity .15s; pointer-events: none; }
.lb-loupe.est-visible { opacity: 1; }
/* Appui prolongé (mobile) : pas de menu « enregistrer l'image » ni de sélection pendant le zoom. */
.lb-galerie :is(.wc-block-woocommerce-product-gallery-large-image__image, .lb-loupe), .lb-galerie .wc-block-product-gallery-large-image { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.lb-galerie .wp-block-woocommerce-product-sale-badge { position: absolute; top: -5px; right: -5px; z-index: 2; margin: 0; } /* conteneur du bloc à 5 px du bord */
.lb-galerie .wc-block-components-product-sale-badge { position: static; margin: 0; padding: 8px 10px; border: 0; border-radius: 2px; background: var(--lb-promo); color: #fff; font-size: 15.84px; font-weight: 700; line-height: 26.64px; text-transform: none; }
.lb-fiche__achat > * { margin-top: 0; margin-bottom: 0; }
/* Favoris (YITH) : cœur rond sur la galerie ; le lien couvre le rond (ajout, ou « voir la liste » si déjà ajouté). */
.lb-fiche__galerie { position: relative; }
.lb-favoris { position: absolute; top: 12px; left: 14px; z-index: 5; margin: 0; }
.lb-favoris .yith-wcwl-add-to-wishlist { position: relative; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0; border: 1px solid var(--lb-orange); border-radius: 50%; background: #fff; color: var(--lb-orange); font-size: 0; }
.lb-favoris .yith-wcwl-add-to-wishlist a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.lb-favoris svg { width: 22px; height: 22px; }
.lb-favoris svg ~ svg, .lb-favoris a svg:not(:first-child) { display: none; }
.lb-fiche__marque { padding-top: 4.68px; font-size: 18.72px; font-weight: 700; line-height: 1; }
.woocommerce div.product .lb-fiche__achat .product_title { margin: 8px 0 14px; font-size: 12px; font-weight: 400; line-height: 14.4px; text-transform: uppercase; }
.lb-fiche__resume p { margin: 0 0 13px; font-size: 13px; line-height: 24.69px; }
.lb-fiche-blocs .wc-block-components-product-price, .lb-fiche__achat .price { display: block; margin-bottom: 15px; font-size: 18px; font-weight: 600; line-height: 26.64px; }
.lb-fiche__achat .wc-block-components-product-price del { color: rgba(51, 51, 51, .46); font-size: 14.58px; font-weight: 600; }
.lb-fiche__achat .wc-block-components-product-price ins { color: var(--lb-texte); font-size: 20.7px; font-weight: 600; text-decoration: none; }
.lb-fiche__achat .wc-block-components-product-price ins .amount::before { content: "| "; color: #999; font-size: 18px; font-weight: 400; }
/* « Bien choisir sa pointure » : lien orange souligné, pictogramme de pas. */
.lb-guide { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 19px; padding: 0; border: 0; background: none; color: var(--lb-orange); font-size: 14.4px; line-height: 26.64px; text-decoration: underline; cursor: pointer; }
.lb-guide::before { content: ""; width: 14px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cellipse cx='3.5' cy='3.5' rx='2.5' ry='3.3'/%3E%3Cellipse cx='10.5' cy='8.2' rx='2.5' ry='3.3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 12'%3E%3Cellipse cx='3.5' cy='3.5' rx='2.5' ry='3.3'/%3E%3Cellipse cx='10.5' cy='8.2' rx='2.5' ry='3.3'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Guide des pointures : fenêtre centrée (<dialog>), contenu défilant, croix fixe ; plein écran sur mobile. */
.lb-guide__fenetre { width: min(880px, calc(100% - 48px)); max-width: none; max-height: min(88vh, 960px); margin: auto; padding: 0; border: 0; color: var(--lb-texte); background: #fff; box-shadow: 0 24px 64px rgba(0,0,0,.28); overflow: hidden; }
.lb-guide__fenetre[open] { display: flex; flex-direction: column; animation: lb-guide-entree .2s ease-out; }
.lb-guide__fenetre::backdrop { background: rgba(0,0,0,.6); }
@keyframes lb-guide-entree { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .lb-guide__fenetre[open] { animation: none; } }
html:has(.lb-guide__fenetre[open]) { overflow: hidden; }
.lb-guide__defilement { overflow-y: auto; overscroll-behavior: contain; padding: 44px 64px 48px; }
.lb-guide__fermer { position: absolute; top: 14px; right: 14px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: #fff; color: var(--lb-orange); cursor: pointer; }
.lb-guide__fermer svg { width: 22px; height: 22px; }
.lb-guide__fermer:hover { color: var(--lb-texte); }
.lb-guide__contenu { line-height: 1.85; }
.lb-guide__contenu > * { margin-block: 0 14px; }
.lb-guide__contenu .lb-guide__titre { margin: 0 32px 28px; padding-bottom: 20px; border-bottom: 1px solid var(--lb-trait); font-size: 22px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.lb-guide__contenu h3 { margin: 32px 0 12px; font-size: 20.16px; font-weight: 500; line-height: 1.2; }
.lb-guide__contenu ol { padding-left: 28px; }
.lb-guide__contenu a:not(.wp-element-button) { color: var(--lb-orange); text-decoration: underline; text-underline-offset: 2px; }
.lb-guide__contenu .wp-block-buttons { margin-block: 20px 22px; }
.lb-guide__imprimer .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; }
.lb-guide__imprimer .wp-block-button__link::before { content: ""; width: 20px; height: 18px; background: currentColor; -webkit-mask: url("icones/font-awesome/solid/ruler-horizontal.svg") center / contain no-repeat; mask: url("icones/font-awesome/solid/ruler-horizontal.svg") center / contain no-repeat; }
.lb-guide__contenu .lb-guide__contact { margin-top: 24px; padding: 16px 20px; background: var(--lb-fond); }
@media (max-width: 767px) {
	.lb-guide__fenetre { inset: 0; width: 100%; height: 100dvh; max-height: none; margin: 0; box-shadow: none; }
	.lb-guide__defilement { padding: 22px 20px 32px; }
	.lb-guide__fermer { top: 10px; right: 8px; }
	.lb-guide__contenu .lb-guide__titre { margin: 0 36px 22px 0; padding-bottom: 16px; text-align: left; font-size: 20px; }
}
/* Tailles : libellé au-dessus, pavés de 42 px (le <select> reste la source de vérité, lb.js). */
.variations { border-collapse: collapse; margin-bottom: 8px; }
.variations tr { display: flex; flex-direction: column; }
.variations th { padding: 0 0 5px; font-size: 12.96px; font-weight: 700; line-height: 1; text-align: left; }
.variations th label { text-transform: capitalize; }
.variations td { padding: 0; }
.reset_variations { display: none !important; }
.lb-select-taille { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.lb-tailles { display: flex; flex-wrap: wrap; }
.lb-tailles button { min-width: 42px; height: 42px; margin: 5px 5px 5px 0; padding: 0 7px; border: 1px solid var(--lb-texte); background: #fff; font-size: 12.96px; cursor: pointer; }
.lb-tailles button:hover { border-color: #000; }
.lb-tailles button[aria-pressed="true"] { border-color: var(--lb-dore); background: var(--lb-dore); color: #fff; }
.lb-tailles button:disabled { opacity: .7; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), #999 50%, transparent calc(50% + .5px)), linear-gradient(to top left, transparent calc(50% - .5px), #999 50%, transparent calc(50% + .5px)); }
/* Stock de la pointure choisie (recette [88]) : texte du site, pastille verte (orange si épuisée), un seul espacement. */
.woocommerce-variation-availability { margin: -14px 0 14px; font-size: 12.96px; line-height: 1.5; } /* -14 px : marge du tableau des pointures au-dessus */
.woocommerce div.product .woocommerce-variation-availability .stock, .woocommerce-variation-availability .stock { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--lb-texte); font-size: inherit; font-weight: 600; }
.woocommerce-variation-availability .stock::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--vert); }
.woocommerce-variation-availability .stock.out-of-stock::before { background: var(--lb-promo); }
.woocommerce-variation-availability .stock.available-on-backorder::before { background: var(--lb-dore); }
.stock.in-stock { color: #157f43; }
form.cart { margin: 12px 0 20px; }
.single-product form.cart .quantity, .lb-fiche-blocs div.quantity, .lb-fiche-blocs .wc-block-components-quantity-selector { display: none !important; } /* pas de quantité sur la fiche en production */
.lb-fiche-blocs .woocommerce-variation-add-to-cart { display: block; }
.woocommerce div.product form.cart .single_add_to_cart_button, .single_add_to_cart_button { width: 100%; padding: 15px; border: 0; border-radius: 0; background: var(--lb-dore); color: #fff; font-size: 17.28px; font-weight: 600; line-height: 1; text-transform: uppercase; cursor: pointer; }
.woocommerce div.product form.cart .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.woocommerce div.product form.cart .single_add_to_cart_button.loading { opacity: .6; cursor: wait; } /* ajout en cours (lb.js) */
/* Messages de WooCommerce, sur tout le site (fiche [93], création de compte [178], panier…) : bandeau doré, texte blanc, bouton
   blanc (« Voir le panier »), comme la prod (CSS personnalisé : couleur secondaire) ; erreur sur fond orange, information sur
   fond doré pâle. Mobile : même message
   dans une bulle au-dessus du bouton fixé (lb.js). */
:is(.woocommerce-notices-wrapper, .lb-bulle) .wc-block-components-notice-banner { align-items: center; margin: 0; padding: 10px 15px; border: 0; border-radius: 0; background: var(--lb-dore); color: #fff; font-size: 13.68px; font-weight: 600; line-height: 1.4; }
:is(.woocommerce-notices-wrapper, .lb-bulle) .wc-block-components-notice-banner.is-error { background: var(--lb-promo); }
:is(.woocommerce-notices-wrapper, .lb-bulle) .wc-block-components-notice-banner > svg { flex: none; padding: 0; border-radius: 0; background: none; fill: #fff; }
:is(.woocommerce-notices-wrapper, .lb-bulle) .wc-block-components-notice-banner__content:has(.wc-forward) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 15px; }
:is(.woocommerce-notices-wrapper, .lb-bulle) .wc-block-components-notice-banner .wc-forward { order: 2; float: none; margin: 0 !important; padding: 9px 15px !important; border: 0; background: #fff !important; color: var(--lb-dore) !important; font-weight: 700; opacity: 1 !important; text-decoration: none !important; text-transform: uppercase; font-size: 12.24px !important; white-space: nowrap; } /* !important : WooCommerce rend ce lien transparent en !important */
:is(.woocommerce-notices-wrapper, .lb-bulle) .wc-block-components-notice-banner .wc-forward:hover { background: var(--lb-texte) !important; color: #fff !important; }
.lb-bulle { position: fixed; right: 10px; bottom: 100px; left: 10px; z-index: 45; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); animation: lb-bulle .2s ease-out; }
.woocommerce-notices-wrapper > .wc-block-components-notice-banner + .wc-block-components-notice-banner { margin-top: 8px; }
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper:not(:empty) { max-width: 500px; margin-inline: auto; } /* connexion / inscription : largeur du formulaire */
:is(.woocommerce-notices-wrapper, .lb-bulle) .wc-block-components-notice-banner.is-info { background: rgba(241, 195, 61, .12); color: var(--lb-texte); }
:is(.woocommerce-notices-wrapper, .lb-bulle) .wc-block-components-notice-banner.is-info > svg { fill: var(--lb-dore); }
@keyframes lb-bulle { from { opacity: 0; transform: translateY(10px); } }
/* Retrait en boutique (groupe lb-retrait du modèle) : encadré « E-réservation » puis volet des disponibilités en boutique,
   cadres accolés comme en prod (bordures communes fusionnées). */
.lb-fiche__achat > .lb-retrait { margin: 15px 0 10px; }
.lb-retrait > p { margin: 0; padding: 15px 8px 26px; border: 1px solid #ddd; color: var(--lb-texte); font-size: 13.68px; line-height: 25.992px; }
.lb-retrait > p a { color: #343434; text-decoration: none; }
.lb-retrait > p + .lb-dispo { margin-top: -1px; }
.lb-dispo summary { display: flex; justify-content: space-between; align-items: center; padding: 10px; border: 1px solid #d5d8dc; color: #1f2124; font-size: 14.4px; line-height: 26.64px; list-style: none; cursor: pointer; }
.lb-dispo summary::-webkit-details-marker { display: none; }
.lb-dispo summary::after { content: ""; width: 7px; height: 7px; margin-right: 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.lb-dispo[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.lb-dispo__contenu { padding: 10px; border: 1px solid #d5d8dc; border-top: 0; font-size: 12.96px; line-height: 26.64px; }
.lb-dispo__contenu p { margin: 0; font-weight: 600; }
.lb-dispo__contenu p:not(:first-child) { margin-top: .45em; }
.lb-dispo__contenu span { display: inline-block; padding: 0 8px; text-decoration: underline; }
@media (max-width: 767px) { .lb-dispo__contenu span { padding-left: 0; } }
.lb-reassurance { margin: 0 0 10px; padding-left: 18px; font-size: 13.68px; line-height: 26.64px; }
.lb-selections { font-size: 12.96px; line-height: 26.64px; }
.lb-selections a { margin-left: 18px; }
.lb-selections .wp-block-post-terms__separator { display: none; }
/* Bas de fiche : sections titrées, séparées par un filet court. */
.wp-block-separator.lb-filet { width: 200px; margin: 45px auto 0; border: 0; border-top: 1px solid #000; opacity: 1; }
.lb-fiche__titre, .up-sells > h2, .lb-marque h2 { margin: 0; padding: 24.48px 0; font-size: 24.48px; font-weight: 500; line-height: 1; text-align: center; text-transform: none; }
.lb-description { max-width: 441px; margin: 0 auto; text-align: center; }
.lb-description table { margin: 26px auto 0; border-collapse: collapse; font-size: 14.26px; line-height: 21.38px; }
.lb-description th, .lb-description td { padding: 15px; border: 1px solid rgba(128, 128, 128, .5); text-align: center; }
.lb-description th { font-weight: 700; }
/* Vous aimerez également : carrousel défilant, flèches ajoutées par lb.js. */
.up-sells { position: relative; margin-top: 12px; }
.up-sells ul.products { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 3 * 11px) / 4); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.up-sells ul.products::-webkit-scrollbar { display: none; }
.up-sells .lb-carte { scroll-snap-align: start; }
.lb-defiler { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; border: 0; background: none; color: #676767; font-size: 36px; line-height: 40px; cursor: pointer; }
.lb-defiler--prec { left: 0; }
.lb-defiler--suiv { right: 0; }
.lb-marque { margin-top: 44px; padding: 30px 60px; border: 1px solid #ddd; }
.lb-marque p { margin: 0 0 14.4px; line-height: 26.64px; text-align: justify; }
.lb-partage { display: flex; justify-content: center; gap: 200px; margin: 80px 0 40px; }
.lb-partage a, .lb-partage button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font-size: 14.4px; cursor: pointer; }
.lb-partage svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
/* Archive de marque (taxonomy-product_brand.html) : description courte ACF (h1 compris) en tête des résultats. */
.lb-champ--description_courte { margin-bottom: 42px; line-height: 26.64px; text-align: center; }
.lb-champ--description_courte h1 { margin: 8px 0 16px; padding: 51.84px 0; font-size: 34.56px; font-weight: 700; line-height: 1.2; }
.lb-champ--description_courte h1 em { font-weight: 500; }
.lb-champ--description_courte p { margin: 0 0 12px; }
.lb-bandeau-marque .wp-block-image { margin: 0; }

/* Pages en blocs (accueil…) : titres « Titre » et « Grand titre » réduits sur mobile, comme en production
   (h2 2em, h1 2,5em) ; texte justifié à dernière ligne centrée (bandeau « univers »). */
@media (width <= 767px) { body { --wp--preset--font-size--titre: 28.8px; --wp--preset--font-size--titre-grand: 36px; } }
.has-text-align-justify { text-align-last: center; }
.lb-accueil .wp-block-image { margin-block: 0; }
.woocommerce-notices-wrapper:not(:empty) { grid-column: 1 / -1; margin-bottom: 16px; }

/* Mobile (relevés sur la production en 390 px : poc/maquettes/mobile-archive, mobile-fiche) ---------------- */
.lb-menu-bouton { display: none; }
.lb-filtres__ouvrir svg { width: 15px; height: 15px; fill: #fff; stroke: currentColor; stroke-width: 1.3; }
.lb-bloc-editeur .components-placeholder { min-height: 80px; }
@media (max-width: 900px) {
	/* En-tête : logo + raccourcis sur une ligne, bouton du menu + recherche sur la suivante. */
	/* Deux rangées séparées par un filet gris pleine largeur, tracé en fond sous la 1re rangée (logo mobile de 50 px). */
	.lb-entete { grid-template-columns: auto auto 1fr; gap: 2px 12px; padding: 2px 14px 2px 5px; border-bottom: 1px solid var(--lb-trait); background: linear-gradient(var(--lb-trait), var(--lb-trait)) 0 54px / 100% 1px no-repeat; }
	.lb-logo--mobile a { display: block; }
	.lb-logo--mobile img { height: 50px; object-fit: contain; }
	.lb-logo img { width: 76px; }
	.lb-raccourcis { gap: 25px; }
	.lb-entete > .lb-raccourcis:last-child { justify-self: end; gap: 19px; margin-right: 0; }
	.lb-entete > .lb-raccourcis:last-child svg { width: 28px; height: 28px; }
	.lb-entete > .lb-raccourcis:last-child .lb-panier svg { width: 40px; height: 40px; }
	.lb-menu-bouton { display: block; grid-row: 2; width: 55px; height: 55px; margin-left: 9px; padding: 6px; border: 0; background: none; cursor: pointer; }
	.lb-menu-bouton svg { display: block; width: 43px; height: 43px; fill: var(--lb-texte); }
	.lb-menu-bouton svg + svg, .lb-menu-bouton[aria-expanded="true"] svg:first-child { display: none; }
	.lb-menu-bouton[aria-expanded="true"] svg + svg { display: block; }
	.lb-recherche { grid-column: 2 / -1; grid-row: 2; width: auto; max-width: none; margin: 0 4px 0 0; }
	/* Méga-menu : liste déroulante sous l'en-tête (bouton ci-dessus), entrées en accordéon, colonnes empilées. */
	.wp-site-blocks > header { position: relative; }
	/* Toute la hauteur de l'écran sous l'en-tête (haut posé par lb.js), défilement propre, page figée derrière ;
	   l'intitulé de l'entrée ouverte reste en haut pendant le défilement : on peut toujours la refermer. */
	.lb-mega { display: none; position: fixed; top: var(--lb-mega-haut, 0); bottom: 0; left: 0; right: 0; z-index: 60; flex-direction: column; justify-content: flex-start; gap: 8px; overflow-y: auto; overscroll-behavior: contain; padding: 10px 14px 20px; border: 0; background: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .1); }
	.lb-mega.est-ouvert { display: flex; }
	/* « center » (ordinateur) faisait déborder un sous-menu plus haut que l’écran au-dessus de la zone de défilement : haut
	   coupé, intitulé hors d’atteinte, sous-menu impossible à refermer (recette du 07/10 [3]). */
	.lb-mega > * { flex-shrink: 0; }
	html.lb-menu-ouvert, html.lb-menu-ouvert body { overflow: hidden; }
	.lb-mega__entree[open] > summary { position: sticky; top: -10px; z-index: 2; }
	.lb-mega__entree--langue .lb-langues { position: static; min-width: 0; box-shadow: none; }
	.lb-mega__entree > summary { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 10px; border-bottom: 1px solid var(--lb-trait-clair); font-size: 14.4px; line-height: 25px; }
	.lb-mega__entree > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
	.lb-mega__entree[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
	.lb-mega .wp-block-columns.lb-mega__panneau { position: static; flex-direction: column; gap: 0; padding: 0; box-shadow: none; }
	.lb-mega .wp-block-columns.lb-mega__panneau > .wp-block-column { flex: none; width: 100%; }
	.lb-mega__image img { max-width: 300px; }

	/* Archive : gouttière de 5 px, bouton « Filtrer » sur deux lignes à gauche, résultats et tri à droite. */
	.lb-main { padding-inline: 5px; }
	.lb-main .woocommerce-breadcrumb { padding: 12px 8px; }
	.lb-contenu .lb-bloc > .lb-sous-bloc:has(> .woocommerce-breadcrumb) { padding: 12px 8px !important; }
	.wp-block-columns.lb-archive { grid-template-columns: 1fr; }
	.lb-titre-archive { margin-bottom: 8px; padding: 27px 0; }
	.wp-block-group.lb-barre { display: grid; grid-template-columns: auto 1fr; gap: 14px 12px; margin-bottom: 8px; }
	.lb-barre > .lb-filtres__ouvrir { grid-row: 1 / 3; }
	.lb-barre > .facetwp-facet { justify-self: end; }
	.lb-filtres__ouvrir { display: inline-flex; align-items: center; gap: 5px; margin: 15px 0; padding: 20px 40px; border: 2px solid var(--lb-texte); background: #fff; font-size: 15px; font-weight: 600; line-height: 1; text-transform: uppercase; cursor: pointer; }
	/* Filtres : plein écran, en-tête collant. */
	/* Au-dessus de la recherche FiboSearch (lien mobile z-index 100, micro 105), sous sa recherche plein écran (1 000). */
	.lb-filtres { position: fixed; inset: 0; z-index: 200; overflow-y: auto; padding: 0 11px 20px; background: #fff; transform: translateX(-105%); transition: transform .25s; }
	.lb-filtres.est-ouvert { transform: none; }
	.lb-filtres__tete { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; background: #fff; }
	.lb-filtres__tete h2 { margin: 12px 0; font-size: 25.92px; }
	.lb-filtres__fermer { display: block; padding: 0 8px; border: 0; background: none; font-size: 36px; line-height: 1; cursor: pointer; }
	/* Grille : 2 colonnes, photo de 315 px comme sur ordinateur, nom sur une ligne. */
	ul.products, ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce ul.products li.product.lb-carte .lb-carte__nom { overflow: hidden; padding-block: 3.06px; text-overflow: ellipsis; white-space: nowrap; }

	/* Fil d'Ariane sur une ligne, défilant (fiches aux catégories profondes). */
	.lb-main .woocommerce-breadcrumb { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }

	/* Fiche : photo bord à bord, vignettes à gauche, bouton d'ajout au panier fixé en bas de l'écran. */
	.lb-fiche__haut { grid-template-columns: 1fr; gap: 20px; }
	.wp-block-columns.lb-fiche__haut > .lb-fiche__galerie { margin-inline: -5px; }
	.lb-galerie .wc-block-product-gallery-thumbnails__scrollable { justify-content: flex-start; gap: 6px; }
	.lb-galerie .wc-block-product-gallery-thumbnails__thumbnail__image { width: 46px; height: 46px; }
	.lb-favoris { top: 10px; left: 5px; }
	.lb-fiche__achat { padding-inline: 5px; }
	.lb-fiche__marque { font-size: 21.6px; }
	.lb-tailles button { min-width: 52px; height: 52px; font-size: 16.2px; }
	.woocommerce div.product form.cart .single_add_to_cart_button { position: fixed; bottom: 0; left: 0; z-index: 40; border: 20px solid #fff; }
	.single-product .lb-main { padding-bottom: 135px; }
	.woocommerce div.product form.cart .single_add_to_cart_button:is(.disabled, .loading) { opacity: 1; background: color-mix(in srgb, var(--lb-dore) 50%, #fff); } /* opaque : le bandeau fixe masque la page ; pendant l'ajout, seul le bouton pâlit, pas sa bordure blanche (recette [93]) */
	.up-sells ul.products, .up-sells ul.products.columns-4 { grid-template-columns: none; grid-auto-columns: 100%; }
	.lb-marque { padding: 20px; }
	.lb-partage { gap: 80px; }
}

/* Styles WooCommerce natifs réactivés : leur grille à flottants (li à 22 %, ::before/::after de dégagement)
   est neutralisée au profit de la grille CSS du thème. */
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }

/* Mini-panier (WooCommerce classique, comme en production) ------------------ */
.lb-panier-zone { position: relative; display: flex; }
.lb-minipanier { position: absolute; top: calc(100% + 12px); right: -12px; z-index: 60; width: 360px; padding: 20px; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.15); visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
.lb-minipanier::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* pont de survol */
.lb-panier-zone:hover .lb-minipanier, .lb-panier-zone:focus-within .lb-minipanier, .lb-panier-zone.est-ouvert .lb-minipanier { visibility: visible; opacity: 1; } /* est-ouvert : après un ajout (lb.js) */
/* Sélecteurs renforcés : les styles WooCommerce des listes de widget imposent aux images float:right et 32 px. */
.lb-minipanier ul.woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; }
.lb-minipanier ul.woocommerce-mini-cart li.woocommerce-mini-cart-item { position: relative; min-height: 86px; margin: 0 0 16px; padding: 0 30px 16px 86px; border-bottom: 1px solid var(--lb-trait); font-size: 13px; }
.lb-minipanier ul.woocommerce-mini-cart li.woocommerce-mini-cart-item img { position: absolute; left: 0; top: 0; float: none; width: 70px; height: 70px; margin: 0; object-fit: contain; background: var(--lb-image); } /* photo entière (recette [5]) */
.lb-minipanier ul.woocommerce-mini-cart li.woocommerce-mini-cart-item .lb-minipanier__marque { display: block; margin-bottom: 2px; font-size: 14.4px; font-weight: 600; text-transform: none; }
.lb-minipanier ul.woocommerce-mini-cart li.woocommerce-mini-cart-item a:not(.remove) { display: block; font-weight: 700; text-transform: uppercase; }
.lb-minipanier ul.woocommerce-mini-cart li.woocommerce-mini-cart-item .quantity { display: block; margin-top: 10px; color: var(--lb-texte); }
.lb-minipanier ul.woocommerce-mini-cart li.woocommerce-mini-cart-item a.remove { position: absolute; right: 0; top: 24px; left: auto; width: 22px; height: 22px; border: 1px solid #999; border-radius: 50%; color: #999 !important; background: none; font-size: 16px; line-height: 19px; text-align: center; }
.lb-minipanier ul.woocommerce-mini-cart li.woocommerce-mini-cart-item .variation { display: none; }
.lb-minipanier .woocommerce-mini-cart-item .quantity del { margin-left: 2px; color: var(--lb-gris); }
.lb-minipanier .woocommerce-mini-cart-item .quantity ins { color: var(--lb-promo); font-weight: 700; text-decoration: none; }
.lb-minipanier p.woocommerce-mini-cart__total { display: flex; justify-content: flex-end; gap: 6px; margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--lb-trait); font-size: 15px; }
.lb-minipanier p.woocommerce-mini-cart__total:has(.lb-minipanier__offre) { flex-direction: column; align-items: flex-end; }
.lb-minipanier__offre { color: #da3a34; } /* rouge du mode « remise » de la prod */
.lb-minipanier p.woocommerce-mini-cart__buttons {display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; }
.lb-minipanier p.woocommerce-mini-cart__buttons a.button { display: block; margin: 0; padding: 12px; border-radius: 0; background: var(--lb-dore); color: #fff; font-weight: 700; text-align: center; text-transform: uppercase; }
.lb-minipanier p.woocommerce-mini-cart__buttons a.button.checkout { background: var(--lb-orange); }
.lb-minipanier .woocommerce-mini-cart__empty-message { margin: 0; text-align: center; }
@media (max-width: 900px) { .lb-minipanier { display: none; } }

/* Avis Vérifiés (Skeepers) : carrousel d'avis injecté après coup par leur script, hors des conteneurs du thème ; même largeur
   utile que le reste de la page, centré. */
.wp-site-blocks .skeepers_carousel_container { box-sizing: border-box; width: auto; max-width: 1170px; margin-inline: auto !important; }

/* Couverture liée à un terme sans image (marque sans bandeau, inc/marques.php) : fond uni dégradé au lieu de l'en-tête des
   magasins, hauteur réduite (recette [50]). */
.wp-block-cover.lb-couverture--sans-image { min-height: 320px !important; background: linear-gradient(135deg, var(--lb-image), #efe7d6); }
.wp-block-cover.lb-couverture--sans-image > .wp-block-cover__image-background { display: none; }

/* Grille vide (woocommerce/loop/no-products-found.php, recette [50][62]) : message centré, deux sorties. */
.lb-aucun { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 50px 20px; background: var(--lb-fond); text-align: center; }
.lb-aucun svg { width: 34px; height: 34px; color: var(--lb-dore); fill: currentColor; }
.lb-aucun__titre { margin: 6px 0 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.lb-aucun__texte { max-width: 460px; margin: 0; font-size: 14.4px; line-height: 1.6; }
.lb-aucun__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 12px 0 0; }
.lb-aucun__bouton { padding: 12px 22px; border: 2px solid var(--lb-dore); background: var(--lb-dore); color: #fff; font-size: 12.96px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.lb-aucun__bouton:hover { background: #fff; color: var(--lb-dore); }
.lb-aucun__bouton--contour { border-color: var(--lb-texte); background: #fff; color: var(--lb-texte); }
.lb-aucun__bouton--contour:hover { background: var(--lb-texte); color: #fff; }
