/* Shared language control and directional layout; product imagery is never mirrored. */
body[data-locale] .site-language-switch{position:relative;display:block;min-height:44px;white-space:nowrap}
body[data-locale] .site-language-switch>summary{display:flex;align-items:center;gap:12px;min-height:44px;padding:0 2px;color:#eee;cursor:pointer;list-style:none;border-bottom:2px solid #57afd1}
body[data-locale] .site-language-switch>summary::-webkit-details-marker{display:none}
body[data-locale] .language-options{position:absolute;inset-inline-end:0;top:100%;z-index:1100;display:flex;flex-direction:column;min-width:160px;padding:10px 18px;background:#111;border:1px solid #ffffff26}
body[data-locale] .language-options>a{display:flex;align-items:center;min-height:44px;color:#bbc3c9;text-decoration:none;border-bottom:1px solid #ffffff20;text-align:start}
body[data-locale] .language-options>a:last-child{border-bottom:0}
body[data-locale] .language-options>a[aria-current],body[data-locale] .language-options>a:hover{color:#fff;text-decoration:underline;text-decoration-color:#57afd1;text-underline-offset:7px}
body[data-locale] .site-language-switch :is(summary,a):focus-visible{outline:2px solid #77c8ea;outline-offset:4px}
@media(max-width:767px){body[data-locale] .site-language-switch{width:100%;max-width:280px}body[data-locale] .language-options{position:static;margin-top:12px;border:0;padding:0;min-width:0}body[data-locale] .site-language-switch>summary{width:fit-content}}
html[dir=rtl] body{font-family:Tahoma,Arial,system-ui,sans-serif}
html[dir=rtl] body[data-locale] :is(.mega-menu-intro,.mega-menu-links,.product-description,.category-introduction,.neirong,.contact-info,.product-outline,.outline-toggle,.product-sections,.inquiry-form,.catalog-directory){text-align:right}
html[dir=rtl] body[data-locale] .product-description>div{ text-align:right!important }
html[dir=rtl] body[data-locale] :is(p,li,dd){line-height:1.9}
html[dir=rtl] body[data-locale] .navigation-utilities{margin-left:0;padding-left:0!important;margin-right:12px;padding-right:16px!important;border-left:0;border-right:1px solid #ffffff26}
html[dir=rtl] body[data-locale] .product-sections{border-left:0;border-right:1px solid var(--color-rule)}
html[dir=rtl] body[data-locale] .product-sections>a{border-left:0;border-right:2px solid transparent;margin-left:0;margin-right:-1px;padding:10px 16px 10px 0}
html[dir=rtl] body[data-locale] .product-sections>a[aria-current]{border-right-color:var(--color-accent)}
html[dir=rtl] body[data-locale] .outline-current{margin-left:0;margin-right:auto}
html[dir=rtl] :is(a[href^="tel:"],a[href^="mailto:"],input[type=email],input[type=tel],input[type=number],.footer-whatsapp-number,.model-selection-grid strong,.outline-progress,.catalog-book,.catalog-pagination){direction:ltr;unicode-bidi:isolate}
html[dir=rtl] body[data-locale] .breadcrumb{display:flex;flex-wrap:wrap;justify-content:flex-start;direction:rtl}
html[dir=rtl] body[data-locale] .breadcrumb>li+li::before{transform:scaleX(-1)}
html[dir=rtl] body[data-locale] .mega-menu-catalog small{margin-left:0;margin-right:20px}
@media(min-width:768px){html[dir=rtl] body[data-locale] .product-intro>.col-md-6{float:right}}
@media(max-width:767px){html[dir=rtl] body[data-locale] .navbar-header .navbar-toggle{float:left;margin-right:0;margin-left:15px}html[dir=rtl] body[data-locale] .navbar-brand{float:right}html[dir=rtl] body[data-locale] .mobile-view .navigation-utilities{margin-right:0;border:0;padding:12px 18px!important}html[dir=rtl] body[data-locale] .mega-menu-catalog small{margin:4px 0 0}}

html[dir=rtl] body[data-locale] .inquiry-trap{left:auto;right:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);pointer-events:none}
html[dir=rtl] body[data-locale] .footer-wechat-popover{left:auto;right:0}

html[dir=rtl] body[data-locale] .footer :is(p,.footer-heading){text-align:right}
/* Longer translated labels switch to the existing compact navigation earlier. */
@media(min-width:768px) and (max-width:959px){
 body:is([data-locale=es],[data-locale=ar],[data-locale=ru])>.desktop-view:has(>.navbar-fixed-top){display:none!important}
 body:is([data-locale=es],[data-locale=ar],[data-locale=ru])>.mobile-view:has(>.navbar-fixed-top){display:block!important}
 body[data-locale] .mobile-view .navbar-header{width:100%;float:none;min-height:70px}
 body[data-locale] .mobile-view .navbar-toggle{display:block;margin-top:18px;margin-bottom:18px}
 body[data-locale] .mobile-view .navbar-brand{display:flex;align-items:center;height:70px;padding:0 15px}
 body[data-locale] .mobile-view .navbar-brand img{width:178px}
 body[data-locale] .mobile-view .navbar-collapse.collapse{display:none!important}
 body[data-locale] .mobile-view .navbar-collapse.in{display:block!important}
 body[data-locale] .mobile-view .navbar-collapse{clear:both;background:#111;border-top:1px solid #303030;max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain}
 body[data-locale] .mobile-view .navbar-nav{display:block;float:none!important;margin:0}
 body[data-locale] .mobile-view .primary-navigation>li{float:none;border-bottom:1px solid #292929}
 body[data-locale] .mobile-view .primary-navigation>li>a{display:block;padding:14px 18px;min-height:50px;font-size:16px;line-height:1.5;color:#eee}
 body[data-locale] .mobile-view .dropdown-menu{position:static;float:none;width:100%;margin:0;padding:4px 20px 20px;border:0;background:#111}
 body[data-locale] .mobile-view .mega-menu-intro>:is(.mega-menu-title,.mega-menu-description){display:none}
 body[data-locale] .mobile-view .mega-menu-links{grid-template-columns:1fr}
 body[data-locale] .mobile-view .navigation-utilities{margin:8px 0 0;padding:12px 18px!important;border:0}
 body[data-locale] .mobile-view .site-language-switch{width:100%;max-width:280px}
 body[data-locale] .mobile-view .site-language-switch>summary{width:fit-content}
 body[data-locale] .mobile-view .language-options{position:static;padding:0;border:0}
 html[dir=rtl] body[data-locale] .mobile-view .navbar-toggle{float:left;margin-left:15px;margin-right:0}
}
