/* Eyup Express V12.27 - Product card fit
   Keeps product photos fully visible while removing the large empty lower half of cards. */
body:not(.admin-body) #products .products{
  align-items:stretch!important;
}
body:not(.admin-body) #products .product{
  min-height:0!important;
  height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  padding:10px!important;
}
body:not(.admin-body) #products .product .product-image{
  display:block!important;
  width:100%!important;
  height:205px!important;
  min-height:205px!important;
  max-height:205px!important;
  object-fit:contain!important;
  object-position:center!important;
  box-sizing:border-box!important;
  padding:3px!important;
  margin:4px 0 6px!important;
  background:#fff!important;
}
body:not(.admin-body) #products .product h3{
  min-height:0!important;
  margin:8px 0 4px!important;
}
body:not(.admin-body) #products .product .rating{margin-top:5px!important}
body:not(.admin-body) #products .product .pack-info{margin:6px 0!important}
body:not(.admin-body) #products .product .price{margin:6px 0!important}
body:not(.admin-body) #products .product .cart-calc-note{margin:2px 0 7px!important}
body:not(.admin-body) #products .product .add{
  margin-top:8px!important;
}
@media(max-width:800px){
  body:not(.admin-body) #products .product{
    min-height:0!important;
    padding:7px!important;
  }
  body:not(.admin-body) #products .product .product-image{
    height:150px!important;
    min-height:150px!important;
    max-height:150px!important;
    padding:2px!important;
    margin:3px 0 5px!important;
  }
  body:not(.admin-body) #products .product h3{margin:7px 0 4px!important}
  body:not(.admin-body) #products .product .add{margin-top:7px!important}
}
@media(max-width:430px){
  body:not(.admin-body) #products .product .product-image{
    height:140px!important;
    min-height:140px!important;
    max-height:140px!important;
  }
}
