/* Francesca Visual Audit v1 — 2026-10-10
   Loaded last. Layout-only fixes; no WooCommerce/payment/shipping logic. */
html, body.fs-commerce{max-width:100%;overflow-x:clip}
body.fs-commerce #page,
body.fs-commerce .site,
body.fs-commerce .site-content,
body.fs-commerce #content,
body.fs-commerce main{max-width:100%;min-width:0}
body.fs-commerce img,
body.fs-commerce svg,
body.fs-commerce video,
body.fs-commerce iframe{max-width:100%}
body.fs-commerce .fs-info-page,
body.fs-commerce .fs-page,
body.fs-commerce .woocommerce,
body.fs-commerce .fs-shop-approved-catalog,
body.fs-commerce .fs-shop-results,
body.fs-commerce .fs-account-layout,
body.fs-commerce .fs-account-content{min-width:0;max-width:100%}
@media(min-width:901px){
 body.fs-commerce .fs-shell{width:min(1280px,calc(100% - 96px))!important}
 body.fs-commerce .fs-info-page>.fs-shell{width:min(1280px,calc(100% - 96px))!important}
}
@media(max-width:900px){
 body.fs-commerce .fs-shell{
  width:100%!important;max-width:100%!important;
  padding-left:16px!important;padding-right:16px!important;
  margin-left:auto!important;margin-right:auto!important;
  box-sizing:border-box!important;
 }
 body.fs-commerce .fs-info-page,
 body.fs-commerce .fs-page{width:100%!important;max-width:100%!important}
 body.fs-commerce .fs-info-page p,
 body.fs-commerce .fs-info-page li,
 body.fs-commerce .fs-account-content p,
 body.fs-commerce .fs-account-content li{
  max-width:100%!important;overflow-wrap:anywhere;word-break:normal;
 }
 body.fs-commerce .site-header .header-container{
  grid-template-columns:40px minmax(0,1fr) 82px!important;
  padding:0 12px!important;
 }
 body.fs-commerce .site-header .header-nav-right{
  width:82px!important;min-width:82px!important;max-width:82px!important;
 }
 body.fs-commerce .site-header .header-actions{
  width:82px!important;height:38px!important;gap:4px!important;
  display:flex!important;justify-content:flex-end!important;
 }
 body.fs-commerce .site-header #header-search-btn{
  display:grid!important;width:36px!important;height:36px!important;min-width:36px!important;
 }
 body.fs-commerce .site-header .header-actions>a.header-icon-btn:not(#header-cart-btn){
  display:none!important;
 }
 body.fs-commerce .site-header #header-cart-btn{
  display:grid!important;width:36px!important;height:36px!important;min-width:36px!important;
 }
 body.fs-commerce .site-header .header-logo{
  width:126px!important;min-width:126px!important;max-width:126px!important;
 }
 body.fs-commerce .site-header .header-logo__brand{font-size:23px!important}
 body.fs-commerce .fs-split-hero,
 body.fs-commerce .fs-account-hero,
 body.fs-commerce .fs-tracking-hero{
  width:100%!important;max-width:100%!important;
  grid-template-columns:minmax(0,64%) minmax(0,36%)!important;
  overflow:hidden!important;
 }
 body.fs-commerce .fs-split-hero__copy,
 body.fs-commerce .fs-account-hero>div,
 body.fs-commerce .fs-tracking-hero>div{
  min-width:0!important;width:100%!important;padding:20px 16px!important;
 }
 body.fs-commerce.woocommerce-shop .fs-shop-approved-catalog,
 body.fs-commerce.woocommerce-shop .fs-shop-results{
  width:100%!important;max-width:100%!important;min-width:0!important;
 }
 body.fs-commerce.woocommerce-shop .fs-shop-approved-catalog{
  padding-left:16px!important;padding-right:16px!important;box-sizing:border-box!important;
 }
 body.fs-commerce.woocommerce-shop .fs-shop-results ul.products{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:26px 10px!important;
  width:100%!important;max-width:100%!important;
  margin:18px 0 0!important;padding:0!important;
 }
 body.fs-commerce.woocommerce-shop .fs-shop-results ul.products>li.product{
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;float:none!important;
 }
 body.fs-commerce.woocommerce-shop .fs-product-card__media{
  width:100%!important;max-width:100%!important;aspect-ratio:3/4!important;
 }
 body.fs-commerce.woocommerce-shop .fs-shop-mobile-tools{
  width:100%!important;max-width:100%!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;
 }
 body.fs-commerce.woocommerce-shop .fs-shop-mobile-tools .fs-filter-button,
 body.fs-commerce.woocommerce-shop .fs-shop-mobile-tools .fs-order-select{
  width:100%!important;max-width:100%!important;min-width:0!important;
  justify-content:center!important;
 }
 body.fs-commerce .fs-contact-cards,
 body.fs-commerce .fs-contact-main,
 body.fs-commerce .fs-contact-bottom,
 body.fs-commerce .fs-shipping-strip,
 body.fs-commerce .fs-faq-layout,
 body.fs-commerce .fs-faq-content,
 body.fs-commerce .fs-legal-main,
 body.fs-commerce .fs-legal-copy,
 body.fs-commerce .fs-about-essence,
 body.fs-commerce .fs-about-bottom,
 body.fs-commerce .fs-about-values{
  width:100%!important;max-width:100%!important;min-width:0!important;
 }
 body.fs-commerce .fs-shipping-card,
 body.fs-commerce .fs-shipping-strip article,
 body.fs-commerce .fs-contact-cards>a,
 body.fs-commerce .fs-contact-cards>article{
  min-width:0!important;max-width:100%!important;overflow:hidden!important;
 }
 body.fs-commerce .fs-shipping-card li,
 body.fs-commerce .fs-shipping-strip small{overflow-wrap:anywhere!important}
 body.fs-commerce .fs-faq-layout{
  display:flex!important;flex-direction:column!important;gap:18px!important;
 }
 body.fs-commerce .fs-faq-content{order:1!important;width:100%!important}
 body.fs-commerce .fs-faq-sidebar{order:2!important;width:100%!important}
 body.fs-commerce .fs-faq-sidebar nav{display:none!important}
 body.fs-commerce .fs-help-card{width:100%!important;max-width:100%!important;margin-top:8px!important}
 body.fs-commerce .fs-accordion__button{
  width:100%!important;max-width:100%!important;min-width:0!important;
  padding:17px 0!important;gap:12px!important;
 }
 body.fs-commerce .fs-accordion__button span{min-width:0!important;overflow-wrap:anywhere}
 body.fs-commerce .fs-legal-links,
 body.fs-commerce .fs-legal-links>a{width:100%!important;max-width:100%!important;min-width:0!important}
 body.fs-commerce .fs-legal-copy{padding-left:16px!important;padding-right:16px!important}
 body.fs-commerce .fs-account-layout,
 body.fs-commerce .fs-account-content,
 body.fs-commerce .woocommerce-MyAccount-content,
 body.fs-commerce .woocommerce-MyAccount-navigation{
  width:100%!important;max-width:100%!important;min-width:0!important;
 }
 body.fs-commerce .fs-auth-tabs{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;width:100%!important;
 }
 body.fs-commerce .fs-auth-tabs a,
 body.fs-commerce .fs-auth-tabs button{
  min-width:0!important;text-align:center!important;white-space:normal!important;font-size:11px!important;
 }
 body.fs-commerce form.login,
 body.fs-commerce form.register,
 body.fs-commerce .woocommerce-form-login,
 body.fs-commerce .woocommerce-form-register{
  width:100%!important;max-width:100%!important;min-width:0!important;
 }
 body.fs-commerce form.login input,
 body.fs-commerce form.register input,
 body.fs-commerce .woocommerce form .form-row input.input-text,
 body.fs-commerce .woocommerce form .form-row textarea{
  width:100%!important;max-width:100%!important;min-width:0!important;
 }
 body.fs-commerce .fs-account-hero h1,
 body.fs-commerce .fs-split-hero h1{font-size:34px!important}
 body.fs-commerce .fs-legal-hero h1,
 body.fs-commerce .fs-faq-hero h1{font-size:34px!important;line-height:1.04!important}
 body.fs-commerce .fs-about-essence h2{font-size:36px!important;line-height:1.02!important}
 body.fs-commerce .fs-contact-community,
 body.fs-commerce .fs-contact-community>div{min-width:0!important;max-width:100%!important}
}
@media(max-width:430px){
 body.fs-commerce.woocommerce-shop .fs-shop-results ul.products{gap:22px 9px!important}
 body.fs-commerce.woocommerce-shop .fs-shop-results ul.products>li.product h2{font-size:16px!important}
 body.fs-commerce.woocommerce-shop .fs-shop-results ul.products>li.product .price,
 body.fs-commerce.woocommerce-shop .fs-shop-results ul.products>li.product .fs-product-price{font-size:14px!important}
}

/* Header mobile: mockup shows search + bag. Override older hide rule. */
@media(max-width:900px){
 body.fs-commerce .site-header .header-actions > #header-search-btn.header-icon-btn{
  display:grid!important;place-items:center!important;
  width:36px!important;height:36px!important;min-width:36px!important;
 }
}
