/* Accueil : cartes produits alignées sur le catalogue. Cette feuille est
 * chargée après les anciens styles de la page afin de garder la priorité. */
html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products {
  width: min(100%, 1260px) !important;
  max-width: 1260px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
}

html body.home.lfb-home.lf26-site .lf26-section.lfb-new .elementor-heading-title {
  font-size: 38px !important;
  line-height: 1.12 !important;
}

html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product {
  align-self: start !important;
  padding: 0 !important;
  background: #fffdf9 !important;
  border: 1px solid #ece4d9 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}

html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link .et_shop_image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #f4f0e9 !important;
  border-radius: 0 !important;
}

html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link .et_shop_image img,
html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 12px 16px 2px !important;
  color: #3a3127 !important;
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  text-align: left !important;
}

html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product .woocommerce-loop-product__title::before,
html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product .woocommerce-loop-product__title::after {
  content: none !important;
  display: none !important;
}

html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product .price {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 16px 12px !important;
  color: #4e3b2f !important;
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link::after {
  display: flex !important;
  width: 100% !important;
  min-height: 40px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 12px !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fffdf9 !important;
  border: 0 !important;
  border-top: 1px solid #ede1cf !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #4e3b2f !important;
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: .14em !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product > .lf-favorite-card {
  top: 12px !important;
  right: 12px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  background: rgb(255 253 249 / 92%) !important;
  border: 1px solid #ede1cf !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 10px 11px 2px !important;
    font-size: 12px !important;
  }

  html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product .price {
    padding: 3px 11px 10px !important;
    font-size: 12px !important;
  }

  html body.home.lfb-home.lf26-site .lf26-section:is(.lfb-new, .lfb-bestsellers) .lf26-products .woocommerce ul.products li.product > a.woocommerce-LoopProduct-link::after {
    min-height: 38px !important;
    padding: 12px 7px !important;
    font-size: 9px !important;
  }
}
