/* enconco-feedback-v7: operator markup — larger category cards, even mobile gutters, visible product copy, cart drawer that leaves the product page visible. */
body.template-page .enconco-about-dept-row .f-portfolio-grid__grid {
  gap: 22px !important;
}
body.template-page .enconco-about-dept-row .f-portfolio-grid__media,
body.template-page .enconco-about-dept-row .f-portfolio-grid__media img,
body.template-page .enconco-about-dept-row .f-portfolio-grid__card {
  border-radius: 16px !important;
}
body.template-page .enconco-about-dept-row .f-portfolio-grid__media img {
  aspect-ratio: 4 / 5 !important;
}
body.template-home .casaluce-category-entries .f-mixed-layout__inner {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}
body.template-home .casaluce-category-entries .f-collection-card__title,
body.template-home .casaluce-category-entries .f-collection-card__name {
  font-size: 22px !important;
  line-height: 1.25 !important;
}
body.template-home .casaluce-category-entries .f-collection-card__description,
body.template-home .casaluce-category-entries .f-collection-card__info p {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

@media (max-width: 767px) {
  body.template-home #f-section--casaluce-services .f-mixed-layout__inner,
  body.template-home #f-section--casaluce-services .f-icon-box-section__wrapper .f-mixed-layout__inner {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body.template-home #f-section--casaluce-services .m\:column,
  body.template-home #f-section--casaluce-services .f-icon-box {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
  }
  body.template-page .enconco-about-story .container,
  body.template-page .enconco-about-range .container,
  body.template-page .enconco-about-details .container,
  body.template-home #f-custom-casaluce-brand .container-full,
  body.template-home .casaluce-woven-band .container-fluid,
  body.template-home .casaluce-brand-trio .f-custom-content__wrapper {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  body.template-page .enconco-about-story .f-image-with-text__content,
  body.template-page .enconco-about-story .f-image-with-text__image,
  body.template-page .enconco-about-story .f-image-with-text__image-first,
  body.template-page .enconco-about-story .f-image-with-text__image img,
  body.template-home #f-custom-casaluce-brand .f-custom-content__block,
  body.template-home #f-custom-casaluce-brand .f-custom-content__block-image,
  body.template-home #f-custom-casaluce-brand .f-custom-content__block-image img,
  body.template-home #f-custom-casaluce-brand .f-custom-content__block-text .f-richtext,
  body.template-page .enconco-about-details .f-numbered-services__media,
  body.template-page .enconco-about-details .f-numbered-services__media img {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
  }
  body.template-page .enconco-about-story .f-image-with-text__inner,
  body.template-home #f-custom-casaluce-brand .f-custom-content__wrapper {
    gap: 16px !important;
    margin-bottom: 16px !important;
  }
  body.template-page .enconco-about-story .f-image-with-text__content {
    padding: 20px 18px 18px !important;
  }
  body.template-page .enconco-about-details,
  body.template-page .enconco-about-range,
  body.template-page .enconco-about-story {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}

body.template-page .enconco-about-details .f-numbered-services__media,
body.template-page .enconco-about-details .f-numbered-services__media img,
body.template-home #f-custom-casaluce-brand .f-custom-content__block,
body.template-home .casaluce-layer-cards .f-info-card__wrapper-inner,
body.template-home .casaluce-woven-band .f-image-with-text__image-first {
  border-radius: 16px !important;
  overflow: hidden;
}
body.template-page .enconco-about-details {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}
body.template-page .enconco-about-details .f-section-py {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

body.template-home #f-section--casaluce-space-tabs,
body.template-product .f-product-recommendations,
body.template-collection .casaluce-collection-grid {
  background: transparent !important;
}
body.template-home #f-section--casaluce-space-tabs .container-fluid,
body.template-product .f-product-recommendations .container-fluid {
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

.f-product-card__description {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  margin: 0 0 10px !important;
  color: #5C6780 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  min-height: 0 !important;
  max-height: none !important;
  visibility: 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(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}
body.template-product .f-product-recommendations .swiper-slide,
body.template-product .f-product-recommendations .m\:column {
  width: auto !important;
  margin: 0 !important;
}
body.template-product .f-product-recommendations .f-product-card__name {
  font-size: 16px !important;
  line-height: 1.35 !important;
}
@media (max-width: 989px) {
  body.template-home .casaluce-category-entries .f-mixed-layout__inner,
  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;
  }
}
@media (max-width: 699px) {
  body.template-product .f-product-recommendations .f-mixed-layout__inner,
  body.template-product .f-product-recommendations .swiper-wrapper {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 14px !important;
  }
  body.template-product .f-product-recommendations .swiper-slide,
  body.template-product .f-product-recommendations .m\:column {
    flex: 0 0 82% !important;
    width: 82% !important;
    scroll-snap-align: start;
  }
}

f-cart-drawer.f-cart-drawer,
.f-cart-drawer.f-cart-drawer--active,
.page-right-cart-drawer .f-cart-drawer {
  --f-bg-color: 27, 36, 51 !important;
  --f-bg-opacity: 0.28 !important;
  background: rgba(27, 36, 51, 0.28) !important;
}
.f-cart-drawer__inner {
  width: min(440px, calc(100vw - 28px)) !important;
  max-width: 440px !important;
  margin-left: auto !important;
  background: #ffffff !important;
  box-shadow: -16px 0 40px rgba(27, 36, 51, 0.16);
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .f-cart-drawer__inner {
    width: min(440px, calc(100vw - 16px)) !important;
  }
}
