/* enconco-shot-v22: recommendations are one visible row of 4, images stay in frame. */
body.template-product .f-product-recommendations {
  --enconco-recs-cols: 4;
  --enconco-shot: 22;
}
body.template-product .f-product-recommendations .f-product-recommendations__wrapper,
body.template-product .f-product-recommendations .f-product-list,
body.template-product .f-product-recommendations .swiper-container,
body.template-product .f-product-recommendations .f-mixed-layout,
body.template-product .f-product-recommendations .f-mixed-layout__inner,
body.template-product .f-product-recommendations .swiper-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  transform: none !important;
  margin: 0 !important;
}
body.template-product .f-product-recommendations .swiper-slide,
body.template-product .f-product-recommendations .m\:column,
body.template-product .f-product-recommendations .f-product-card,
body.template-product .f-product-recommendations .enconco-recs-step-hidden {
  display: block !important;
  position: relative !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  margin: 0 !important;
}
body.template-product .f-product-recommendations .f-mixed-layout__inner > :nth-child(n+5),
body.template-product .f-product-recommendations .swiper-wrapper > :nth-child(n+5) {
  display: none !important;
}
body.template-product .f-product-recommendations .f-product-card__media,
body.template-product .f-product-recommendations .f-product-card__main-image,
body.template-product .f-product-recommendations responsive-image,
body.template-product .f-product-recommendations .f-image {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  padding-top: 0 !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: #F3F5F8 !important;
}
body.template-product .f-product-recommendations .f-product-card__media img,
body.template-product .f-product-recommendations .f-product-card__main-image img,
body.template-product .f-product-recommendations .f-image img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.template-product .f-product-recommendations .f-slider-controls,
body.template-product .f-product-recommendations .swiper-pagination,
body.template-product .f-product-recommendations .enconco-recs-pager {
  display: none !important;
}
@media (max-width: 1099px) {
  body.template-product .f-product-recommendations .f-product-recommendations__wrapper,
  body.template-product .f-product-recommendations .f-product-list,
  body.template-product .f-product-recommendations .swiper-container,
  body.template-product .f-product-recommendations .f-mixed-layout,
  body.template-product .f-product-recommendations .f-mixed-layout__inner,
  body.template-product .f-product-recommendations .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
