/* Local fonts, natural line wrapping, and explicit isolation for identifiers. */
:lang(ar) { font-family: Tahoma, Arial, sans-serif; line-height: 1.7; }
:lang(th) { font-family: Tahoma, "Leelawadee UI", Arial, sans-serif; line-height: 1.7; word-break: normal; overflow-wrap: anywhere; }
:lang(vi), :lang(pl), :lang(fr) { font-family: Arial, "Segoe UI", sans-serif; }
[dir="rtl"] { text-align: start; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"], [data-enquiry-receipt], .sj-ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .contact-product-fields, [dir="rtl"] .contact-two-fields, [dir="rtl"] .footer-grid, [dir="rtl"] .mega-groups { direction: rtl; }
[dir="rtl"] .contact-field-error, [dir="rtl"] .contact-field-help, [dir="rtl"] .contact-field label, [dir="rtl"] .result-summary { text-align: start; }
[dir="rtl"] .mega-item-arrow { transform: scaleX(-1); }
[dir="rtl"] .contact-team-services li { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .contact-team-services li::before { left: auto; right: 0; }
[dir="rtl"] .contact-preview-note { padding-left: 0; padding-right: 10px; border-left: 0; border-right: 2px solid #cbd8e5; }
[dir="rtl"] .contact-field select { padding-right: 12px; padding-left: 26px; }
[dir="rtl"] .contact-error-summary ul { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .result-reference { border-left: 0; border-right: 3px solid var(--action); }
[dir="rtl"] .result-next .result-notification { padding-left: 0; padding-right: 16px; border-left: 0; border-right: 2px solid var(--control); }
.sj-language-picker { position: relative; flex: 0 0 auto; font-size: 13px; }
.sj-language-picker > summary { display: flex; align-items: center; gap: 8px; padding: 9px 6px; min-height: 44px; border-radius: 6px; cursor: pointer; list-style: none; white-space: nowrap; }
.sj-language-picker > summary:hover, .sj-language-picker[open] > summary { color: var(--action); background: var(--soft); }
.sj-language-picker[open] > summary .chevron { transform: rotate(225deg) translate(-2px,-1px); }
.sj-language-picker > summary::-webkit-details-marker { display: none; }
.sj-language-options { position: absolute; z-index: 120; inset-block-start: calc(100% + 8px); inset-inline-end: 0; width: min(280px, calc(100vw - 32px)); max-height: min(70vh, 580px, calc(100dvh - var(--header-height) - var(--sj-admin-offset, 0px) - 20px)); overflow: auto; padding: 8px; border: 1px solid #dce3e7; border-radius: 12px; background: #fff; color: #182a34; box-shadow: 0 12px 30px #142c3926; }
.sj-language-picker:not([open]) .sj-language-options { display: none; }
.sj-language-options a, .sj-language-unavailable { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 6px; line-height: 1.4; text-align: start; }
.sj-language-options a:hover, .sj-language-options a:focus-visible, .sj-language-options a[aria-current] { background: #eaf3f4; }
.sj-language-options small { font-size: 11px; line-height: 1.5; margin-block-start: 3px; color: #526570; white-space: normal; }
.sj-language-unavailable { opacity: .62; }
.sj-language-suggestion { position: fixed; z-index: 150; inset-inline-end: 16px; inset-block-end: 16px; display: flex; gap: 14px; align-items: center; max-width: calc(100vw - 32px); background: #fff; color: #173d4a; padding: 12px 14px; border: 1px solid #c7dadd; border-radius: 10px; box-shadow: 0 5px 25px #102a3526; }
.sj-language-suggestion[hidden] { display: none; }
.sj-language-suggestion a { text-decoration: underline; text-underline-offset: 3px; }
.sj-language-suggestion button { background: transparent; border: 0; font: inherit; font-size: 22px; padding: 0 3px; cursor: pointer; }
.contact-product-row select { max-width: 100%; }
.contact-field input, .contact-field textarea { text-align: start; }
/* Negative physical left coordinates create a huge scroll area in RTL. */
.contact-honeypot { left: auto; right: auto; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.result-product h4 { unicode-bidi: plaintext; }
.primary-nav .nav-link, .primary-nav > details > summary, .nav-quote { overflow-wrap: normal; }
@media (min-width: 1120px) { [dir="rtl"] .site-header:not([data-navigation-mode=compact]) .mega-column + .mega-column { border-left: 0; padding-left: 0; border-right: 1px solid var(--line); padding-right: 26px; } }
@media (min-width: 1120px) and (max-width: 1399px) { .site-header .header-inner { gap: 20px; } .site-header .primary-nav { gap: 6px; font-size: 14px; } .site-header .primary-nav > details > summary, .site-header .primary-nav > .nav-link { padding-inline: 8px; } .site-header .nav-quote { padding-inline: 16px; } }
@media (max-width: 1119px) {
  .sj-language-picker { margin-inline-start: 0; position: static; }
  .sj-language-picker > summary { max-width: 165px; }
  .sj-language-picker > summary > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
  .header-inner > .menu-toggle { margin-inline-start: auto; }
  .sj-language-options { inset-inline-end: 16px; inset-block-start: calc(100% - 4px); }
}
@media (max-width: 420px) { .sj-language-picker > summary { max-width: 112px; font-size: 12px; } .header-inner { gap: 7px; } }
