/* Landscape previews do not stretch to the height of long listing descriptions. */
body#search #search-items>.products.list .simple-prod .simple-wrap{grid-template-columns:minmax(250px,30%) minmax(0,1fr)}
body#search #search-items>.products.list .simple-prod .img-wrap{align-self:start;height:auto!important;min-height:0!important;width:100%;aspect-ratio:3/2;background:#f1f5f9;overflow:hidden}
body#search #search-items>.products .simple-prod .img-wrap a.img{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;padding:6px!important;overflow:hidden}
body#search #search-items>.products .simple-prod .img-wrap img{display:block!important;position:static!important;transform:none!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center;border-radius:6px}
body#search #search-items>.products.grid .simple-prod .img-wrap{height:auto!important;min-height:0!important;aspect-ratio:3/2;flex:none;width:100%;overflow:hidden;background:#f1f5f9}
body#search #search-items>.products .simple-prod .img-wrap a.img:focus-visible{outline:3px solid #326bda;outline-offset:-4px;border-radius:10px}
@media(min-width:1400px){body#search #search-items>.products.list .simple-prod .simple-wrap{grid-template-columns:340px minmax(0,1fr)}}
@media(min-width:601px) and (max-width:900px){body#search #search-items>.products.list .simple-prod .simple-wrap{grid-template-columns:230px minmax(0,1fr)}}
@media(max-width:600px){body#search #search-items>.products.list .simple-prod .img-wrap,body#search #search-items>.products.grid .simple-prod .img-wrap{width:100%;height:auto!important;min-height:0!important;aspect-ratio:3/2;flex:none}body#search #search-items>.products .simple-prod .img-wrap a.img{padding:5px!important}}
html[mode=dark] body#search #search-items>.products .simple-prod .img-wrap{background:#1c3346}

/* Match recommendation cards with an edge-to-edge landscape crop. */
body#search #search-items>.products .simple-prod .img-wrap a.img{padding:0!important}
body#search #search-items>.products .simple-prod .img-wrap img{object-fit:cover!important;object-position:center top!important;border-radius:0!important}
body#search #search-items>.products.list .simple-prod .img-wrap,body#search #search-items>.products.grid .simple-prod .img-wrap{aspect-ratio:16/10}
