body > .site-header,
body > .site-footer {
  --chrome-width: min(1660px, calc(100% - 9vw));
}
body > .site-header .navigation,
body > .site-footer > .wrap {
  width: var(--chrome-width);
  max-width: none;
}
body > .site-header {
  border-bottom: 1px solid #e0e6eb;
}
body > .site-header .navigation {
  height: 94px;
}
body.is-scrolled > .site-header .navigation { height: 94px; }
.site-header .mega-products { position: relative; align-self: stretch; display: flex; align-items: center; }
.site-header .mega-products > a { display: block; padding: 14px 0; white-space: nowrap; }
.site-header .mega-products > a > span { font-size: 9px; margin-left: 4px; }
.site-header .mega-products > a.active { color: #a82029; }
.site-header .mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: clamp(-470px, -30vw, -240px);
  width: min(1080px, calc(100vw - 48px));
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 22px !important;
  padding: 24px;
  background: white;
  border-top: 3px solid #a82029;
  box-shadow: 0 10px 24px #122a4326;
  z-index: 25;
}
.site-header .mega-products:hover .mega-panel,
.site-header .mega-products:focus-within .mega-panel { display: grid; }
.site-header .mega-panel h3 { color: #15364b; margin: 0 0 8px; }
.site-header .mega-panel a { display: block; color: #354f61; }
.site-header .mega-panel .all-product-link { border-top: 1px solid #dae3e8; margin-top: 8px; color: #9c2229; }
body > .site-footer { background: #071c2b; padding-top: 60px; }
body > .site-footer .footer-grid { gap: clamp(22px, 4vw, 60px); }
body > .site-footer .footer-contact-values a { color: inherit; }
body > .site-footer .footer-contact-values a:hover,
body > .site-footer .footer-contact-values a:focus-visible { text-decoration: underline; }
@media (min-width: 801px) {
  .site-header .navigation nav { position: relative; }
  .site-header .mega-products { position: static; }
  .site-header .mega-panel { left: auto; right: 0; }
}
@media (max-width: 800px) {
  body > .site-header .navigation { height: 72px; }
  body.is-scrolled > .site-header .navigation { height: 72px; }
  body > .site-header .navigation nav { top: 72px; }
  body.is-scrolled > .site-header .navigation nav { top: 72px; }
  .site-header .mega-products { display: block; }
  .site-header .mega-products > a > span { display: none; }
  .site-header .mega-panel { display: none !important; }
  body > .site-footer > .wrap { width: calc(100% - 36px); }
  body > .site-footer .footer-grid { gap: 26px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body > .site-header .navigation { transition: none; }
}

@media (min-width: 801px) {
  body > .site-footer .footer-grid {
    grid-template-columns: minmax(145px, 1.3fr) minmax(110px, 1fr)
      minmax(105px, .9fr) minmax(230px, 1.55fr);
    column-gap: clamp(16px, 2.5vw, 36px);
  }
  .site-footer .footer-contact-values {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    font-size: clamp(17px, 1.45vw, 20px);
  }
}

.site-footer .footer-contact-values > span {
  white-space: nowrap;
}
@media (max-width: 800px) {
  .site-footer .footer-contact {
    grid-column: 1 / -1;
  }
}

.site-header .language-switch{position:relative;display:flex;align-items:center;padding:0;border:1px solid #d5e0e7;color:#143249;background:#fff}
.language-globe{position:absolute;inset-inline-start:9px;pointer-events:none}
#site-language{min-height:38px;width:126px;border:0;background:transparent;color:inherit;font:600 14px/1.3 Arial,sans-serif;padding-inline:32px 4px;cursor:pointer;text-overflow:ellipsis}
#site-language:focus-visible{outline:2px solid #be2a2f;outline-offset:2px}
html[dir=rtl] .header-tools{margin-left:0;margin-inline-start:12px}
html[dir=rtl] .navigation nav{margin-left:0;margin-inline-start:auto}
html[dir=rtl] .spec-table :is(td,th){text-align:start}
html[dir=rtl] :is(input[type=email],input[type=tel],.footer-contact-link){direction:ltr}
html[dir=rtl] :is(h1,h2,h3,label,button){letter-spacing:normal!important}
@media(max-width:800px){
  html[dir=rtl] .header-tools{margin-inline-start:auto}
  html[dir=rtl] .navigation nav{margin-inline-start:0}
}
@media(max-width:480px){
  #site-language{width:113px;min-height:36px;font-size:13px;padding-inline-start:28px}
  .language-globe{inset-inline-start:7px;width:16px}
}
html[dir=rtl] .site-header .mega-panel{right:auto;inset-inline-end:0}
html[dir=rtl] .site-footer .footer-contact-values a{display:inline-block;direction:ltr}
@media (min-width:801px) and (max-width:1100px){
  .site-header .navigation nav{gap:clamp(8px,1.1vw,12px)}
  .site-header .navigation nav > a{white-space:normal;line-height:1.25}
  .site-header .navigation .header-tools{margin-inline-start:12px}
}
@media(max-width:800px){
  main{overflow-wrap:anywhere}
  .company-profile,.detail-layout{grid-template-columns:minmax(0,1fr)}
  .company-profile>*,
  .detail-main,.detail-section,.related-products,.privacy-heading{min-width:0;max-width:100%}
  .company-section-nav,.product-tabs{justify-content:flex-start;max-width:100%}
}
@media(max-width:800px){
  .company-profile-copy>.wide-text-link{min-width:0;max-width:100%;white-space:normal}
}

.site-header .language-switch {
  min-height: 40px;
  border-color: #c4d3df;
  border-radius: 4px;
  background: #f5f8fa;
  transition: background-color .18s ease, border-color .18s ease;
}
.site-header .language-switch:is(:hover,:focus-within) {
  background-color: #eaf2f7;
  border-color: #7997ad;
}
.site-header .language-globe {
  inset-inline-start: 4px;
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  padding: 5px;
  border-radius: 3px;
  color: #fff;
  background: #143249;
}
#site-language {
  appearance: none;
  width: 135px;
  min-height: 40px;
  padding-inline: 42px 23px;
}
.language-chevron {
  position: absolute;
  inset-inline-end: 10px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}

/* Keep page action typography independent of the header quote link. */
html:not([lang^="zh"]) body :is(.hero-action,.button:not(.small)):not(.site-header *) {
  font-size: 1.125rem !important;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  html:not([lang^="zh"]) body :is(.hero-action,.button:not(.small)):not(.site-header *) {
    font-size: 1.0625rem !important;
  }
}
@media (max-width: 480px) {
  #site-language { width: 121px; min-height: 38px; padding-inline: 35px 17px; }
  .site-header .language-globe { width: 18px; height: 18px; padding: 4px; }
  .language-chevron { inset-inline-end: 7px; }
}
@media (max-width: 360px) {
  #site-language { width: 112px; padding-inline: 34px 15px; }
  .language-chevron { inset-inline-end: 6px; }
}
