/* Black Bond Outils 2.0.38 : correctifs de l'audit du 30/10/2026 (rapport 66-pilote-divi514/BA).
   Chargée après bb3-commun.css (et bb3-boutique.css si elle est là), sur toutes les pages v3. Feuille écrite à la main,
   hors du script de construction (divi5/presets/construire_css_bb3.py) : une régénération ne la touche pas.
   Couleurs : uniquement les jetons de la fiche du compte (variables --bb-* de bb3-commun.css). */

/* B5 : champs de Mon compte (connexion, inscription, mot de passe perdu, détails du compte), 16 px (pas de zoom iOS),
   saisie Encre sur Papier, bordure Galet (5,9:1 sur Papier), astérisque Encre 2 (Rouge hors palette retiré). */
:root body.woocommerce-account .woocommerce form .input-text,
:root body.woocommerce-account .woocommerce form input[type="text"],
:root body.woocommerce-account .woocommerce form input[type="email"],
:root body.woocommerce-account .woocommerce form input[type="password"],
:root body.woocommerce-account .woocommerce form input[type="tel"],
:root body.woocommerce-account .woocommerce form textarea,
:root body.woocommerce-account .woocommerce form select{font:400 16px/1.4 var(--bb-fb)!important;color:var(--bb-encre)!important;background:var(--bb-papier)!important;border:1px solid var(--bb-galet)!important;border-radius:var(--bb-r-champ)!important;padding:12px 14px!important;min-height:48px;box-shadow:none!important}
:root body.woocommerce-account .woocommerce form .input-text::placeholder,
:root body.woocommerce-account .woocommerce form input::placeholder{color:var(--bb-galet);opacity:1}
:root body.woocommerce-account .woocommerce form .input-text:focus,
:root body.woocommerce-account .woocommerce form input:focus{outline:var(--bb-focus-largeur) solid var(--bb-focus)!important;outline-offset:2px;border-color:var(--bb-encre)!important}
:root body.woocommerce-account .woocommerce form label{color:var(--bb-encre);font:500 15px/1.4 var(--bb-fb)}
:root body.woocommerce-account .woocommerce form .required{color:var(--bb-encre-2)!important;text-decoration:none;border:0}
:root body.woocommerce-account .woocommerce form .woocommerce-button,
:root body.woocommerce-account .woocommerce form .woocommerce-Button,
:root body.woocommerce-account .woocommerce form button[type="submit"]{font:600 15px/1.2 var(--bb-fd)!important;color:var(--bb-craie)!important;background:var(--bb-action)!important;border:1px solid var(--bb-action)!important;border-radius:var(--bb-r-btn)!important;padding:14px 24px!important;min-height:48px;letter-spacing:0!important;text-transform:none!important}
:root body.woocommerce-account .woocommerce form .woocommerce-button:hover,
:root body.woocommerce-account .woocommerce form .woocommerce-Button:hover,
:root body.woocommerce-account .woocommerce form button[type="submit"]:hover{background:var(--bb-action-survol)!important;border-color:var(--bb-action-survol)!important}
:root body.woocommerce-account .woocommerce form .woocommerce-button::after,
:root body.woocommerce-account .woocommerce form .woocommerce-Button::after{content:none!important}
:root body.woocommerce-account .woocommerce input[type="checkbox"]{width:20px;height:20px;accent-color:var(--bb-action)}
:root body.woocommerce-account h1{font-weight:600}
.bb-inscription-conf{margin:12px 0 16px;font:400 14px/1.5 var(--bb-fb);color:var(--bb-encre-2)}
.bb-inscription-conf a{color:var(--bb-lien);text-decoration:underline}
/* Même règle pour les champs du bloc Commande (/commander/). */
:root body .wc-block-components-text-input input,
:root body .wc-block-components-text-input textarea,
:root body .wc-block-components-combobox .components-form-token-field__input,
:root body .wc-blocks-components-select select{font-size:16px!important;color:var(--bb-encre)!important}
:root body .wc-block-components-text-input input,
:root body .wc-blocks-components-select select{background:var(--bb-papier)!important;border-color:var(--bb-galet)!important}

/* B6 : pastilles et pictos des piliers dans les bandes sombres. Une surface claire (carte Papier, pilule) posée dans
   une bande Encre ou nuit reprend la couleur pleine du pilier (5:1 ou plus sur Papier) ; les variantes « sur Encre »
   restent pour ce qui est posé directement sur le fond sombre. */
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre,.bb-ligne-art__vis):is(.bb-p-les-fondamentaux,.bbc-p-les-fondamentaux,.bb-pilier-les-fondamentaux),
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre) :is(.bb-p-les-fondamentaux,.bbc-p-les-fondamentaux,.bb-pilier-les-fondamentaux){--bb-pc:var(--bb-p-fondamentaux)}
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre,.bb-ligne-art__vis):is(.bb-p-mental-emotionnel,.bbc-p-mental-emotionnel,.bb-pilier-mental-emotionnel),
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre) :is(.bb-p-mental-emotionnel,.bbc-p-mental-emotionnel,.bb-pilier-mental-emotionnel){--bb-pc:var(--bb-p-mental)}
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre,.bb-ligne-art__vis):is(.bb-p-consentement-relations,.bbc-p-consentement-relations,.bb-pilier-consentement-relations),
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre) :is(.bb-p-consentement-relations,.bbc-p-consentement-relations,.bb-pilier-consentement-relations){--bb-pc:var(--bb-p-consentement)}
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre,.bb-ligne-art__vis):is(.bb-p-pratiques-experiences,.bbc-p-pratiques-experiences,.bb-pilier-pratiques-experiences),
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre) :is(.bb-p-pratiques-experiences,.bbc-p-pratiques-experiences,.bb-pilier-pratiques-experiences){--bb-pc:var(--bb-p-pratiques)}
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre,.bb-ligne-art__vis):is(.bb-p-univers-bdsm,.bbc-p-univers-bdsm,.bb-pilier-univers-bdsm),
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre) :is(.bb-p-univers-bdsm,.bbc-p-univers-bdsm,.bb-pilier-univers-bdsm){--bb-pc:var(--bb-p-bdsm)}
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre,.bb-ligne-art__vis):is(.bb-p-identites-orientations,.bbc-p-identites-orientations,.bb-pilier-identites-orientations),
:root :is(.bb-sombre,.bbc-sombre) :is(.bb-vf__carte,.bb-vf__p,.bb-une__carte,.bb-carte,.bb-rb-pilule,.bb-rb-une,.bb-ed-carte,.bb-pp-carte,.bb-pp-cpilier,.bb-sl-carte,.bb-cadre) :is(.bb-p-identites-orientations,.bbc-p-identites-orientations,.bb-pilier-identites-orientations){--bb-pc:var(--bb-p-identites)}
/* Fond de page Craie, jamais le blanc pur de Divi (fiches e-book, 404, recherche vide ; AZ3-04). */
:root body #main-content,:root body #main-content .container{background-color:var(--bb-craie)}

/* Recherche (AZ3-05) : extraits en Encre 2 (l'Argile est interdit sous 24 px), cartes Papier, sans cadre en pointillés ;
   titre « Aucun résultat » en H2 ; air au-dessus de « Tu ne trouves pas ? ». */
:root body.search .et_pb_blog_grid .et_pb_post,:root body.search .et_pb_posts .et_pb_post{background:var(--bb-papier)!important}
:root body.search .et_pb_post .post-content,:root body.search .et_pb_post .post-content p,:root body.search .et_pb_post .post-content-inner p{color:var(--bb-encre-2)!important}
:root body.search .bb-sl-note{border:0!important;background:transparent!important;padding:0!important}
:root body.search .not-found-title{margin:0 0 8px;font:600 24px/1.25 var(--bb-fd);color:var(--bb-encre)}
:root body.search #t-pistes{margin-top:40px}
:root body.search .pagination a{color:var(--bb-lien);font:500 15px/1.4 var(--bb-fb);text-decoration:underline}

/* Assistant IA (extension bb-assistant 1.0.0, AZ3-06, AZ4-16) : jetons de la charte. Liens et envoi en Indigo, focus
   Indigo, « Effacer » en Galet (plus de Sauge), surfaces Papier (plus de blanc pur), croix en Poppins ; le bouton se
   cache quand le tiroir mobile est ouvert. */
html body .bbn-root{--bbn-argile:var(--bb-focus);--bbn-argile-f:var(--bb-action);--bbn-sauge:var(--bb-galet);--bbn-grenat:var(--bb-action)}
html body .bbn-root .bbn-consent a,html body .bbn-root .bbn-note a{color:var(--bb-lien);text-decoration:underline}
html body .bbn-root .bbn-btn-p,html body .bbn-root .bbn-envoi{background:var(--bb-action);color:var(--bb-craie)}
html body .bbn-root .bbn-btn-p:hover,html body .bbn-root .bbn-envoi:hover{background:var(--bb-action-survol)}
html body .bbn-root .bbn-envoi,html body .bbn-root .bbn-x{font-family:var(--bb-fd)}
html body .bbn-root .bbn-btn-s,html body .bbn-root .bbn-bulle,html body .bbn-root .bbn-form,html body .bbn-root .bbn-ft{background:var(--bb-papier)}
html body .bbn-root .bbn-fab:hover{background:var(--bb-encre-2)}
html.bb-tiroir-ouvert body .bbn-root{display:none!important}

/* Sauge #5B6E5E (hors palette, AZ3-11) : Lichen, la seule verte de la charte. */
html body .bbaf:not(.bb-0){--af-fre:var(--bb-lichen)}
html body .bbm-ct-f-horm:not(.bb-0){--c-top:var(--bb-lichen)}

/* « Commande reçue » à 390 px (AY n° 1) : une adresse longue ne fait plus déborder la grille. */
@media (max-width:980px){:root body .bq-recu{grid-template-columns:minmax(0,1fr)}}
:root body .bq-avis,:root body .bq-recu{overflow-wrap:anywhere}

/* Encadré de confiance (décision D1), bas des pages de la boutique. */
.bb-confiance{background:var(--bb-lin);border-top:1px solid var(--bb-filet);padding:32px 0}
.bb-confiance .bb-row{max-width:1200px;margin:0 auto;padding:0 clamp(20px,4vw,40px)}
.bb-confiance__liste{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.bb-confiance__point{display:flex;gap:12px;align-items:flex-start;margin:0;padding:0}
.bb-confiance__point::before{content:none}
.bb-confiance__point p{margin:0;font:400 15px/1.5 var(--bb-fb);color:var(--bb-encre-2)}
.bb-confiance__point strong{color:var(--bb-encre);font-weight:600}
.bb-confiance__point a{color:var(--bb-lien);text-decoration:underline}
.bb-confiance__ic{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--bb-papier);color:var(--bb-encre)}
.bb-confiance__ic svg{width:20px;height:20px}
@media (min-width:900px){.bb-confiance__liste{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}

/* /cookies/ : listes de la page complétée (D7). */
:root body .bb-sl-prose .bb-sl-h3{margin:24px 0 8px;font:600 18px/1.3 var(--bb-fd);color:var(--bb-encre)}
:root body .bb-sl-prose .bb-sl-cookies{margin:0 0 16px;padding-left:20px}
:root body .bb-sl-prose .bb-sl-cookies li{margin:0 0 8px}

/* Recherche refaite (demande de Clément du 30/10, 18 h 50 ; v3/class-v3-recherche.php). Cibles de 44 px ou plus. */
.bb-rs{display:block;background:var(--bb-craie);color:var(--bb-encre-2);font:400 16px/1.55 var(--bb-fb)}
.bb-rs *{box-sizing:border-box}
.bb-rs__row{max-width:1200px;margin:0 auto;padding:0 clamp(16px,4vw,40px)}
.bb-rs__tete{background:var(--bb-lin);padding:clamp(32px,6vw,64px) 0 clamp(24px,4vw,40px);border-bottom:1px solid var(--bb-filet)}
.bb-rs .bb-rs__h1{margin:0 0 6px;padding:0;font:600 clamp(28px,5vw,44px)/1.15 var(--bb-fd);color:var(--bb-encre);overflow-wrap:anywhere}
.bb-rs .bb-rs__nb{margin:0 0 20px;padding:0;font:500 15px/1.4 var(--bb-fb);color:var(--bb-galet)}
.bb-rs__form{margin:16px 0 0;max-width:720px}
.bb-rs__label{display:block;margin:0 0 6px;font:500 15px/1.4 var(--bb-fb);color:var(--bb-encre)}
.bb-rs__ligne{display:flex;gap:8px;flex-wrap:wrap}
.bb-rs .bb-rs__champ{flex:1 1 220px;min-width:0;min-height:48px;padding:12px 14px;font:400 16px/1.4 var(--bb-fb);color:var(--bb-encre);background:var(--bb-papier);border:1px solid var(--bb-galet);border-radius:var(--bb-r-champ)}
.bb-rs .bb-rs__champ:focus{outline:var(--bb-focus-largeur) solid var(--bb-focus);outline-offset:2px}
.bb-rs .bb-rs__envoi{min-height:48px}
.bb-rs__corps{padding:clamp(24px,4vw,40px) 0 clamp(40px,6vw,72px)}
.bb-rs__filtres{margin:0 0 24px;display:grid;gap:10px}
.bb-rs ul.bb-rs__chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.bb-rs ul.bb-rs__chips li{margin:0;padding:0}
.bb-rs ul.bb-rs__chips li::before{content:none}
.bb-rs .bb-rs__filtre{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--bb-sable);border-radius:var(--bb-r-pilule);background:var(--bb-papier);font:500 14px/1 var(--bb-fd);color:var(--bb-encre);text-decoration:none}
.bb-rs .bb-rs__filtre:hover{border-color:var(--bb-encre)}
.bb-rs .bb-rs__filtre[aria-current]{background:var(--bb-encre);border-color:var(--bb-encre);color:var(--bb-craie)}
.bb-rs__pastille{width:10px;height:10px;border-radius:50%;background:var(--bb-pc);flex:none}
.bb-rs .bb-rs__filtre[aria-current] .bb-rs__pastille{background:var(--bb-pc-sombre,var(--bb-craie))}
.bb-rs ol.bb-rs__liste{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (min-width:768px){.bb-rs ol.bb-rs__liste{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media (min-width:1100px){.bb-rs ol.bb-rs__liste{grid-template-columns:repeat(3,minmax(0,1fr))}}
.bb-rs .bb-rs__carte{position:relative;margin:0;padding:20px 20px 22px;background:var(--bb-papier);border:1px solid var(--bb-sable);border-top:4px solid var(--bb-pc,var(--bb-encre));border-radius:var(--bb-r-carte);display:flex;flex-direction:column;gap:8px}
.bb-rs .bb-rs__carte::before{content:none}
.bb-rs .bb-rs__carte--page{border-top-color:var(--bb-sable)}
.bb-rs .bb-rs__carte:focus-within{outline:var(--bb-focus-largeur) solid var(--bb-focus);outline-offset:2px}
.bb-rs .bb-rs__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0;padding:0}
.bb-rs .bb-rs__type{display:inline-flex;align-items:center;gap:6px;font:600 13px/1.2 var(--bb-fd);color:var(--bb-encre)}
.bb-rs .bb-rs__type .bb-ic{width:18px;height:18px}
.bb-rs .bb-rs__carte--outil .bb-rs__type,.bb-rs .bb-rs__carte--ebook .bb-rs__type{padding:4px 10px;border-radius:var(--bb-r-pilule);background:var(--bb-lin)}
.bb-rs .bb-rs__pilier{margin:0;font:500 13px/1.2 var(--bb-fb);color:var(--bb-encre-2)}
.bb-rs .bb-rs__titre{margin:0;padding:0;font:600 19px/1.3 var(--bb-fd);color:var(--bb-encre)}
.bb-rs .bb-rs__titre a{color:var(--bb-encre);text-decoration:none}
.bb-rs .bb-rs__titre a::after{content:"";position:absolute;inset:0;border-radius:var(--bb-r-carte)}
.bb-rs .bb-rs__titre a:hover{text-decoration:underline}
.bb-rs .bb-rs__titre a:focus{outline:none}
.bb-rs .bb-rs__extrait{margin:0;padding:0;font:400 15px/1.55 var(--bb-fb);color:var(--bb-encre-2)}
.bb-rs .bb-rs__terme{font-weight:600;color:var(--bb-encre);background:var(--bb-lin);border-radius:3px;padding:0 2px}
.bb-rs__pages{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:32px 0 0}
.bb-rs__pages .bb-btn{min-height:48px}
.bb-rs .bb-rs__phrase{margin:0 0 24px;font:400 18px/1.5 var(--bb-fb);color:var(--bb-encre-2);max-width:720px}
.bb-rs .bb-rs__h2{margin:32px 0 12px;padding:0;font:600 22px/1.25 var(--bb-fd);color:var(--bb-encre)}
.bb-rs ul.bb-rs__piliers{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
@media (min-width:640px){.bb-rs ul.bb-rs__piliers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.bb-rs ul.bb-rs__piliers{grid-template-columns:repeat(3,minmax(0,1fr))}}
.bb-rs .bb-rs__pil{margin:0;padding:0}
.bb-rs .bb-rs__pil::before{content:none}
.bb-rs .bb-rs__pil a{display:flex;align-items:center;gap:12px;min-height:56px;padding:10px 16px;background:var(--bb-papier);border:1px solid var(--bb-sable);border-left:4px solid var(--bb-pc);border-radius:var(--bb-r-carte);font:600 16px/1.3 var(--bb-fd);color:var(--bb-encre);text-decoration:none}
.bb-rs .bb-rs__pil a:hover{border-color:var(--bb-encre);border-left-color:var(--bb-pc)}
.bb-rs .bb-rs__pil .bb-picto{width:24px;height:24px;color:var(--bb-pc);flex:none}
.bb-rs ul.bb-rs__recents{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bb-rs .bb-rs__recent{position:relative;margin:0;padding:12px 16px;min-height:56px;background:var(--bb-papier);border:1px solid var(--bb-sable);border-radius:var(--bb-r-carte);display:flex;flex-direction:column;gap:4px}
.bb-rs .bb-rs__recent::before{content:none}
.bb-rs .bb-rs__recent a{font:600 16px/1.35 var(--bb-fd);color:var(--bb-encre);text-decoration:underline;text-underline-offset:3px}
.bb-rs .bb-rs__recent a::after{content:"";position:absolute;inset:0;border-radius:var(--bb-r-carte)}
.bb-rs .bb-rs__recent:focus-within{outline:var(--bb-focus-largeur) solid var(--bb-focus);outline-offset:2px}
.bb-rs .bb-rs__recent a:focus{outline:none}
.bb-rs .bb-etiquette .bb-picto{color:var(--bb-pc)}
.bb-rs__aide{margin:32px 0 0;padding:20px;background:var(--bb-lin);border-radius:var(--bb-r-carte)}
.bb-rs__aide p{margin:0 0 12px}
.bb-rs__aide .bb-rs__autres{margin:12px 0 0}
.bb-rs__aide a{color:var(--bb-lien);text-decoration:underline;display:inline-block;padding:10px 0}
@media (max-width:639px){.bb-rs ul.bb-rs__chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}.bb-rs ul.bb-rs__chips li{flex:none}}
/* D2 : commande de l'e-book offert, e-mail et prénom seuls (le champ Pays reste dans le bloc ; masqué ici). */
body.bb-commande-offert .wc-block-components-address-form__country{display:none!important}
