/* Keep local product media measurable even if the Shopify lazy loader is delayed. */
body.template-index .rfs-track > .rs-card > .m-product-card__media {
  display: block !important;
  flex: 0 0 auto !important;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  position: relative;
  visibility: visible !important;
}
body.template-index .rfs-track .m-product-card__media > .m-product-card__link {
  display: block;
  width: 100%;
  height: 100%;
}
body.template-index .rfs-track .m-product-card__main-image,
body.template-index .rfs-track .m-product-card__hover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
body.template-index .rfs-track .m-product-card__media responsive-image {
  display: block !important;
  width: 100%;
  height: 100%;
}
body.template-index .rfs-track .m-product-card__media img {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
}
