.site-contact-footer {
  position: relative;
  clear: both;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 24px 20px 84px;
  background: #f6f7f8;
  color: #333;
  font: 14px/1.6 Arial, sans-serif;
  overflow-wrap: anywhere;
}
.site-contact-footer p { margin: 8px 0; }
.site-contact-footer a { color: #1267c4; text-decoration: underline; }

/* Keep reverse language navigation independent of the catalog request action. */
html[lang="en"] a.site-language-return[aria-label] {
  display: inline-flex !important;
  position: fixed;
  left: 12px;
  bottom: 18px;
  z-index: 100000000;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 44px;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid #1267c4;
  border-radius: 999px;
  background: #fff;
  color: #1267c4;
  font: 700 14px/1.2 Arial, sans-serif;
  text-decoration: none;
}
html[lang="en"] body:has(.site-language-return) { padding-bottom: 76px; }

.global-language-switch {
  display: none;
  position: absolute;
  right: 62px;
  top: 12px;
  /* The legacy responsive header creates a 999999 / 99999999 stacking layer. */
  z-index: 100000000;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #1267c4;
  border-radius: 999px;
  color: #1267c4;
  background: #fff;
  box-shadow: 0 4px 18px rgba(20, 70, 120, .14);
  font: 700 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
}

/* Keep the source logo, catalog action and search in distinct narrow-screen slots. */
@media (max-width: 430px) {
  #img_smv_tem_64_9 { max-width: calc(100vw - 184px) !important; height: auto !important; }
  .global-language-switch { right: 44px; padding: 2px 6px; box-sizing: border-box; }
  html[lang="en"] .global-language-switch { width: 120px; justify-content: center; text-align: center; line-height: 1.15; }
}

@media (min-width: 1026px) {
  html[lang="en"] #nav_tem_65_4,
  html[lang="en"] #nav_tem_65_4 > ul.w-nav {
    width: 730px !important;
  }

  html[lang="en"] #nav_tem_65_4 li.w-nav-inner:not(:has(a[aria-label="Get Product Catalog"])),
  html[lang="en"] #nav_tem_65_4 li.w-nav-inner:not(:has(a[aria-label="Get Product Catalog"])) > .w-nav-item > a {
    width: 110px !important;
  }

  html[lang="en"] #nav_tem_65_4 li.w-nav-inner:has(a[aria-label="Get Product Catalog"]),
  html[lang="en"] #nav_tem_65_4 a[aria-label="Get Product Catalog"] {
    width: 160px !important;
  }

  html[lang="en"] body:has(#smv_Main > :is(#smv_con_7_37, #smv_con_4_30)) > .global-language-switch {
    display: inline-flex;
    position: fixed;
    right: 24px;
    top: 20px;
  }
}

@media (max-width: 1025px) {
  .global-language-switch {
    display: inline-flex;
  }

  a[aria-label="View English site"]:not(.global-language-switch),
  a[aria-label="View Chinese site"]:not(.global-language-switch),
  a[aria-label="Get Product Catalog"]:not(.global-language-switch) {
    display: none !important;
  }

  html[lang="en"] #nav_tem_65_4 li.w-nav-inner:has(a[aria-label="Get Product Catalog"]),
  html[lang="en"] #nav_tem_65_4 a[aria-label="Get Product Catalog"] {
    display: none !important;
  }

  #smv_tem_104_56 {
    display: none !important;
  }
}
