/* Compact two-column cards; the cart has its own column and never floats over text. */
@media(max-width:600px){
 .home-page .home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;align-items:stretch}
 .home-page .home-product-card{min-width:0;display:flex;flex-direction:column;box-shadow:none}
 .home-product-card .home-product-image{width:100%;height:clamp(145px,45vw,calc(var(--card-mobile-height,180)*1px))!important;padding:6px!important;position:relative}
 .home-product-card .home-product-image>img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:var(--card-image-fit,contain)!important}
 .home-product-card .home-card-badge{top:6px;left:6px;font-size:9px!important;line-height:1.25;max-width:90%;padding:3px 5px!important}
 .home-product-card .home-card-body{display:grid!important;grid-template-columns:minmax(0,1fr) 34px;column-gap:4px;row-gap:0;padding:7px 8px 9px!important;align-content:start;flex:1;min-width:0}
 .home-product-card .home-card-body:after{content:none}
 .home-product-card .home-product-name{grid-column:1/-1;grid-row:1;font-size:clamp(12px,3.3vw,calc(var(--card-name-size,14)*1px))!important;line-height:1.4!important;min-height:2.8em!important;max-height:2.8em;margin:0 0 5px!important;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 .home-product-card .home-variant-choices{grid-column:1/-1;grid-row:2;flex-wrap:wrap;gap:3px;margin:0 0 6px!important;min-height:0}
 .home-product-card .home-variant,.home-product-card .home-variant-choices>span,.home-product-card .home-variant-choices>a{font-size:9px!important;max-width:100%;line-height:1.4;padding:3px 4px!important}
 .home-product-card .home-card-price{grid-column:1;grid-row:3;align-self:center;min-height:34px;margin:0;display:flex;align-items:center}
 .home-product-card .home-card-price strong{font-size:clamp(13px,3.9vw,16px)!important;line-height:1.3;letter-spacing:-.4px;white-space:nowrap}
 .home-product-card .home-cart-icon{grid-column:2;grid-row:3;align-self:center;float:none;width:34px!important;height:34px!important;min-width:0;margin:0!important;padding:6px!important;border-radius:8px!important}
 .home-product-card .home-cart-icon svg{width:20px;height:20px}
 .home-product-card .home-original-line{grid-column:1/-1;grid-row:4;min-height:0;line-height:1.5;margin:0 0 4px}
 .home-product-card .home-original-line,.home-product-card .home-original-line s,.home-product-card .home-original-line [data-card-discount]{font-size:10px!important}
 .home-product-card .home-gift{grid-column:1/-1;grid-row:5;padding:5px 6px!important;margin:3px 0!important;min-height:0;line-height:1.4;overflow-wrap:anywhere}
 .home-product-card .home-rating{grid-column:1/-1;grid-row:6;flex-wrap:wrap;gap:3px!important;line-height:1.5;margin:4px 0!important}
 .home-product-card .home-rating,.home-product-card .home-rating small,.home-product-card .home-gift,.home-product-card .home-card-stock{font-size:10px!important}
 .home-product-card .home-card-stock{grid-column:1/-1;grid-row:7;margin:2px 0!important;line-height:1.4}
 .home-product-card .home-flash-progress{grid-column:1/-1;grid-row:8;height:20px!important;margin:5px 0 0!important}
 .home-product-card .home-flash-progress b{font-size:10px!important;white-space:nowrap}
 .home-flash-products .home-product-card{flex-basis:calc((100% - 10px)/2)!important;min-width:156px!important}
}
