/* rd-sun-v5: every annotation, loaded last */
#f-theme .categories-home.mss-bento .f-collection-card__info::before,
#f-theme .categories-home.mss-bento .f-section__description::before,
#f-theme .categories-home.mss-bento .f-section__description::after,
#f-theme .categories-style.mss-lookbook .f-collection-card__link::before,
#f-theme .categories-style.mss-lookbook .f-section__description::before,
#f-theme .categories-style.mss-lookbook .f-section__description::after,
#f-theme .mss-hero .f-slide__subtitle::before,
#f-theme .f-slide__subtitle::before,
#f-theme .mss-about-principles .f-icon-box__content::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 0 !important;
  letter-spacing: 0 !important;
}
#f-theme .f-numbered-services__num {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
  margin: 0 !important;
  padding: 0 !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;
    grid-template-rows: auto !important;
    width: min(920px, calc(100vw - 48px)) !important;
    max-width: min(920px, calc(100vw - 48px)) !important;
    max-height: min(640px, calc(100dvh - 48px)) !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }
  ratedecor-subscription[data-layout="image_left_copy_right"] .rd-subscription__image {
    order: 0 !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: 100% !important;
    min-height: 460px !important;
    max-height: none !important;
  }
  ratedecor-subscription[data-layout="image_left_copy_right"] .rd-subscription__copy,
  ratedecor-subscription[data-layout="image_left_copy_right"] .rd-subscription__content {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  ratedecor-subscription .rd-subscription__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !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: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 2 !important;
    overflow: hidden !important;
    background: #FBF7F1 !important;
    grid-template-columns: none !important;
  }
  #f-theme .mss-hero .f-slide__media,
  #f-theme .mss-hero .f-slide__bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    order: 0 !important;
  }
  #f-theme .mss-hero .f-slide__media img,
  #f-theme .mss-hero .f-slide__bg img,
  #f-theme .mss-hero img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #FBF7F1 !important;
  }
  #f-theme .mss-hero .f-slide__wrapper {
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    z-index: 6 !important;
    display: flex !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    background: rgba(255, 251, 246, 0.92) !important;
    box-shadow: none !important;
  }
  #f-theme .mss-hero .f-slide__title,
  #f-theme .mss-hero .f-slide__description,
  #f-theme .mss-hero .f-slide__description p,
  #f-theme .mss-hero .f-slide__subtitle {
    color: #3A2E24 !important;
  }
  #f-theme .mss-hero .f-slide__title {
    font-size: 28px !important;
    line-height: 1.08 !important;
    max-width: 12em !important;
  }
  #f-theme .mss-hero .f-button--blank,
  #f-theme .mss-hero a.f-button--blank {
    color: #6E4939 !important;
    border-color: #6E4939 !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,
#f-theme .mss-service-advantages .f-icon-box__icon .f-placeholder-svg,
#f-theme .mss-service-advantages .f-placeholder-svg {
  display: none !important;
}
#f-theme .mss-service-advantages .rd-service-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: center !important;
  margin: 4px 0 16px !important;
}
#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 .f-mixed-layout__inner {
  display: block !important;
  overflow: visible !important;
  grid-template-columns: none !important;
}
#f-theme .mss-service-advantages .m\:column,
#f-theme .mss-service-advantages .swiper-slide {
  display: none !important;
  width: min(720px, 100%) !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  flex: none !important;
}
#f-theme .mss-service-advantages .m\:column:first-of-type {
  display: block !important;
}
#f-theme .mss-service-advantages.rd-tabs-ready .m\:column,
#f-theme .mss-service-advantages.rd-tabs-ready .swiper-slide {
  display: none !important;
}
#f-theme .mss-service-advantages .m\:column.rd-tab-on,
#f-theme .mss-service-advantages .swiper-slide.rd-tab-on,
#f-theme .mss-service-advantages.rd-tabs-ready .m\:column.rd-tab-on {
  display: block !important;
}
#f-theme .mss-service-advantages .f-icon-box {
  background: #F7EFE4 !important;
  border: 1px solid #E7D8C8 !important;
  border-radius: 0 !important;
  padding: 22px !important;
  min-height: 132px;
}
#f-theme .mss-service-advantages .f-icon-box__icon {
  background: #6E4939 !important;
  color: #FFFBF6 !important;
}

#f-theme,
#f-theme.template-page,
#f-theme.template-collection,
#f-theme.template-product,
#f-theme.template-cart,
#f-theme.template-search,
#f-theme.template-list-collections {
  background: #FBF7F1 !important;
  color: #3A2E24 !important;
}
#f-theme .rd-about-proportion,
#f-theme .rd-about-layers,
#f-theme .rd-about-guidance,
#f-theme .rd-contact-form,
#f-theme .rd-contact-guide,
#f-theme .rd-contact-help,
#f-theme .f-numbered-services,
#f-theme .f-contact-form,
#f-theme .f-main-page,
#f-theme .rd-collection,
#f-theme .rd-collection-banner,
#f-theme .rd-product,
#f-theme .rd-product-guide {
  background: #FBF7F1 !important;
  color: #3A2E24 !important;
}
#f-theme .f-numbered-services__content,
#f-theme .f-numbered-services__item,
#f-theme .rd-contact-form .f-contact-form,
#f-theme .f-image-with-text__content {
  background: transparent !important;
  color: #3A2E24 !important;
}
#f-theme .f-numbered-services__link,
#f-theme .f-numbered-services__title,
#f-theme .f-numbered-services__title-text,
#f-theme .f-numbered-services__heading,
#f-theme .f-numbered-services__tag {
  color: #3A2E24 !important;
}
#f-theme .f-numbered-services__item {
  border-bottom: 1px solid #E7D8C8 !important;
  padding: 14px 0 !important;
}
#f-theme .f-button--primary {
  background: #6E4939 !important;
  border-color: #6E4939 !important;
  color: #FFFBF6 !important;
}
#f-theme .categories-home.mss-bento .f-collection-card__info {
  background: #6E4939 !important;
}
#f-theme .categories-home.mss-bento .f-collection-card__link,
#f-theme .categories-home.mss-bento .f-collection-card__title {
  color: #FFFBF6 !important;
}

/* rd-sun-v5b: full lamp, no crop, text stays on the photo */
#f-theme .mss-hero .f-slide__bg img,
#f-theme .mss-hero .f-slide__media img,
#f-theme .mss-hero picture img,
#f-theme .mss-hero responsive-image img {
  object-fit: contain !important;
  object-position: center center !important;
  background: #FBF7F1 !important;
  height: 100% !important;
  width: 100% !important;
  max-height: none !important;
}
@media (max-width: 1023px) {
  #f-theme .mss-hero .swiper-slide,
  #f-theme .mss-hero .f-slide,
  #f-theme .mss-hero .f-slide__media,
  #f-theme .mss-hero .f-slide__bg,
  #f-theme .mss-hero picture,
  #f-theme .mss-hero responsive-image {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 2 !important;
    overflow: hidden !important;
  }
  #f-theme .mss-hero .f-slide__media,
  #f-theme .mss-hero .f-slide__bg {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
  }
}
ratedecor-subscription .rd-subscription__image img,
ratedecor-subscription .rd-subscription__image responsive-image,
ratedecor-subscription .rd-subscription__image picture {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}
