/* MerchFuse v1.7.9.21 — definitive homepage square/full-image overrides.
   This must stay at the very end of bundle-home.css so old cover/crop rules cannot win. */
body.home .mf-ref-categories .mf-ref-category-grid,
body.front-page .mf-ref-categories .mf-ref-category-grid,
body .mf-site .mf-ref-categories .mf-ref-category-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:clamp(18px,2.2vw,30px)!important;
  overflow:visible!important;
  align-items:start!important;
}
body.home .mf-ref-categories .mf-ref-category,
body.front-page .mf-ref-categories .mf-ref-category,
body .mf-site .mf-ref-categories .mf-ref-category{
  display:flex!important;
  flex-direction:column!important;
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid rgba(17,17,17,.12)!important;
  border-radius:4px!important;
}
body.home .mf-ref-categories .mf-ref-category>figure,
body.front-page .mf-ref-categories .mf-ref-category>figure,
body .mf-site .mf-ref-categories .mf-ref-category>figure{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1/1!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#f6f3ed!important;
  border-radius:0!important;
}
body.home .mf-ref-categories .mf-ref-category>figure>img,
body.home .mf-ref-categories img.mf-ref-category__img,
body.front-page .mf-ref-categories .mf-ref-category>figure>img,
body.front-page .mf-ref-categories img.mf-ref-category__img,
body .mf-site .mf-ref-categories .mf-ref-category>figure>img,
body .mf-site .mf-ref-categories img.mf-ref-category__img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  scale:1!important;
  transition:none!important;
}
body.home .mf-ref-categories .mf-ref-category:hover img.mf-ref-category__img,
body.front-page .mf-ref-categories .mf-ref-category:hover img.mf-ref-category__img,
body .mf-site .mf-ref-categories .mf-ref-category:hover img.mf-ref-category__img{
  transform:none!important;
  scale:1!important;
}
body.home .mf-ref-categories .mf-ref-category>span,
body.front-page .mf-ref-categories .mf-ref-category>span,
body .mf-site .mf-ref-categories .mf-ref-category>span{
  flex:0 0 auto!important;
  min-height:clamp(50px,4.6vw,64px)!important;
  border:0!important;
  border-top:1px solid rgba(17,17,17,.12)!important;
  padding:0 clamp(12px,1.5vw,20px)!important;
  background:#fff!important;
}

/* Homepage product cards: square image boxes, full artwork visible, no cropped thumbnail behavior. */
body.home .mf-product-card__media,
body.front-page .mf-product-card__media,
body .mf-site .mf-ref-section .mf-product-card__media,
body .mf-site .mf-live-products .mf-product-card__media,
body .mf-site .mf-rail .mf-product-card__media{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:1/1!important;
  overflow:hidden!important;
  background:#f6f3ed!important;
}
body.home .mf-product-card__media img,
body.home img.mf-product-card__img,
body.front-page .mf-product-card__media img,
body.front-page img.mf-product-card__img,
body .mf-site .mf-ref-section .mf-product-card__media img,
body .mf-site .mf-ref-section img.mf-product-card__img,
body .mf-site .mf-live-products .mf-product-card__media img,
body .mf-site .mf-rail .mf-product-card__media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  scale:1!important;
  transition:none!important;
}
body.home .mf-product-card:hover img.mf-product-card__img,
body.front-page .mf-product-card:hover img.mf-product-card__img,
body .mf-site .mf-ref-section .mf-product-card:hover img.mf-product-card__img{
  transform:none!important;
  scale:1!important;
}
@media (max-width:1024px){
  body.home .mf-ref-categories .mf-ref-category-grid,
  body.front-page .mf-ref-categories .mf-ref-category-grid,
  body .mf-site .mf-ref-categories .mf-ref-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}
}
@media (max-width:767px){
  body.home .mf-ref-categories .mf-ref-category-grid,
  body.front-page .mf-ref-categories .mf-ref-category-grid,
  body .mf-site .mf-ref-categories .mf-ref-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  body.home .mf-ref-categories,
  body.front-page .mf-ref-categories,
  body .mf-site .mf-ref-categories{padding-inline:14px!important;}
  body.home .mf-ref-categories .mf-ref-category>span,
  body.front-page .mf-ref-categories .mf-ref-category>span,
  body .mf-site .mf-ref-categories .mf-ref-category>span{min-height:44px!important;padding:0 9px!important;font-size:10px!important;letter-spacing:.045em!important;line-height:1.15!important;}
}

/* v1.7.9.21 universal fallback for any older homepage category module. */
body.home .mf-live-cats__grid,
body.home .mf-categories__grid,
body.front-page .mf-live-cats__grid,
body.front-page .mf-categories__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(18px,2.2vw,30px)!important;overflow:visible!important;align-items:start!important;}
body.home .mf-live-cat>a,
body.home .mf-categories__link,
body.front-page .mf-live-cat>a,
body.front-page .mf-categories__link{display:flex!important;flex-direction:column!important;height:auto!important;aspect-ratio:auto!important;overflow:hidden!important;}
body.home .mf-live-cat__media,
body.home .mf-categories__media,
body.front-page .mf-live-cat__media,
body.front-page .mf-categories__media{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;overflow:hidden!important;background:#f6f3ed!important;margin:0!important;}
body.home .mf-live-cat__media img,
body.home img.mf-live-cat__img,
body.home .mf-categories__media img,
body.home img.mf-categories__img,
body.front-page .mf-live-cat__media img,
body.front-page img.mf-live-cat__img,
body.front-page .mf-categories__media img,
body.front-page img.mf-categories__img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;scale:1!important;transition:none!important;}
@media (max-width:1024px){body.home .mf-live-cats__grid,body.home .mf-categories__grid,body.front-page .mf-live-cats__grid,body.front-page .mf-categories__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;}}
@media (max-width:767px){body.home .mf-live-cats__grid,body.home .mf-categories__grid,body.front-page .mf-live-cats__grid,body.front-page .mf-categories__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}}
