/* Catalog-only mobile layout. Detail, cart and checkout keep their own layouts. */
@media(max-width:767px){
 body.homepage-refined #homeDynamicModules .home-feature-grid,
 body.homepage-refined #productGrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card{display:flex!important;flex-direction:column!important;gap:8px!important;width:auto!important;min-width:0!important;padding:8px!important;margin:0!important;grid-column:auto!important;border-radius:12px!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card> *{min-width:0!important;max-width:100%!important;margin:0!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .product-media-wrap{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1!important;flex-shrink:0}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .product-media{position:absolute!important;inset:0!important;height:100%!important;width:100%!important;max-height:100%!important;aspect-ratio:auto!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card h3{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;min-height:54px!important;max-height:54px!important;font-size:13px!important;line-height:18px!important;white-space:normal!important;overflow-wrap:anywhere!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .product-sku-line{display:block!important;font-size:10px!important;line-height:15px!important;overflow-wrap:anywhere!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .product-sku-line>span{display:none!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card :is(.ready-spec-line,.preorder-spec-line){display:none!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .variant-picker{display:block!important;width:100%!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .variant-picker>div{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;width:100%!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .variant-picker button{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;gap:3px!important;width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;padding:6px!important;white-space:normal!important;font-size:10px!important;line-height:14px!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .box-price{margin-top:auto!important;padding:8px 6px!important;width:100%!important;min-width:0!important;height:auto!important;min-height:58px!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .box-price strong{font-size:16px!important;line-height:21px!important;white-space:normal!important;overflow-wrap:anywhere!important;display:block!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .box-price small{font-size:10px!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .box-qty-row{display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;gap:4px!important;padding:0!important;border:0!important;background:transparent!important;width:100%!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .box-qty-row>span{display:none!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .box-qty-row :is(button,input){min-width:0!important;width:100%!important;min-height:44px!important;height:44px!important;margin:0!important;padding:0!important;font-size:14px!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .box-qty-row .cart-add-icon{grid-column:1/-1!important;grid-row:auto!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:44px!important;padding:10px 6px!important;border-radius:8px!important;position:relative!important;inset:auto!important;transform:none!important;white-space:normal!important;box-sizing:border-box!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .cart-add-icon svg{display:block!important;position:static!important;transform:none!important;flex:0 0 18px!important;width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;margin:0!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .cart-button-label{display:block!important;position:static!important;flex:0 1 auto!important;min-width:0!important;width:auto!important;margin:0!important;font-size:12px!important;line-height:18px!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;color:inherit!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .cart-add-icon:after{content:none!important}
 body.homepage-refined :is(#homeDynamicModules,#productGrid) .product-card .product-share-actions{display:none!important}
}
