/* Shared public storefront layout. Store and campaign settings supply the accent. */
:root{
  --fj-layout-width:1280px;
  --fj-layout-gutter:clamp(16px,4vw,42px);
  --fj-layout-line:#e4e8e5;
  --fj-layout-muted:#52635e;
  --fj-layout-radius:16px;
}
:where(.store,.fj-product-themed,.fj-landing,.fj-info) :focus-visible{
  outline:2px solid currentColor;
  outline-offset:3px;
}
#fj51-home .fj51-wrap,.store.fj51-on .collection,.fj-product-themed .fj-product-shell{
  max-width:var(--fj-layout-width);
  margin-inline:auto;
  padding-inline:var(--fj-layout-gutter);
  box-sizing:border-box;
}
#fj51-home .fj51-top{border-bottom:1px solid var(--fj-layout-line)}
#fj51-home .fj51-top .fj51-wrap{min-height:76px}
#fj51-home .fj51-search{background:#fff;border:1px solid var(--fj-layout-line)}
#fj51-home .fj51-search button{color:var(--fj-layout-muted)}
#fj51-home .fj-market-menu nav .fj51-wrap{min-height:0;padding:8px}
#fj51-home .fj51-top + .fj51-nav{position:static;background:#fff;border-bottom:1px solid var(--fj-layout-line)}
#fj51-home .fj51-top + .fj51-nav a{color:var(--market-ink);padding:12px 13px}
#fj51-home .fj51-top + .fj51-nav a:hover,#fj51-home .fj51-top + .fj51-nav a.on{background:var(--market-tint)}
#fj51-home .fj51-hero{padding-top:clamp(18px,3vw,38px)}
#fj51-home .fj-market-feature{border-radius:var(--fj-layout-radius);background:linear-gradient(105deg,#edf4ef 8%,#f7f2e9 100%)}
#fj51-home .fj-market-feature img{object-fit:contain;max-height:390px;padding:clamp(12px,2vw,28px)}
#fj51-home .fj-market-copy h1{font-size:clamp(30px,5vw,62px)}
#fj51-home .fj51-slider,#fj51-home .fj51-sidebn{border-radius:var(--fj-layout-radius)}
#fj51-home .fj51-cats{padding:clamp(25px,4vw,54px) 0 18px}
#fj51-home .fj51-cats .fj51-h{margin:0 0 14px}
#fj51-home .fj51-cat-row{gap:12px;padding:4px}
#fj51-home .fj51-cat{
  flex:0 0 clamp(108px,13vw,152px);align-content:start;gap:9px;padding:12px 7px;
  background:#fff;border:1px solid var(--fj-layout-line);border-radius:14px;
}
#fj51-home .fj51-cat:hover{border-color:var(--fj51-brand)}
#fj51-home .fj51-cat span.img{box-shadow:none;border:0;background:var(--market-tint)}
#fj51-home .fj51-cat em{line-height:1.35}

.store.fj51-on .collection>.catalog-controls{display:flex!important;justify-content:flex-end;margin:0 0 12px;padding:0;background:none;border:0;box-shadow:none}
.store.fj51-on .catalog-controls .category-tabs,.store.fj51-on .catalog-controls .search{display:none}
.store.fj51-on .catalog-controls .search-sort{display:flex;justify-content:flex-end;width:auto}
.store.fj51-on .catalog-controls .sort{min-height:40px;background:#fff;border:1px solid var(--fj-layout-line);border-radius:9px}
#fj51-home .fj51-products-h{max-width:var(--fj-layout-width);padding-inline:var(--fj-layout-gutter);text-align:left;margin:24px auto 8px}
#fj51-home .fj51-products-h h1,#fj51-home .fj51-products-h h2{margin:0;font-size:clamp(24px,3vw,36px)}
.store.fj51-on .product-grid{gap:clamp(10px,2vw,24px);align-items:stretch}
.store.fj51-on .product-card{display:flex;flex-direction:column;border:1px solid var(--fj-layout-line);box-shadow:none;border-radius:14px}
.store.fj51-on .product-card .product-image{aspect-ratio:1;background:#f4f7f4}
.store.fj51-on .product-card .product-info{flex:1;display:flex;flex-direction:column;min-width:0;padding:clamp(10px,1.9vw,18px)}
.store.fj51-on .product-card .product-title{line-height:1.35;overflow-wrap:anywhere}
.store.fj51-on .product-card .price{padding-block:8px}
.store.fj51-on .product-actions{margin-top:auto;min-width:0}
.store.fj51-on .store-footer{border-top:1px solid var(--fj-layout-line);padding-block:clamp(26px,5vw,64px)}

.fj-product-themed .fj-product-layout{align-items:start}
.fj-product-themed .fj-product-info{background:var(--surface,#fff);padding:clamp(16px,3vw,34px);border:1px solid var(--fj-layout-line);border-radius:var(--fj-layout-radius);min-width:0}
.fj-product-themed .fj-product-info h1{font-size:clamp(26px,4vw,44px);line-height:1.12;overflow-wrap:anywhere}
.fj-product-themed .fj-price-stock-row{padding-block:13px;border-bottom:1px solid var(--fj-layout-line);margin-bottom:16px}
.fj-product-themed .fj-feature-stage,.fj-product-themed .fj-thumb{border-radius:var(--fj-layout-radius)}
.fj-product-themed .fj-product-description{max-width:none;margin-top:22px;border:1px solid var(--fj-layout-line);border-radius:var(--fj-layout-radius)}
.fj-product-themed .fj-benefits{gap:8px;flex-wrap:wrap}
.fj-product-themed :is(.fj-v35-reviews,.fj-v35-related){margin-top:clamp(24px,5vw,54px)}

.store .fj-v18-cart-panel,.fj-product-themed .fj-cart-drawer{box-shadow:-12px 0 44px #12282028}
.store :is(.fj-v18-cart-header,.fj-v18-cart-footer),.fj-product-themed :is(.fj-cart-drawer-head,.fj-cart-bottom){padding:clamp(16px,3vw,26px)}
.store .fj-v18-cart-item,.store .checkout-bag-line{padding-block:14px;border-bottom:1px solid var(--fj-layout-line)}
.store .checkout-form.fj-v21-checkout{gap:14px}
.store .checkout-form :is(.checkout-bag,.checkout-coupon,.fj-v21-checkout-intro){background:#f6f8f6;border:1px solid var(--fj-layout-line);border-radius:13px;padding:14px}
.store .checkout-form .totals.grand{margin-top:8px;padding-top:14px;border-top:1px solid var(--fj-layout-line)}
.store .checkout-form input,.store .checkout-form select,.store .checkout-form textarea{max-width:100%;border-radius:9px}

.fj-landing .wrap{max-width:var(--fj-layout-width);padding-inline:var(--fj-layout-gutter);padding-top:22px;grid-template-columns:minmax(0,1fr) minmax(250px,310px)}
.fj-landing .sec{margin-bottom:clamp(20px,4vw,38px);animation:none}
.fj-landing .hero{padding:clamp(15px,3vw,28px);border-radius:var(--fj-layout-radius);gap:clamp(14px,3vw,30px);align-items:center}
.fj-landing .hero h1{font-size:clamp(27px,4vw,49px);line-height:1.11;overflow-wrap:anywhere}
.fj-landing .hero .stage{border-radius:12px}
.fj-landing .order{grid-template-columns:minmax(0,1.4fr) minmax(180px,1fr)}
.fj-landing .order :is(form,.sum){border-radius:var(--fj-layout-radius);min-width:0}
.fj-info .info-layout{max-width:var(--fj-layout-width);padding-inline:var(--fj-layout-gutter)}
.fj-info .info-layout article{border-radius:var(--fj-layout-radius);min-width:0;overflow-wrap:anywhere}

@media(max-width:900px){
  .fj-landing .wrap{grid-template-columns:minmax(0,1fr)}
  .fj-landing .order{grid-template-columns:minmax(0,1fr) minmax(160px,.7fr)}
}
@media(max-width:720px){
  #fj51-home .fj51-top .fj51-wrap{min-height:0}
  #fj51-home .fj51-top + .fj51-nav{display:none}
  #fj51-home .fj51-hero{padding-top:14px}
  #fj51-home .fj51-cat{flex-basis:92px;padding:9px 5px}
  #fj51-home .fj51-cat em{font-size:12px}
  .store.fj51-on .catalog-controls .sort{min-height:36px}
  .fj-product-themed .fj-product-info{padding:16px}
  .fj-landing .hero,.fj-landing .order{grid-template-columns:minmax(0,1fr)}
  .fj-landing .hero .stage{max-height:360px}
}

.store .checkout-form :is(.fj-checkout-delivery,.fj-checkout-summary){
  display:grid;align-content:start;gap:12px;min-width:0;
}
.store .checkout-form .fj-checkout-delivery fieldset{
  margin:0;border:1px solid var(--fj-layout-line);border-radius:13px;padding:12px 14px 14px;
}
.store .checkout-form .fj-checkout-summary .primary.full{min-height:48px;white-space:normal}
@media(min-width:900px){
  .store .store-modal:has(.checkout-form){max-width:1000px}
  .store .checkout-form.fj-v21-checkout{
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:24px;
  }
  .store .checkout-form .fj-v21-checkout-intro{grid-column:1/-1}
}
