/* Customer storefront only: overrides legacy ERP/mobile card styles without affecting business portals. */
body.td-store[data-storefront]{--sf-green:#174f3a;--sf-ink:#192b24;--sf-muted:#748078;--sf-line:#e6ebe5;display:block!important;margin:0!important;min-width:0;background:#fafbf8!important;color:var(--sf-ink);font:14px/1.5 'Segoe UI','Nirmala UI',system-ui,sans-serif!important;-webkit-font-smoothing:antialiased}
body.td-store[data-storefront] *{box-sizing:border-box}body.td-store[data-storefront] .td-workspace{margin:0!important;min-height:100vh}body.td-store[data-storefront] button,body.td-store[data-storefront] input,body.td-store[data-storefront] select{font-family:inherit;letter-spacing:normal}body.td-store[data-storefront] button{cursor:pointer;box-shadow:none!important}body.td-store[data-storefront] button:disabled{cursor:not-allowed;opacity:.6}body.td-store[data-storefront] [hidden],body.td-store[data-storefront] .hidden{display:none!important}
.stf-utility{height:32px;background:#153d2d;color:#dce8df;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1120px)/2));font-size:11px;letter-spacing:.02em}.stf-utility span:last-child{font-size:10px;opacity:.75}
body.td-store .storeHero.stf-header{display:grid!important;grid-template-columns:minmax(240px,1fr) minmax(260px,1.25fr) auto;align-items:center;max-width:1176px;padding:20px 28px;margin:0 auto;height:104px!important;min-height:0;border:0;gap:24px;background:transparent;position:relative;z-index:20}
.stf-brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:0}.stf-brand-mark{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#174f3a;color:#fff;flex-shrink:0}.stf-brand-mark .td-icon{width:24px;height:24px}.stf-brand>span:last-child{min-width:0}.stf-brand small{font-size:8px;color:#7f8b80;letter-spacing:2px;font-weight:700}.stf-brand h1{font-size:16px!important;line-height:1.35;letter-spacing:-.4px!important;max-width:285px;overflow-wrap:anywhere}.stf-brand #storeSubtitle{font-size:10px;margin-top:3px;color:#728075}
body.td-store .stf-search{display:flex;align-items:center;gap:10px;height:46px;background:#f0f3ed;border:1px solid #e6ebe2;border-radius:10px;padding:0 15px;color:#7e8b7f;min-width:0;margin:0}.stf-search .td-icon{width:18px;height:18px}body.td-store .stf-search input{background:none;border:0;outline:0;box-shadow:none;border-radius:0;padding:0;margin:0;width:100%;min-width:0;height:44px;font-size:12px;color:#24382b}.stf-search:focus-within{border-color:#789b7d;box-shadow:0 0 0 3px #789b7d15}
body.td-store .storeHeroRight.stf-header-actions{display:flex!important;align-items:center;gap:10px;flex-wrap:nowrap}body.td-store .stf-header-actions button{min-height:38px;white-space:nowrap;border:0;background:none;font-size:11px;padding:6px;color:#344b3b}body.td-store .stf-header-actions #storeCustomerBadge{display:none}body.td-store .stf-header-actions #openOrdersBtn{display:none!important}body.td-store .stf-header-actions .stf-cart-button{display:flex;align-items:center;gap:8px;background:#174f3a;color:#fff;border-radius:9px;padding:10px 13px;font-size:12px;min-height:43px}.stf-cart-button b{background:#fff2;border-radius:5px;font-size:10px;min-width:19px;text-align:center;padding:1px 3px}.stf-cart-button .td-icon{width:17px;height:17px}
.stf-nav{max-width:1120px;margin:0 auto;display:flex;align-items:center;gap:28px;border-top:1px solid var(--sf-line);border-bottom:1px solid var(--sf-line);height:47px;font-size:12px}.stf-nav a,.stf-nav button{display:flex;align-items:center;height:100%;border:0;border-bottom:2px solid transparent;background:none!important;text-decoration:none;border-radius:0!important;min-height:0!important;font-size:12px!important;font-weight:500;color:#647265!important;padding:0 2px!important}.stf-nav .active{color:#1b5439!important;border-bottom-color:#1b5439;font-weight:700}.stf-nav-note{margin-left:auto;font-size:10px;color:#8a958c;letter-spacing:.04em}
body.td-store[data-storefront] #storeCmsHero{width:calc(100% - 48px);max-width:1120px!important;margin:24px auto 34px!important;border-radius:14px!important;overflow:hidden}body.td-store[data-storefront] .td-welcome{max-width:1120px;width:calc(100% - 48px);margin:24px auto 34px;min-height:230px;padding:35px 40px;background:#edf3e4;border:1px solid #e1e8d6}.stf-welcome h2{font-size:34px;max-width:500px;line-height:1.2;letter-spacing:-1px;margin:10px 0}.stf-welcome a{display:inline-flex;gap:25px;text-decoration:none;margin-top:20px;padding:10px 16px;border-radius:7px;background:#1b563d;color:#fff;font-size:12px}.stf-welcome-icon .td-icon{width:110px;height:110px;stroke-width:.8;color:#7d966a}
body.td-store[data-storefront] #storeCmsHero[data-layout=image]{max-width:min(1120px,var(--hero-native-width,1120px))!important}
body.td-store[data-storefront] #storeCmsHero[data-layout=poster],.storeHeroEditorPreview.td-store-feature[data-layout=poster]{display:block!important;padding:0!important;border:0!important;min-height:0!important;background:#fff8df!important;box-shadow:none!important}
.td-store-feature[data-layout=poster]:before,.td-store-feature[data-layout=poster]:after,.td-store-feature[data-layout=poster]:not(.td-hero-no-image) .td-hero-copy{display:none!important}.td-store-feature[data-layout=poster] .td-hero-media{width:100%;max-width:none;padding:0;margin:0;border:0;border-radius:0;aspect-ratio:2.9;overflow:hidden;box-shadow:none}.td-store-feature[data-layout=poster] .storeCmsHeroImage{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center top!important;border-radius:0}.td-store-feature[data-layout=poster].td-hero-no-image .td-hero-copy{padding:24px!important}
body.td-store[data-storefront] #storeCmsHero.hidden{display:none!important}
body.td-store[data-storefront] .storeShell{display:block!important;max-width:1176px;width:100%;margin:0 auto!important;padding:0 28px 40px!important}.stf-collection-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 22px}.stf-overline{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#8d977f;margin:0 0 6px}.stf-collection-heading h2{font-size:25px;font-weight:650;letter-spacing:-.8px;margin:0 0 4px;line-height:1.3}.stf-collection-heading #storeResultCount{font-size:11px;color:#899286;margin:0}.stf-filters{display:flex;gap:12px}.stf-filters label{display:flex;align-items:center;gap:8px;font-size:10px;color:#83907f;margin:0}.stf-filters select{min-height:34px;background:#fff;border:1px solid #e2e8dc;border-radius:7px;font-size:11px;color:#43563c;padding:5px 24px 5px 9px;width:auto;max-width:175px}.stf-categories{display:flex;gap:8px;margin:0 0 20px;overflow:auto;padding:0 0 3px}.stf-categories button{border:1px solid #e2e8dc;padding:7px 14px;background:#fff;color:#65745d;font-size:11px;border-radius:6px;min-height:32px;white-space:nowrap}.stf-categories button[aria-pressed=true]{background:#eaf0e1;color:#2f563c;border-color:#c8d6bb;font-weight:650}
body.td-store[data-storefront] .productGrid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:stretch}
body.td-store[data-storefront] .productCard.stf-product{display:flex!important;flex-direction:column;padding:0!important;min-width:0;width:auto;gap:0;border:1px solid #e4e9df;border-radius:12px;background:#fff;box-shadow:none;overflow:hidden;transition:border-color .18s,box-shadow .18s}body.td-store[data-storefront] .productCard.stf-product:hover{border-color:#b7c9ac;box-shadow:0 6px 20px #233b1910}
body.td-store[data-storefront] .stf-product-visual{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:205px;min-height:0!important;padding:30px 22px 14px!important;background:#fafbf7!important;border:0!important;border-radius:0!important;overflow:hidden}
body.td-store[data-storefront] .productCard .productThumb{display:block;width:100%!important;height:100%!important;max-width:185px;max-height:164px;border-radius:0!important;object-fit:contain!important;background:none!important;mix-blend-mode:multiply}.stf-saving{position:absolute;top:11px;left:11px;font-size:9px;font-weight:600;border-radius:4px;background:#eaf1df;color:#467039;padding:4px 7px;z-index:1}.stf-image-missing{display:grid;place-items:center;align-self:center;color:#a0ac96;font-size:11px}.stf-image-missing .td-icon{width:54px;height:54px;stroke-width:1}
body.td-store[data-storefront] .mobileProductInfo{display:flex!important;flex-direction:column;min-width:0;flex:1;padding:15px!important;gap:0}.stf-product-brand{color:#87907e;text-transform:uppercase;font-size:8px;letter-spacing:1px;font-weight:600;margin:0 0 5px}.stf-product h3{padding:0;margin:0;line-height:1.5}body.td-store[data-storefront] .stf-product h3 button{border:0;background:none!important;text-align:left;min-height:42px!important;padding:0!important;border-radius:0!important;color:#26392a!important;font-size:12px!important;font-weight:650;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%}.stf-product-description{font-size:10px!important;line-height:1.6!important;color:#8a9285!important;margin:7px 0!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.td-store[data-storefront] .productMeta{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px;min-height:15px;justify-content:flex-start}body.td-store[data-storefront] .productMeta span{font-size:9px;color:#899580;background:none;padding:0;line-height:1.5;min-width:0;white-space:normal}.stf-product-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid #eef1e9}body.td-store[data-storefront] .priceStack{display:flex;flex-direction:column;gap:1px;min-width:0;margin:0}body.td-store[data-storefront] .priceStack strong{font-size:19px;font-weight:700;line-height:1.3;color:#233f2c;letter-spacing:-.5px}.priceStack .stf-rate-on-order{font-size:12px!important;letter-spacing:0!important}body.td-store[data-storefront] .priceStack span{font-size:10px;color:#939a8d}.priceStack .mrpCut{text-decoration:line-through}
body.td-store[data-storefront] .cardQtyControl{display:grid!important;grid-template-columns:42px 27px;flex-shrink:0;align-items:center;overflow:hidden;border:1px solid #789b64;border-radius:6px;background:#f3f8ee;height:33px;min-width:0}body.td-store[data-storefront] .cardQtyControl button{display:block!important;border:0;border-radius:0!important;background:transparent!important;color:#45693b!important;min-height:31px!important;padding:0!important;font-size:17px!important;width:auto!important}body.td-store[data-storefront] .cardQtyControl:not(.active) button[data-dec]{display:none!important}body.td-store[data-storefront] .cardQtyControl span{padding:0;text-align:center;font-size:10px;font-weight:700;color:#45693b;min-width:0}body.td-store[data-storefront] .cardQtyControl.active{grid-template-columns:24px 27px 24px}body.td-store[data-storefront] .cardQtyControl button:focus-visible{outline-offset:-3px}
body.td-store[data-storefront] .storeEmpty{grid-column:1/-1;min-height:240px;border:1px dashed #dce4d4;background:#fff;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;gap:9px;text-align:center;font-size:12px;color:#899780}.storeEmpty strong{font-size:16px;color:#415d36}.stf-empty-icon .td-icon{width:32px;height:32px;margin-bottom:8px;stroke-width:1}.storeEmpty button{border:1px solid #cbd9bd;color:#32592f;background:#f1f6e9;border-radius:6px;padding:9px 16px;font-size:11px}
.stf-footer{max-width:1120px;margin:15px auto 0;border-top:1px solid #e2e8db;padding:28px 0 100px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8b9782}.stf-footer strong{color:#5e7452;font-weight:600}.stf-footer small{display:block;margin-top:4px;font-size:10px}
body.td-store[data-storefront] .storeBottomBar{position:fixed!important;left:50%!important;right:auto!important;bottom:20px!important;transform:translateX(-50%);width:min(600px,calc(100% - 32px));background:#174f3a!important;color:white;border:0!important;border-radius:13px!important;box-shadow:0 12px 40px #173b292b!important;padding:12px 18px!important;display:flex;align-items:center;justify-content:space-between;z-index:35}body.td-store[data-storefront] .storeBottomBar>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}body.td-store[data-storefront] .storeBottomBar strong,body.td-store[data-storefront] .storeBottomBar span{color:#fff;font-size:12px}.storeBottomBar #bottomCartSaving{font-size:10px;color:#c2d4bd!important}body.td-store[data-storefront] .storeBottomBar button{background:#fff!important;border:0!important;color:#245837!important;border-radius:8px;min-width:112px;min-height:36px;font-size:11px}body.td-store[data-storefront].checkoutOpen .storeBottomBar{display:none!important}
body.td-store[data-storefront] .storeCheckoutPanel{display:none!important;position:fixed!important;inset:0 0 0 auto!important;transform:none!important;z-index:80!important;width:min(440px,100%)!important;height:100dvh;max-height:100dvh!important;overflow:auto!important;border:0!important;border-left:1px solid #e3e9dd!important;border-radius:0!important;background:#f8faf5;padding:0 18px 25px!important;box-shadow:-12px 0 50px #233b2124!important;gap:16px;overscroll-behavior:contain}body.td-store[data-storefront] .storeCheckoutPanel.open{display:block!important}body.td-store[data-storefront].checkoutOpen{overflow:hidden!important}.stf-checkout-backdrop{display:none;position:fixed;inset:0;border:0!important;border-radius:0!important;background:#192b2855!important;z-index:70!important;backdrop-filter:blur(3px)}body.td-store[data-storefront].checkoutOpen .stf-checkout-backdrop{display:block}.storeCheckoutPanel>.panelHead{position:sticky!important;top:0;background:#f8faf5!important;padding:18px 0!important;z-index:2;display:flex!important;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e3e9dc;margin:0 0 18px}.storeCheckoutPanel #checkoutHeading{font-size:18px;letter-spacing:-.5px;margin:0}.storeCheckoutPanel #cartSaving{font-size:11px;color:#738565}.storeCheckoutPanel #closeCheckoutBtn{display:inline-flex!important;align-items:center;border:1px solid #cfdcca;background:#fff;border-radius:7px;min-height:33px;padding:7px 12px;font-size:11px}.storeCheckoutPanel .checkoutBox,.storeCheckoutPanel .storeAuthPanel{display:block!important;padding:16px;margin:0 0 14px;border:1px solid #e3e9dd;border-radius:10px;background:#fff}.storeCheckoutPanel label{display:grid;gap:5px;margin:10px 0;font-size:11px;color:#73806c}.storeCheckoutPanel input:not([type=radio]),.storeCheckoutPanel textarea{background:#fff;min-height:40px;width:100%;border:1px solid #dce5d5;padding:9px 11px;border-radius:6px;color:#2c402b;font-size:13px}.storeCheckoutPanel .paymentChoice{display:flex;gap:20px}.storeCheckoutPanel .paymentChoice label{display:flex;align-items:center;gap:6px}.storeCheckoutPanel button{padding:9px 12px;font-size:12px;min-height:36px;border-radius:6px}.storeCheckoutPanel button.primary{background:#174f3a!important;color:#fff!important;border-color:#174f3a!important;width:100%}.storeCheckoutPanel .cartLine{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px 0;border-bottom:1px solid #eef1e8}.storeCheckoutPanel .cartLine>span{font-size:12px;line-height:1.6}.storeCheckoutPanel .cartLine>strong{font-size:12px;color:#385536;grid-column:2}.storeCheckoutPanel .cartLine small{display:block;font-size:10px;color:#8b967f}.storeCheckoutPanel .miniQty{display:flex;gap:8px;align-items:center}.storeCheckoutPanel .miniQty button{padding:3px 7px;min-height:27px;background:#f0f5e9;border:1px solid #d2dec7}.storeCheckoutPanel .miniQty strong{font-size:11px}.storeCheckoutPanel .tabLine{display:flex;gap:8px}.storeCheckoutPanel .tabLine button{background:#f5f7f1;border:1px solid #dde6d5;font-size:10px}.storeCheckoutPanel .tabLine button.active{background:#e5efd9;color:#385937}.storeCheckoutPanel .smallText{font-size:10px;color:#88957f;line-height:1.7}
.stf-product-dialog{width:min(720px,calc(100% - 30px));max-height:88dvh;border:1px solid #e1e8d7;padding:32px;border-radius:16px;color:#263d27;background:white;box-shadow:0 20px 90px #19302333;overflow:auto}.stf-product-dialog::backdrop{background:#182d2855;backdrop-filter:blur(3px)}.stf-detail-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:28px;align-items:center}.stf-detail-grid>img{width:100%;max-height:300px;object-fit:contain}.stf-detail-grid h2{font-size:20px;line-height:1.4;letter-spacing:-.4px;margin:8px 0 14px}.stf-detail-grid p{font-size:12px;line-height:1.8;color:#809071}.stf-detail-price{display:block;font-size:25px;margin:20px 0}.stf-detail-add{background:#1d563a!important;color:white!important;border:0;border-radius:7px;padding:11px 20px;font-size:12px}.stf-dialog-close{position:absolute;right:12px;top:10px;border:0;background:#f0f4eb!important;color:#627c51;font-size:22px;width:30px;height:30px;border-radius:50%;padding:0}.td-store[data-storefront] .td-toast{left:50%;bottom:90px}.td-store[data-storefront] .td-dialog{z-index:100}
@media(min-width:761px){body.td-store[data-storefront] .td-mobile-nav{display:none!important}}
@media(max-width:1050px){body.td-store .storeHero.stf-header{grid-template-columns:1fr 1.1fr auto;gap:16px}.stf-brand h1{font-size:14px!important}.stf-header-actions #openLoginBtn{font-size:10px!important;max-width:70px;white-space:normal!important}.stf-nav{margin:0 24px}body.td-store[data-storefront] .productGrid{gap:15px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}.stf-footer{margin:15px 28px 0}}
@media(max-width:760px){.stf-utility{height:28px;padding:0 16px;font-size:9px}.stf-utility span:last-child{display:none}body.td-store .storeHero.stf-header{grid-template-columns:1fr auto;gap:14px;padding:17px 16px 15px;height:auto!important;max-width:none}.stf-brand-mark{width:36px;height:36px;border-radius:11px}.stf-brand h1{font-size:13px!important;max-width:240px}.stf-brand small{font-size:7px;letter-spacing:1.4px}.stf-brand #storeSubtitle{font-size:9px}.stf-brand{gap:9px}.stf-search{grid-row:2;grid-column:1/-1;height:42px!important;padding:0 12px!important}body.td-store .stf-search input{font-size:12px;height:40px}.stf-header-actions #openLoginBtn{display:none!important}.stf-header-actions .stf-cart-button{padding:9px 10px!important;min-height:36px!important;font-size:10px!important}.stf-cart-button>span:not([data-icon]){display:none}.stf-nav{margin:0 16px;gap:22px;height:40px}.stf-nav a,.stf-nav button{font-size:10px!important}.stf-nav-note{display:none}body.td-store[data-storefront] #storeCmsHero{width:calc(100% - 32px);margin:16px auto 24px!important;border-radius:9px!important}body.td-store[data-storefront] .td-welcome{width:calc(100% - 32px);margin:16px auto 24px;padding:24px;min-height:190px}.stf-welcome h2{font-size:27px}.stf-welcome-icon{display:none}body.td-store[data-storefront] .storeShell{padding:0 16px 25px!important}.stf-collection-heading{align-items:flex-start;flex-wrap:wrap;gap:14px;margin-bottom:18px}.stf-collection-heading h2{font-size:21px}.stf-overline{font-size:8px}.stf-collection-heading #storeResultCount{font-size:10px}.stf-filters{width:100%;justify-content:space-between;gap:10px}.stf-filters label{font-size:9px;gap:6px;min-width:0;max-width:50%}.stf-filters select{font-size:10px;min-width:0;max-width:130px}.stf-categories{gap:7px;margin-bottom:16px}.stf-categories button{font-size:10px;padding:6px 12px}body.td-store[data-storefront] .productGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}body.td-store[data-storefront] .stf-product-visual{height:160px;padding:30px 15px 12px!important}.stf-saving{font-size:8px;top:8px;left:8px;padding:3px 5px}body.td-store[data-storefront] .mobileProductInfo{padding:11px!important}.stf-product-brand{font-size:7px}.stf-product h3 button{font-size:11px!important;min-height:38px!important}.stf-product-description{font-size:9px!important}.stf-product-bottom{gap:4px;padding-top:8px}body.td-store[data-storefront] .priceStack strong{font-size:16px}.priceStack span{font-size:9px!important}.productMeta span{font-size:8px!important}body.td-store[data-storefront] .cardQtyControl{grid-template-columns:32px 21px;height:30px}body.td-store[data-storefront] .cardQtyControl.active{grid-template-columns:19px 23px 19px}body.td-store[data-storefront] .cardQtyControl button{min-height:28px!important;font-size:15px!important}body.td-store[data-storefront] .cardQtyControl span{font-size:9px}.stf-footer{margin:20px 16px 0;padding:20px 0 100px;gap:15px;font-size:9px}.stf-footer span:first-child{max-width:55%}.stf-footer small{font-size:9px}body.td-store[data-storefront] .td-mobile-nav{display:flex;z-index:40;padding:10px 8px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e5eadf}.td-store[data-storefront] .td-mobile-nav button,.td-store[data-storefront] .td-mobile-nav a{font-size:9px!important;min-height:0!important;padding:0!important;box-shadow:none;border:0!important;background:none!important;color:#8a9781!important;font-weight:500}.td-store[data-storefront] .td-mobile-nav a.active{color:#285e3b!important}.td-mobile-nav .td-icon{width:19px;height:19px}body.td-store[data-storefront] .storeBottomBar{bottom:73px!important;width:calc(100% - 24px);padding:10px 13px!important;border-radius:10px!important}.storeBottomBar #bottomCartSaving{display:none}.storeBottomBar #bottomCartCount{font-size:10px!important}.stf-product-dialog{padding:35px 20px 24px}.stf-detail-grid{grid-template-columns:1fr;gap:20px}.stf-detail-grid>img{max-height:200px}.stf-detail-grid h2{font-size:17px}.stf-detail-add{width:100%}.storeCheckoutPanel{width:100%!important}.td-store[data-storefront] .td-toast{bottom:145px}}
@media(max-width:360px){body.td-store[data-storefront] .stf-product-visual{height:140px}.stf-product-bottom{flex-wrap:wrap}.stf-brand h1{font-size:12px!important}.stf-filters label{display:grid;gap:4px}}
@media(prefers-reduced-motion:reduce){body.td-store[data-storefront] *{transition:none!important;scroll-behavior:auto!important}}

/* Keep storefront controls independent of legacy ERP styles. */
body.td-store[data-storefront] .storeShell,body.td-store[data-storefront] .storeProductsArea,body.td-store[data-storefront] .productGrid{background:transparent!important;border:0!important;box-shadow:none!important}
body.td-store[data-storefront] #storeSearch{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;outline:0!important}
body.td-store[data-storefront] .stf-nav button,body.td-store[data-storefront] .stf-product h3 button{border:0!important;box-shadow:none!important}
body.td-store[data-storefront] .stf-header-actions #openLoginBtn{border:0!important;background:transparent!important}
body.td-store[data-storefront] .stf-header-actions .stf-cart-button{background:#174f3a!important;color:#fff!important;border:0!important}
body.td-store[data-storefront] .cardQtyControl{position:static!important;inset:auto!important;transform:none!important;float:none!important;margin:0!important}
body.td-store[data-storefront] .cardQtyControl button{border:0!important;box-shadow:none!important}

body.td-store[data-storefront] .stf-product h3 button{font-size:14px!important;line-height:1.5;min-height:42px!important}
body.td-store[data-storefront] .stf-product-description{font-size:11px!important}
body.td-store[data-storefront] .stf-product-brand{font-size:9px}
body.td-store[data-storefront] .productMeta span{font-size:10px}
@media(max-width:760px){body.td-store[data-storefront] .stf-product h3 button{font-size:12px!important;min-height:38px!important}body.td-store[data-storefront] .stf-product-description{font-size:10px!important}body.td-store[data-storefront] .stf-product-brand{font-size:8px}.stf-filters label{white-space:nowrap}}

body.td-store[data-storefront] .storeCheckoutPanel>.panelHead{flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important}body.td-store[data-storefront] .storeCheckoutPanel>.panelHead>div{min-width:0}


/* V46: tenant identity, banner, then search and shopping navigation. */
body.td-store[data-storefront] .storeHero.stf-header{grid-template-columns:minmax(0,1fr) auto!important;height:auto!important;min-height:88px;padding:18px 28px}
body.td-store[data-storefront] .stf-brand h1{max-width:none}
body.td-store[data-storefront] #storeCmsHero,body.td-store[data-storefront] .td-welcome{margin:0 auto 22px!important}
body.td-store[data-storefront] .stf-browsebar{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:center;gap:32px;width:calc(100% - 56px);max-width:1120px;margin:0 auto 28px}
body.td-store[data-storefront] .stf-browsebar .stf-search{grid-row:auto;grid-column:auto}
body.td-store[data-storefront] .stf-browsebar .stf-nav{margin:0;border:0;height:46px;gap:28px;white-space:nowrap}
body.td-store[data-storefront] .stf-browsebar .stf-nav-note{display:none}
@media(max-width:760px){
 body.td-store[data-storefront] .storeHero.stf-header{padding:16px;min-height:82px;gap:12px}
 body.td-store[data-storefront] .stf-brand h1{max-width:235px}
 body.td-store[data-storefront] #storeCmsHero,body.td-store[data-storefront] .td-welcome{margin:0 auto 16px!important}
 body.td-store[data-storefront] .stf-browsebar{grid-template-columns:minmax(0,1fr);width:calc(100% - 32px);gap:6px;margin-bottom:22px}
 body.td-store[data-storefront] .stf-browsebar .stf-nav{height:40px;justify-content:space-between;border-bottom:1px solid var(--sf-line);gap:14px}
}
/* Only the drawer title stays pinned. Nested cart headings must scroll beneath it. */
body.td-store[data-storefront] .storeCheckoutPanel .checkoutBox > .panelHead{position:static;top:auto;z-index:auto}
