/* V3: native Chinese typography, source identity, category navigation and motion. */
:root {
  --bs-body-font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, sans-serif;
  --bs-body-line-height: 1.8;
  --muted: #65748b;
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: .015em; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #94b9ff; outline-offset: 4px; border-radius: 5px; }
.image-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; flex-shrink: 0; }
.image-brand .site-logo { width: 176px; height: 49px; object-fit: contain; object-position: left center; }
.image-brand .brand-caption { font-size: 11px; font-weight: 400; color: #7c8ba0; letter-spacing: .3em; padding-left: 4px; }
.footer-grid .image-brand .site-logo { width: 156px; height: 44px; }
.footer-grid .image-brand .brand-caption { font-size: 10px; }
.header-inner { padding-top: 17px; padding-bottom: 17px; }
.header-search { border-radius: 8px; box-shadow: 0 3px 14px #175cd307; }
.header-search:focus-within { box-shadow: 0 0 0 4px #175cd312; }
.header-search .form-control { font-size: 14px; }
.topbar { color: #65768c; }
.nav-inner nav>a { font-weight: 500; }
.nav-inner nav>a::after { transition: width .2s ease; }
.nav-inner nav>a:hover { color: var(--brand); }
.campaign { background: radial-gradient(ellipse at 75% 12%, #fff 0, #f5f8ff 34%, #eaf1ff 100%); border-color: #dbe7fa; }
.campaign::before, .campaign::after { content: ""; position: absolute; pointer-events: none; border: 1px solid #c9daf75e; width: 330px; height: 330px; border-radius: 50%; right: -80px; top: -145px; }
.campaign::after { width: 410px; height: 410px; right: -120px; top: -185px; }
.campaign-copy, .campaign-products { position: relative; z-index: 1; }
.campaign h1 { font-size: 29px; line-height: 1.55; font-weight: 600; letter-spacing: .02em; }
.campaign-copy>p { color: #6c7f99; font-size: 13px; }
.campaign-products>a { box-shadow: 0 6px 18px #32599106; transition: transform .22s ease, box-shadow .22s ease; }
.campaign-products>a:hover { transform: translateX(-4px); box-shadow: 0 7px 20px #32599115; }
.campaign-products img { transition: transform .25s ease; }
.campaign-products>a:hover img { transform: scale(1.08); }
.btn { transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 5px 12px #175cd329; }
.btn:active:not(:disabled) { transform: translateY(0); }
.section-heading h2 { font-size: 22px; }
.product-card { border-color: #e5eaf1; box-shadow: 0 2px 5px #182f5003; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover, .product-card:focus-within { border-color: #bfd1ed; transform: translateY(-5px); box-shadow: 0 12px 26px #244c8312; }
.product-art { overflow: hidden; }
.product-art>img { transition: transform .35s ease; }
.product-card:hover .product-art>img { transform: scale(1.045); }
.product-body { padding: 17px 19px 19px; }
.product-card h3 { font-size: 15px; font-weight: 600; line-height: 1.75; height: 53px; }
.product-meta { font-size: 11px; color: #8491a4; }
.product-spec { font-size: 13px; color: #6e7c91; }
.product-buy { font-size: 12px; padding: 6px 11px; }
.product-bottom .price { font-size: 26px; font-variant-numeric: tabular-nums; }
.category-features>a { transition: transform .25s ease, box-shadow .25s ease; }
.category-features>a:hover { transform: translateY(-3px); box-shadow: 0 8px 22px #1b3b6810; }
.brand-directory a { transition: color .2s; }
.brand-directory a img { transition: transform .2s; }
.brand-directory a:hover img { transform: translateY(-2px); }
.brand-directory a:hover { color: var(--brand); }
.notice-bar, .service-card>p { color: #74839a; }

/* Native details remain usable with JavaScript disabled; flyouts are click/keyboard driven. */
.enhanced-menu { overflow: visible; position: relative; z-index: 20; }
.enhanced-menu h2 { border-radius: 7px 7px 0 0; font-weight: 600; }
.category-block { margin: 0 13px; padding: 13px 0 11px; border-bottom: 1px solid #edf0f5; }
.category-group>summary { display: flex; gap: 9px; align-items: center; list-style: none; cursor: pointer; font-size: 14px; color: #344864; padding: 2px 0; }
.category-group>summary::-webkit-details-marker { display: none; }
.category-group>summary>svg { width: 20px; height: 20px; color: #6486b8; flex-shrink: 0; }
.category-group .menu-chevron { margin-left: auto; color: #8ea2c0; font-size: 21px; line-height: 1; transition: transform .2s; }
.category-group[open]>summary { color: var(--brand); }
.category-group[open] .menu-chevron { transform: rotate(90deg); }
.category-shortcuts { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 8px 0 0 29px; }
.category-shortcuts a { font-size: 10px; color: #8492a6; white-space: nowrap; }
.category-shortcuts a:hover { color: var(--brand); }
.category-popover { position: absolute; top: -1px; left: calc(100% + 10px); width: 650px; padding: 25px; background: #fff; border: 1px solid #dfe8f5; border-radius: 9px; box-shadow: 0 16px 44px #173a652b; z-index: 30; }
.category-group[open] .category-popover { animation: pop-in .2s ease-out; }
.popover-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 19px; gap: 16px; }
.popover-heading h3 { font-size: 18px; margin: 0 0 4px; }
.popover-heading p { font-size: 11px; margin: 0; color: #8a97aa; }
.popover-heading>a { display: flex; align-items: center; gap: 5px; color: var(--brand); font-size: 12px; white-space: nowrap; }
.popover-heading>a svg { width: 14px; }
.category-tiles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.category-tile { display: flex; align-items: center; gap: 9px; padding: 10px 8px; border-radius: 6px; transition: background-color .2s; }
.category-tile:hover { background: #f1f6ff; color: var(--brand); }
.category-tile img { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.category-tile>span { font-size: 12px; line-height: 1.5; }
.category-tile small { display: block; font-size: 10px; margin-top: 2px; color: #95a1b3; }
.enhanced-menu>a.category-all { padding: 12px 0; }

.catalog-title { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 9px; }
.catalog-title h1 { font-size: 28px; }
.catalog-title p { font-size: 13px; color: #79879c; }
.catalog-title-mark { background: #eaf1fd; color: #6490d5; border: 1px solid #dfe8f7; border-radius: 14px; width: 56px; height: 56px; display: grid; place-items: center; }
.catalog-title-mark svg { width: 28px; height: 28px; }
.filter-panel { box-shadow: 0 3px 12px #21365303; }
.search-field .form-control { min-width: 0; width: 0; flex: 1 1 auto; }
.search-field .btn { flex: 0 0 auto; min-width: 64px; white-space: nowrap; }
.filter-row { padding: 19px 22px; }
.subcategory-row { padding: 0 22px 20px; }
.subcategory-heading { display: flex; align-items: center; justify-content: space-between; margin: 3px 0 15px; }
.subcategory-toggle { background: none; border: 0; color: #6082b6; font-size: 12px; display: flex; align-items: center; gap: 5px; padding: 3px 0 3px 12px; }
.subcategory-toggle svg { width: 13px; height: 13px; transform: rotate(90deg); transition: transform .2s; }
.subcategory-toggle[aria-expanded=true] svg { transform: rotate(-90deg); }
.subcategory-options { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 9px; }
.subcategory-option { display: flex; align-items: center; gap: 8px; padding: 10px 9px; border: 1px solid #e9edf3; border-radius: 6px; background: #fbfcfe; font-size: 12px; color: #5b6a80; transition: border-color .2s, background-color .2s; min-height: 47px; }
.subcategory-option:hover { border-color: #abc5ec; background: #f5f9ff; color: var(--brand); }
.subcategory-option.active { border-color: #7da7ed; color: var(--brand); background: #f0f6ff; box-shadow: inset 0 0 0 1px #bfd4f6; }
.subcategory-option img, .all-platforms { width: 24px; height: 24px; object-fit: contain; border-radius: 5px; flex-shrink: 0; }
.all-platforms { display: grid; place-items: center; }
.all-platforms svg { width: 18px; height: 18px; }
.subcategory-option>span { min-width: 0; line-height: 1.5; overflow-wrap: anywhere; }
.subcategory-option>small { font-size: 10px; color: #9aa8ba; margin-left: auto; }
.subcategory-options.is-collapsed .subcategory-option:nth-child(n+8):not(.active) { display: none; }
.results-label>div { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.clear-filters { border: 1px solid #d8e4f5; border-radius: 20px; padding: 2px 10px; color: #5d80b7; font-size: 11px; }
.variant { transition: border-color .2s, background-color .2s, transform .2s; }
.variant:hover { transform: translateY(-2px); }
.detail-info h1 { line-height: 1.5; }
.detail-article p, .prose p, .prose li { font-size: 14px; line-height: 2; color: #627289; }
.checkout-form .form-label { font-size: 14px; }
.form-control:focus { box-shadow: 0 0 0 3px #175cd310; }
.filing { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 0 0 23px; color: #8a97a9; font-size: 11px; }
.filing a { display: flex; align-items: center; gap: 6px; color: #6c7e98; }
.filing a:hover { color: var(--brand); }
.filing svg { width: 14px; height: 14px; }
.back-to-top { position: fixed; z-index: 35; bottom: 30px; right: 18px; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 47px; height: 59px; background: #fff; border: 1px solid #dce6f4; border-radius: 9px; box-shadow: 0 5px 18px #28467112; color: #6080b1; font-size: 10px; cursor: pointer; padding: 8px 0; }
.back-to-top svg { width: 19px; height: 19px; transform: rotate(-90deg); }
.back-to-top:hover { background: #edf4ff; color: var(--brand); }
[hidden] { display: none !important; }
@keyframes pop-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes soft-enter { from { opacity: .45; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.motion-enter { animation: soft-enter .5s ease-out; }
@media (max-width:1100px) {
  .category-popover { width: 570px; }
  .category-tiles { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .subcategory-options { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .subcategory-options.is-collapsed .subcategory-option:nth-child(n+6):not(.active) { display: none; }
  .product-card h3 { font-size: 14px; }
  .product-meta { font-size: 10px; }
  .product-body { padding: 15px; }
  .product-bottom .price { font-size: 24px; }
  .campaign h1 { font-size: 26px; }
  .brand-directory a { font-size: 11px; }
}
@media (max-width:800px) {
  .header-inner { padding: 16px 0 17px; min-height: 133px; }
  .image-brand { gap: 3px; }
  .image-brand .site-logo { width: 146px; height: 40px; }
  .image-brand .brand-caption { font-size: 9px; }
  .header-search>.form-control { font-size: 13px; }
  .header-search>.form-control::placeholder { font-size: 12px; }
  .campaign h1 { font-size: 27px; }
  .campaign-copy>p { font-size: 12px; }
  .enhanced-menu { padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .category-block { margin: 0; padding: 14px 9px; border: 0; }
  .category-block+.category-block { border-left: 1px solid var(--line); }
  .category-group>summary { justify-content: center; gap: 6px; font-size: 12px; padding: 0; }
  .category-group>summary>svg { width: 16px; height: 16px; }
  .category-group .menu-chevron { margin: 0; font-size: 16px; transform: rotate(90deg); }
  .category-group[open] .menu-chevron { transform: rotate(-90deg); }
  .category-shortcuts { display: none; }
  .category-popover { left: -1px; top: calc(100% + 8px); width: calc(100% + 2px); padding: 18px; max-height: min(540px,65vh); overflow-y: auto; overscroll-behavior: contain; }
  .popover-heading { gap: 8px; padding-bottom: 12px; margin-bottom: 12px; }
  .popover-heading h3 { font-size: 16px; }
  .popover-heading p { font-size: 10px; }
  .popover-heading>a { font-size: 11px; }
  .category-tiles { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .category-tile { padding: 8px 3px; gap: 6px; }
  .category-tile img { width: 23px; height: 23px; }
  .category-tile>span { font-size: 10px; }
  .category-tile small { font-size: 9px; }
  .section-heading h2 { font-size: 20px; }
  .section-heading>div>span { font-size: 11px; }
  .product-meta { font-size: 10px; }
  .product-card h3 { font-size: 14px; height: 49px; line-height: 1.75; }
  .product-spec { font-size: 12px; }
  .product-buy { font-size: 11px; padding: 5px 9px; }
  .product-body { padding: 13px; }
  .product-bottom .price { font-size: 24px; }
  .catalog-title h1 { font-size: 25px; }
  .catalog-title p { font-size: 12px; max-width: 250px; }
  .catalog-title-mark { width: 43px; height: 43px; border-radius: 11px; }
  .catalog-title-mark svg { width: 23px; height: 23px; }
  .filter-row { padding: 15px 13px; }
  .subcategory-row { padding: 0 13px 16px; }
  .subcategory-heading { margin: 3px 0 11px; }
  .subcategory-toggle { font-size: 11px; }
  .subcategory-options { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .subcategory-option { padding: 9px 7px; gap: 6px; min-height: 41px; font-size: 11px; }
  .subcategory-option img, .all-platforms { width: 22px; height: 22px; }
  .subcategory-option>small { display: none; }
  .subcategory-options.is-collapsed .subcategory-option:nth-child(n+6):not(.active) { display: flex; }
  .subcategory-options.is-collapsed .subcategory-option:nth-child(n+7):not(.active) { display: none; }
  .detail-article p, .prose p, .prose li { font-size: 13px; line-height: 1.95; }
  .checkout-form .form-label { font-size: 13px; }
  .filing { flex-direction: column; gap: 4px; font-size: 10px; padding: 1px 0 18px; }
  .footer-grid .image-brand .site-logo { width: 143px; height: 40px; }
  .back-to-top { width: 38px; height: 46px; right: 8px; bottom: 18px; padding: 4px 0; font-size: 9px; opacity: .93; }
  .back-to-top svg { width: 16px; height: 16px; }
}
@media (max-width:380px) {
  .product-body { padding: 11px; }
  .product-card h3 { font-size: 13px; }
  .product-bottom .price { font-size: 22px; }
  .product-buy { font-size: 10px; padding: 5px 7px; }
  .subcategory-option { font-size: 10px; gap: 5px; padding-inline: 5px; }
  .subcategory-option img, .all-platforms { width: 20px; height: 20px; }
  .category-group>summary { font-size: 11px; gap: 4px; }
  .category-tile img { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .product-card:hover, .product-card:focus-within, .category-features>a:hover, .variant:hover, .btn-primary:hover:not(:disabled), .campaign-products>a:hover { transform: none; }
}
@media (hover:none) { .product-card:hover, .product-card:focus-within { transform: none; } }
