/* v2.3.7: unified scoped storefront, preserve theme outside store pages */
body.esm-header-layout{font-size:14px;line-height:1.55;overflow-x:hidden;background:#f6f8fc}
body.esm-header-layout :is(.site-header,.site-header-wrap,.site-header-container,.site-branding,.site-navigation,.main-navigation,.primary-navigation,.header-main,.header-wrapper,.header-inner,.header-wrap,.header-area,.wp-block-template-part:has(nav),.elementor-location-header,.kadence-header,.ct-header,.generate-header,.site-header-primary){display:none!important}
body.esm-header-layout .esm-topbar,body.esm-header-layout .esm-topbar *{box-sizing:border-box}
body.esm-header-layout .esm-topbar{position:sticky;top:0;z-index:9999}
body.admin-bar.esm-header-layout .esm-topbar{top:32px}
body.esm-header-layout .esm-topbar-inner{max-width:1240px;min-height:58px;padding:8px 18px}
body.esm-header-layout .esm-topbrand{font-size:16px}
body.esm-header-layout .esm-top-links a{font-size:12px;padding:8px 9px}
body.esm-header-layout :is(.entry-content,.wp-block-post-content,.site-main,main){min-width:0}
body.esm-header-layout :is(.esm-market,.esm-seller-app,.esm-auth-wrap,.esm-community,.esm-checkout,.esm-next,.esm-home,.esm-pages-wrap){box-sizing:border-box;width:min(100% - 32px,1100px);max-width:1100px;margin-left:auto;margin-right:auto}
body.esm-header-layout :is(.esm-market,.esm-community,.esm-checkout,.esm-seller-app){font-size:14px;line-height:1.55}
body.esm-header-layout :is(.esm-market,.esm-community,.esm-checkout,.esm-seller-app) :is(h1,h2,h3){line-height:1.28;overflow-wrap:anywhere}
body.esm-header-layout :is(.esm-market,.esm-community,.esm-checkout,.esm-seller-app) h1{font-size:clamp(23px,2.8vw,32px)}
body.esm-header-layout :is(.esm-market,.esm-community,.esm-checkout,.esm-seller-app) h2{font-size:clamp(18px,2.1vw,24px)}
body.esm-header-layout :is(.esm-market,.esm-community,.esm-checkout,.esm-seller-app) h3{font-size:15px}
body.esm-header-layout :is(.esm-market,.esm-community,.esm-checkout,.esm-seller-app) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0;font-size:14px;min-height:40px}
body.esm-header-layout :is(.esm-market,.esm-community,.esm-checkout,.esm-seller-app) :is(button,.esm-market-btn){font-size:13px;line-height:1.4;min-height:36px;padding:9px 13px;white-space:normal}
body.esm-header-layout :is(.esm-market-card,.esm-community-grid article,.esm-pages-card,.esm-cart-item,.esm-cart-summary){box-sizing:border-box;min-width:0;border-radius:12px;box-shadow:0 3px 14px #172b4d0b}
body.esm-header-layout .esm-seller-hero{padding:clamp(16px,2.5vw,26px);border-radius:15px;min-height:0}
body.esm-header-layout .esm-seller-hero h1{font-size:clamp(21px,2.5vw,29px);margin:5px 0}
body.esm-header-layout .esm-seller-hero p{font-size:13px}
body.esm-header-layout .esm-market-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:12px}
body.esm-header-layout .esm-market-grid>.esm-market-card{padding:15px;min-width:0}
body.esm-header-layout .esm-market-grid>.esm-market-card strong{font-size:clamp(18px,2vw,23px)}
body.esm-header-layout .esm-seller-app>form{padding:clamp(14px,2vw,22px);margin:14px 0}
body.esm-header-layout :is(.esm-community-grid,.esm-next-grid){gap:12px}
body.esm-header-layout :is(.esm-community-grid,.esm-next-grid) img{object-fit:contain;max-width:100%}
body.esm-header-layout .esm-community-grid article{padding:12px}
body.esm-header-layout .esm-community-grid article h3{font-size:13px}
body.esm-header-layout :is(.esm-cart-page,.esm-wishlist-page,.esm-search-page,.esm-support-page,.esm-gift-page){padding:clamp(14px,2vw,24px);margin:16px auto}
body.esm-header-layout .esm-cart-page .esm-cart-item{gap:12px;padding:12px}
body.esm-header-layout :is(.esm-market-scroll,.esm-community) table{max-width:100%;overflow-x:auto}
body.esm-header-layout :is(.esm-market,.esm-community,.esm-checkout) img{max-width:100%;height:auto}
body.esm-header-layout .esm-seller-app .esm-market-note{font-size:12px}
@media(max-width:800px){body.esm-header-layout .esm-topbar-inner{min-height:56px}body.esm-header-layout :is(.esm-market,.esm-seller-app,.esm-auth-wrap,.esm-community,.esm-checkout,.esm-next,.esm-home,.esm-pages-wrap){width:calc(100% - 20px)}body.esm-header-layout .esm-seller-hero-actions{flex-wrap:wrap}body.esm-header-layout .esm-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body.admin-bar.esm-header-layout .esm-topbar{top:0}body.esm-header-layout .esm-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body.esm-header-layout .esm-market-grid>.esm-market-card{padding:12px}body.esm-header-layout .esm-community-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.esm-header-layout .esm-topbrand{font-size:15px}body.esm-header-layout .esm-community{padding:12px}}
