/* rd-sun-v7: annotation fixes. Loaded after every v6 inline patch. */
#f-theme.rd-ref-site .mss-hero .swiper-slide,
#f-theme.rd-ref-site .mss-hero .f-slide {
  position: relative !important;
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 3 / 1 !important;
  overflow: hidden !important;
  background-color: #F4EFE8 !important;
  background-image: url("https://www.ratedecor.com/media/diy/365/image/2026/11/02/a74cdd55206bdfbd52399d3ef675d78e.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
}
#f-theme.rd-ref-site .mss-hero picture,
#f-theme.rd-ref-site .mss-hero responsive-image,
#f-theme.rd-ref-site .mss-hero .f-slide__bg,
#f-theme.rd-ref-site .mss-hero .f-slide__media {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#f-theme.rd-ref-site .mss-hero picture img,
#f-theme.rd-ref-site .mss-hero .f-slide__bg img,
#f-theme.rd-ref-site .mss-hero .f-slide__media img,
#f-theme.rd-ref-site .mss-hero responsive-image img,
#f-theme.rd-ref-site .mss-hero img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
@media (max-width: 1023px) {
  #f-theme.rd-ref-site .mss-hero .swiper-slide,
  #f-theme.rd-ref-site .mss-hero .f-slide {
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    min-height: 420px !important;
    max-height: none !important;
    background-position: 82% center !important;
    background-size: cover !important;
  }
  #f-theme.rd-ref-site .mss-hero picture img,
  #f-theme.rd-ref-site .mss-hero img {
    object-fit: cover !important;
    object-position: 82% center !important;
  }
  #f-theme.rd-ref-site .mss-hero .f-slide__wrapper {
    position: absolute !important;
    left: auto !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    width: min(220px, 58%) !important;
    max-height: none !important;
    z-index: 8 !important;
    background: rgba(255,251,246,.92) !important;
    padding: 12px !important;
  }
  #f-theme.rd-ref-site .mss-hero .f-slide__title { color: #3A2E24 !important; font-size: 26px !important; }
}

/* Materials and philosophy need air, and the cream title must be readable. */
#f-theme .rd-ref-materials { margin-bottom: 12px !important; padding-bottom: 36px !important; }
#f-theme .rd-ref-philosophy { margin-top: 28px !important; padding-top: 48px !important; }
#f-theme .rd-ref-philosophy .f-image-with-text__content,
#f-theme .rd-ref-philosophy .f-image-with-text__content h2,
#f-theme .rd-ref-philosophy .f-image-with-text__content h3,
#f-theme .rd-ref-philosophy .f-richtext__title,
#f-theme .rd-ref-philosophy .f-image-with-text__content p,
#f-theme .mss-brand-philosophy .f-image-with-text__content,
#f-theme .mss-brand-philosophy .f-image-with-text__content * {
  color: #3A2E24 !important;
}

/* Department row fills the content width. */
#f-theme .rd-ref-spaces .f-collection-list__container,
#f-theme .rd-ref-spaces .f-collection-list__content,
#f-theme .rd-ref-spaces .f-collection-list__content-container,
#f-theme .rd-ref-spaces .container-fluid,
#f-theme .rd-ref-spaces .f-mixed-layout,
#f-theme .rd-ref-spaces .f-mixed-layout__wrapper,
#f-theme .rd-ref-spaces .f-mixed-layout__inner {
  width: 100% !important;
  max-width: none !important;
}
#f-theme .rd-ref-spaces .container-fluid,
#f-theme .rd-ref-spaces .f-collection-list__container {
  padding-left: 28px !important;
  padding-right: 28px !important;
}
@media (min-width: 1024px) {
  #f-theme .rd-ref-spaces .f-mixed-layout__inner {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  #f-theme .rd-ref-spaces .m\:column { width: auto !important; max-width: none !important; }
}

/* Lookbook spacing, decoration, hover. */
#f-theme .mss-lookbook { --section-padding-top: 88px !important; padding-top: 24px !important; }
#f-theme .mss-lookbook .f-section__header { margin-bottom: 28px !important; }
#f-theme .mss-lookbook .f-collection-card {
  background: #fff !important;
  border: 1px solid #E7D8C8 !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}
#f-theme .mss-lookbook .f-collection-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(58,46,36,.14);
}
#f-theme .mss-lookbook .f-collection-card__image { overflow: hidden !important; }
#f-theme .mss-lookbook .f-collection-card__image img { transition: transform .5s ease !important; }
#f-theme .mss-lookbook .f-collection-card:hover img { transform: scale(1.06); }
#f-theme .mss-lookbook .f-collection-card__title { position: relative; }
#f-theme .mss-lookbook .f-collection-card__title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 8px;
  background: #6E4939;
  transform: scaleX(.45);
  transform-origin: left center;
  transition: transform .25s ease;
}
#f-theme .mss-lookbook .f-collection-card:hover .f-collection-card__title::after { transform: scaleX(1); }

/* Four policies, flat and full width. */
#f-theme .mss-service-advantages .rd-service-tabs,
#f-theme .mss-service-advantages .swiper-button-prev,
#f-theme .mss-service-advantages .swiper-button-next,
#f-theme .mss-service-advantages .swiper-pagination { display: none !important; }
#f-theme .mss-service-advantages .f-icon-box-section__wrapper,
#f-theme .mss-service-advantages .f-mixed-layout,
#f-theme .mss-service-advantages .f-mixed-layout__wrapper,
#f-theme .mss-service-advantages .f-mixed-layout__inner,
#f-theme .mss-service-advantages .container-fluid {
  width: 100% !important;
  max-width: none !important;
}
#f-theme .mss-service-advantages .f-mixed-layout__inner {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  overflow: visible !important;
}
#f-theme .mss-service-advantages .m\:column,
#f-theme .mss-service-advantages .swiper-slide,
#f-theme .mss-service-advantages.rd-tabs-ready .m\:column,
#f-theme .mss-service-advantages.rd-tabs-ready .swiper-slide {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  flex: none !important;
}
#f-theme .mss-service-advantages .f-icon-box {
  height: 100%;
  background: #FFFBF6 !important;
  border: 1px solid #E7D8C8 !important;
  padding: 22px 18px !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
#f-theme .mss-service-advantages .f-icon-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(58,46,36,.12);
  background: #fff !important;
}
#f-theme .mss-service-advantages .f-icon-box__heading { color: #3A2E24 !important; font-size: 20px !important; }
#f-theme .mss-service-advantages .f-icon-box__content,
#f-theme .mss-service-advantages .f-icon-box__description { color: #5C4A3E !important; }
@media (max-width: 1023px) {
  #f-theme .mss-service-advantages .f-mixed-layout__inner { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  #f-theme .mss-service-advantages .f-mixed-layout__inner { grid-template-columns: 1fr !important; }
}

/* FAQ copy sits in the horizontal center of each row. */
#f-theme .rd-ref-faq .f-collapsible--button,
#f-theme .rd-ref-faq .f-collapsible--content,
#f-theme .rd-ref-faq .f-collapsible--content__inner,
#f-theme .rd-ref-faq .f-collapsible__content-wrapper,
#f-theme .rd-ref-faq .rte,
#f-theme .rd-ref-faq .rte p {
  text-align: center !important;
}
#f-theme .rd-ref-faq .f-collapsible--button {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

/* Contact form card lines up with the middle of the photo. */
@media (min-width: 990px) {
  #f-theme .rd-contact-form .f-contact-content-box {
    display: flex !important;
    align-items: center !important;
  }
  #f-theme .rd-contact-form .f-contact-form__main,
  #f-theme .rd-contact-form .f-contact-2-form__info {
    align-self: center !important;
  }
}

/* About services sit side by side, with a lift on hover. */
@media (min-width: 900px) {
  #f-theme .rd-about-layers .f-numbered-services__list {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}
@media (max-width: 899px) {
  #f-theme .rd-about-layers .f-numbered-services__list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
}
#f-theme .rd-about-layers .f-numbered-services__item {
  border: 1px solid #E7D8C8 !important;
  background: #FFFBF6 !important;
  padding: 18px 14px !important;
  margin: 0 !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
#f-theme .rd-about-layers .f-numbered-services__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(58,46,36,.12);
  background: #fff !important;
}

/* Footer copyright tools stay on one row. */
@media (min-width: 1100px) {
  #f-theme .f-footer--bottom-inner {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }
  #f-theme .f-footer--bottom-left,
  #f-theme .f-footer--bottom-right {
    width: auto !important;
    flex: 0 1 auto !important;
  }
  #f-theme .f-footer--bottom-right {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 14px !important;
    margin-left: auto !important;
  }
  #f-theme .f-footer__copyright,
  #f-theme .f-footer--bottom .f-payment-icons,
  #f-theme .f-footer--bottom .f-payment-icons__list,
  #f-theme .f-footer--bottom .f-list-payment {
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
  }
}

/* Storefront never shows the manual popup trigger. */
ratedecor-subscription:not([data-editor-entry="1"]) .rd-subscription__preview,
ratedecor-subscription:not([data-editor-entry="1"]) .rd-subscription__preview-note {
  display: none !important;
}

#f-theme .f-announcement-bar { min-height: 42px !important; }
#f-theme .f-announcement-bar__content { font-size: 15px !important; line-height: 1.45 !important; }
