/* Language control and direction overrides. Original design and motion styles remain intact. */
/* Keep the header's physical order stable while Arabic content stays RTL. */
.site-header,.site-header .header-inner,.site-header .header-actions{direction:ltr}
.site-header .wordmark{direction:ltr;text-align:left}
.language-switcher{position:relative;display:inline-flex;align-items:center;flex:0 0 104px;width:104px;height:37px;color:#73787d;transition:color 200ms ease}
.language-switcher:hover,.language-switcher:focus-within{color:#1b2024}
.language-globe{position:absolute;left:0;top:50%;width:15px;height:15px;transform:translateY(-50%);pointer-events:none}
.language-switcher:after{content:'';position:absolute;right:3px;top:15px;width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);pointer-events:none}
.site-language{appearance:none;-webkit-appearance:none;display:block;width:100%;max-width:none;min-width:0;min-height:37px;height:37px;margin:0;padding:0 17px 0 24px;background:transparent;border:0;box-shadow:none;color:inherit;font-size:12px;font-weight:400;line-height:normal;cursor:pointer;direction:ltr;text-align:left}
.site-language option{color:#1b2024;background:#fff}
.site-language:focus-visible{outline:2px solid #46758b;outline-offset:4px}
.header-inner{gap:22px}.header-actions{gap:18px;flex-shrink:0}
html[lang="zh-CN"]{--font:Arial,"Microsoft YaHei","PingFang SC",sans-serif}
html[lang="ar"]{--font:Tahoma,Arial,sans-serif}
html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h3,html[lang="ar"] .eyebrow,html[lang="ar"] .micro,html[lang="ar"] .wordmark *,html[lang="ar"] .preview-ribbon,html[lang="ar"] .technical-label,html[lang="ar"] .hero-bottom,html[lang="ar"] .hero-note,html[lang="ar"] .placeholder-label,html[lang="ar"] .tag{letter-spacing:normal}
html[lang="ar"] .hero h1{line-height:1.3;font-size:clamp(42px,4.5vw,66px)}
html[lang="ar"] .hero-description{line-height:2}
html[lang="ar"] .wordmark{min-width:145px}
[dir="rtl"] ul,[dir="rtl"] ol{padding-left:0;padding-right:22px}
[dir="rtl"] .skip-link{left:auto;right:24px}
[dir="rtl"] .primary-nav>a.active:after{left:auto;right:0}
[dir="rtl"] .ribbon-detail{margin-left:0;margin-right:13px}
[dir="rtl"] .tag{left:auto;right:16px}
[dir="rtl"] .tag-inline{margin-left:0;margin-right:15px}
[dir="rtl"] .brand-grid .icon{margin-left:0;margin-right:auto}
[dir="rtl"] .brand-grid>a{border-right:0;border-left:1px solid #e2e7e9}
[dir="rtl"] .brand-grid>a:first-child{border-right:1px solid #e2e7e9}
[dir="rtl"] .catalog-search{padding-left:0;padding-right:18px}
[dir="rtl"] .catalog-search input{text-align:start}
[dir="rtl"] .filter-group select{padding-left:30px;padding-right:12px}
[dir="rtl"] .spec-table>div:nth-child(odd){border-right:0;border-left:1px solid #e2e7e9}
[dir="rtl"] .detail-information th,[dir="rtl"] .detail-information td,[dir="rtl"] .catalog-footnote{text-align:right}
[dir="rtl"] .scope-grid>div{margin-right:0;margin-left:25px;padding-right:0;padding-left:25px}
[dir="rtl"] .button>.icon,[dir="rtl"] .text-link>.icon,[dir="rtl"] .round-link>.icon,[dir="rtl"] .hero-secondary>.icon,[dir="rtl"] .brand-grid>a>.icon{transform:scaleX(-1)}
[dir="rtl"] .detail-sku,[dir="rtl"] .product-card-body>.micro,[dir="rtl"] .rfq-item .micro{direction:ltr;unicode-bidi:isolate;text-align:right}
[dir="rtl"] input[type="email"],[dir="rtl"] input[type="tel"],[dir="rtl"] input[type="number"]{direction:ltr;unicode-bidi:isolate}
.language-switcher option[lang="ar"]{direction:rtl}
@media(min-width:1001px) and (max-width:1150px){.primary-nav{gap:24px}.wordmark{min-width:155px}.inquiry-text{display:none}}
@media(max-width:1000px){.header-inner{gap:14px}.header-actions{gap:14px}}
@media(max-width:600px){
 .language-switcher{flex-basis:88px;width:88px}.site-language{font-size:11px;padding-left:22px;padding-right:12px}.language-globe{width:14px;height:14px}.language-switcher:after{right:1px}
 .header-actions{gap:9px;flex-shrink:0}.header-inner{gap:9px}.header-inner>.wordmark,html[lang="ar"] .header-inner>.wordmark{min-width:0;max-width:130px}
 .header-inner>.wordmark strong{font-size:14px}.header-inner>.wordmark span{font-size:6px}
 [dir="rtl"] .home-products .tag,[dir="rtl"] .catalog-content .tag{right:10px}
 [dir="rtl"] .catalog-search{padding-right:12px}
 [dir="rtl"] .filter-group select{padding-left:20px;padding-right:9px}
 [dir="rtl"] .spec-table>div:nth-child(odd){border-left:0}
 [dir="rtl"] .scope-grid>div{margin-left:16px;padding-left:16px}
 html[lang="ar"] .hero h1{font-size:43px}
 html[lang="ar"] .brand-grid>a>span:nth-child(2){white-space:normal}
 .preview-ribbon{padding-inline:10px;text-align:center}
}
@media(max-width:370px){.header-inner>.wordmark strong{font-size:12px}.header-actions{gap:8px}.language-switcher{flex-basis:84px;width:84px}.header-inner>.wordmark{max-width:110px}}
