/* Shared responsive layout; only built-in themes. */
:is(.theme-lumen,.theme-mercantile,.theme-editorial){--fp-max:2400px;--fp-gutter:clamp(16px,4vw,64px);--fp-layout-gap:clamp(12px,1.5vw,26px);--fp-layout-space:clamp(32px,4vw,76px)}
.fp-width-compact{--fp-max:1100px!important}.fp-width-standard{--fp-max:1240px!important}.fp-width-extra{--fp-max:3000px!important}.fp-width-full{--fp-max:100%!important}.fp-width-custom{--fp-max:var(--fp-custom-max,2400px)!important}
.fp-gutter-compact{--fp-gutter:clamp(12px,2vw,32px)!important}.fp-gutter-spacious{--fp-gutter:clamp(20px,5vw,100px)!important}
.fp-spacing-compact{--fp-layout-space:clamp(20px,2vw,42px)!important}.fp-spacing-spacious{--fp-layout-space:clamp(40px,6vw,110px)!important}
.fp-gap-compact{--fp-layout-gap:12px!important}.fp-gap-spacious{--fp-layout-gap:clamp(20px,2vw,40px)!important}
:is(.theme-lumen,.theme-mercantile,.theme-editorial)>:is(main,.site-header,footer){width:100%;max-width:var(--fp-max);margin-inline:auto;padding-inline:var(--fp-gutter);box-sizing:border-box;min-width:0}
:is(.theme-lumen,.theme-mercantile,.theme-editorial):is(.fp-view-cart,.fp-view-checkout,.fp-view-checkout-review,.fp-view-order,.fp-view-account,.fp-view-account-order,.fp-view-login,.fp-view-register,.fp-view-contact,.fp-view-page,.fp-view-404)>main{max-width:min(var(--fp-max),1240px)}
:is(.theme-lumen,.theme-mercantile,.theme-editorial).fp-header-full>.site-header,:is(.theme-lumen,.theme-mercantile,.theme-editorial).fp-footer-full>footer{max-width:none}
/* Avoid scrollbar-width overflow: full bleed uses the body width via a full-width home main. */
:is(.theme-lumen,.theme-mercantile,.theme-editorial).fp-hero-full.fp-view-home>main{max-width:none;padding-inline:0}
:is(.theme-lumen,.theme-mercantile,.theme-editorial).fp-hero-full.fp-view-home>main>:not(.hero){max-width:var(--fp-max);margin-inline:auto;padding-inline:var(--fp-gutter)}
:is(.theme-lumen,.theme-mercantile,.theme-editorial).fp-hero-full.fp-view-home>main>.hero{width:100%;margin-inline:0;padding-inline:max(var(--fp-gutter),calc((100% - var(--fp-max))/2 + var(--fp-gutter)))}
:is(.theme-lumen,.theme-mercantile,.theme-editorial) .section{padding-block:var(--fp-layout-space)}
:is(.theme-lumen,.theme-mercantile,.theme-editorial) :is(.product-grid,.fp-collections){gap:var(--fp-layout-gap)}
:is(.theme-lumen,.theme-mercantile,.theme-editorial).fp-grid-adaptive :is(.section:not(.fp-featured)) .product-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}
:is(.theme-lumen,.theme-mercantile,.theme-editorial) .hero-art{max-height:650px}
:is(.theme-lumen,.theme-mercantile,.theme-editorial) .product-buy{min-width:0}
@media(max-width:600px){:is(.theme-lumen,.theme-mercantile,.theme-editorial).fp-grid-adaptive .section:not(.fp-featured) .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:is(.theme-lumen,.theme-mercantile,.theme-editorial) .site-header nav{flex-wrap:wrap}}
