/* Loaded only by the desktop storefront header. */
html body.tb-home-header-refined:not(#tbp){background:#f4f5f8!important}
html body.tb-home-header-refined:not(#tbp) main{background:transparent!important}
html body.tb-home-header-refined:not(#tbp) main .product-card{background:#fff!important;border-radius:16px!important}
html body.tb-home-header-refined:not(#tbp) main .product-card .product-body{padding:10px 10px 12px!important}

/* v309: inner storefront only; home and native/mobile retain v308 styling. */
html body.tb-inner-storefront:not(#tbp){--tb-inner-line:#e9edf3;--tb-inner-radius:18px}
html body.tb-inner-storefront:not(#tbp) :is(.product-top-zone,.product-buy-panel,.product-detail-sections,.product-related-section,.customer-account-main,.market-favorites-content){background:transparent!important}
html body.tb-inner-storefront:not(#tbp) :is(.product-gallery-card,.product-summary-card,.oz-buy-card,.oz-delivery-card,.oz-store-card,.detail-section-card,.tb-feedback-shell,.customer-section-card,.customer-account-sidebar,.oz-orders-head,.oz-order-card,.market-favorites-sidebar,.listing-sidebar .filter-card,.market-cart-list-wrap,.market-cart-summary-card,.market-cart-help-card,.checkout-summary){background:#fff!important;border:1px solid var(--tb-inner-line)!important;border-radius:var(--tb-inner-radius)!important;box-shadow:none!important}
html body.tb-inner-storefront:not(#tbp) .product-page-shell{padding-top:14px!important}
html body.tb-inner-storefront:not(#tbp) .product-top-zone{grid-template-columns:minmax(0,1.18fr) minmax(0,.92fr) minmax(290px,.82fr)!important;gap:16px!important}
html body.tb-inner-storefront:not(#tbp) .product-gallery-card{padding:12px!important;min-height:0!important}
html body.tb-inner-storefront:not(#tbp) .product-gallery-layout{grid-template-columns:52px minmax(0,1fr)!important;gap:10px!important}
html body.tb-inner-storefront:not(#tbp) .product-gallery-layout.is-single{grid-template-columns:minmax(0,1fr)!important}
html body.tb-inner-storefront:not(#tbp) .product-thumb{width:48px!important;height:66px!important;border-radius:9px!important}
html body.tb-inner-storefront:not(#tbp) .product-hero-image{height:clamp(380px,36vw,540px)!important;min-height:0!important;border-radius:14px!important;padding:0!important}
html body.tb-inner-storefront:not(#tbp) .product-preview-frame{border-radius:14px!important}
html body.tb-inner-storefront:not(#tbp) .product-summary-card{padding:18px!important;min-height:0!important}
html body.tb-inner-storefront:not(#tbp) .product-summary-card h1{font-size:clamp(22px,1.7vw,27px)!important;line-height:1.25!important;letter-spacing:-.35px!important}
html body.tb-inner-storefront:not(#tbp) .product-buy-panel{grid-column:auto!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
html body.tb-inner-storefront:not(#tbp) .product-buy-panel>*{grid-column:auto!important;min-width:0}
html body.tb-inner-storefront:not(#tbp) :is(.oz-buy-card,.oz-delivery-card,.oz-store-card){padding:16px!important}
html body.tb-inner-storefront:not(#tbp) .oz-product-utility-row{gap:5px!important;flex-wrap:wrap}
html body.tb-inner-storefront:not(#tbp) .oz-product-utility-row :is(.oz-utility-article,.oz-utility-action){font-size:10px!important}
html body.tb-inner-storefront:not(#tbp) :is(.product-related-section,.product-recommended-inline){margin-top:24px!important;padding-top:0!important;border-top:0!important}
html body.tb-inner-storefront:not(#tbp) .product-related-section .market-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
html body.tb-inner-storefront:not(#tbp) .product-detail-sections{margin-top:22px!important;gap:14px!important}
html body.tb-inner-storefront:not(#tbp) .detail-section-card{padding:20px!important}
html body.tb-inner-storefront:not(#tbp) .tb-feedback-shell{margin-top:22px!important;padding:18px!important}
html body.tb-inner-storefront:not(#tbp) .tb-feedback-shell .detail-section-card{border:0!important;padding:0!important}
html body.tb-inner-storefront:not(#tbp) .tb-feedback-tabs{margin-bottom:16px!important;gap:16px!important}
html body.tb-inner-storefront:not(#tbp) .tb-feedback-tabs button{font-size:17px!important;padding:10px 2px!important}
html body.tb-inner-storefront:not(#tbp) :is(.product-related-section,.detail-section-card) .section-head h2{font-size:20px!important;line-height:1.3!important}
html body.tb-inner-storefront:not(#tbp) :is(.market-favorites-sidebar,.listing-sidebar .filter-card){padding:16px!important}
html body.tb-inner-storefront:not(#tbp) .oz-orders-head{padding:18px 20px!important;margin-bottom:12px!important}
html body.tb-inner-storefront:not(#tbp) .oz-orders-headline h1{font-size:26px!important}
html body.tb-inner-storefront:not(#tbp) .oz-orders-headline a{font-size:18px!important}
html body.tb-inner-storefront:not(#tbp) .oz-orders-tabs{margin-top:12px!important}
html body.tb-inner-storefront:not(#tbp) .oz-orders-tabs a{min-height:34px!important;padding:0 14px!important;border-radius:10px!important}
html body.tb-inner-storefront:not(#tbp) .oz-orders-list{gap:12px!important}
html body.tb-inner-storefront:not(#tbp) .oz-order-summary{min-height:140px!important;padding:18px!important;gap:16px!important;grid-template-columns:minmax(180px,.9fr) minmax(0,1.2fr) 140px!important}
html body.tb-inner-storefront:not(#tbp) .oz-order-status-trigger strong{font-size:18px!important}
html body.tb-inner-storefront:not(#tbp) .oz-order-status-trigger :is(small,b){font-size:13px!important;margin-top:6px!important}
html body.tb-inner-storefront:not(#tbp) :is(.market-cart-sale-banner,.market-cart-selection-bar){border-radius:16px!important;box-shadow:none!important}
@media(min-width:1500px){html body.tb-inner-storefront:not(#tbp) .product-related-section .market-product-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media(max-width:1200px){
 html body.tb-inner-storefront:not(#tbp) .product-top-zone{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 html body.tb-inner-storefront:not(#tbp) .product-buy-panel{grid-column:1/-1!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html body.tb-inner-storefront:not(#tbp) .oz-product-utility-row{grid-column:1/-1!important}
 html body.tb-inner-storefront:not(#tbp) .product-related-section .market-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 html body.tb-inner-storefront:not(#tbp) .oz-order-summary{grid-template-columns:minmax(160px,.8fr) minmax(0,1fr)!important}
}
@media(max-width:900px){
 html body.tb-inner-storefront:not(#tbp) .product-top-zone{grid-template-columns:minmax(0,1fr)!important}
 html body.tb-inner-storefront:not(#tbp) .product-buy-panel{grid-template-columns:minmax(0,1fr)!important}
 html body.tb-inner-storefront:not(#tbp) .product-related-section .market-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
html body.tb-inner-storefront:not(#tbp) .product-summary-card{align-self:start!important;height:auto!important}
html body.tb-inner-storefront:not(#tbp) .product-related-section .product-image{height:auto!important;min-height:0!important;aspect-ratio:3/4!important}
html body.tb-inner-storefront:not(#tbp) .product-related-section .product-image img{width:100%!important;height:100%!important;object-fit:contain!important}
/* Desktop sidebar follows the document; only the explicit filter dialog scrolls. */
@media(min-width:981px){
 html body.tb-inner-storefront:not(#tbp) .premium-filter-layout .listing-sidebar{position:static!important;top:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;overscroll-behavior:auto!important;padding:0!important;background:transparent!important}
 html body.tb-inner-storefront:not(#tbp) .listing-sidebar .tb-reference-filter{height:auto!important;max-height:none!important;overflow:visible!important}
 html body.tb-inner-storefront:not(#tbp) .listing-sidebar .tb-all-filters-open{position:static!important}
}
/* A single rounded desktop header surface aligned with the 1480px hero. */
html body.tb-home-header-refined:not(#tbp) :is(.market-header,.category-strip){background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
html body.tb-home-header-refined:not(#tbp) .market-header>.market-header-inner{width:min(1480px,calc(100% - 48px))!important;max-width:1480px!important;box-sizing:border-box!important;padding-left:16px!important;padding-right:16px!important;background:#fff!important;border:1px solid #e9edf3!important;border-bottom:0!important;border-radius:22px 22px 0 0!important;overflow:visible!important}
html body.tb-home-header-refined:not(#tbp) .category-strip>.category-strip-inner{width:min(1480px,calc(100% - 48px))!important;max-width:1480px!important;box-sizing:border-box!important;padding-left:16px!important;padding-right:16px!important;background:#fff!important;border:1px solid #e9edf3!important;border-top:0!important;border-radius:0 0 22px 22px!important}
