/* Shared multilingual safeguards, with logical alignment for RTL. */
html{scrollbar-gutter:stable}body{min-width:0}
header>nav,header .header-right,.footer-main>*,.footer-languages>*{min-width:0}
.language-picker summary{line-height:1.5;min-height:40px}
.language-links a,.footer-language-options a{min-height:44px;align-content:center}
.language-picker:not([open])>.language-links{display:none!important}
.language-links [aria-current=page]{box-shadow:inset 3px 0 #a0383f}
.site-footer .footer-language-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.site-footer .footer-language-options a{padding:10px 8px;min-width:0}
.site-footer .footer-links a,.site-footer .footer-document-links a,.site-footer .footer-document-links button{white-space:normal;overflow-wrap:anywhere;line-height:1.65;height:auto;min-height:40px}
.site-footer .footer-region-links{align-items:stretch}
.site-footer .footer-region-links a{height:auto;min-height:128px}
.site-footer .footer-language-intro p{max-width:42rem}
html:is(:lang(hi),:lang(ar),:lang(th)) body{font-family:Arial,'Noto Sans',Tahoma,sans-serif;line-height:1.8}
html:is(:lang(hi),:lang(ar),:lang(th)) :is(h1,h2,h3,.direction-title-back,.featured-back strong,.expert-heading,.atlas-question){font-family:Arial,'Noto Sans',Tahoma,sans-serif;letter-spacing:normal;line-height:1.55;text-transform:none}
html:is(:lang(hi),:lang(ar),:lang(th)) .eyebrow{letter-spacing:normal;line-height:1.8}
html:lang(vi) :is(h1,h2,h3,.direction-title-back){line-height:1.4}
html[dir=rtl] :is(.catalog-index,.catalog-service,.direction-card,.service-editorial,.experience-page,.site-footer){text-align:start}
html[dir=rtl] :is(input[type=email],input[type=tel],.footer-email,.price-value,.atlas-orbit,.constellation-board,.expert-universe,.globe-wrap){direction:ltr}
html[dir=rtl] :is(.service-number,.direction-number,.direction-range,.catalog-service-number){unicode-bidi:isolate;direction:ltr}
html[dir=rtl] :is(.featured-front,.featured-back,.footer-brand){text-align:center}
html[dir=rtl] .language-links [aria-current=page]{box-shadow:inset -3px 0 #a0383f}
@media(max-width:1200px){
 body>header:not(.atlas-header){height:auto;min-height:88px;padding:14px 4%;gap:14px;flex-wrap:wrap}
 body>header:not(.atlas-header)>.logo{--locale-logo-width:min(210px,45vw);width:var(--locale-logo-width);height:calc(var(--locale-logo-width)*76/252)}
 body>header:not(.atlas-header)>.logo img{width:calc(var(--locale-logo-width)*270/252);height:calc(var(--locale-logo-width)*270/252);left:calc(var(--locale-logo-width)*-9/252);top:calc(var(--locale-logo-width)*-94/252)}
 body>header:not(.atlas-header)>nav{display:none;position:absolute;inset:100% 0 auto;background:var(--paper);border-bottom:1px solid var(--line);padding:18px 5%;z-index:20;flex-direction:column;gap:6px;max-height:calc(100dvh - 100px);overflow:auto}
 body>header:not(.atlas-header)>nav.open{display:flex}
 body>header:not(.atlas-header)>nav>a{width:100%;min-height:44px;padding:10px;line-height:1.6}
 body>header:not(.atlas-header) .menu{display:block}
 body>header:not(.atlas-header) .header-right{margin-inline-start:auto;gap:10px}
}
@media(max-width:700px){
 .site-footer .footer-language-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
 .site-footer .footer-identity{grid-column:1/-1}
 .site-footer .footer-contact{grid-column:1/-1}
 .site-footer .footer-email{overflow-wrap:anywhere;font-size:clamp(18px,5vw,27px)}
 .site-footer .footer-region-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-footer .footer-languages{grid-template-columns:1fr;gap:22px}
 .site-footer .footer-bottom{flex-wrap:wrap;gap:12px}
 .language-picker .language-links{top:88px;max-height:calc(100dvh - 112px)}
}
@media(max-width:420px){body>header:not(.atlas-header)>.logo{--locale-logo-width:150px}.site-footer .footer-region-links{grid-template-columns:1fr}.site-footer .footer-document-links{display:grid;grid-template-columns:1fr;gap:6px}}

.atlas-language-option[aria-disabled=true]{display:grid;grid-template-columns:1.8em minmax(0,1fr);gap:.45em;align-items:center;min-width:0;min-height:44px;padding:10px 8px;font-size:14px;line-height:1.5;opacity:.58;cursor:default}
.atlas-language-option[aria-disabled=true] .atlas-language-scope{font-size:12px}
