/* Mobile presentation only. Desktop rules and authenticated business controls remain intact. */
#mobile-bottom-nav,#mobile-category-browser,#mobile-cart-actions{display:none}
@media(max-width:700px){
body.mobile-web{--mobile-nav:calc(62px + env(safe-area-inset-bottom,0px));background:#f5f7fa;padding-bottom:var(--mobile-nav)}
.mobile-web .topbar{position:relative;min-height:52px;height:auto;margin:0;padding:8px 12px;gap:8px;flex-wrap:wrap;z-index:20}
.mobile-web .topbar .brand{width:95px;flex:0 0 95px}.mobile-web .brand-logo{width:95px;height:auto}.mobile-web .topnav,.mobile-web .bag-button,.mobile-web .top-spacer,.mobile-web .local-hint,.mobile-web .sidebar,.mobile-web .selection-bar,.mobile-web .page-footer{display:none!important}
.mobile-web .topbar #account-button{margin-left:auto;font-size:12px;padding:8px}.mobile-web .language-switch{margin:0}.mobile-web main{margin:0;padding:12px 12px 20px;min-width:0}.mobile-web .home-carousel{margin:0 0 12px;height:140px;border-radius:12px}.mobile-web .banner-slide img{height:140px;width:100%;object-fit:cover}
.mobile-web .catalog-section{padding:0}.mobile-web .filterbar{display:flex;flex-direction:column-reverse;gap:8px;margin:0 0 10px;padding:0;align-items:stretch}.mobile-web .filter-right{width:100%;display:block}.mobile-web .search-box{width:100%;height:44px;background:white}.mobile-web #search{height:44px;min-width:0;padding-top:0;padding-bottom:0;font-size:16px}.mobile-web .search-box kbd,.mobile-web .view-toggle{display:none}.mobile-web .filter-left{display:flex;flex-wrap:wrap;gap:6px}.mobile-web .filter-left select{max-width:48%;min-width:0}.mobile-web #source-mobile{display:none}.mobile-web .filter-checks{font-size:12px;gap:8px}
.mobile-web .products-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}.mobile-web .product-card{min-width:0;border-radius:12px;overflow:hidden}.mobile-web .product-card .product-copy{padding:8px}.mobile-web .product-card h3{font-size:14px;line-height:20px;margin:0 0 3px;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mobile-web .product-sku{font-size:11px;margin:2px 0}.mobile-web .product-bottom{gap:3px;flex-wrap:wrap}.mobile-web .product-card img{object-fit:contain}.mobile-web .product-card .product-specs{font-size:11px}.mobile-web .back-top{bottom:calc(var(--mobile-nav) + 12px)}
#mobile-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));bottom:0;left:0;right:0;z-index:48;padding:7px 4px calc(7px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e3e9f1;box-shadow:0 -3px 16px #1e395508}
#mobile-bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:45px;color:#7b8796;font-size:11px;text-decoration:none}#mobile-bottom-nav a.active{color:#2469ad}#mobile-bottom-nav svg,.mobile-child-grid svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#mobile-cart-badge{position:absolute;top:-2px;left:calc(50% + 7px);border-radius:10px;background:#df5059;color:white;font-size:10px;padding:1px 5px}
.mobile-web[data-mobile-tab=categories] .home-carousel{display:none}.mobile-web[data-mobile-tab=categories] #mobile-category-browser{display:block}.mobile-web[data-mobile-tab=categories][data-mobile-category-view=categories] #catalog-section{display:none}.mobile-web[data-mobile-tab=categories]:not([data-mobile-category-view=categories]) #mobile-category-tree{display:none}
.mobile-category-tools{display:flex;gap:8px;align-items:stretch;margin-bottom:12px}.mobile-category-tools>button{flex:0 0 125px;border:1px solid #dce5ef;border-radius:10px;background:white;color:#2469ad;padding:0 8px;min-height:44px;font-size:13px}.mobile-category-tools label{position:relative;flex:1;min-width:0;margin:0}.mobile-category-tools input{box-sizing:border-box;width:100%;height:44px;padding:0 30px 0 10px;border:1px solid #dce5ef;background:white;border-radius:10px;font-size:16px}.mobile-category-tools label button{position:absolute;right:0;top:0;width:32px;height:44px;border:0;background:none;color:#8493a5}.mobile-taxonomy{display:grid;grid-template-columns:32% minmax(0,1fr);height:calc(100dvh - 190px - env(safe-area-inset-bottom,0px));min-height:220px;background:white;margin:0 -12px}.mobile-parents,.mobile-children{overflow-y:auto;overscroll-behavior:contain}.mobile-parents{background:#edf0f5}.mobile-parents button{display:block;width:100%;text-align:left;border:0;border-left:3px solid transparent;background:none;padding:18px 9px;color:#48576b;font-size:14px;overflow-wrap:anywhere}.mobile-parents button.selected{border-left-color:#2469ad;background:white;color:#2469ad}.mobile-parents small{display:block;color:#8791a0;font-size:10px;margin-top:3px}.mobile-children{padding:12px}.mobile-children h2{font-size:16px;margin:0 0 12px}.mobile-all{border:1px solid #dce5ef;background:#f7faff;border-radius:8px;padding:9px;width:100%;color:#2469ad}.mobile-child-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px;margin-top:16px}.mobile-child-grid button{border:0;background:none;display:flex;flex-direction:column;gap:7px;align-items:center;min-width:0;padding:5px 0;color:#46566a;font-size:12px;overflow-wrap:anywhere}.mobile-child-grid svg{width:36px;height:36px;padding:7px;background:#edf5fc;box-sizing:content-box;border-radius:12px;color:#5187b6}.mobile-child-grid small{color:#8791a0}.mobile-state{padding:24px;color:#788698}.mobile-web #mobile-category-back{border:0;background:transparent;color:#2469ad;padding:8px 0 12px}
.mobile-web[data-mobile-tab=cart]{overflow:hidden}.mobile-web[data-mobile-tab=cart]>main,.mobile-web[data-mobile-tab=cart]>.topbar{display:none}.mobile-web[data-mobile-tab=cart].cart-open:before{display:none!important}
.mobile-web[data-mobile-tab=cart] #cart{position:fixed!important;left:0!important;right:0!important;top:0!important;bottom:var(--mobile-nav)!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;transform:none!important;border:0;border-radius:0;box-shadow:none;z-index:40;display:flex;flex-direction:column;background:#f5f7fa;overflow:hidden}
.mobile-web #cart .drawer-head{padding:12px 14px;flex:none;background:white}.mobile-web #cart .eyebrow{display:none}.mobile-web #cart h2{font-size:18px}.mobile-web #cart .cart-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 12px 8px}.mobile-web #cart .cart-row{background:white;min-width:0}.mobile-web #cart .cart-row-info{min-width:0}.mobile-web #cart .cart-row-meta{overflow-wrap:anywhere}.mobile-web #cart .cart-row-image{max-width:30vw}.mobile-web #cart .cart-bottom{padding:10px 0}.mobile-web #cart .export-note{font-size:11px}.mobile-web #cart .cart-secondary{flex-wrap:wrap}.mobile-web #cart .cart-summary-fixed{position:static;flex:none;padding:10px 12px;background:white;gap:8px}.mobile-web #cart-pagination{flex:none;background:white;padding:7px;flex-wrap:wrap}.mobile-web #mobile-cart-actions{display:flex;flex:none;gap:8px;padding:8px 12px;background:white;border-top:1px solid #e5eaf1}.mobile-web #mobile-cart-actions>button{min-width:0;flex:1;min-height:44px;margin:0;padding:8px;font-size:13px}.mobile-web #mobile-cart-actions #export{background:white;color:#2469ad;border:1px solid #c9daeb}
.mobile-web .account-header{height:auto;min-height:52px;padding:10px 12px;gap:10px;flex-wrap:wrap}.mobile-web .account-header .wordmark,.mobile-web .account-header .header-divider,.mobile-web .return-products{display:none}.mobile-web .account-header h1{flex:1}.mobile-web .account-shell{padding:12px}.mobile-web .profile-card{justify-content:center;flex-direction:column;text-align:center;padding:20px;background:linear-gradient(135deg,#e8f3ff,#f9fcff)}.mobile-web .profile-identity{flex-direction:column;gap:10px}.mobile-web .identity-copy h2{font-size:21px}.mobile-web .profile-card .eyebrow{display:none}.mobile-web .card{padding:16px;border-radius:13px}.mobile-web .order-tabs{gap:2px}.mobile-web .order-tabs>a{font-size:12px;padding:10px 0}.mobile-web .feature-grid{grid-template-columns:1fr}.mobile-web .account-shell input,.mobile-web .account-shell textarea{font-size:16px}.mobile-web #account-back-top{bottom:calc(var(--mobile-nav) + 10px)}.mobile-web dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 36px);overflow:auto}.mobile-web.mobile-keyboard #mobile-bottom-nav{visibility:hidden}
@media(max-width:360px){.mobile-child-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-category-tools>button{flex-basis:115px}.mobile-web .product-bottom{font-size:12px}}
}
@media(max-width:700px){body.mobile-web[data-mobile-tab=cart]::before{display:none!important}.mobile-web .image-wrap,.mobile-web .compact .image-wrap{width:100%;height:auto;aspect-ratio:1;flex-shrink:0;padding:0;border:0}.mobile-web .compact .product-card{display:block}.mobile-web .image-wrap img{width:100%;height:100%;object-fit:contain}.mobile-web .price-line{margin:5px 0;flex-wrap:wrap}.mobile-web .product-specs{padding:4px 0}.mobile-web .product-bottom{padding-top:5px}.mobile-web .empty-state{grid-column:1/-1}.mobile-web .source-dropdown{max-width:calc(100vw - 24px)!important}.mobile-web .main-photo{height:280px}.mobile-web .detail-layout{display:block;min-height:0}.mobile-web .detail-info{padding:20px}}
@media(max-width:700px){.mobile-web.mobile-catalog-waiting[data-mobile-tab=cart]{overflow:auto}.mobile-web.mobile-catalog-waiting[data-mobile-tab=cart]>main{display:block}.mobile-web.mobile-catalog-waiting[data-mobile-tab=cart]>.topbar{display:flex}.mobile-web.mobile-catalog-waiting[data-mobile-tab=cart] #home-carousel,.mobile-web.mobile-catalog-waiting[data-mobile-tab=cart] #catalog-section{display:none}}
@media(max-width:700px){.mobile-web .account-shell>main{padding:0}.mobile-web #cart .cart-row-description h4{overflow-wrap:anywhere}.mobile-web #cart .cart-pagination button{min-width:32px;min-height:32px}.mobile-web #mobile-cart-actions .submit-selection{background:#2469ad}.mobile-web .product-card .price{color:#d54c59}.mobile-web .source-list button{min-height:44px}.mobile-web .mobile-category-tools button:focus-visible,#mobile-bottom-nav a:focus-visible{outline:3px solid #8bb6e2;outline-offset:2px}}
#mobile-cart-tools,#mobile-cart-selection,.mobile-cart-check{display:none}
@media(max-width:700px){.mobile-web #mobile-cart-tools:not([hidden]){display:flex;align-items:center;gap:6px;padding:8px 12px;background:white;flex:none}.mobile-web #mobile-cart-tools select{max-width:110px;font-size:12px;height:40px}.mobile-web #mobile-cart-tools input{min-width:0;width:100%;height:40px;border:1px solid #dce5ef;border-radius:8px;padding:0 8px;font-size:16px}.mobile-web #mobile-cart-search-clear{min-width:32px;min-height:40px}.mobile-web #mobile-cart-selection:not([hidden]){display:flex;align-items:center;gap:8px;padding:6px 12px;background:white;flex:none;font-size:11px}.mobile-web #mobile-cart-selection label{white-space:nowrap;display:flex;align-items:center;gap:5px;min-height:36px}.mobile-web .mobile-cart-check{display:flex;align-items:flex-start;justify-content:center;grid-column:1;grid-row:1/-1;padding-top:5px;margin:0}.mobile-web .mobile-cart-check input,.mobile-web #mobile-cart-all{width:19px;height:19px;accent-color:#2469ad}.mobile-web #cart .cart-row:has(.mobile-cart-check){grid-template-columns:24px var(--cart-image-side,90px) minmax(0,1fr) 20px;gap:8px}.mobile-web #cart .cart-row:has(.mobile-cart-check) .cart-row-image{grid-column:2}.mobile-web #cart .cart-row:has(.mobile-cart-check) .cart-row-info{grid-column:3}.mobile-web #cart .cart-row:has(.mobile-cart-check) .remove-item{grid-column:4}}
@media(max-width:700px){.mobile-web .mobile-cart-check input,.mobile-web #mobile-cart-all{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;border:1.5px solid #8394a8;border-radius:50%;background:#fff;color:#2469ad;flex:none;padding:0;margin:0}.mobile-web .mobile-cart-check input:checked::before,.mobile-web #mobile-cart-all:checked::before{content:'✓';font-size:14px;line-height:16px;font-weight:700}.mobile-web #mobile-cart-all:indeterminate::before{content:'−';font-size:14px;line-height:16px}.mobile-web .mobile-cart-check input:focus-visible,.mobile-web #mobile-cart-all:focus-visible{outline:3px solid #9bc3ea;outline-offset:3px}}
/* Mobile rows explicitly place the flattened children of display:contents. */
@media(max-width:700px){
.mobile-web #cart .cart-row{grid-template-columns:clamp(72px,22vw,90px) minmax(0,1fr) 20px;column-gap:6px;row-gap:4px;align-items:start;padding:10px 0}
.mobile-web #cart .cart-row:has(.mobile-cart-check){grid-template-columns:24px clamp(72px,22vw,90px) minmax(0,1fr) 20px;column-gap:6px;row-gap:4px}
.mobile-web #cart .cart-row-image{grid-column:1;grid-row:1/span 2;position:relative;top:auto;left:auto;transform:none;align-self:start;width:100%;height:auto;aspect-ratio:1;max-width:none;min-width:0}
.mobile-web #cart .cart-row-description{grid-column:2;grid-row:1;min-width:0}
.mobile-web #cart .cart-line-bottom{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;min-width:0;gap:4px 8px;margin:0;align-items:flex-start}
.mobile-web #cart .cart-row-quantity{flex:1 1 96px;min-width:0}.mobile-web #cart .cart-line-subtotal{max-width:100%;margin-left:0;text-align:left}.mobile-web #cart .cart-line-subtotal b{text-align:left;overflow-wrap:anywhere}
.mobile-web #cart .cart-product-note{grid-column:1/span 2;grid-row:3;margin:4px 0 0;min-width:0;align-items:flex-start;overflow-wrap:anywhere}
.mobile-web #cart .remove-item{grid-column:3;grid-row:1;position:static;align-self:start;margin:0;padding:0;min-width:20px;min-height:28px}
.mobile-web #cart .cart-row:has(.mobile-cart-check) .mobile-cart-check{grid-column:1;grid-row:1/span 3;align-self:start}
.mobile-web #cart .cart-row:has(.mobile-cart-check) .cart-row-image{grid-column:2;grid-row:1/span 2}
.mobile-web #cart .cart-row:has(.mobile-cart-check) .cart-row-description{grid-column:3;grid-row:1}
.mobile-web #cart .cart-row:has(.mobile-cart-check) .cart-line-bottom{grid-column:3;grid-row:2}
.mobile-web #cart .cart-row:has(.mobile-cart-check) .cart-product-note{grid-column:2/span 2;grid-row:3}
.mobile-web #cart .cart-row:has(.mobile-cart-check) .remove-item{grid-column:4;grid-row:1}
.mobile-web #cart .cart-row-info h4{max-width:none;white-space:normal;overflow-wrap:anywhere;line-height:18px}.mobile-web #cart .cart-product-note button{min-width:32px;min-height:32px}
}
@media(max-width:700px){.mobile-web #cart .cart-items{padding:0;scrollbar-gutter:auto}}
