/* Long locale lists scroll inside the viewport on desktop and touch. */
.language-options{width:min(310px,calc(100vw - 36px));max-height:min(560px,calc(100dvh - 110px));display:flex;flex-direction:column;inset-inline-end:0;right:auto}
.language-option-list{min-height:0;max-height:360px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:0 2px 2px}
.eloi-premium .nav .language-options a[hidden],.language-empty[hidden]{display:none!important}
.language-search{box-sizing:border-box;width:100%;flex:none;margin:9px 0 5px;min-height:42px;padding:10px 12px;border:1px solid #d5dddd;border-radius:6px;background:#f6f8f8;color:#253137;font:400 14px/1.4 Archivo,Arial,sans-serif}
.language-search:focus-visible{outline:2px solid #f47920;outline-offset:1px;background:#fff}
.language-empty{margin:10px;padding:12px;color:#636769;font:400 14px/1.5 Archivo,Arial,sans-serif}
.language-options a .language-flag{direction:ltr}
/* Keep original brand artwork, technical codes and pack labels oriented LTR. */
html[dir=rtl] body{font-family:Arial,Tahoma,sans-serif}
html[dir=rtl] :is(h1,h2,h3,p,label,input,select,textarea,.nd-kicker){letter-spacing:normal}
html[dir=rtl] :is(.eloi-lockup,.brand-identity,.eloi-labelled-packshot,.eloi-packshot-label,.nd-brand-signature,.brand-animation){direction:ltr}
html[dir=rtl] input:is([type=email],[type=tel],[name=product],[name=products],[name=year],[name=code],[name=engine],[name=quantity]){direction:ltr;text-align:start}
html[dir=rtl] :is(.contact-hero-copy,.content-hero,.range-hero,.finder-top,.market-supply-form,.where-to-buy,.site-footer,.eloi-range-sidebar .nd-sector-tabs button,.grade-swatches button,.range-sector-card){text-align:start}
html[dir=rtl] :is(.language-options a>svg,.nav-links .language-trigger .language-chevron){margin-left:0;margin-inline-start:auto}
html[dir=rtl] :is(#contact-market-enquiry select,.market-supply-form select){background-position:right 14px center,left 14px center;padding-left:40px;padding-right:44px}
html[dir=rtl] .market-supply-form select:not(#supply-country){background-position:left 14px center;padding-right:14px}
html[dir=rtl] :is(#contact-market-enquiry button,.market-supply-form>button[type=submit]):after{content:'←'}
html[dir=rtl] .market-selection{border-left:1px solid #e2e7e6;border-inline-start:3px solid #f47920}
html[dir=rtl] .language-options .language-options-heading{letter-spacing:normal}
@media(max-width:1099px){.nav-links .language-options{max-height:min(520px,70dvh)}.language-option-list{max-height:300px}.language-trigger,.language-search{min-height:46px}}
