/* SARAIL MARKET - Full-frame product photos v1.2.0
   Uses the user's supplied product photos and fills each image frame.
   object-fit:cover intentionally crops a small amount when aspect ratios differ. */

/* Store cards */
#shopGrid .shop-category-group .product-image,
#shopCatalog #shopGrid .product-image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 260px !important;
  min-height: 260px !important;
  max-height: 260px !important;
  flex: 0 0 260px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  background: #e9eef5 !important;
}
#shopGrid .shop-category-group .product-image::before,
#shopGrid .shop-category-group .product-image::after,
#shopCatalog #shopGrid .product-image::before,
#shopCatalog #shopGrid .product-image::after {
  display: none !important;
  content: none !important;
}
#shopGrid .shop-category-group .product-image img,
#shopCatalog #shopGrid .product-image img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  border-radius: 0 !important;
}

/* Product detail hero image */
#productDetail .product-reference-art {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 460px !important;
  min-height: 460px !important;
  max-height: 460px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #e9eef5 !important;
}
#productDetail .product-reference-art .product-art-glow {
  display: none !important;
}
#productDetail #detailProductImage {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: none !important;
  border-radius: 0 !important;
}

@media (max-width: 700px) {
  #shopGrid .shop-category-group .product-image,
  #shopCatalog #shopGrid .product-image {
    height: 205px !important;
    min-height: 205px !important;
    max-height: 205px !important;
    flex-basis: 205px !important;
  }
  #productDetail .product-reference-art {
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
  }
}


/* v1.2.1 high-specificity shop card override */
#shopCatalog #shopGrid .shop-category-group .product-grid .product-card .product-image,
#shopCatalog #shopGrid .product-card .product-image {display:block!important;position:relative!important;flex:0 0 260px!important;width:100%!important;height:260px!important;min-height:260px!important;max-height:260px!important;margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;background:#e9eef5!important}
#shopCatalog #shopGrid .shop-category-group .product-grid .product-card .product-image img,
#shopCatalog #shopGrid .product-card .product-image img {position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:0!important;opacity:1!important;visibility:visible!important;filter:none!important}
@media(max-width:700px){#shopCatalog #shopGrid .shop-category-group .product-grid .product-card .product-image,#shopCatalog #shopGrid .product-card .product-image{flex-basis:205px!important;height:205px!important;min-height:205px!important;max-height:205px!important}}
