/* 多语言导航、长文本、东南亚文字与从右向左适配 */
.language-menu{position:relative;flex:0 0 auto;font-size:12px;color:#16232e;direction:ltr}
.language-menu>summary{display:flex;align-items:center;justify-content:center;gap:7px;list-style:none;cursor:pointer;min-height:38px;padding:0 10px;border:1px solid #dce1e5;border-radius:3px;background:#fff;color:#16232e;white-space:nowrap;font-weight:500}
.language-menu>summary::-webkit-details-marker{display:none}
.language-menu>summary svg{width:17px;height:17px;flex:none}
.language-menu>summary:hover,.language-menu>summary:focus-visible{border-color:#9d1926;outline-offset:3px}
.language-options{position:absolute;inset-inline-end:0;top:calc(100% + 9px);display:grid;grid-template-columns:1fr 1fr;gap:2px;min-width:280px;max-height:min(530px,calc(100dvh - 170px));overflow-y:auto;overscroll-behavior:contain;padding:9px;background:#fff;border:1px solid #dce1e5;box-shadow:0 12px 32px #10212d1c;z-index:100;border-radius:4px}
.language-options a{display:flex;align-items:center;min-height:38px;padding:8px 11px!important;color:#16232e!important;white-space:nowrap;font-weight:400;text-decoration:none}
.language-options a[aria-current]{background:#f2f4f5;font-weight:600}
.language-options a:hover,.language-options a:focus-visible{background:#f9edef;color:#9d1926!important;outline-offset:-2px}
html:not([lang=en]):not([lang=zh-CN]) .nav-links{gap:18px}
html:not([lang=en]):not([lang=zh-CN]) .factory-hero-copy{width:46%}
html:not([lang=en]):not([lang=zh-CN]) .factory-hero-copy h1{font-size:clamp(34px,4vw,56px);line-height:1.15;overflow-wrap:break-word}
html:not([lang=en]):not([lang=zh-CN]) .title{font-size:clamp(30px,3.4vw,48px);overflow-wrap:break-word}
html:not([lang=en]):not([lang=zh-CN]) .product-card h3{overflow-wrap:anywhere}
html[dir=rtl] body{direction:rtl;font-family:Tahoma,Arial,sans-serif}
html[dir=rtl] .brand,html[dir=rtl] .brand-text,html[dir=rtl] .utility-contacts,html[dir=rtl] .certificate-facts dd{direction:ltr}
html[dir=rtl] .language-menu{direction:rtl}
html[dir=rtl] .language-options{direction:ltr;left:0;right:auto}
html[dir=rtl] .factory-hero-copy,html[dir=rtl] .company-copy,html[dir=rtl] .quality-copy,html[dir=rtl] .contact-box,html[dir=rtl] .detail-copy{text-align:right}
html[dir=rtl] .factory-hero-copy{margin-left:auto;margin-right:0}
html[dir=rtl] .factory-hero-shade{background:linear-gradient(270deg,#f4f5ef 0%,rgba(244,245,239,.98) 23%,rgba(244,245,239,.84) 34%,rgba(244,245,239,.3) 49%,rgba(244,245,239,0) 65%)}
html[dir=rtl] .ui-icon-arrow,html[dir=rtl] .ui-icon-breadcrumb{transform:scaleX(-1)}
html[dir=rtl] .breadcrumb,html[dir=rtl] .breadcrumbs{direction:rtl}
html[dir=rtl] input[type=search]{text-align:right}
html[dir=rtl] .spec-table,html[dir=rtl] .spec-table th,html[dir=rtl] .spec-table td{text-align:right}
html[dir=rtl] .brand-text{text-align:left}
html[dir=rtl] .product-link{margin-right:0;margin-left:auto}
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{letter-spacing:0;line-height:1.3}
html[dir=rtl] .factory-hero-visual{inset:0 23% 0 0}
html[dir=rtl] .factory-hero-location{left:auto;right:48px;letter-spacing:0}
html[dir=rtl] .factory-hero-location span+span{padding-left:0;padding-right:20px;border-left:0;border-right:1px solid #9ba69a}
@media(min-width:751px){html:not([lang=en]):not([lang=zh-CN]) .nav-links{gap:clamp(9px,1.2vw,18px);font-size:11px}html:not([lang=en]):not([lang=zh-CN]) .site-nav .nav-links>a:not(.btn),html:not([lang=en]):not([lang=zh-CN]) .site-nav .product-menu summary{font-size:11px}html:not([lang=en]):not([lang=zh-CN]) .site-nav .nav-links>.btn{padding-inline:13px;font-size:11px}.language-menu>summary{max-width:145px}}
@media(max-width:750px){html:not([lang=en]):not([lang=zh-CN]) .site-nav .nav-links{gap:5px 8px;width:153px;grid-template-columns:max-content minmax(0,1fr)}html:not([lang=en]):not([lang=zh-CN]) .site-nav .nav-links>.btn{min-width:0;white-space:normal;text-align:center;line-height:1.2;font-size:10px;padding:4px 6px}html:not([lang=en]):not([lang=zh-CN]) .site-nav .product-menu summary{font-size:11px}.site-nav .language-menu{grid-column:1/-1;order:2;width:100%;margin-top:7px}.language-menu>summary{width:100%;font-size:11px;min-height:31px}.language-options{min-width:250px;max-width:calc(100vw - 30px);inset-inline-end:0}.language-options a{font-size:12px}html[dir=rtl] .language-options{left:0;right:auto}html[dir=rtl] .factory-hero-location{right:22px}}
@media(min-width:751px) and (max-width:1000px){html:not([lang=en]):not([lang=zh-CN]) .site-nav .nav-links{gap:8px}html:not([lang=en]):not([lang=zh-CN]) .site-nav .nav-links>a:not(.btn),html:not([lang=en]):not([lang=zh-CN]) .site-nav .product-menu summary{font-size:10px}html:not([lang=en]):not([lang=zh-CN]) .site-nav .nav-links>.btn{font-size:10px;padding-inline:10px}.language-menu>summary{font-size:10px;padding-inline:7px;gap:5px;min-height:34px}}
@media(min-width:751px) and (max-width:1000px){html:not([lang=en]):not([lang=zh-CN]) .site-nav .brand-logo{width:42px;height:50px}html:not([lang=en]):not([lang=zh-CN]) .site-nav .brand{gap:9px}html:not([lang=en]):not([lang=zh-CN]) .site-nav .brand-text b{font-size:21px}html:not([lang=en]):not([lang=zh-CN]) .site-nav .brand-text small{font-size:7px!important;letter-spacing:.08em}}
@media(max-width:700px){html:not([lang=en]):not([lang=zh-CN]) .factory-hero-copy{width:100%}html[dir=rtl] .factory-hero-visual{inset:auto 0 0}html[dir=rtl] .factory-hero-shade{background:linear-gradient(180deg,#f4f5ef 0%,#f4f5ef 46%,rgba(244,245,239,.95) 51%,rgba(244,245,239,.15) 64%,rgba(244,245,239,0) 76%)}html[dir=rtl] .factory-hero-location{left:24px;right:24px}html[dir=rtl] .factory-hero-location span+span{padding:0;border:0}}
@media(max-width:600px){html:not([lang=en]):not([lang=zh-CN]) .factory-hero-actions{flex-wrap:wrap}html:not([lang=en]):not([lang=zh-CN]) .title{font-size:30px}.language-options{grid-template-columns:1fr 1fr}.language-options a{padding:8px!important}}
html[lang=th] body{font-family:"Thonburi","Leelawadee UI",Tahoma,sans-serif}
html[lang=km] body{font-family:"Khmer Sangam MN","Leelawadee UI","Noto Sans Khmer",sans-serif}
html[lang=lo] body{font-family:"Lao Sangam MN","Leelawadee UI","Noto Sans Lao",sans-serif}
html[lang=ja] body{font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",sans-serif}
html[lang=ko] body{font-family:"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
html:is([lang=ja],[lang=ko]) :is(h1,h2,h3,.title,.factory-hero-copy h1){letter-spacing:0;line-height:1.4;word-break:normal;overflow-wrap:anywhere}
html[lang=ko] :is(p,dd,dt,h1,h2,h3){word-break:keep-all;overflow-wrap:anywhere}
html:is([lang=ja],[lang=ko]) .factory-hero-copy h1{font-size:clamp(32px,3.6vw,51px)}
html:is([lang=th],[lang=km],[lang=lo]) :is(h1,h2,h3,.title,.factory-hero-copy h1){letter-spacing:0;line-height:1.5;overflow-wrap:anywhere;word-break:normal}
html:is([lang=th],[lang=km],[lang=lo]) :is(p,dd,dt,.nav-links,figcaption){line-height:1.9;letter-spacing:0;overflow-wrap:anywhere}
html:is([lang=th],[lang=km],[lang=lo]) .factory-hero-copy h1{font-size:clamp(31px,3.3vw,47px);line-height:1.45}
.language-options a:lang(th),.language-options a:lang(km),.language-options a:lang(lo){line-height:1.9;font-family:system-ui,sans-serif}
@media(max-width:750px){html:is([lang=th],[lang=km],[lang=lo]) .site-nav .nav-links>a:not(.btn){white-space:normal;line-height:1.6;max-width:78px}.language-options{max-height:min(460px,calc(100dvh - 200px))}}
@media(max-width:700px){html:is([lang=th],[lang=km],[lang=lo],[lang=fil]) .factory-hero-inner{min-height:740px;padding-bottom:370px}html:is([lang=th],[lang=km],[lang=lo]) .factory-hero-copy h1{font-size:34px;line-height:1.45}html:is([lang=th],[lang=km],[lang=lo],[lang=fil]) .factory-hero-shade{background:linear-gradient(0deg,rgba(244,245,239,0) 0,rgba(244,245,239,0) 220px,rgba(244,245,239,.8) 330px,#f4f5ef 380px)}}
