:root {
      --theme: #0B3D91;
      --template-theme: {主题色};
      --theme-dark: #072b67;
      --theme-light: #eaf1fb;
      --orange: #f36a21;
      --orange-dark: #c94c0b;
      --ink: #172033;
      --muted: #657084;
      --line: #dce2ea;
      --surface: #f5f7fa;
      --white: #fff;
      --shadow: 0 12px 32px rgba(20, 35, 60, .1);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--white);
      font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
      line-height: 1.65;
    }

    body,
    button,
    input,
    select {
      font-family: inherit;
    }

    img {
      display: block;
      max-width: 100%;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      color: inherit;
    }

    .container {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }

    .topbar {
      color: #dfe9fa;
      background: #071b3d;
      font-size: 13px;
    }

    .topbar .container {
      min-height: 36px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .topbar-links {
      display: flex;
      align-items: center;
      gap: 22px;
    }

    .topbar a:hover {
      color: #fff;
    }

    .header {
      position: relative;
      z-index: 30;
      border-bottom: 1px solid var(--line);
      background: rgba(255, 255, 255, .98);
    }

    .header-inner {
      min-height: 78px;
      display: flex;
      align-items: center;
      gap: 26px;
    }

    .logo {
      min-width: 180px;
      display: flex;
      align-items: center;
      gap: 11px;
      color: var(--theme);
      font-size: 19px;
      font-weight: 800;
    }

    .logo img {
      width: 42px;
      height: 42px;
      object-fit: contain;
    }

    .main-nav {
      flex: 1;
      min-width: 0;
    }

    .nav-list {
      height: 78px;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: stretch;
      justify-content: center;
      list-style: none;
    }

    .nav-item {
      position: relative;
      display: flex;
      align-items: stretch;
    }

    .nav-link {
      padding: 0 14px;
      display: flex;
      align-items: center;
      color: #273349;
      font-size: 15px;
      font-weight: 700;
      white-space: nowrap;
    }

    .nav-link:hover,
    .nav-item:focus-within > .nav-link {
      color: var(--theme);
    }

    .has-arrow::after {
      width: 6px;
      height: 6px;
      margin: -4px 0 0 8px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      content: "";
      transform: rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      z-index: 40;
      visibility: hidden;
      opacity: 0;
      border: 1px solid var(--line);
      background: #fff;
      box-shadow: var(--shadow);
      transform: translate(-50%, 10px);
      transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      right: 0;
      bottom: 100%;
      left: 0;
      height: 12px;
      content: "";
    }

    .nav-item:hover .dropdown-panel,
    .nav-item:hover .mega-menu,
    .nav-item:focus-within .dropdown-panel,
    .nav-item:focus-within .mega-menu {
      visibility: visible;
      opacity: 1;
      transform: translate(-50%, 0);
    }

    .dropdown-panel {
      width: 290px;
      padding: 10px;
      border-radius: 6px;
    }

    .dropdown-panel a {
      padding: 10px 12px;
      display: block;
      border-radius: 4px;
      color: #344056;
      font-size: 14px;
    }

    .dropdown-panel a:hover {
      color: var(--theme);
      background: var(--theme-light);
    }

    .mega-menu {
      width: min(760px, calc(100vw - 40px));
      padding: 22px;
      border-radius: 6px;
    }

    .nav-item:nth-last-child(-n+3) .mega-menu {
      left: auto;
      right: -90px;
      transform: translateY(10px);
    }

    .nav-item:nth-last-child(-n+3):hover .mega-menu,
    .nav-item:nth-last-child(-n+3):focus-within .mega-menu {
      transform: translateY(0);
    }

    .mega-title {
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      color: var(--theme);
      font-size: 15px;
      font-weight: 800;
    }

    .mega-title a {
      color: var(--muted);
      font-size: 13px;
      font-weight: 500;
    }

    .mega-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .mega-card {
      min-width: 0;
      padding: 13px;
      display: grid;
      align-content: start;
      gap: 5px;
      border: 1px solid #e4e8ee;
      border-radius: 5px;
      background: #fff;
    }

    .mega-card:hover {
      border-color: #9cb5dc;
      background: #f7faff;
    }

    .mega-card img {
      width: 28px;
      height: 28px;
      object-fit: contain;
    }

    .mega-card strong,
    .mega-card small {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mega-card strong {
      color: #1b2941;
      font-size: 14px;
      white-space: nowrap;
    }

    .mega-card small {
      color: var(--muted);
      font-size: 12px;
    }

    .mega-footer {
      margin-top: 14px;
      padding-top: 13px;
      display: block;
      border-top: 1px solid var(--line);
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
    }

    .header-btns {
      display: flex;
      align-items: center;
      gap: 9px;
      white-space: nowrap;
    }

    .member-link {
      color: var(--theme);
      font-size: 14px;
      font-weight: 700;
    }

    .open-account {
      padding: 9px 16px;
      border-radius: 4px;
      color: #fff;
      background: var(--orange);
      font-size: 14px;
      font-weight: 800;
    }

    .open-account:hover {
      background: var(--orange-dark);
    }

    .hamburger {
      width: 42px;
      height: 42px;
      padding: 10px;
      display: none;
      border: 1px solid var(--line);
      border-radius: 4px;
      background: #fff;
      cursor: pointer;
    }

    .hamburger span {
      width: 100%;
      height: 2px;
      margin: 4px 0;
      display: block;
      background: var(--ink);
      transition: transform .2s ease, opacity .2s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
    }

    .drawer-overlay {
      position: fixed;
      inset: 0;
      z-index: 90;
      visibility: hidden;
      opacity: 0;
      background: rgba(7, 18, 38, .55);
      transition: .2s ease;
    }

    .drawer-overlay.open {
      visibility: visible;
      opacity: 1;
    }

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 100;
      width: min(390px, 90vw);
      height: 100vh;
      overflow-y: auto;
      background: #fff;
      box-shadow: -12px 0 36px rgba(0, 0, 0, .16);
      transform: translateX(105%);
      transition: transform .24s ease;
    }

    .mobile-drawer.open {
      transform: translateX(0);
    }

    .drawer-head {
      min-height: 72px;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 15px;
      color: #fff;
      background: var(--theme);
    }

    .drawer-head strong {
      flex: 1;
    }

    .drawer-head a {
      padding: 6px 11px;
      border: 1px solid rgba(255, 255, 255, .5);
      border-radius: 4px;
      font-size: 14px;
    }

    .drawer-close {
      width: 36px;
      height: 36px;
      padding: 0;
      border: 0;
      color: #fff;
      background: transparent;
      font-size: 28px;
      cursor: pointer;
    }

    .drawer-menu {
      padding: 12px 18px 30px;
    }

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      min-height: 48px;
      padding: 11px 4px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 0;
      border-bottom: 1px solid var(--line);
      background: transparent;
      font-size: 15px;
      font-weight: 700;
      text-align: left;
      cursor: pointer;
    }

    .drawer-toggle::after {
      content: "+";
      color: var(--theme);
      font-size: 20px;
    }

    .drawer-toggle.active::after {
      content: "−";
    }

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      background: var(--surface);
      transition: max-height .25s ease;
    }

    .drawer-submenu.open {
      max-height: 720px;
    }

    .drawer-submenu a {
      padding: 9px 14px;
      display: block;
      border-bottom: 1px solid #e8ebef;
      color: #4e5a6d;
      font-size: 14px;
    }

    .productlist-main {
      min-height: 650px;
      background: var(--surface);
    }

    .productlist-main .page-head {
      padding: 58px 0 44px;
      color: #fff;
      background:
        linear-gradient(120deg, rgba(11, 61, 145, .98), rgba(7, 43, 103, .95)),
        #0B3D91;
    }

    .productlist-main .breadcrumb {
      margin-bottom: 18px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      color: #cedaf0;
      font-size: 14px;
    }

    .productlist-main .breadcrumb a:hover {
      color: #fff;
    }

    .productlist-main .page-head h1 {
      max-width: 760px;
      margin: 0 0 12px;
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.2;
      letter-spacing: 0;
    }

    .productlist-main .page-head p {
      max-width: 760px;
      margin: 0;
      color: #dbe5f6;
      font-size: 16px;
    }

    .productlist-main .catalog {
      padding: 42px 0 72px;
    }

    .productlist-main .catalog-toolbar {
      margin-bottom: 26px;
      padding-bottom: 18px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 20px;
      border-bottom: 1px solid var(--line);
    }

    .productlist-main .catalog-toolbar h2 {
      margin: 0 0 5px;
      color: var(--ink);
      font-size: 25px;
      letter-spacing: 0;
    }

    .productlist-main .catalog-toolbar p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .productlist-main .category-nav {
      margin-bottom: 32px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .productlist-main .category-link {
      min-height: 40px;
      padding: 8px 15px;
      display: inline-flex;
      align-items: center;
      border: 1px solid #cfd7e3;
      border-radius: 4px;
      color: #334158;
      background: #fff;
      font-size: 14px;
      font-weight: 700;
    }

    .productlist-main .category-link:hover {
      border-color: var(--theme);
      color: #fff;
      background: var(--theme);
    }

    .productlist-main .product-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

    .productlist-main .product-card {
      min-width: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border: 1px solid #dfe4eb;
      border-radius: 6px;
      background: #fff;
      box-shadow: 0 6px 20px rgba(24, 39, 66, .06);
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }

    .productlist-main .product-card:hover {
      border-color: #aac0e1;
      box-shadow: 0 15px 34px rgba(18, 43, 82, .12);
      transform: translateY(-3px);
    }

    .productlist-main .product-image {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      border-bottom: 1px solid #e4e8ee;
      background: #e9edf3;
    }

    .productlist-main .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .25s ease;
    }

    .productlist-main .product-card:hover .product-image img {
      transform: scale(1.025);
    }

    .productlist-main .product-kind {
      position: absolute;
      top: 12px;
      left: 12px;
      padding: 5px 9px;
      border-radius: 3px;
      color: #fff;
      background: rgba(11, 61, 145, .92);
      font-size: 12px;
      font-weight: 800;
    }

    .productlist-main .product-body {
      min-width: 0;
      padding: 20px;
      display: flex;
      flex: 1;
      flex-direction: column;
    }

    .productlist-main .product-body h3 {
      margin: 0 0 10px;
      color: #17233a;
      font-size: 19px;
      line-height: 1.4;
      letter-spacing: 0;
      overflow-wrap: anywhere;
    }

    .productlist-main .product-summary {
      min-height: 76px;
      margin: 0 0 18px;
      overflow: hidden;
      display: -webkit-box;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.75;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .productlist-main .product-meta {
      margin-top: auto;
      padding-top: 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-top: 1px solid #e7ebf0;
      color: #7a8494;
      font-size: 13px;
    }

    .productlist-main .product-meta span:last-child {
      color: var(--theme);
      font-weight: 800;
    }

    .productlist-main .pagination {
      margin-top: 38px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
    }

    .productlist-main .pagination a {
      min-width: 40px;
      height: 40px;
      padding: 0 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #ccd4df;
      border-radius: 4px;
      color: #405068;
      background: #fff;
      font-size: 14px;
      font-weight: 700;
    }

    .productlist-main .pagination a:hover,
    .productlist-main .pagination a.active,
    .productlist-main .pagination a.current {
      border-color: var(--theme);
      color: #fff;
      background: var(--theme);
    }

    .productlist-main .selection-note {
      margin-top: 48px;
      padding: 28px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0;
      border-top: 4px solid var(--orange);
      border-radius: 5px;
      background: #fff;
      box-shadow: 0 8px 25px rgba(20, 35, 60, .07);
    }

    .productlist-main .note-item {
      padding: 4px 24px;
      border-right: 1px solid var(--line);
    }

    .productlist-main .note-item:first-child {
      padding-left: 0;
    }

    .productlist-main .note-item:last-child {
      padding-right: 0;
      border-right: 0;
    }

    .productlist-main .note-item strong {
      margin-bottom: 5px;
      display: block;
      color: var(--theme);
      font-size: 16px;
    }

    .productlist-main .note-item p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
    }

    .footer {
      padding: 54px 0 0;
      color: #c7d0df;
      background: #0c1729;
    }

    .footer-grid {
      padding-bottom: 38px;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
      gap: 42px;
    }

    .footer-brand {
      margin-bottom: 14px;
      color: #fff;
      font-size: 22px;
      font-weight: 800;
    }

    .footer p {
      margin: 7px 0;
      color: #9fabc0;
      font-size: 14px;
    }

    .footer h3 {
      margin: 0 0 14px;
      color: #fff;
      font-size: 15px;
    }

    .footer-grid > div > a {
      margin: 8px 0;
      display: block;
      color: #b7c2d3;
      font-size: 14px;
    }

    .footer-grid a:hover {
      color: #fff;
    }

    .footer-bottom {
      min-height: 62px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid #243148;
      color: #8f9bb0;
      font-size: 13px;
    }

    @media (max-width: 1080px) {
      .main-nav {
        display: none;
      }

      .hamburger {
        display: block;
      }

      .header-inner {
        justify-content: space-between;
      }

      .productlist-main .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 780px) {
      .container {
        width: min(100% - 28px, 1180px);
      }

      .topbar .container {
        min-height: 42px;
      }

      .topbar-links a:first-child {
        display: none;
      }

      .header-inner {
        min-height: 68px;
      }

      .logo {
        min-width: 0;
        font-size: 16px;
      }

      .logo img {
        width: 36px;
        height: 36px;
      }

      .member-link {
        display: none;
      }

      .open-account {
        padding: 8px 12px;
      }

      .productlist-main .page-head {
        padding: 42px 0 34px;
      }

      .productlist-main .catalog {
        padding: 30px 0 54px;
      }

      .productlist-main .catalog-toolbar {
        align-items: flex-start;
        flex-direction: column;
      }

      .productlist-main .selection-note {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .productlist-main .note-item,
      .productlist-main .note-item:first-child,
      .productlist-main .note-item:last-child {
        padding: 0 0 18px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .productlist-main .note-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
      }

      .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 560px) {
      .topbar-links a:last-child {
        display: none;
      }

      .header-btns {
        gap: 7px;
      }

      .productlist-main .page-head h1 {
        font-size: 31px;
      }

      .productlist-main .product-grid {
        grid-template-columns: 1fr;
      }

      .productlist-main .product-summary {
        min-height: auto;
      }

      .productlist-main .category-nav {
        gap: 8px;
      }

      .productlist-main .category-link {
        padding: 7px 11px;
        font-size: 13px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .footer-bottom {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
      }
    }