.topbar {
  position: relative;
  z-index: 40;
}
.fx-language-picker {
  position: relative;
  direction: ltr;
  flex-shrink: 0;
  letter-spacing: normal;
}
.fx-language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 3px 8px;
  color: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
}
.fx-language-trigger:hover,
.fx-language-trigger[aria-expanded='true'] {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}
.fx-language-globe {
  font-size: 17px;
  line-height: 1;
  opacity: 0.7;
}
.fx-language-code {
  font-weight: 500;
  min-width: 18px;
  text-align: left;
}
.fx-language-arrow {
  font-size: 12px;
  opacity: 0.6;
  transition: transform 0.2s;
}
.fx-language-trigger[aria-expanded='true'] .fx-language-arrow {
  transform: rotate(180deg);
}
.fx-language-picker img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 1px;
  flex-shrink: 0;
}
.fx-language-options {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 180px;
  width: max-content;
  max-width: calc(100vw - 32px);
  max-height: min(520px, 70vh);
  overflow: auto;
  padding: 4px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 12px 30px #102c4033;
  z-index: 100;
}
.fx-language-options[hidden],
.fx-language-status[hidden] {
  display: none !important;
}
.fx-language-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #183447;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.fx-language-option:hover {
  background: #f3f6f7;
}
.fx-language-option[aria-pressed='true'] {
  background: #102c40;
  color: #fff;
}
.fx-language-trigger:focus-visible,
.fx-language-option:focus-visible {
  outline: 2px solid #f4be26;
  outline-offset: 1px;
}
.fx-language-options .fx-translation-credit {
  display: block;
  color: #67747f !important;
  font-size: 10px;
  text-align: center;
  margin-top: 4px;
  padding: 5px;
  border-top: 1px solid #e5e7eb;
}
/* Match the reference site's custom control; attribution stays in the menu. */
#fuxin-google-translate {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.goog-te-banner-frame,
.skiptranslate > iframe {
  display: none !important;
}
body {
  top: 0 !important;
}
.fx-language-status {
  position: fixed;
  right: 18px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  background: #fff;
  color: #183447;
  box-shadow: 0 5px 30px #102c4033;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  z-index: 100001;
  direction: ltr;
}
.fx-language-status.error {
  border-left: 3px solid #d49717;
}
.fx-language-status button {
  border: 0;
  background: #f3f6f7;
  padding: 4px 8px;
  color: #183447;
  font-size: 12px;
}
html:is(.translated-ltr, .translated-rtl) :is(h1, h2, h3, h4, p, li) {
  overflow-wrap: anywhere;
  letter-spacing: normal;
}
html:is(.translated-ltr, .translated-rtl) .btn {
  white-space: normal;
  text-align: center;
}
html:is(.translated-ltr, .translated-rtl) .nav-links {
  gap: clamp(9px, 1.25vw, 22px);
}
html:is(.translated-ltr, .translated-rtl) .nav-links > a {
  font-size: 13px;
}
html.translated-rtl
  :is(.products-banner-copy, .product-info, .article-body, .contact-layout, .footer) {
  text-align: right;
}
@media (max-width: 760px) {
  .fx-language-options {
    max-height: 60vh;
  }
  html:is(.translated-ltr, .translated-rtl) .products-banner-copy h1 {
    font-size: 30px;
  }
}
