/* Shared public navigation for the storefront and account pages. */
.ml-global-header{position:sticky;top:0;z-index:60;background:rgba(244,245,241,.97);border-bottom:1px solid #dce1dc;backdrop-filter:blur(14px)}
.ml-global-header .ml-nav{width:min(1180px,calc(100% - 40px));min-height:72px;margin:auto;display:flex;align-items:center;gap:30px;position:relative}
.ml-global-header .brand{display:inline-flex;align-items:center;gap:10px;flex:none;color:#111827;font-family:Inter,'Segoe UI',sans-serif;font-size:22px;font-weight:850;line-height:1.2;letter-spacing:-.045em;text-decoration:none;white-space:nowrap}
.ml-global-header .ml-brand-mark{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:9px;background:#111827;color:#c8f568;font:800 19px/1 Inter,'Segoe UI',sans-serif;letter-spacing:0}
.ml-global-header .ml-links{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,1.9vw,27px);min-width:0}
.ml-global-header .ml-links a{color:#202a32;font-size:14px;font-weight:650;line-height:1.35;white-space:nowrap;text-decoration:none}
.ml-global-header .ml-links a:hover,.ml-global-header .ml-links a[aria-current=page]{color:#42651b;text-decoration:underline;text-underline-offset:6px}
.ml-global-header .ml-links .ml-account{padding:8px 13px;border:1px solid #c4ccc3;border-radius:8px;text-decoration:none}
.ml-global-header .ml-links .ml-account:hover{border-color:#547138}
.ml-global-header .ml-links .lang{background:transparent;border:1px solid #b8c0be;border-radius:8px;padding:7px 11px;color:#111827;font:650 13px/1.4 Inter,'Segoe UI',sans-serif;cursor:pointer;white-space:nowrap;text-decoration:none}
.ml-global-header .ml-links .lang:hover{border-color:#42651b;background:#ebf5dc}
.ml-global-header .ml-menu-toggle{display:none}
.ml-global-footer{border-top:1px solid #dce1dc;background:#f4f5f1;color:#566473;padding:27px 0;font:14px/1.5 Inter,'Segoe UI','Microsoft YaHei',sans-serif}
.ml-global-footer .ml-footer-inner{width:min(1180px,calc(100% - 40px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px 24px;flex-wrap:wrap}
.ml-global-footer .ml-footer-identity{display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.ml-global-footer .ml-footer-brand{color:#111827;font-weight:800;letter-spacing:-.03em}
.ml-global-footer small{font-size:12px;color:#6a7580}
.ml-global-footer nav{display:flex;align-items:center;justify-content:flex-end;gap:12px 23px;flex-wrap:wrap;min-height:0}
.ml-global-footer nav a{color:#35424c;font-size:13px;font-weight:600;text-decoration:none}
.ml-global-footer nav a:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:960px){
 .ml-global-header .ml-nav{width:min(1180px,calc(100% - 32px));min-height:64px;justify-content:space-between;gap:12px}
 .ml-global-header .brand{font-size:20px}
 .ml-global-header .ml-menu-toggle{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:8px 12px;border:1px solid #c3cac5;border-radius:10px;background:#fff;color:#111827;font:700 14px/1.2 Inter,'Segoe UI','Microsoft YaHei',sans-serif;cursor:pointer}
 .ml-global-header .ml-menu-toggle svg{width:20px;height:20px;flex:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;fill:none}
 .ml-global-header .ml-links{display:none!important;position:absolute;top:calc(100% + 7px);left:0;right:0;margin:0;padding:10px;background:#fff;border:1px solid #dce1dc;border-radius:13px;box-shadow:0 16px 40px rgba(17,24,39,.14);max-height:calc(100dvh - 86px);overflow:auto;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:1px;z-index:61}
 .ml-global-header .ml-links.is-open{display:flex!important}
 .ml-global-header .ml-links a,.ml-global-header .ml-links .lang{display:block;width:100%;padding:11px 12px;border:0;border-radius:8px;text-align:left;font-size:15px;line-height:1.4;white-space:normal;min-height:42px}
 .ml-global-header .ml-links a:hover,.ml-global-header .ml-links .lang:hover{background:#eef5e4;text-decoration:none}
 .ml-global-header .ml-links .ml-account{border-top:1px solid #e7eae7;border-radius:0;margin-top:4px;padding-top:13px}
 .ml-global-header .ml-links .lang{border-top:1px solid #e7eae7;border-radius:0;margin-top:4px;padding-top:13px}
 .ml-global-footer .ml-footer-inner{width:min(1180px,calc(100% - 32px));align-items:flex-start}
 .ml-global-footer nav{justify-content:flex-start}
}
@media(max-width:540px){.ml-global-footer .ml-footer-inner{display:block}.ml-global-footer .ml-footer-identity{gap:5px 12px;margin-bottom:17px}.ml-global-footer nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.ml-global-footer nav a{font-size:14px}}

/* Release accessibility and layout fixes. */
[hidden]{display:none!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #665ed2;outline-offset:3px}
html{scroll-padding-top:100px}html[lang^="zh"] h1,html[lang^="zh"] h2,html[lang^="zh"] h3{letter-spacing:0;line-height:1.35}
html:not([lang^="zh"]) .cn-subtitle{display:none}
.ml-global-header .ml-links .lang{min-height:40px;display:inline-flex;align-items:center}
@media(max-width:600px){.product-info,.hero-copy,.card,.box{min-width:0}.hero h1{overflow-wrap:anywhere}dialog{max-width:calc(100vw - 24px)}.table-scroll{max-width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
