/* rd-sun-v8 */
/* Collection banner is removed. */
#f-theme .rd-collection-banner,
#f-theme [data-section-id="collection-header"],
#f-theme #f-section-collection-header,
#f-theme .f-collection-page-header {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Product description layout is owned by the product HTML. rd-sun-v34 */


/* About category tiles keep arrows inside, and the odd last item spans the row. */
#f-theme .rd-about-layers .f-numbered-services__item,
#f-theme .rd-about-layers .f-numbered-services__link {
  overflow: hidden !important;
  min-width: 0 !important;
}
#f-theme .rd-about-layers .f-numbered-services__link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
}
#f-theme .rd-about-layers .f-numbered-services__title,
#f-theme .rd-about-layers .f-numbered-services__title-text {
  min-width: 0 !important;
  overflow: hidden !important;
}
#f-theme .rd-about-layers .f-numbered-services__arrow {
  position: static !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
}
@media (max-width: 899px) {
  #f-theme .rd-about-layers .f-numbered-services__item:last-child {
    grid-column: 1 / -1 !important;
  }
}

/* Contact stays a single simple form. */
#f-theme .rd-contact-form .f-contact-2-form__info,
#f-theme .rd-contact-guide,
#f-theme .rd-contact-help {
  display: none !important;
}
#f-theme .rd-contact-form .f-contact-content-box {
  display: block !important;
  width: min(720px, 100%) !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}
#f-theme .rd-contact-form .f-contact-form__main {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}

/* FAQ question and answer sit in the horizontal center. */
#f-theme .rd-ref-faq h3.f-collapsible--button {
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}
#f-theme .rd-ref-faq h3.f-collapsible--button > span:first-child {
  width: 100% !important;
  text-align: center !important;
}
#f-theme .rd-ref-faq h3.f-collapsible--button .f-collapsible--icon {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
#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;
}

/* Social icons sit under the payment icons. */
@media (min-width: 900px) {
  #f-theme .f-footer--bottom-right {
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    row-gap: 10px !important;
  }
  #f-theme .f-footer--bottom-right .social-media-links {
    order: 8 !important;
    flex: 1 0 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
  }
  #f-theme .f-footer--bottom-right .f-payment-icons {
    order: 4 !important;
  }
}

/* Mobile: search lives in the menu; currency is a header button. */
.rd-drawer-search {
  display: none;
  margin: 0 16px 12px;
}
.rd-drawer-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #E7D8C8;
  background: #fff;
  color: #3A2E24;
  padding: 0 14px;
  font: inherit;
}
@media (max-width: 1023px) {
  #f-theme .f-header__mobile f-search-popup,
  #f-theme .f-header__mobile .f-header__search-icon {
    display: none !important;
  }
  #f-theme .rd-drawer-search { display: block; }
  #f-theme .f-header__mobile .rd-header-locale {
    display: flex !important;
    align-items: center !important;
    margin-right: 8px !important;
  }
  #f-theme .f-header__mobile .rd-header-locale .f-switcher-dropdown {
    min-height: 36px;
  }
  #f-theme .f-menu-drawer .f-menu-customer__language-currency:not(.rd-header-locale) {
    display: none !important;
  }
}
