/* MRH 24.0.35 — compact, aligned cards on listing pages. Preserve home & PC. */
@media(max-width:767px) {
 body:not(#index) #wrapper .products {
   align-items:stretch!important;
 }
 body:not(#index) #wrapper .products > .js-product,
 body:not(#index) #wrapper .products > .product {
   height:auto!important;
   align-self:stretch!important;
   min-width:0!important;
 }
 body:not(#index) #wrapper .products article.um-product-card {
   display:flex!important;
   flex-direction:column!important;
   height:100%!important;
   width:100%!important;
   min-width:0!important;
   overflow:hidden!important;
   box-sizing:border-box!important;
 }
 body:not(#index) #wrapper article.um-product-card .thumbnail-container {
   display:flex!important;
   flex-direction:column!important;
   flex:1 1 auto!important;
   min-height:0!important;
   height:100%!important;
   padding:0!important;
 }
 body:not(#index) #wrapper article.um-product-card .um-product-card__media {
   position:relative!important;
   flex:0 0 auto!important;
   padding:9px 9px 0!important;
 }
 body:not(#index) #wrapper article.um-product-card a.um-product-card__thumbnail {
   display:flex!important;
   justify-content:center!important;
   align-items:center!important;
   width:100%!important;
   aspect-ratio:1/1!important;
   height:auto!important;
   min-height:0!important;
   padding:5px!important;
   box-sizing:border-box!important;
 }
 body:not(#index) #wrapper article.um-product-card a.um-product-card__thumbnail img {
   width:100%!important;
   height:100%!important;
   object-fit:contain!important;
 }
 body:not(#index) #wrapper article.um-product-card .product-flags {
   position:absolute!important;
   top:12px!important;
   left:12px!important;
   right:auto!important;
   bottom:auto!important;
   z-index:6!important;
   margin:0!important;
   padding:0!important;
   transform:none!important;
 }
 body:not(#index) #wrapper article.um-product-card .product-flags li {
   margin:0 4px 4px 0!important;
   transform:none!important;
 }
 body:not(#index) #wrapper article.um-product-card .product-description.um-product-card__body {
   display:flex!important;
   flex-direction:column!important;
   justify-content:flex-start!important;
   flex:1 1 auto!important;
   min-height:0!important;
   height:auto!important;
   margin:0!important;
   padding:11px 10px 13px!important;
   gap:7px!important;
 }
 body:not(#index) #wrapper article.um-product-card .product-title {
   min-height:2.7em!important;
   max-height:2.7em!important;
   overflow:hidden!important;
   margin:0!important;
   flex:0 0 auto!important;
 }
 body:not(#index) #wrapper article.um-product-card .um-product-card__meta {
   display:flex!important;
   flex-wrap:wrap!important;
   gap:4px!important;
   margin:0!important;
   min-height:48px!important;
   align-content:flex-start!important;
   flex:0 0 auto!important;
 }
 body:not(#index) #wrapper article.um-product-card .product-price-and-shipping {
   display:flex!important;
   align-items:baseline!important;
   flex-wrap:wrap!important;
   margin:0!important;
   padding-top:6px!important;
   min-height:0!important;
   flex:0 0 auto!important;
 }
 body:not(#index) #wrapper article.um-product-card .um-product-card__actions {
   display:flex!important;
   gap:6px!important;
   align-items:center!important;
   margin-top:10px!important;
   padding:0!important;
   min-height:0!important;
   flex:0 0 auto!important;
 }
 body:not(#index) #wrapper article.um-product-card a.um-product-card__details {
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   min-width:0!important;
   flex:1 1 auto!important;
   min-height:38px!important;
   padding:8px 4px!important;
   border:1px solid #e3e5ea!important;
   background:#f8f8fa!important;
   border-radius:9px!important;
   text-align:center!important;
   text-decoration:none!important;
   font-size:11px!important;
   line-height:1.25!important;
 }
 body:not(#index) #wrapper article.um-product-card a.um-product-card__cart {
   flex:0 0 38px!important;
   width:38px!important;
   min-width:38px!important;
   height:38px!important;
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
 }
}
