/* Storefront stage 1. All brand colors inherit the original style.css palette. */
.store-front{--sf-radius:12px;overflow-wrap:break-word}
.store-front .container{width:100%;max-width:1320px;padding-left:24px;padding-right:24px}
.store-front [hidden]{display:none!important}
.store-front a,.store-front button{-webkit-tap-highlight-color:transparent}
.store-front :focus-visible{outline:2px solid var(--link-blue);outline-offset:4px}
.store-front #main-content:focus{outline:0}
.sf-skip{position:fixed;left:16px;top:-100px;z-index:200;background:#fff;color:var(--brand-blue);padding:12px 20px;border:2px solid var(--brand-blue)}
.sf-skip:focus{top:12px}
.sf-header{background:#fff;border-bottom:1px solid var(--border)}
.sf-topbar{background:var(--brand-blue);color:#fff;font-size:12px}
.sf-topbar-inner{display:flex;align-items:center;gap:24px;min-height:38px}
.sf-topbar-inner>span{display:flex;gap:7px;align-items:center}
.sf-topbar nav{display:flex;gap:24px;margin-left:auto}
.sf-topbar a{color:#fff}
.sf-topbar .sf-phone{font-weight:700;margin-left:24px;white-space:nowrap}
.sf-header-main{display:grid;grid-template-columns:195px auto minmax(160px,1fr) auto;align-items:center;gap:22px;padding-top:23px;padding-bottom:19px}
.sf-logo{display:block;min-width:0}
.sf-logo img{display:block;width:100%;max-width:195px;height:auto}
.sf-catalog-wrap{position:relative}
.sf-catalog-button,.sf-menu-button{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--brand-blue);color:#fff;border:0;border-radius:8px;height:48px;padding:0 20px;font-weight:600}
.sf-catalog-button i{font-size:20px}
.sf-search{display:flex;align-items:center;gap:10px;border:1px solid var(--border);background:var(--brand-gray);border-radius:8px;height:48px;min-width:0;padding:4px 4px 4px 14px}
.sf-search>i{color:var(--text-muted)}
.sf-search input{width:0;min-width:0;flex:1;border:0;background:transparent;outline:none;font-size:14px;color:var(--brand-blue);padding:8px 0}
.sf-search:focus-within{border-color:var(--link-blue);box-shadow:0 0 0 2px var(--border)}
.sf-search button{height:38px;padding:0 16px;border:0;border-radius:5px;background:var(--brand-red);color:#fff;font-size:13px;font-weight:600}
.sf-actions{display:flex;gap:22px;align-items:center}
.sf-actions>a{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--brand-blue);font-size:10px;min-width:42px;min-height:44px;justify-content:center}
.sf-actions i{font-size:22px;line-height:1.2}
.sf-action-icon{position:relative;display:inline-flex;align-items:center}
.sf-action-icon b{position:absolute;right:-10px;top:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:20px;background:var(--brand-red);color:#fff;font-size:9px;line-height:16px;text-align:center;font-weight:600}
.sf-cart>span:last-child{font-weight:700}
.sf-nav{display:flex;align-items:center;gap:28px;min-height:45px;font-size:13px;padding-bottom:8px}
.sf-nav a{color:var(--brand-blue);display:flex;align-items:center;gap:8px;min-height:34px}
.sf-nav a:first-child{font-weight:700}
.sf-nav a:first-child i{color:var(--brand-red)}
.sf-nav a:last-child{margin-left:auto;color:var(--text-muted)}
.sf-menu-button,.sf-mobile-phone{display:none}
.sf-catalog-panel{position:absolute;left:0;top:calc(100% + 12px);width:min(650px,calc(100vw - 300px));max-height:70vh;overflow:auto;z-index:85;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 14px 40px rgba(15,23,42,.12);padding:20px}
.sf-panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;color:var(--brand-blue)}
.sf-panel-head button{display:grid;place-items:center;flex:0 0 44px;height:44px;border:0;border-radius:8px;background:var(--brand-gray);color:var(--brand-blue)}
.sf-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.sf-catalog-grid a{display:grid;grid-template-columns:24px minmax(0,1fr) 14px;gap:10px;align-items:center;padding:14px 10px;color:var(--brand-blue);font-size:14px;border-radius:8px}
.sf-catalog-grid a:hover{background:var(--brand-gray)}
.sf-catalog-grid a>i:last-child{font-size:10px;color:var(--text-muted)}
.sf-panel-all{display:flex;justify-content:space-between;padding:16px 10px 0;margin-top:12px;border-top:1px solid var(--border);font-weight:600;color:var(--link-blue)}
.sf-backdrop{position:fixed;inset:0;z-index:100;background:rgba(15,23,42,.45)}
.sf-drawer{position:fixed;left:0;top:0;bottom:0;width:min(380px,92vw);background:#fff;z-index:110;padding:18px 20px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
.sf-drawer-catalog{display:flex;gap:12px;align-items:center;color:#fff;background:var(--brand-blue);border-radius:8px;padding:15px;margin-bottom:12px;font-weight:600}
.sf-drawer-catalog>i:last-child{margin-left:auto}
.sf-drawer-links{display:grid}
.sf-drawer-links a{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:48px;padding:12px 0;border-bottom:1px solid var(--border);color:var(--brand-blue);font-size:14px}
.sf-drawer-links i{font-size:11px;flex-shrink:0}
.sf-drawer-secondary{margin-top:22px}
.sf-drawer-phone{display:block;margin-top:25px;font-size:20px;font-weight:700;color:var(--brand-blue)}
.sf-home-banner{padding-top:18px}
.sf-home-banner-frame{display:block;overflow:hidden;width:100%;aspect-ratio:16/3;border-radius:14px;background:var(--brand-gray);box-shadow:0 1px 0 rgba(15,23,42,.03)}
.sf-home-banner-frame img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.sf-home-banner a.sf-home-banner-frame:hover img{transform:scale(1.004)}
.sf-hero{padding-top:26px}
.sf-hero-card{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);background:var(--brand-gray);border-radius:16px;overflow:hidden;min-height:330px}
.sf-hero-copy{padding:40px 0 40px 40px;position:relative;z-index:1}
.sf-eyebrow{display:block;font-size:10px;font-weight:700;line-height:1.5;letter-spacing:.09em;color:var(--text-muted);margin-bottom:12px}
.sf-hero h1{font-size:clamp(30px,3.1vw,44px);line-height:1.12;letter-spacing:-.035em;color:var(--brand-blue);font-weight:800;margin:0 0 17px;max-width:640px;text-wrap:balance}
.sf-hero p{font-size:14px;line-height:1.65;color:var(--text-muted);max-width:540px;margin:0 0 24px}
.sf-hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.sf-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:48px;padding:12px 20px;border-radius:8px;font-size:13px;font-weight:600;line-height:1.5}
.sf-button-red{background:var(--brand-red);color:#fff}
.sf-button-red:hover{color:#fff;background:var(--brand-red);filter:brightness(.95)}
.sf-button-dark{background:var(--brand-blue);color:#fff}
.sf-button-dark:hover{color:#fff;background:var(--brand-blue)}
.sf-hero-secondary{display:inline-flex;align-items:center;gap:9px;color:var(--brand-blue);font-size:13px;font-weight:600;min-height:44px}
.sf-hero-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:26px 32px 22px;min-width:0}
.sf-hero-art img{display:block;width:100%;height:235px;object-fit:contain;mix-blend-mode:multiply}
.sf-art-label{align-self:flex-end;color:var(--text-muted);font-size:9px;line-height:1.5;letter-spacing:.13em}
.sf-art-caption{font-size:10px;color:var(--text-muted);text-align:center;margin-top:4px}
.sf-section{padding-top:44px}
.sf-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:20px}
.sf-section-heading .sf-eyebrow{margin-bottom:6px}
.sf-section h2{font-size:26px;font-weight:700;letter-spacing:-.025em;line-height:1.25;margin:0;color:var(--brand-blue)}
.sf-text-link{display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:600;color:var(--link-blue);min-height:32px;flex-shrink:0}
.sf-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.sf-category{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 16px;grid-template-rows:auto 120px;gap:8px;padding:18px 18px 10px;background:var(--brand-gray);border:1px solid transparent;border-radius:var(--sf-radius);color:var(--brand-blue)}
.sf-category>span{font-size:14px;font-weight:600;line-height:1.4;min-height:40px;overflow-wrap:anywhere}
.sf-category>i{font-size:14px;color:var(--text-muted)}
.sf-category img{grid-column:1/-1;width:100%;height:120px;object-fit:contain;mix-blend-mode:multiply}
.sf-category:hover{border-color:var(--border);color:var(--brand-blue)}
.sf-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sf-product{display:flex;flex-direction:column;min-width:0;padding:14px;border:1px solid var(--border);border-radius:var(--sf-radius);background:#fff}
.sf-product-picture{position:relative;aspect-ratio:1.25;margin:0 0 14px;min-width:0;background:#fff}
.sf-product-picture>a{display:block;width:100%;height:100%;padding:12px}
.sf-product-picture img{width:100%;height:100%;object-fit:contain}
.sf-favorite{position:absolute;right:0;top:0;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:var(--brand-blue);font-size:19px}
.sf-favorite[aria-pressed="true"]{color:var(--brand-red)}
.sf-discount{position:absolute;top:6px;left:0;background:var(--brand-red);color:#fff;border-radius:4px;font-size:11px;font-weight:700;padding:4px 7px}
.sf-sku{font-size:10px;color:var(--text-muted);margin-bottom:7px;overflow-wrap:anywhere}
.sf-product-title{display:block;color:var(--brand-blue);font-size:14px;font-weight:500;line-height:1.5;min-height:42px;overflow-wrap:anywhere;margin-bottom:12px}
.sf-product-title:hover{color:var(--link-blue)}
.sf-stock{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--text-muted);margin-top:auto;margin-bottom:12px}
.sf-stock-available{color:var(--brand-blue)}
.sf-price{margin-bottom:14px}
.sf-old-price{display:block;min-height:17px;color:var(--text-muted);font-size:11px;line-height:17px;margin-bottom:3px}
.sf-price>div{display:flex;gap:4px;align-items:baseline;flex-wrap:wrap}
.sf-price b{font-size:23px;color:var(--brand-blue);letter-spacing:-.035em;line-height:1.25;overflow-wrap:anywhere}
.sf-price>div>span{font-size:11px;color:var(--text-muted)}
.sf-buy{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:44px;background:var(--brand-blue);border:0;border-radius:7px;color:#fff;font-size:12px;font-weight:600;padding:9px}
.sf-buy i{font-size:17px}
.sf-buy:hover:not(:disabled){background:var(--brand-red)}
.sf-buy:disabled{color:var(--text-muted);background:var(--brand-gray);cursor:not-allowed}
.sf-promo{display:flex;align-items:center;gap:24px;padding:26px 30px;background:var(--brand-red);border-radius:var(--sf-radius);color:#fff}
.sf-section .sf-promo h2{color:#fff;font-size:24px}
.sf-promo p{font-size:13px;margin:5px 0 0;line-height:1.5}
.sf-promo-icon{font-size:52px;font-weight:800;line-height:1}
.sf-promo-link{display:flex;align-items:center;gap:14px;margin-left:auto;font-size:13px;font-weight:600;flex-shrink:0}
.sf-promo:hover{color:#fff}
.sf-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-bottom:30px;border-bottom:1px solid var(--border)}
.sf-benefits a{display:flex;gap:14px;color:var(--brand-blue)}
.sf-benefits i{font-size:26px;line-height:1.3;flex-shrink:0}
.sf-benefits h3{font-size:13px;font-weight:700;margin:0 0 6px}
.sf-benefits p{font-size:11px;line-height:1.5;color:var(--text-muted);margin:0}
.sf-business{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px;padding:34px;background:var(--brand-gray);border-radius:var(--sf-radius)}
.sf-business h2{max-width:370px;margin-bottom:24px}
.sf-business-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:center}
.sf-business-details i{font-size:28px;display:block;margin-bottom:14px;color:var(--brand-blue)}
.sf-business-details h3{font-size:15px;font-weight:600;color:var(--brand-blue);margin:0 0 10px;line-height:1.4}
.sf-business-details p{font-size:12px;color:var(--text-muted);line-height:1.6;margin:0}
.sf-brands{padding-bottom:52px}
.sf-brand-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.sf-brand-grid>a{display:flex;align-items:center;justify-content:center;min-height:84px;padding:15px;border:1px solid var(--border);border-radius:8px;color:var(--brand-blue);font-weight:700;font-size:15px;text-align:center;overflow-wrap:anywhere}
.sf-brand-grid img{width:100%;height:48px;object-fit:contain}
.store-home #main-content{padding-bottom:20px}
.store-front .main-footer{padding-top:40px}
.store-front .main-footer .footer-title{font-size:14px}
.store-front .main-footer .footer-links a{font-size:12px;display:inline-block;padding:4px 0}
.store-front .footer-about{font-size:12px}
.store-front .footer-bottom{font-size:11px;gap:20px}
.store-front .footer-contact-item{overflow-wrap:anywhere;min-width:0}
.store-front .site-toast{max-width:calc(100vw - 32px)}
.sf-bottom-nav{display:none}
@media(min-width:992px) and (max-width:1199px){
 .sf-header-main{grid-template-columns:165px auto minmax(150px,1fr) auto;gap:16px}
 .sf-actions{gap:15px}.sf-actions>a>span:last-child:not(.sf-action-icon){display:none}
 .sf-catalog-button{padding:0 16px}.sf-hero-copy{padding-left:30px}
}
@media(max-width:991px){
 .sf-home-banner{display:none!important}
 .store-front{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
 .store-front .container{padding-left:20px;padding-right:20px}
 .sf-topbar-inner{min-height:30px;font-size:11px;justify-content:space-between;gap:12px}
 .sf-topbar nav{display:none}.sf-topbar .sf-phone{margin-left:0}
 .sf-header-main{grid-template-columns:42px minmax(0,1fr) 42px;gap:12px;padding-top:14px;padding-bottom:14px}
 .sf-menu-button{display:grid;width:42px;height:42px;padding:0;font-size:24px}
 .sf-logo{justify-self:center;width:190px;max-width:100%}
 .sf-mobile-phone{display:grid;place-items:center;width:42px;height:42px;font-size:21px;color:var(--brand-blue)}
 .sf-search{grid-column:1/-1;grid-row:2;margin-top:2px}
 .sf-search input{font-size:16px}.sf-catalog-wrap,.sf-actions,.sf-nav{display:none}
 .sf-hero-card{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);min-height:0}
 .sf-hero-copy{padding:28px 0 28px 26px}.sf-hero h1{font-size:32px}
 .sf-hero-art{padding:20px}.sf-hero-art img{height:190px}.sf-art-label,.sf-art-caption{display:none}
 .sf-hero-actions{gap:10px 20px}.sf-hero p{font-size:13px}
 .sf-category-grid{gap:10px}.sf-category{padding:14px 12px 10px;grid-template-rows:auto 95px}
 .sf-category>span{font-size:12px;min-height:34px}.sf-category img{height:95px}
 .sf-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .sf-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sf-business{gap:26px;padding:26px}.sf-business-details{gap:18px}
 .sf-section h2{font-size:24px}.sf-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .sf-bottom-nav{position:fixed;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:64px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--border);z-index:60}
 .sf-bottom-nav>a{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-height:48px;font-size:10px;color:var(--text-muted);border-radius:7px}
 .sf-bottom-nav>a.is-active{color:var(--brand-red);font-weight:600}
 .sf-bottom-nav i{font-size:21px;line-height:1.2}
 .store-front .site-toast{bottom:calc(82px + env(safe-area-inset-bottom))}
}
@media(max-width:700px){
 .sf-hero-card{grid-template-columns:1fr}.sf-hero-copy{padding:26px}.sf-hero-art{display:none}
 .sf-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sf-category{grid-template-rows:auto 105px;padding:14px}.sf-category>span{font-size:13px;min-height:36px}.sf-category img{height:105px}
 .sf-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sf-business{grid-template-columns:1fr}.sf-business h2{max-width:none}
 .sf-business-details{gap:24px}.sf-business-intro .sf-button{width:100%}
 .sf-promo{padding:22px;gap:16px;flex-wrap:wrap}.sf-promo-icon{font-size:40px}
 .sf-promo-link{width:100%;margin-left:0;padding-top:10px;border-top:1px solid rgba(255,255,255,.3);justify-content:space-between}
}
@media(max-width:575px){
 .store-front .container{padding-left:16px;padding-right:16px}
 .sf-topbar-inner{font-size:10px}.sf-hero{padding-top:16px}
 .sf-hero-card{border-radius:12px}.sf-hero-copy{padding:24px 20px}
 .sf-hero h1{font-size:28px;line-height:1.15;letter-spacing:-.03em}
 .sf-hero p{font-size:13px;line-height:1.55;margin-bottom:18px}
 .sf-hero .sf-eyebrow{font-size:9px;margin-bottom:12px}
 .sf-hero-actions{gap:6px}.sf-hero-actions>.sf-button{width:100%;justify-content:space-between}
 .sf-hero-secondary{width:100%;justify-content:center;font-size:12px}
 .sf-section{padding-top:30px}.sf-section-heading{gap:12px;margin-bottom:16px;align-items:flex-end}
 .sf-section h2{font-size:21px}.sf-section-heading .sf-eyebrow{font-size:8px;margin-bottom:6px}
 .sf-text-link{font-size:10px;gap:6px;max-width:92px;flex-shrink:0;line-height:1.4}
 .sf-category-grid{gap:10px}.sf-category{padding:12px;grid-template-rows:auto 96px}.sf-category img{height:96px}
 .sf-product-grid{gap:10px}.sf-product{padding:10px;border-radius:10px}
 .sf-product-picture{margin-bottom:10px;aspect-ratio:1}.sf-product-picture>a{padding:8px}
 .sf-product-title{font-size:12px;line-height:1.45;min-height:52px;margin-bottom:10px}
 .sf-sku{font-size:9px}.sf-stock{font-size:10px;gap:3px;margin-bottom:8px}
 .sf-price b{font-size:20px}.sf-price>div>span{font-size:10px}.sf-price{margin-bottom:10px}
 .sf-buy{font-size:11px;gap:6px;padding:8px 4px}.sf-buy i{font-size:15px}
 .sf-favorite{width:40px;height:40px;font-size:18px;right:-4px;top:-4px}
 .sf-benefits{gap:22px 14px;padding-bottom:26px}.sf-benefits a{gap:9px}.sf-benefits i{font-size:22px}
 .sf-benefits h3{font-size:12px}.sf-benefits p{font-size:10px}
 .sf-business{padding:22px;gap:25px}.sf-business-details{grid-template-columns:1fr;gap:24px}
 .sf-business-details>div{display:grid;grid-template-columns:30px minmax(0,1fr);gap:0 12px}
 .sf-business-details i{grid-row:span 2;margin:0;font-size:24px}.sf-business-details h3{font-size:14px;margin-bottom:5px}
 .sf-business-details p{font-size:12px}.sf-brand-grid{gap:8px}.sf-brand-grid>a{min-height:70px;padding:10px;font-size:12px}
 .sf-brands{padding-bottom:30px}.store-front .main-footer{padding-top:30px}
 .store-front .footer-bottom{flex-direction:column;align-items:flex-start;gap:14px}
}
@media(max-width:359px){
 .sf-logo{width:165px}.sf-header-main{gap:8px}.sf-section-heading{flex-wrap:wrap}.sf-text-link{max-width:none}
 .sf-hero h1{font-size:25px}.sf-hero-copy{padding:22px 16px}.sf-price b{font-size:18px}
 .sf-category{padding:10px}.sf-category>span{font-size:12px}.sf-product{padding:8px}
 .sf-buy i{display:none}.sf-bottom-nav>a{font-size:9px}.sf-promo-icon{display:none}
}
@media(prefers-reduced-motion:reduce){.store-front *{scroll-behavior:auto!important;transition:none!important}}


/* UX Stage: homepage cart quantity control */
.sf-cart-control{margin-top:auto;display:block;width:100%}
.sf-cart-control .sf-buy{margin:0;width:100%}
.sf-cart-control .product-card-qty{width:100%;height:44px;grid-template-columns:44px minmax(44px,1fr) 44px;border-radius:7px;border-color:var(--border);box-shadow:none}
.sf-cart-control .product-card-qty button{height:42px}
.sf-cart-control .product-card-qty [data-card-cart-value]{min-width:0}
@media(max-width:575px){.sf-cart-control .product-card-qty{height:42px;grid-template-columns:40px minmax(40px,1fr) 40px}.sf-cart-control .product-card-qty button{height:40px}}


/* UX Stage 3: homepage product action polish */
.sf-cart-control .sf-buy{border-radius:8px;font-weight:700;letter-spacing:-.01em}
.sf-cart-control .product-card-qty{border-radius:8px}
.sf-cart-control .product-card-qty button:focus-visible,.sf-cart-control .sf-buy:focus-visible{outline:3px solid rgba(255,51,51,.16);outline-offset:2px}
@media(max-width:575px){.sf-cart-control .sf-buy{min-height:42px;font-size:11px}.sf-cart-control .product-card-qty{width:100%}}


/* Stage 12: storefront city selector */
.sf-city-trigger{display:inline-flex;align-items:center;gap:7px;min-width:0;max-width:260px;padding:0;border:0;background:transparent;color:#fff;font:inherit;cursor:pointer;text-align:left}
.sf-city-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sf-city-trigger>i:first-child{font-size:13px;flex:0 0 auto}.sf-city-trigger-chevron{font-size:9px;opacity:.75;flex:0 0 auto}
.sf-city-trigger:hover>span{text-decoration:underline;text-underline-offset:3px}
.sf-city-layer{position:fixed;inset:0;z-index:180;display:grid;place-items:start center;padding:8vh 20px 30px;overflow:auto}
.sf-city-layer-backdrop{position:fixed;inset:0;border:0;background:rgba(15,23,42,.5);backdrop-filter:blur(2px);cursor:default}
.sf-city-dialog{position:relative;width:min(640px,100%);max-height:84vh;overflow:auto;background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 28px 80px rgba(15,23,42,.2);padding:24px;overscroll-behavior:contain}
.sf-city-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.sf-city-dialog-head h2{margin:2px 0 0;color:var(--brand-blue);font-size:26px;line-height:1.2;letter-spacing:-.025em}.sf-city-eyebrow{display:block;color:var(--text-muted);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.sf-city-close{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border:0;border-radius:10px;background:var(--brand-gray);color:var(--brand-blue);font-size:17px}
.sf-city-search{display:flex;align-items:center;gap:10px;height:50px;padding:0 14px;border:1px solid var(--border);border-radius:10px;background:#fff;margin-bottom:12px}.sf-city-search:focus-within{border-color:var(--link-blue);box-shadow:0 0 0 3px rgba(43,44,134,.08)}.sf-city-search i{color:var(--text-muted)}.sf-city-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--brand-blue);font-size:15px}
.sf-city-all{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid var(--border);border-radius:10px;background:var(--brand-gray);color:var(--brand-blue);text-align:left;margin-bottom:20px}.sf-city-all>span{display:flex;align-items:center;gap:10px}.sf-city-all>span i{font-size:18px}.sf-city-all small{color:var(--text-muted);font-size:11px}.sf-city-all:hover{border-color:#cbd5e1;background:#f8fafc}
.sf-city-section-title{margin:0 0 10px;color:var(--text-muted);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.sf-city-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sf-city-quick button{min-width:0;min-height:42px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:#fff;color:var(--brand-blue);font-size:12px;font-weight:600;text-align:left;overflow-wrap:anywhere}.sf-city-quick button:first-child{border-color:var(--brand-blue);background:var(--brand-blue);color:#fff}.sf-city-quick button:hover{border-color:var(--link-blue);background:var(--brand-gray);color:var(--brand-blue)}.sf-city-quick button:first-child:hover{background:var(--brand-blue);color:#fff;filter:brightness(1.05)}
.sf-city-results{display:grid;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff}.sf-city-results button{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:46px;padding:10px 13px;border:0;border-bottom:1px solid var(--border);background:#fff;color:var(--brand-blue);font-size:13px;text-align:left}.sf-city-results button:last-child{border-bottom:0}.sf-city-results button:hover{background:var(--brand-gray)}.sf-city-results button i{font-size:10px;color:var(--text-muted)}.sf-city-empty{padding:18px;color:var(--text-muted);font-size:13px;text-align:center}
.sf-city-use-query{width:100%;display:flex;align-items:center;gap:9px;margin-top:10px;padding:12px 13px;border:1px dashed var(--link-blue);border-radius:10px;background:#f8f8ff;color:var(--brand-blue);font-size:12px;text-align:left}.sf-city-use-query b{font-weight:700}.sf-city-note{margin:18px 0 0;color:var(--text-muted);font-size:11px;line-height:1.55}
@media(max-width:991px){.sf-city-trigger{max-width:55vw}.sf-city-layer{padding-top:5vh}}
@media(max-width:575px){.sf-city-trigger{max-width:52vw;font-size:10px}.sf-city-dialog{padding:18px 16px;border-radius:16px}.sf-city-dialog-head h2{font-size:22px}.sf-city-search{height:48px}.sf-city-search input{font-size:16px}.sf-city-all{align-items:flex-start}.sf-city-all small{display:none}.sf-city-quick{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-city-layer{padding:12px;place-items:end center}.sf-city-dialog{width:100%;max-height:88vh;border-radius:18px 18px 10px 10px}}

/* Stage 13: checkout delivery + saved addresses */
.checkout-delivery-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.checkout-delivery-method{position:relative;display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:12px;padding:16px;border:1px solid var(--border,#e5e7eb);border-radius:16px;background:#fff;cursor:pointer;transition:.18s ease}.checkout-delivery-method:hover{border-color:#c7d2fe;box-shadow:0 8px 24px rgba(15,23,42,.06)}.checkout-delivery-method input{position:absolute;opacity:0;pointer-events:none}.checkout-delivery-method:has(input:checked){border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.08)}.checkout-delivery-method-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f3f6fb;color:#173c75;font-size:18px}.checkout-delivery-method span:nth-of-type(2){display:flex;flex-direction:column;gap:3px;min-width:0}.checkout-delivery-method b{font-size:15px}.checkout-delivery-method small{font-size:12px;color:#6b7280;line-height:1.35}.checkout-delivery-method strong{font-size:13px;white-space:nowrap}.checkout-delivery-panel{margin-top:16px;padding:16px;border-radius:16px;background:#f8fafc;border:1px solid #edf0f5}.checkout-delivery-panel[hidden]{display:none!important}.checkout-delivery-subtitle{font-weight:700;font-size:13px;margin:0 0 10px}.checkout-pickup-single{display:flex;gap:12px;align-items:flex-start}.checkout-pickup-single>i{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#fff;color:#2563eb;font-size:18px}.checkout-pickup-single>div{display:flex;flex-direction:column;gap:4px}.checkout-pickup-single span{color:#334155}.checkout-pickup-single small{color:#64748b}.checkout-pickup-list{display:grid;gap:9px}.checkout-pickup-option{display:grid;grid-template-columns:1fr 22px;gap:12px;align-items:center;padding:13px 14px;border-radius:13px;background:#fff;border:1px solid #e5e7eb;cursor:pointer}.checkout-pickup-option input{position:absolute;opacity:0}.checkout-pickup-option>span{display:flex;flex-direction:column;gap:3px}.checkout-pickup-option small,.checkout-pickup-option em{color:#64748b;font-style:normal;font-size:12px}.checkout-pickup-option>i{color:#cbd5e1}.checkout-pickup-option:has(input:checked){border-color:#2563eb}.checkout-pickup-option:has(input:checked)>i{color:#2563eb}.checkout-saved-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:14px}.checkout-saved-address{appearance:none;text-align:left;border:1px solid #e5e7eb;background:#fff;border-radius:13px;padding:13px;cursor:pointer;display:flex;justify-content:space-between;gap:10px;color:inherit}.checkout-saved-address span{display:flex;flex-direction:column;gap:3px}.checkout-saved-address small{color:#64748b;line-height:1.35}.checkout-saved-address em{font-style:normal;font-size:10px;font-weight:700;color:#2563eb;background:#eff6ff;border-radius:999px;padding:4px 7px;height:max-content}.checkout-saved-address.is-selected{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.08)}.checkout-saved-address-new{justify-content:flex-start;align-items:center;color:#2563eb}.checkout-saved-address-new>i{font-size:20px}.checkout-delivery-fields{margin-top:12px}.checkout-save-address{margin-top:14px;padding-top:12px;border-top:1px solid #e5e7eb}.checkout-save-address-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:10px}.checkout-save-address-fields[hidden]{display:none!important}.checkout-save-address-fields label{font-size:12px;color:#475569;display:flex;gap:6px;align-items:center}.checkout-delivery-summary{border-top:1px dashed #e5e7eb;margin-top:4px;padding-top:10px}.order-detail-contact small{display:block;color:#64748b;margin-top:4px}.account-address-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.account-address-form label{display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:13px}.account-address-form .wide,.account-address-default,.account-address-actions{grid-column:1/-1}.account-address-default{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important}.account-address-actions{display:flex;gap:10px}.account-address-list{display:grid;gap:12px}.account-address-card{display:flex;justify-content:space-between;gap:20px;padding:16px;border:1px solid #e5e7eb;border-radius:15px;background:#fff}.account-address-card.is-default{border-color:#bfdbfe;background:#f8fbff}.account-address-card-head{display:flex;gap:10px;align-items:center}.account-address-card-head span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#2563eb;background:#dbeafe;padding:4px 7px;border-radius:999px}.account-address-card p{margin:6px 0 0;color:#64748b}.account-address-card-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.account-address-card-actions form{margin:0}
@media(max-width:760px){.checkout-delivery-methods,.checkout-saved-addresses,.account-address-form{grid-template-columns:1fr}.checkout-delivery-method{grid-template-columns:38px 1fr}.checkout-delivery-method strong{grid-column:2}.checkout-save-address-fields{grid-template-columns:1fr}.account-address-card{flex-direction:column}.account-address-card-actions{justify-content:flex-start}}

/* Home page: Clean Commerce, approved concept 01 (2026-09-28).
   Scoped deliberately: catalog, product, cart and account pages keep their current design. */
.store-home{--sf-home-ink:#101827;--sf-home-muted:#788493;--sf-home-card:#f5f7fa;--sf-home-line:#e7ebf1}
.store-home .container{max-width:1320px}
.store-home .sf-topbar{background:#17202f}
.store-home .sf-header-main{padding-top:19px;padding-bottom:16px;gap:17px}
.store-home .sf-nav{padding-bottom:6px}
.store-home .sf-catalog-button{background:var(--sf-home-ink)}
.store-home .sf-search{background:#f8f9fc}
.store-home .sf-home-banner{padding-top:21px}
.store-home .sf-home-banner-frame{border-radius:13px}
.store-home .sf-section{padding-top:46px}
.store-home .sf-home-category-section{padding-top:20px}
.store-home .sf-section-heading{margin-bottom:21px;gap:16px}
.store-home .sf-section-heading .sf-eyebrow{margin-bottom:7px;font-size:10px;letter-spacing:.12em;font-weight:800;color:var(--sf-home-muted)}
.store-home .sf-section h2{font-size:27px;letter-spacing:-.035em;line-height:1.18;font-weight:750;color:var(--sf-home-ink)}
.store-home .sf-text-link{color:#303b78;font-size:12px;font-weight:700;gap:10px;white-space:nowrap}
.store-home .sf-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.store-home .sf-home-category{position:relative;display:block;isolation:isolate;overflow:hidden;height:200px;min-width:0;padding:19px 18px;border:1px solid transparent;background:var(--sf-home-card);border-radius:12px;color:var(--sf-home-ink);transition:background .2s,border-color .2s,transform .2s}
.store-home .sf-home-category:hover{background:#f0f2f7;border-color:#c8cedb;transform:translateY(-2px);color:var(--sf-home-ink)}
.store-home .sf-home-category:focus-visible{z-index:2}
.store-home .sf-home-category .sf-home-category-title{display:block;position:relative;z-index:2;margin:0;min-height:0;max-width:91%;font-size:15px;font-weight:700;line-height:1.36;letter-spacing:-.022em;overflow-wrap:anywhere}
.store-home .sf-home-category .sf-home-category-desc{display:block;position:relative;z-index:2;max-width:80%;margin-top:7px;color:var(--sf-home-muted);font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.store-home .sf-home-category>i{position:absolute;z-index:2;top:17px;right:17px;color:#8592a3;font-size:14px}
.store-home .sf-home-category>img{position:absolute;z-index:1;right:2%;bottom:-7%;width:84%;height:73%;max-width:none;object-fit:contain;object-position:center bottom;mix-blend-mode:normal;pointer-events:none}
.store-home .sf-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.store-home .sf-product{padding:14px;border:1px solid var(--sf-home-line);border-radius:12px;min-width:0}
.store-home .sf-product-picture{aspect-ratio:1.28;background:#fff;border-radius:8px;overflow:hidden;margin-bottom:13px}
.store-home .sf-product-picture>a{display:grid;place-items:center;padding:13px}
.store-home .sf-product-picture img{width:90%;height:90%;object-fit:contain}
.store-home .sf-product-title{color:var(--sf-home-ink);font-size:13px;font-weight:600;line-height:1.45;margin-bottom:11px;min-height:39px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.store-home .sf-product .sf-sku{color:#8590a0;font-size:10px;margin-bottom:6px}
.store-home .sf-product .sf-price{margin-bottom:12px}
.store-home .sf-product .sf-price b{font-size:21px;color:var(--sf-home-ink)}
.store-home .sf-product .sf-old-price{font-size:10px}
.store-home .sf-product .sf-favorite{right:4px;top:4px;width:38px;height:38px;font-size:17px}
.store-home .sf-product .sf-discount{top:7px;left:7px;font-size:10px}
.store-home .sf-product .sf-buy{background:var(--sf-home-ink);border-radius:7px;min-height:43px;font-size:12px}
.store-home .sf-product .sf-buy:hover:not(:disabled){background:#263756}
.store-home .sf-product .sf-buy:disabled{background:var(--brand-gray)}
.store-home .sf-product .sf-card-qty{height:43px}
.store-home .sf-promo{gap:23px;min-height:116px;padding:26px 32px;border-radius:13px}
.store-home .sf-promo-icon{font-size:56px}
.store-home .sf-section .sf-promo h2{font-size:23px;color:#fff}
.store-home .sf-promo-link{font-weight:700}
.store-home .sf-benefits{gap:27px;border-color:var(--sf-home-line);padding-bottom:34px}
.store-home .sf-benefits i{color:#3b4774}
.store-home .sf-benefits h3{font-size:13px;color:var(--sf-home-ink)}
.store-home .sf-business{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:35px;padding:33px;background:#f7f8fb;border-radius:15px}
.store-home .sf-business h2{max-width:355px;margin-bottom:24px;font-size:27px}
.store-home .sf-business-details{gap:25px}
.store-home .sf-business-details i{color:var(--sf-home-ink);font-size:26px}
.store-home .sf-business-details h3{color:var(--sf-home-ink);font-size:14px;font-weight:700}
.store-home .sf-business-details p{font-size:12px}
.store-home .sf-brand-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}
.store-home .sf-brand-grid>a{min-height:78px;border-color:var(--sf-home-line);border-radius:9px;font-size:15px;color:#26334a}
.store-home .sf-brands{padding-bottom:48px}
@media(max-width:991px){
 .store-home .sf-home-banner{display:block!important}
 .store-home .sf-home-banner-frame{aspect-ratio:auto;min-height:0}
 .store-home .sf-home-banner-frame img{height:auto;object-fit:contain}
 .store-home .sf-header-main{padding-top:14px;padding-bottom:14px}
 .store-home .sf-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .store-home .sf-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .store-home .sf-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
 .store-home .sf-business{gap:26px;padding:26px}
 .store-home .sf-brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
 .store-home .sf-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .store-home .sf-business{grid-template-columns:1fr}
 .store-home .sf-business h2{max-width:none}
 .store-home .sf-business-details{gap:24px}
}
@media(max-width:575px){
 .store-home .sf-home-banner{padding-top:13px}
 .store-home .sf-section{padding-top:32px}
 .store-home .sf-home-category-section{padding-top:12px}
 .store-home .sf-section-heading{gap:12px;margin-bottom:16px;align-items:flex-end}
 .store-home .sf-section h2{font-size:22px}
 .store-home .sf-section-heading .sf-eyebrow{font-size:8px;margin-bottom:6px}
 .store-home .sf-text-link{font-size:10px;gap:6px}
 .store-home .sf-category-grid{gap:9px}
 .store-home .sf-home-category{height:173px;padding:12px;border-radius:10px}
 .store-home .sf-home-category .sf-home-category-title{max-width:95%;font-size:12px;line-height:1.33}
 .store-home .sf-home-category .sf-home-category-desc{display:none}
 .store-home .sf-home-category>i{top:10px;right:10px;font-size:12px}
 .store-home .sf-home-category>img{height:64%;width:92%;right:0;bottom:-6%}
 .store-home .sf-product-grid{gap:8px}
 .store-home .sf-product{padding:10px;border-radius:10px}
 .store-home .sf-product-picture{aspect-ratio:1.05;margin-bottom:11px}
 .store-home .sf-product-picture>a{padding:8px}
 .store-home .sf-product-title{font-size:11px;min-height:49px}
 .store-home .sf-product .sf-price b{font-size:19px}
 .store-home .sf-product .sf-buy{min-height:42px;font-size:11px}
 .store-home .sf-promo{padding:21px;gap:14px;flex-wrap:wrap}
 .store-home .sf-section .sf-promo h2{font-size:20px}
 .store-home .sf-promo-icon{font-size:42px}
 .store-home .sf-promo-link{margin-left:0;width:100%}
 .store-home .sf-benefits{gap:22px 12px}
 .store-home .sf-benefits h3{font-size:12px}
 .store-home .sf-business{padding:23px}
 .store-home .sf-business h2{font-size:24px}
 .store-home .sf-business-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
 .store-home .sf-business-details>div{display:block}
 .store-home .sf-business-details i{display:block;margin-bottom:11px}
 .store-home .sf-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .store-home .sf-brand-grid>a{min-height:70px;font-size:14px}
}
@media(max-width:359px){
 .store-home .sf-home-category{padding:10px}
 .store-home .sf-home-category .sf-home-category-title{font-size:11px}
 .store-home .sf-business-details{grid-template-columns:1fr}
}

/* Home page: manufacturer-logo carousel directly after recommended products.
   All images and ordering come from the existing manufacturer administration. */
.store-home .sf-brand-carousel{padding-top:22px}
.store-home .sf-brand-carousel-layout{display:flex;align-items:center;gap:10px;min-width:0}
.store-home .sf-brand-carousel-track{display:flex;flex:1;min-width:0;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:3px 2px}
.store-home .sf-brand-carousel-track::-webkit-scrollbar{display:none}
.store-home .sf-brand-carousel-item{display:flex;flex:0 0 186px;align-items:center;justify-content:center;min-width:0;height:92px;padding:16px 14px;border:1px solid var(--sf-home-line);border-radius:10px;background:#fff;scroll-snap-align:start;transition:border-color .2s,background .2s}
.store-home .sf-brand-carousel-item:hover{border-color:#bec9d8;background:#fafbfc}
.store-home .sf-brand-carousel-item img{display:block;max-width:100%;width:160px;height:58px;max-height:100%;object-fit:contain;object-position:center}
.store-home .sf-brand-carousel-button{display:flex;flex:0 0 38px;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:1px solid var(--sf-home-line);border-radius:50%;background:#fff;color:var(--sf-home-ink);font-size:16px;transition:background .2s,border-color .2s}
.store-home .sf-brand-carousel-button:hover:not(:disabled){background:#f4f6fa;border-color:#bec9d8}
.store-home .sf-brand-carousel-button:disabled{opacity:.35;cursor:default}
.store-home .sf-brand-carousel-button[hidden]{display:none}
@media(max-width:700px){
 .store-home .sf-brand-carousel{padding-top:16px}
 .store-home .sf-brand-carousel-layout{gap:5px}
 .store-home .sf-brand-carousel-track{gap:8px}
 .store-home .sf-brand-carousel-item{flex-basis:136px;height:75px;padding:10px}
 .store-home .sf-brand-carousel-item img{width:116px;height:50px}
 .store-home .sf-brand-carousel-button{flex-basis:30px;width:30px;height:30px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.store-home .sf-brand-carousel-track{scroll-behavior:auto}.store-home .sf-brand-carousel-item,.store-home .sf-brand-carousel-button{transition:none}}


/* Homepage: discount/new-product carousels; reuse existing product cards and cart actions. */
.store-home .sf-product-carousel .sf-section-heading{margin-bottom:19px}
.store-home .sf-product-carousel-layout{display:flex;align-items:center;gap:10px;min-width:0}
.store-home .sf-product-carousel-track{display:flex;flex:1;min-width:0;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px;align-items:stretch}
.store-home .sf-product-carousel-track::-webkit-scrollbar{display:none}
.store-home .sf-product-carousel-track>.sf-product{flex:0 0 calc((100% - 42px)/4);scroll-snap-align:start;height:auto}
.store-home .sf-product-carousel-track:focus-visible{outline:2px solid var(--link-blue);outline-offset:3px;border-radius:6px}
.store-home .sf-product-carousel-button{display:flex;flex:0 0 38px;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border:1px solid var(--sf-home-line);border-radius:50%;background:#fff;color:var(--sf-home-ink);font-size:16px}
.store-home .sf-product-carousel-button:hover:not(:disabled){background:#f4f6fa;border-color:#bec9d8}
.store-home .sf-product-carousel-button:disabled{opacity:.35;cursor:default}
.store-home .sf-product-carousel-button[hidden]{display:none}
@media(max-width:991px){.store-home .sf-product-carousel-track>.sf-product{flex-basis:calc((100% - 28px)/3)}}
@media(max-width:700px){.store-home .sf-product-carousel-track>.sf-product{flex-basis:calc((100% - 14px)/2)}}
@media(max-width:575px){
 .store-home .sf-product-carousel-layout{gap:0}
 .store-home .sf-product-carousel-track{gap:10px;padding:2px 1px 7px}
 .store-home .sf-product-carousel-track>.sf-product{flex-basis:min(72vw,245px)}
 .store-home .sf-product-carousel-button{display:none!important}
}
@media(prefers-reduced-motion:reduce){.store-home .sf-product-carousel-track{scroll-behavior:auto}}
