/* V29: visual tightening, never crop image, fix one-line Arabic text. */
#products .product-grid{grid-auto-rows:auto!important;gap:14px!important}
#products .product-grid>.product-card{
 padding:9px 11px 12px!important;gap:5px!important;
 min-height:0!important;height:auto!important;max-height:none!important;
 overflow:hidden!important;
}
#products .product-grid>.product-card .product-art{
 height:170px!important;min-height:170px!important;max-height:170px!important;
 flex:0 0 170px!important;overflow:visible!important;margin:0!important;
 align-items:center!important;justify-content:center!important;
}
#products .product-grid>.product-card .product-art img{
 height:100%!important;max-height:100%!important;width:100%!important;max-width:100%!important;
 object-fit:contain!important;object-position:center center!important;
 filter:none!important;clip-path:none!important;mask:none!important;
 -webkit-mask:none!important;transform:none!important;
}
#products .product-grid>.product-card .product-meta{
 display:flex!important;flex-direction:row!important;justify-content:space-between!important;
 align-items:center!important;gap:7px!important;min-height:21px!important;height:21px!important;
 flex:0 0 21px!important;margin:0!important;overflow:visible!important;
}
#products .product-grid>.product-card .product-label{
 white-space:nowrap!important;overflow:visible!important;flex:0 1 auto!important;
 font-size:clamp(10px,.71vw,12px)!important;line-height:1.35!important;
 letter-spacing:-.23px!important;
}
#products .product-grid>.product-card .product-name{
 white-space:nowrap!important;overflow:visible!important;flex:0 1 auto!important;
 font-size:clamp(10px,.7vw,12px)!important;line-height:1.35!important;
 letter-spacing:-.3px!important;
}
#products .product-grid>.product-card p{
 white-space:nowrap!important;overflow:visible!important;display:block!important;
 min-height:20px!important;height:20px!important;max-height:20px!important;
 flex:0 0 20px!important;margin:0 0 1px!important;
 padding:0!important;font-size:clamp(10px,.72vw,12px)!important;
 line-height:20px!important;letter-spacing:-.18px!important;
 -webkit-line-clamp:unset!important;line-clamp:unset!important;
}
#products .product-grid>.product-card .card-action{
 margin:2px 0 0!important;height:42px!important;min-height:42px!important;
 max-height:42px!important;flex:0 0 42px!important;
}
@media(max-width:1549px){#products .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media(max-width:1199px){#products .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:900px){#products .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:680px){
 #products .product-grid>.product-card .product-art{height:150px!important;min-height:150px!important;max-height:150px!important;flex-basis:150px!important;}
 #products .product-grid>.product-card{padding:9px 10px 12px!important;gap:5px!important;}
 #products .product-grid>.product-card .product-meta{height:21px!important;min-height:21px!important;flex-basis:21px!important;}
 #products .product-grid>.product-card .product-label{font-size:10.5px!important;}
 #products .product-grid>.product-card .product-name{font-size:10.5px!important;}
 #products .product-grid>.product-card p{font-size:11px!important;}
}
@media(max-width:640px){
 #products .product-grid{grid-template-columns:1fr!important;}
 #products .product-grid>.product-card{padding:9px 13px 12px!important;gap:4px!important;}
 #products .product-grid>.product-card .product-art{height:195px!important;min-height:195px!important;max-height:195px!important;flex-basis:195px!important;}
 #products .product-grid>.product-card .product-meta{height:23px!important;min-height:23px!important;flex-basis:23px!important;}
 #products .product-grid>.product-card .product-label{font-size:12px!important;}
 #products .product-grid>.product-card .product-name{font-size:12.5px!important;}
 #products .product-grid>.product-card p{font-size:12.5px!important;}
 #products .product-grid>.product-card .card-action{height:43px!important;min-height:43px!important;max-height:43px!important;flex-basis:43px!important;}
}
