.products .product a.image {
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.products .product a.image > img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover !important;
  background: transparent;
}

@media (max-width: 767px) {
  #header .navigation-wrapper .site-name img {
    transform: scale(1.8) !important;
    transform-origin: left center;
  }
}

@media (max-width: 330px) {
  #header .navigation-wrapper .site-name img {
    transform: scale(1.65) !important;
  }
}

/* Categories with a sidebar have less space for the product grid. */
@media (min-width: 992px) {
  .multiple-columns-body #products.products-block {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* One stable 2:3 canvas, including Safari and asynchronously added cards. */
body #products .p>a.image,body .products .p>a.image,body #sg-catalog .sg-card>a:has(>img){display:block!important;position:relative!important;box-sizing:content-box!important;width:100%!important;height:0!important;min-height:0!important;max-height:none!important;padding:150% 0 0!important;aspect-ratio:auto!important;overflow:hidden!important;margin:0 0 12px!important;background:#fff;flex:none!important}
body #products .p>a.image:before,body #products .p>a.image:after,body #sg-catalog .sg-card>a:has(>img):before,body #sg-catalog .sg-card>a:has(>img):after{display:none!important}
body #products .p>a.image>img,body .products .p>a.image>img,body #sg-catalog .sg-card>a>img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;object-fit:cover!important;object-position:center!important;transform:scale(var(--sg-photo-scale,1))!important;transform-origin:center!important}
body #products .p>a.image.sg-two-color-photos>img{width:50%!important;object-fit:cover!important}
body #products .p>a.image.sg-two-color-photos>img.sg-second-color-photo{left:50%!important}
