/* rd-sun-v3: every annotated fix, cache-busted */
#f-theme .categories-home.mss-bento .f-section__description::after,
#f-theme .categories-style.mss-lookbook .f-section__description::after,
#f-theme .mss-lookbook .f-section__description::after,
#f-theme .mss-bento .f-section__description::after,
#f-theme .mss-hero .f-slide__subtitle::before,
#f-theme .f-slide__subtitle::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
#f-theme .f-numbered-services__num {
  display: none !important;
}

@media (min-width: 768px) {
  ratedecor-subscription[data-layout="image_left_copy_right"] .rd-subscription__panel,
  ratedecor-subscription[data-layout="copy_left_image_right"] .rd-subscription__panel {
    display: grid !important;
    grid-template-columns: minmax(280px, 44%) minmax(320px, 56%) !important;
    width: min(880px, calc(100vw - 40px)) !important;
    max-height: min(640px, calc(100dvh - 48px)) !important;
    align-items: stretch !important;
  }
  ratedecor-subscription[data-layout="image_left_copy_right"] .rd-subscription__image {
    order: 0 !important;
    height: auto !important;
    min-height: 480px !important;
  }
  ratedecor-subscription[data-layout="copy_left_image_right"] .rd-subscription__image {
    order: 2 !important;
    height: auto !important;
    min-height: 480px !important;
  }
}

@media (max-width: 1023px) {
  #f-theme .mss-hero {
    padding-top: 0 !important;
    background: #FBF7F1 !important;
  }
  #f-theme .mss-hero .container-full,
  #f-theme .mss-hero .swiper-container,
  #f-theme .mss-hero .swiper-wrapper,
  #f-theme .mss-hero .swiper-slide,
  #f-theme .mss-hero .f-slide {
    display: block !important;
    position: relative !important;
    height: 620px !important;
    min-height: 620px !important;
    grid-template-columns: none !important;
    background: #FBF7F1 !important;
  }
  #f-theme .mss-hero .f-slide__media,
  #f-theme .mss-hero .f-slide__bg {
    position: absolute !important;
    inset: 96px 0 0 0 !important;
    width: auto !important;
    height: auto !important;
    grid-column: auto !important;
    order: 0 !important;
  }
  #f-theme .mss-hero .f-slide__media img,
  #f-theme .mss-hero .f-slide__bg img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 22% 0% !important;
  }
  #f-theme .mss-hero .f-slide__wrapper {
    position: absolute !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 16px !important;
    top: auto !important;
    z-index: 5 !important;
    display: flex !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 14px 14px 12px !important;
    background: rgba(255, 251, 246, 0.9) !important;
    box-shadow: none !important;
    grid-column: auto !important;
  }
  #f-theme .mss-hero .f-slide__title {
    color: #3A2E24 !important;
    font-size: 30px !important;
    line-height: 1.08 !important;
  }
  #f-theme .mss-hero .f-slide__description,
  #f-theme .mss-hero .f-slide__description p,
  #f-theme .mss-hero .f-slide__subtitle {
    color: #5C4E42 !important;
  }
}

#f-theme .mss-service-advantages .f-mixed-layout__inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  gap: 16px !important;
  grid-template-columns: none !important;
}
#f-theme .mss-service-advantages .m\:column {
  flex: 0 0 min(78%, 520px) !important;
  width: min(78%, 520px) !important;
  max-width: min(78%, 520px) !important;
  scroll-snap-align: start;
}
#f-theme .mss-service-advantages .f-icon-box {
  min-height: 148px;
  background: #F7EFE4 !important;
  border: 1px solid #E7D8C8 !important;
  padding: 22px !important;
}
#f-theme .mss-service-advantages .rd-service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 8px 0 18px;
}
#f-theme .mss-service-advantages .rd-service-tabs button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #E0D0C0;
  background: #FFFBF6;
  color: #3A2E24;
  font-family: Outfit, "Avenir Next", sans-serif;
  font-size: 14px;
  cursor: pointer;
}
#f-theme .mss-service-advantages .rd-service-tabs button[aria-selected="true"] {
  background: #6E4939;
  border-color: #6E4939;
  color: #FFFBF6;
}
#f-theme .mss-service-advantages.rd-tabs-ready .f-mixed-layout__inner {
  display: block !important;
  overflow: visible !important;
}
#f-theme .mss-service-advantages.rd-tabs-ready .m\:column {
  display: none !important;
  width: min(720px, 100%) !important;
  max-width: 720px !important;
  flex: none !important;
  margin: 0 auto !important;
}
#f-theme .mss-service-advantages.rd-tabs-ready .m\:column.rd-tab-on {
  display: block !important;
}
#f-theme .mss-service-advantages .swiper-button-prev,
#f-theme .mss-service-advantages .swiper-button-next,
#f-theme .mss-service-advantages .f-slider-controls,
#f-theme .mss-service-advantages .swiper-pagination {
  display: flex !important;
}

#f-theme,
#f-theme body,
#f-theme.template-page,
#f-theme.template-collection,
#f-theme.template-product,
#f-theme.template-cart,
#f-theme.template-search {
  background: #FBF7F1 !important;
  color: #3A2E24 !important;
}
#f-theme .rd-about-proportion .f-image-with-text__content,
#f-theme .rd-contact-guide .f-image-with-text__content,
#f-theme .rd-product-guide .f-image-with-text__content,
#f-theme .f-numbered-services,
#f-theme .f-contact-form,
#f-theme .rd-contact-form {
  background: #F7EFE4 !important;
  color: #3A2E24 !important;
}
#f-theme .f-button--primary {
  background: #6E4939 !important;
  border-color: #6E4939 !important;
  color: #FFFBF6 !important;
}
