/* enconco-shot-v14: product recommendations, 4 across, button pager. Do not restyle buy/qty. */
body.template-product .f-product-recommendations {
  --enconco-recs-cols: 4;
  --enconco-shot: 14;
}
body.template-product .f-product-recommendations .f-section__header {
  position: relative !important;
  min-height: 44px;
}
body.template-product .f-product-recommendations .f-mixed-layout,
body.template-product .f-product-recommendations .f-mixed-layout--mobile-scroll,
body.template-product .f-product-recommendations .f-product-list,
body.template-product .f-product-recommendations .swiper-container {
  overflow: visible !important;
}
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(var(--enconco-recs-cols, 4), minmax(0, 1fr)) !important;
  gap: 22px !important;
  transform: none !important;
  width: 100% !important;
  margin: 0 !important;
}
body.template-product .f-product-recommendations .m\:column,
body.template-product .f-product-recommendations .swiper-slide {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  margin: 0 !important;
}
body.template-product .f-product-recommendations .enconco-recs-step-hidden,
body.template-product .f-product-recommendations:not([data-enconco-recs="v14"]) .f-mixed-layout__inner > :nth-child(n+5) {
  display: none !important;
}
body.template-product .f-product-recommendations .enconco-recs-pager {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 6 !important;
  display: flex !important;
  gap: 8px !important;
  pointer-events: auto !important;
}
body.template-product .f-product-recommendations .enconco-recs-pager[hidden] {
  display: none !important;
}
body.template-product .f-product-recommendations .enconco-recs-pager__btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: 1px solid #D5DCE8;
  background: #FFFFFF;
  color: #1B2433;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  pointer-events: auto !important;
}
body.template-product .f-product-recommendations .enconco-recs-pager__btn:hover,
body.template-product .f-product-recommendations .enconco-recs-pager__btn:focus-visible {
  background: #5F72A2;
  border-color: #5F72A2;
  color: #F7F8FB;
}
body.template-product .f-product-recommendations .enconco-recs-pager__btn:disabled {
  opacity: 0.35;
  cursor: default;
  background: #FFFFFF;
  color: #1B2433;
  border-color: #D5DCE8;
}
@media (max-width: 1099px) {
  body.template-product .f-product-recommendations {
    --enconco-recs-cols: 2;
  }
  body.template-product .f-product-recommendations:not([data-enconco-recs="v14"]) .f-mixed-layout__inner > :nth-child(n+5) {
    display: none !important;
  }
  body.template-product .f-product-recommendations:not([data-enconco-recs="v14"]) .f-mixed-layout__inner > :nth-child(-n+4) {
    display: block !important;
  }
}
@media (max-width: 767px) {
  body.template-product .f-product-recommendations .enconco-recs-pager {
    position: static !important;
    transform: none !important;
    justify-content: center;
    margin: 10px auto 0 !important;
  }
  body.template-product .f-product-recommendations .f-section__header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
}
