/* Multilingual navigation works without JavaScript; native details is keyboard accessible. */
.languages { position:relative; display:block; z-index:40; white-space:normal; }
.language-picker summary { cursor:pointer; padding:8px 12px; border:1px solid #ffffff60; border-radius:5px; white-space:nowrap; list-style:revert; }
.language-picker[open] summary { background:#fff; color:#102d4e; }
.language-options { position:absolute; inset-inline-end:0; top:calc(100% + 6px); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:min(330px,calc(100vw - 32px)); gap:4px; padding:12px; background:white; color:#102d4e; box-shadow:0 10px 40px #102d4e30; border:1px solid #d5e1ea; border-radius:8px; }
.utility .language-options a { padding:10px 12px; color:#102d4e; border-radius:4px; font:500 15px/1.5 Arial,sans-serif; text-align:start; text-decoration:none; }
.language-options a:hover,.language-options a:focus-visible,.language-options a[aria-current=true] { background:#e8eff7; outline-offset:2px; color:#102d4e; }
html:not([lang=en]):not([lang=zh-CN]) :is(h1,h2,h3,.eyebrow,.navigation,.topbar) { letter-spacing:normal; }
html:not([lang=en]):not([lang=zh-CN]) .hero h1 { font-size:clamp(30px,3.5vw,49px); line-height:1.25; overflow-wrap:anywhere; }
.navigation { flex-wrap:wrap; }
.navigation>a { overflow-wrap:anywhere; }
:is(.product-card,.inquiry-item,.consultation-panel,.quote-summary) { min-width:0; }
:is(.product-card h3,.page-title,.section-heading h2) { overflow-wrap:anywhere; }
html[lang=ja] body { font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,Arial,sans-serif; }
html[lang=ko] body { font-family:"Apple SD Gothic Neo","Malgun Gothic",Arial,sans-serif; }
html[lang=ar] body { font-family:Tahoma,"Geeza Pro",Arial,sans-serif; }
html[lang=ar] :is(p,li,button,label,small,summary,td) { line-height:1.8; letter-spacing:normal; }
html[dir=rtl] :is(.brand,.contact-account,.qr-code,svg,.spec-table,.reference-table) { direction:ltr; }
html[dir=rtl] :is(input[type=number],input[type=email],input[name=size],input[name=length],input[name=dimensions],input[name=standard],.reference-size) { direction:ltr; text-align:start; }
html[dir=rtl] .hero .eyebrow::before { margin-inline-start:0; margin-inline-end:12px; }
html[dir=rtl] .hero-copy { padding-left:0; padding-right:35px; min-width:0; }
html[dir=rtl] .hero { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
html[dir=rtl] .consultation-launcher { direction:rtl; }
#consultation-dialog[dir=rtl] :is(.chat-message,.consultation-context,.im-draft) { text-align:start; }
#chat-input { unicode-bidi:plaintext; }
@media(max-width:600px) {
 .language-picker summary { padding:6px 9px; font-size:13px; }
 .topbar { gap:10px; }
 .topbar>span { min-width:0; font-size:10px; letter-spacing:.04em; }
 .navigation { gap:0 16px; }
 .navigation>a { padding:10px 0; font-size:13px; }
 html:not([lang=en]):not([lang=zh-CN]) .hero h1 { font-size:28px; line-height:1.35; }
 .chat-toolbar { flex-wrap:wrap; gap:8px; }
 .chat-toolbar select { max-width:140px; }
 html:not([lang=en]):not([lang=zh-CN]):not([lang=th]) .hero { grid-template-columns:minmax(0,1fr); }
 html:not([lang=en]):not([lang=zh-CN]):not([lang=th]) .hero-copy { padding:28px 25px 12px; min-width:0; }
 html:not([lang=en]):not([lang=zh-CN]):not([lang=th]) .hero-copy>p { max-width:none; font-size:12px; }
 html:not([lang=en]):not([lang=zh-CN]):not([lang=th]) .hero .eyebrow { font-size:9px; }
 html:not([lang=en]):not([lang=zh-CN]):not([lang=th]) .hero-product { width:210px; padding:18px 25px 30px; justify-self:center; }
 html:not([lang=en]):not([lang=zh-CN]):not([lang=th]) .hero-caption { font-size:7px; max-width:none; }
}
