/* Périmètre public seulement. Le contenu et les règles de vente restent intacts. */
.bb-ergonomie-legal .entry-content {max-width:840px;margin-inline:auto}
.bb-ergonomie-legal .bb-legal-heading {padding:24px 10px 30px}
.bb-ergonomie-legal .bb-legal-heading h1 {font-size:clamp(32px,4vw,48px);line-height:1.2;text-transform:none;color:#302822;margin:0}
.bb-ergonomie-legal .elementor-widget-text-editor p {line-height:1.75!important}

@media(max-width:1024px){
 body #masthead #ast-desktop-header {display:none!important}
 body #masthead #ast-mobile-header {display:block!important}
 body #ast-fixed-header {display:none!important;visibility:hidden!important}
 body #masthead #ast-mobile-header .custom-logo-link img {width:180px!important;max-width:180px!important}
 body #masthead #ast-mobile-header .ast-primary-header-bar {min-height:80px}
 /* Taille lisible dans les formulaires et dans les recherches de parfums. */
 body #content input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
 body #content select, body #content textarea,
 body .select2-container input.select2-search__field {font-size:16px!important}
 body #content .quantity input.qty {min-height:44px!important;min-width:44px}
 body #content .quantity > a {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:18px}
 .bb-product-help div a {display:inline-flex;align-items:center;min-height:44px}

 /* La commande garde une colonne confortable sur tablette. */
 body.woocommerce-checkout form.checkout #customer_details,
 body.woocommerce-checkout form.checkout #order_review,
 body.woocommerce-checkout form.checkout #order_review_heading {
  float:none!important;clear:both!important;width:100%!important;max-width:100%;margin-left:0!important;margin-right:0!important;box-sizing:border-box
 }
 body.woocommerce-checkout form.checkout #customer_details {margin-bottom:28px}
 body.woocommerce-checkout form.checkout #order_review {padding:24px!important}
 body.woocommerce-checkout #ast-checkout-wrap {display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:10px;margin-bottom:30px}
 body.woocommerce-checkout #ast-checkout-wrap a {display:flex;align-items:center;gap:8px;font-size:16px;line-height:1.4;min-width:0}
 body.woocommerce-checkout #ast-checkout-wrap p {margin:0;line-height:1.4}
 body.woocommerce-checkout #ast-checkout-wrap .ast-step-number {flex-shrink:0;font-size:14px}
 body.woocommerce-checkout #ast-checkout-wrap > .ast-inline-flex {width:12px;flex-shrink:0}
}
@media(min-width:1025px){
 body #masthead #ast-mobile-header {display:none!important}
}
@media(max-width:700px){
 .bb-home .bb-home__wrap.bb-home__bespoke-inner {width:calc(100% - 28px);margin-inline:auto}
 /* Évite le débordement induit par aspect-ratio et min-height combinés. */
 .bb-contact .bb-contact__visual {width:100%;max-width:100%;min-height:0!important;aspect-ratio:4/3;overflow:hidden}
 .bb-contact .bb-contact__visual img {display:block;width:100%;height:100%;object-fit:cover}
 body.woocommerce-checkout form.checkout #customer_details {padding:24px 18px}
 body.woocommerce-checkout form.checkout .form-row-first,
 body.woocommerce-checkout form.checkout .form-row-last {float:none;width:100%}
 body.woocommerce-checkout #ast-checkout-wrap {gap:6px}
 body.woocommerce-checkout #ast-checkout-wrap a {font-size:12px;gap:5px}
 body.woocommerce-checkout #ast-checkout-wrap .ast-step-number {font-size:12px}
 body.woocommerce-checkout #ast-checkout-wrap > .ast-inline-flex {width:8px}
 .single-product .woocommerce-tabs {padding:22px 18px}
 .single-product .woocommerce-tabs .panel {font-size:16px}
}
