/* rd-sun-v35: screenshot fixes, first paint matches the saved page */
html body#f-theme .f-page-transition {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Footer language selector sits with currency. */
html body#f-theme .f-footer--currency-language {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}
html body#f-theme .f-footer--bottom .f-language-switcher,
html body#f-theme .f-footer--bottom .f-currency-switcher {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
}

/* Policy and content pages use the theme container, title close to the copy. */
html body#f-theme .main-page > .container,
html body#f-theme .main-page .f-page-content.rte {
  width: 100% !important;
  max-width: var(--container-width, 1200px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body#f-theme .main-page .f-page-header--template-page {
  padding-top: 28px !important;
  padding-bottom: 4px !important;
}
html body#f-theme .main-page .f-page-header .f-breadcrumb {
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}
html body#f-theme .main-page .f-page-content {
  margin-top: 8px !important;
  padding-top: 0 !important;
}

/* Description module uses the same container width as the product block above. */
html body#f-theme .f-product-details-tabs > .container {
  width: 100% !important;
  max-width: var(--container-width, 1200px) !important;
}
html body#f-theme .f-product-details-tabs [class*="fecify-detail"] {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Homepage: no extra blank band before the footer. */
html body#f-theme #f-collapsible--rd-ref-faq .f-section-py,
html body#f-theme #f-newsletter-rd-newsletter,
html body#f-theme #f-newsletter-rd-newsletter .f-section-py,
html body#f-theme #f-newsletter-rd-newsletter .f-section-my,
html body#f-theme .rd-subscription-section {
  margin-bottom: 0 !important;
}
html body#f-theme #f-collapsible--rd-ref-faq .f-section-py {
  padding-bottom: 24px !important;
}
html body#f-theme #f-newsletter-rd-newsletter .f-section-py,
html body#f-theme #f-newsletter-rd-newsletter .f-section-my {
  padding-top: 20px !important;
  padding-bottom: 12px !important;
  margin-top: 0 !important;
}
html body#f-theme f-footer.f-footer .f-footer--middle,
html body#f-theme .f-footer--middle {
  padding-top: 28px !important;
}
