/* am-language-v2: preserve AM theme, keep controls beside their navigation */
.header-tools{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex:1;min-width:0;flex-wrap:wrap}.site-header .header-tools nav{flex-wrap:wrap;min-width:0}.language-control{display:inline-flex;align-items:center;gap:8px;font-size:11px;line-height:1.5;color:#596f60;white-space:nowrap}.language-control select{min-height:44px;min-width:156px;padding:9px 28px 9px 12px;font:inherit;font-size:12px;color:#173d32;background:#eeeee6;border:1px solid #cdd5c7;border-radius:6px;cursor:pointer}.language-control select:focus-visible{outline:3px solid #82a451;outline-offset:3px}html:not([lang=zh-CN]) .company h1{font-size:clamp(26px,3vw,40px);line-height:1.3}html:not([lang=zh-CN]) .category-nav a,html:not([lang=zh-CN]) .category-nav span{min-width:0;overflow-wrap:anywhere}html:not([lang=zh-CN]) .group-heading>div{min-width:0}html:not([lang=zh-CN]) .spec-list dt,html:not([lang=zh-CN]) .spec-list dd{overflow-wrap:anywhere}html:not([lang=zh-CN]) .purchase-actions button{font-family:inherit;font-size:13px;font-weight:600}.site-header .cart-nav [data-cart-count]{margin-left:0}.language-control select option{color:#173d32}
@media(max-width:1100px){.header-tools{gap:12px}.site-header .header-tools nav{gap:10px 18px}.admin-header .header-tools{flex-basis:100%;justify-content:space-between}}
@media(max-width:680px){.site-header .header-tools{width:100%;flex-basis:100%;gap:12px;justify-content:flex-end}.site-header .header-tools nav{gap:4px 8px}.language-control{font-size:10px}.language-control select{min-width:150px}.admin-header .header-tools{gap:12px}.admin-header .header-actions{width:auto;flex:1;justify-content:flex-start;gap:10px}html:not([lang=zh-CN]) .company h1{font-size:23px}html:not([lang=zh-CN]) .company .products-heading{align-items:flex-start}html:not([lang=zh-CN]) .company-logo{width:64px}html:not([lang=zh-CN]) .category-nav span{font-size:11px;line-height:1.5}html:not([lang=zh-CN]) .site-header nav a{overflow-wrap:anywhere;text-align:center}html:not([lang=zh-CN]) .group-heading h3{font-size:17px;line-height:1.5}}

/* am-language-presentation-v1: compact site-native controls with full accessible names. */
.language-control [hidden]{display:none!important}
.language-shortcuts{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:2px;max-width:100%;min-width:0;overflow-x:auto;scrollbar-width:thin}
.language-shortcuts>button{flex:none;font-family:inherit;font-size:var(--am-language-size,12px);line-height:1.4;min-height:44px;min-width:28px;padding:4px 2px;border:0;border-radius:0;color:inherit;background:transparent;cursor:pointer;white-space:nowrap}
.language-shortcuts>button[aria-pressed=true]{font-weight:700;text-decoration:underline;text-underline-offset:5px}
.language-shortcuts>span{font-size:var(--am-language-size,12px);margin:0 2px;opacity:.55}
.language-control[data-language-switch-style=short]>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
html[data-site-theme] body :is(.site-header,.admin-header) .language-control select{min-width:0;width:auto;max-width:100%;min-height:44px;font-family:inherit;font-size:var(--am-language-size,12px);padding:4px 22px 4px 6px;background:transparent;border:0;border-radius:0;box-shadow:none;color:inherit}
html[data-site-theme] body :is(.site-header,.admin-header) .language-shortcuts>button{background:transparent;color:inherit;border:0}
.language-shortcuts>button:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
