/* Shared storefront account navigation. Native details remains usable without JS. */
.brand-commerce{--account-ink:var(--platform-ink,var(--growth-text,#18372b));--account-paper:var(--platform-paper,var(--growth-panel,#fff));--account-line:var(--platform-line,var(--growth-border,#dce5df));--account-soft:var(--platform-soft,#eef4f0);display:flex;align-items:center;gap:12px;min-width:0;color:var(--account-ink);font:600 13px/1.5 "Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;letter-spacing:0}
.brand-commerce [hidden]{display:none!important}.brand-commerce a{color:inherit;text-decoration:none}.brand-cart{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 12px;border-radius:8px;white-space:nowrap}.brand-cart:hover{background:var(--account-soft)}.brand-cart svg{flex:0 0 20px}.brand-cart-count{min-width:21px;height:21px;display:inline-grid;place-items:center;border-radius:20px;background:#225b43;color:#fff;font-size:11px;padding:1px 5px}
.brand-account{position:relative;min-width:0}.brand-account>summary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:5px 12px 5px 6px;border:1px solid var(--account-line);border-radius:30px;background:var(--account-paper);cursor:pointer;list-style:none;white-space:nowrap;font:inherit}.brand-account>summary::-webkit-details-marker{display:none}.brand-account-avatar{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;background:var(--account-soft);border-radius:50%;font-size:15px;color:var(--account-ink)}.brand-account-avatar svg{width:19px;height:19px;fill:none;stroke:currentColor}.brand-account-chevron{flex:0 0 14px}.brand-account[open]>summary{border-color:#7b9b88;box-shadow:0 0 0 3px #3970530d}.brand-account[open] .brand-account-chevron{transform:rotate(180deg)}.brand-account-menu{position:absolute;right:0;top:calc(100% + 9px);z-index:150;display:grid;gap:4px;width:238px;max-width:calc(100vw - 32px);padding:9px;background:var(--account-paper);border:1px solid var(--account-line);border-radius:12px;box-shadow:0 14px 36px #1234201c}.brand-account-menu>a{display:block;min-height:44px;padding:11px 12px;border-radius:7px;font-size:14px;line-height:1.6;white-space:normal}.brand-account-menu>a:hover{background:var(--account-soft)}.brand-account-menu>small{font-size:12px;line-height:1.7;padding:6px 12px;font-weight:400}.brand-commerce :focus-visible{outline:2px solid #457d5c;outline-offset:3px}
.platform-header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:20px}.platform-nav{gap:20px;font-size:13px}.platform-nav a{gap:7px}.platform-nav a:last-child{padding:10px 13px}.platform-brand,.platform-brand img{width:163px}.platform-tools{gap:3px}.platform-language select{max-width:75px}
.brand-redesign .growth-header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:20px;max-width:1360px;padding-inline:32px}.brand-redesign .growth-brand.yixiang-brand img{width:163px}.brand-redesign .growth-nav{gap:20px;font-size:13px;justify-content:flex-end}.brand-redesign .growth-tools#sub-nav{gap:3px}.growth-tools>.growth-member-link{display:none!important}
html[theme=dark] .brand-commerce{--account-soft:#253e30}html[theme=dark] .brand-account-menu{box-shadow:0 14px 36px #0005}
@media(max-width:1199px){html{scroll-padding-top:155px}.platform-header-inner,.brand-redesign .growth-header-inner{grid-template-columns:minmax(0,1fr) auto;gap:0 16px;min-height:0;padding-block:8px 0}.platform-header-inner{width:calc(100% - 48px)}.platform-brand,.brand-redesign .growth-brand{grid-column:1;grid-row:1}.platform-nav,.brand-redesign .growth-nav{display:none}.platform-tools,.brand-redesign .growth-tools#sub-nav{grid-column:2;grid-row:1;margin-left:auto;min-height:54px}.platform-mobile-menu,.brand-redesign .growth-mobile-menu{display:block}.platform-header .brand-commerce,.growth-header .brand-commerce{grid-column:1/-1;grid-row:2;justify-content:flex-end;gap:16px;min-height:58px;padding-block:6px;border-top:1px solid var(--account-line)}.platform-mobile-menu nav{z-index:160}.brand-redesign .growth-mobile-menu nav{z-index:160}.brand-redesign .growth-header-inner{padding-inline:24px}.brand-redesign .growth-brand.yixiang-brand img{width:163px}.brand-redesign .growth-mobile-menu{position:relative}.brand-redesign .growth-mobile-menu nav{top:calc(100% + 12px);right:0}}
@media(max-width:640px){.platform-header-inner{width:calc(100% - 32px)}.platform-brand,.platform-brand img,.brand-redesign .growth-brand.yixiang-brand img{width:137px;height:46px}.platform-tools{gap:2px}.platform-tools .platform-theme,.platform-mobile-menu summary{width:40px;min-height:44px}.platform-language select{width:62px;max-width:62px}.platform-header .brand-commerce,.growth-header .brand-commerce{justify-content:space-between;gap:10px;min-height:58px}.brand-commerce{font-size:13px}.brand-cart{padding:8px 6px;gap:7px}.brand-account>summary{padding-right:11px;gap:7px}.brand-account-menu{width:235px}.brand-redesign .growth-header-inner{padding-inline:16px}.brand-redesign .growth-tools .site-language-select{min-width:62px;width:68px}.brand-redesign .growth-tools .site-language-control{padding-inline:0}.brand-redesign .growth-tools .site-language-glyph{display:none}.brand-redesign .growth-mobile-menu>summary{padding-inline:8px;font-size:12px}}
@media(max-width:360px){.platform-brand,.platform-brand img,.brand-redesign .growth-brand.yixiang-brand img{width:108px}.platform-header-inner{column-gap:8px}.brand-commerce{font-size:12px}.brand-cart{gap:5px;padding-inline:4px}.brand-account>summary{gap:6px}.brand-account-avatar{width:29px;height:29px;flex-basis:29px}}
@media(prefers-reduced-motion:reduce){.brand-commerce *{transition:none!important}}
