
/* Static Russian preview: small aids that do not restyle the official layout */
a[data-en-original="1"] svg { pointer-events: none; }
.wpconsent-banner-holder, .wpconsent-banner, #wpconsent-container { display: none !important; }
a[aria-disabled="true"][href="#"] { pointer-events: none; }
.skip-link, a.skip-link, .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link:focus, a.skip-link:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
}
@media (min-width: 781px) {
  .sxf-header-v3 .sxf-mobile-quick-quote { display: none !important; }
}

/* typography polish for longer Russian strings — keep official layout, prevent overlap/clipping */
html[lang="ru"] :is(h1, h2, #sxf-product-title, .sxf-pdp__identity h1, .sxf-blog-title, .sxf-blog-hero h1):not(.sxf-label):not(.sxf-network__title) {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* Resources mega menu: two column headings must not overflow into each other.
   Official English "Guides & Planning" / "Manuals & Support" fits one line; Russian is longer.
   Do not inherit the large Products-mega h2 scale or overflow-wrap:normal. */
.sxf-header-v3 .sxf-mega h2 {
  overflow-wrap: break-word;
  word-break: normal;
  min-width: 0;
  max-width: 100%;
}
.sxf-header-v3 .sxf-resources-menu__columns,
.sxf-header-v3 .sxf-resources-menu__group {
  min-width: 0;
}
.sxf-header-v3 .sxf-resources-menu .sxf-resources-menu__heading {
  font: 600 22px/1.35 Manrope, Arial, sans-serif !important;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  min-width: 0;
  max-width: 100%;
}
.sxf-header-v3 .sxf-resources-menu .sxf-resources-menu__heading a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}
.sxf-header-v3 .sxf-resources-menu .sxf-resources-menu__heading a > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
}

/* Tight serif heroes collide when the Russian title wraps to more lines */
html[lang="ru"] .sxf-blog-hero h1,
html[lang="ru"] .sxf-blog-archive-header h1 {
  line-height: 1.12 !important;
}

/* PDP titles: official size is ~56px / max-width 500px; "воздухонагреватель" is wider than the column at 56px */
html[lang="ru"] main.sxf-pdp .sxf-pdp__identity h1,
html[lang="ru"] #sxf-product-title {
  line-height: 1.18;
  max-width: 100%;
  hyphens: manual;
  -webkit-hyphens: manual;
}


/* Wordmark: keep the last letter visible */
header.sxf-header-v3 .sxf-brand,
header.sxf-header-v3 .sxf-brand img.sxf-brand__wordmark {
  overflow: visible !important;
}

/* Decorative tracked labels: official 180px cap + h2 size override mid-breaks long Russian */
html[lang="ru"] .sxf-network--managed .sxf-network__title,
html[lang="ru"] h2.sxf-network__title {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  max-width: 100%;
  min-width: 0;
}
