.site-header button.language-option { width:100%; border:0; border-radius:0; background:transparent; text-align:left; color:inherit; font-family:inherit; cursor:pointer; }
.site-header button.language-option.is-current { color:#006eb4; font-weight:600; }
.site-header button.language-option:hover { background:#eef5f8; color:#006eb4; }
.site-header button.language-option:focus-visible { outline:2px solid #006eb4; outline-offset:-3px; }
html:is([lang="zh-Hant"],[lang="zh-Hans"]) body.site-system .site-header .brand-name {
  font-size:24px;line-height:1.35;letter-spacing:.06em;font-weight:500;
}
@media(max-width:1000px) {
  html:is([lang="zh-Hant"],[lang="zh-Hans"]) body.site-system .site-header .brand-name {font-size:18px;}
}
html body .site-header .main-nav > .nav-dropdown > .nav-dropdown-toggle > .nav-caret {display:none;}
.site-header .nav-submenu-group > a { border-left:0; }
@media(max-width:1000px) {
  html:is([lang="en"],[lang="ja"]) body.site-system .site-header .brand-name {
    max-width:110px;white-space:normal;overflow-wrap:break-word;
    font-size:12px;line-height:1.35;letter-spacing:0;
  }
  html body.site-system .site-header .main-nav > a.nav-contact,
  html body.site-system .site-header .main-nav > a.nav-contact:is(:hover,:focus-visible),
  html body.site-system .site-header .main-nav > a.current-nav {
    color:#006eb4 !important;
  }
  .site-header .nav-submenu,
  .site-header .nav-submenu-nested { border-left:0; }
}

.mobile-table-hint {display:none;}
.site-footer .footer-address-lines {display:flex;flex-direction:column;gap:3px;min-width:0;}
.site-footer .footer-postal-code,.site-footer .footer-street-address {display:block;}
html body.site-system main figure>.technical-image-note {
  margin:12px 0 0;padding:12px 14px;border-radius:5px;
  background:#edf5f9;color:#365365;font-size:14px;line-height:1.8;
}
@media(max-width:760px) {
  html body.site-system main figcaption {font-size:14px!important;line-height:1.7;}
  html body.site-system main .mobile-table-hint:not([hidden]) {
    display:block;margin:8px 0;padding:0;color:#365365;
    font-size:13px;line-height:1.6;text-align:right;
  }
  html body.site-system main .mobile-table-hint[hidden] {display:none;}
  html body.site-system main .mobile-scroll-table {
    max-width:100%;min-width:0;overflow-x:auto;
    overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;
  }
  html body.site-system main .mobile-scroll-table:focus-visible {
    outline:2px solid #006eb4;outline-offset:3px;
  }
}
/* Longer translated navigation labels wrap inside menus rather than widening the page. */
html:is([lang="en"],[lang="ja"]) .site-header .nav-submenu a,
html:is([lang="en"],[lang="ja"]) .site-header .nav-submenu button { white-space:normal; line-height:1.5; overflow-wrap:break-word; }
html[lang="en"] .site-header .nav-submenu { min-width:230px; }
html[lang="en"] .site-header .main-nav { gap:clamp(12px,1.3vw,24px); }
html[lang="en"] .site-header .main-nav>a,
html[lang="en"] .site-header .nav-dropdown>.nav-dropdown-toggle { font-size:clamp(15px,1.4vw,20px); }
html:is([lang="en"],[lang="ja"]) main :is(h1,h2,h3,h4,p,a,th,td) { overflow-wrap:break-word; }
html[lang="en"] .site-header .brand-name { max-width:115px; white-space:normal; font-size:14px; letter-spacing:.01em; }
html[lang="en"] { --font:"Inter","Noto Sans TC",sans-serif; }
html[lang="ja"] { --font:"Inter","Noto Sans JP",sans-serif; }
html[lang="ja"] body { font-family:"Inter","Noto Sans JP",sans-serif; }
html[lang="en"] body { font-family:"Inter","Noto Sans TC",sans-serif; }
html[lang="en"] .product-detail-hero-copy>a::after { content:' / Product Details'; }
html[lang="ja"] .product-detail-hero-copy>a::after { content:' / 製品詳細'; }
@media(max-width:1000px) {
  html[lang="en"] .site-header .nav-submenu { min-width:0; }
  html[lang="en"] .site-header .main-nav>a,
  html[lang="en"] .site-header .nav-dropdown>.nav-dropdown-toggle { font-size:18px; }
}

/* Center all navigation menu choices consistently across languages. */
html body .site-header :is(.nav-submenu,.nav-submenu-nested) a,
html body .site-header .language-picker-menu button {
  position:relative; justify-content:center; text-align:center;
}
html body .site-header .nav-submenu-group > .nav-submenu-toggle {padding-left:24px;padding-right:24px;}
html body .site-header .nav-submenu-group > .nav-submenu-toggle {
  position:relative; display:flex; align-items:center;
  justify-content:center; text-align:center; width:100%; margin:0;
}
html body .site-header .nav-submenu-group > .nav-submenu-toggle > span {position:absolute;right:8px;top:50%;transform:translateY(-50%);}
html body .site-header .nav-submenu-group.open > .nav-submenu-toggle > span {transform:translateY(-50%) rotate(90deg);}

/* Compact language dropdown, shared by every page. */
.site-footer .footer-links-current {grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;}
.site-footer:has(.footer-links-current) .footer-main {grid-template-columns:minmax(260px,.8fr) minmax(0,1.6fr);gap:5%;}
@media(max-width:1100px) {
  .site-footer:has(.footer-links-current) .footer-main {grid-template-columns:minmax(0,1fr);gap:32px;}
}
@media(max-width:680px) {
  .site-footer .footer-links-current {grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px;}
}
html body .site-header .language-picker-toggle {
  gap:7px; min-height:40px; padding:4px 2px; border:0;
  background:transparent; box-shadow:none; font-size:15px;
}
html body .site-header .language-picker-toggle::before {
  flex-basis:20px; width:20px; height:20px;
}
html body .site-header .language-picker-caret {font-size:16px;}
html body .site-header .language-picker-menu {
  width:112px; min-width:112px; padding:4px;
  box-sizing:border-box; background:#fff; color:#263740;
  border:1px solid #e4ecef; border-radius:6px;
  box-shadow:0 6px 18px #14232c14;
}
html body .site-header .language-picker-menu button.language-option {
  min-height:36px; padding:6px 10px; font-size:14px; line-height:1.5;
  justify-content:center; text-align:center; color:#263740;
}
html body .site-header .language-picker-menu button.language-option.is-current {
  color:#006eb4; font-weight:600;
}
html body .site-header .language-picker-menu button.language-option:hover {
  background:#eef5f8; color:#006eb4;
}
@media(max-width:1000px) {
  html body .site-header .main-nav > a,
  html body .site-header .main-nav > .nav-dropdown > a.nav-dropdown-toggle {
    color:#263746 !important;
  }
  html body .site-header .main-nav > a:hover,
  html body .site-header .main-nav > .nav-dropdown > a.nav-dropdown-toggle:is(:hover,:focus-visible),
  html body .site-header .main-nav > .nav-dropdown > a.current-nav {
    color:#006eb4 !important;
  }
  html body .site-header .language-picker-toggle {min-height:44px;}
  html body .site-header .language-picker-menu button.language-option {min-height:44px;}
}

/* Give Japanese navigation room beside the longer company name. */
@media(min-width:1001px){
 html[lang="ja"] body.site-system .site-header .brand-name{max-width:190px;white-space:normal;font-size:16px;line-height:1.5;letter-spacing:.02em;}
 html[lang="ja"] body.site-system .site-header .main-nav{gap:clamp(18px,1.6vw,28px);}
 html[lang="ja"] body.site-system .site-header .main-nav>a,
 html[lang="ja"] body.site-system .site-header .nav-dropdown>.nav-dropdown-toggle{font-size:clamp(16px,1.3vw,20px);letter-spacing:0;}
}

/* Use the same drawn chevron for link and button submenu toggles. */
html body.site-system .site-header .nav-submenu-group>.nav-submenu-toggle>span{
 position:absolute;right:12px;top:50%;display:block;width:6px;height:6px;
 padding:0;margin:0;font-size:0!important;line-height:0!important;
 color:#006eb4;border:0;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;
 transform:translateY(-50%) rotate(45deg);transform-origin:center;
}
html body.site-system .site-header .nav-submenu-group.open>.nav-submenu-toggle>span{
 transform:translateY(-50%) rotate(135deg);
}

@media(min-width:1001px){html body.site-system .nav-applications-dropdown .nav-submenu-nested{left:auto;right:calc(100% - 2px);min-width:240px;max-width:320px}}

/* Give every primary dropdown the same frame and row spacing. */
@media(min-width:1001px){
 html body.site-system .site-header .main-nav>.nav-dropdown>.nav-submenu{width:210px;min-width:210px;box-sizing:border-box;padding:8px;}
 html body.site-system .site-header .main-nav>.nav-dropdown>.nav-submenu>a,
 html body.site-system .site-header .main-nav>.nav-dropdown>.nav-submenu>.nav-submenu-group>.nav-submenu-toggle{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:56px;width:100%;margin:0;padding:12px 24px;line-height:1.5;}
 html body.site-system .site-header .main-nav>.nav-dropdown>.nav-submenu>.nav-submenu-group>.nav-submenu-toggle{border-bottom:0;}
}

/* Flat dropdown treatment. */
@media(min-width:1001px){
 html body.site-system .site-header .main-nav>.nav-dropdown>.nav-submenu,
 html body.site-system .site-header .nav-submenu-nested{
  background:#f5f7f8;border:1px solid #dce3e7;border-radius:0;box-shadow:none;
 }
 html body.site-system .site-header .nav-submenu a:hover,
 html body.site-system .site-header .nav-submenu a:focus-visible,
 html body.site-system .site-header .nav-submenu-toggle:hover,
 html body.site-system .site-header .nav-submenu-toggle:focus-visible{
  background:#eaf0f3;color:#006eb4;
 }
}
