:root {
      --theme: #0B3D91;
      --template-theme: {主题色};
      --theme-dark: #072b67;
      --theme-soft: #e9f0fb;
      --ink: #182335;
      --muted: #637084;
      --line: #dce3ed;
      --surface: #ffffff;
      --canvas: #f5f7fa;
      --success: #18765d;
      --shadow: 0 12px 34px rgba(18, 39, 72, .1);
      --radius: 8px;
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--canvas);
      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(var(--container), calc(100% - 40px));
      margin: 0 auto;
    }

    .topbar {
      color: #dce8fb;
      background: var(--theme-dark);
      font-size: 13px;
    }

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

    .topbar span:last-child {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .topbar a {
      transition: color .2s ease;
    }

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

    .header {
      position: relative;
      z-index: 50;
      background: rgba(255, 255, 255, .98);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 3px 14px rgba(18, 39, 72, .04);
    }

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

    .logo {
      min-width: 180px;
      max-width: 245px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--theme-dark);
      font-size: 18px;
      font-weight: 800;
    }

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

    .logo span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .main-nav {
      align-self: stretch;
      display: flex;
      align-items: stretch;
      margin-left: auto;
    }

    .nav-list {
      height: 100%;
      display: flex;
      align-items: stretch;
      gap: 2px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

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

    .nav-link {
      position: relative;
      display: flex;
      align-items: center;
      padding: 0 13px;
      color: #344154;
      font-size: 15px;
      font-weight: 650;
      white-space: nowrap;
      transition: color .2s ease, background .2s ease;
    }

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

    .nav-link::after {
      content: "";
      position: absolute;
      right: 13px;
      bottom: 0;
      left: 13px;
      height: 3px;
      background: var(--theme);
      transform: scaleX(0);
      transition: transform .2s ease;
    }

    .nav-link:hover::after,
    .nav-item:focus-within > .nav-link::after {
      transform: scaleX(1);
    }

    .nav-link.has-arrow {
      padding-right: 27px;
    }

    .nav-link.has-arrow::before {
      content: "";
      position: absolute;
      top: 50%;
      right: 12px;
      width: 6px;
      height: 6px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: translateY(-65%) rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 60;
      visibility: hidden;
      opacity: 0;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .dropdown-panel {
      width: 280px;
      padding: 10px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 0 0 var(--radius) var(--radius);
      box-shadow: var(--shadow);
    }

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

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

    .mega-menu {
      left: 50%;
      width: min(840px, calc(100vw - 40px));
      padding: 18px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 0 0 var(--radius) var(--radius);
      box-shadow: var(--shadow);
      transform: translate(-50%, 8px);
    }

    .nav-item:hover > .dropdown-panel,
    .nav-item:focus-within > .dropdown-panel {
      visibility: visible;
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

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

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

    .mega-card {
      min-width: 0;
      min-height: 94px;
      display: grid;
      grid-template-columns: 54px minmax(0, 1fr);
      align-content: center;
      column-gap: 10px;
      padding: 11px;
      border: 1px solid #e5eaf1;
      border-radius: 6px;
      background: #ffffff;
      transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

    .mega-card:hover {
      border-color: #a9bfe2;
      box-shadow: 0 8px 20px rgba(11, 61, 145, .09);
      transform: translateY(-2px);
    }

    .mega-card img {
      grid-row: 1 / span 3;
      width: 54px;
      height: 54px;
      align-self: center;
      object-fit: contain;
      border-radius: 5px;
      background: #f4f7fb;
    }

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

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

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

    .mega-grid > .mega-card:only-child,
    .mega-grid > .mega-card:not(:has(img)) {
      grid-template-columns: minmax(0, 1fr);
    }

    .mega-footer {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      margin-top: 14px;
      color: var(--theme);
      background: var(--theme-soft);
      border-radius: 5px;
      font-size: 14px;
      font-weight: 700;
    }

    .header-btns {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-left: 4px;
    }

    .member-link,
    .open-account {
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 14px;
      border-radius: 5px;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

    .member-link {
      color: var(--theme);
      border: 1px solid #b7c8e3;
      background: #ffffff;
    }

    .open-account {
      color: #ffffff;
      border: 1px solid var(--theme);
      background: var(--theme);
    }

    .member-link:hover {
      border-color: var(--theme);
      background: var(--theme-soft);
    }

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

    .hamburger {
      width: 42px;
      height: 42px;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      padding: 0;
      border: 1px solid var(--line);
      border-radius: 5px;
      background: #ffffff;
      cursor: pointer;
    }

    .hamburger span {
      width: 19px;
      height: 2px;
      background: var(--ink);
      transition: transform .2s ease, opacity .2s ease;
    }

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

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

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

    .drawer-overlay {
      position: fixed;
      inset: 0;
      z-index: 90;
      visibility: hidden;
      opacity: 0;
      background: rgba(10, 20, 35, .55);
      transition: opacity .25s ease, visibility .25s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 100;
      width: min(390px, 88vw);
      height: 100%;
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -16px 0 40px rgba(12, 31, 59, .18);
      transform: translateX(105%);
      transition: transform .25s ease;
    }

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

    .drawer-head {
      min-height: 68px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 18px;
      color: #ffffff;
      background: var(--theme);
    }

    .drawer-head > a {
      padding: 7px 10px;
      border: 1px solid rgba(255, 255, 255, .38);
      border-radius: 5px;
      font-size: 14px;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      margin-left: auto;
      padding: 0;
      color: #ffffff;
      border: 0;
      background: transparent;
      font-size: 30px;
      line-height: 1;
      cursor: pointer;
    }

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

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      min-height: 50px;
      display: flex;
      align-items: center;
      padding: 0 4px;
      border: 0;
      border-bottom: 1px solid #e7ebf1;
      background: transparent;
      color: #27364b;
      font-size: 15px;
      font-weight: 700;
      text-align: left;
      cursor: pointer;
    }

    .drawer-toggle {
      position: relative;
      padding-right: 30px;
    }

    .drawer-toggle::after {
      content: "+";
      position: absolute;
      right: 5px;
      font-size: 21px;
      font-weight: 400;
    }

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

    .drawer-submenu {
      display: none;
      padding: 5px 0 10px 14px;
      border-bottom: 1px solid #e7ebf1;
    }

    .drawer-submenu.open {
      display: block;
    }

    .drawer-submenu a {
      display: block;
      padding: 9px 8px;
      color: var(--muted);
      border-radius: 4px;
      font-size: 14px;
    }

    .drawer-submenu a:hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .productlist-main {
      min-height: 620px;
    }

    .productlist-main .page-heading {
      padding: 54px 0 42px;
      color: #ffffff;
      background:
        linear-gradient(rgba(7, 43, 103, .92), rgba(11, 61, 145, .92)),
        #0B3D91;
    }

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

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

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

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

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

    .productlist-main .category-panel {
      margin-bottom: 34px;
      padding: 22px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 7px 24px rgba(18, 39, 72, .06);
    }

    .productlist-main .section-label {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 16px;
      color: #26354b;
      font-size: 18px;
      line-height: 1.35;
    }

    .productlist-main .section-label::before {
      content: "";
      width: 4px;
      height: 20px;
      flex: 0 0 auto;
      border-radius: 2px;
      background: var(--theme);
    }

    .productlist-main .category-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .productlist-main .category-link {
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      padding: 7px 15px;
      color: #3e4c60;
      border: 1px solid #d6deea;
      border-radius: 5px;
      background: #f9fafc;
      font-size: 14px;
      font-weight: 650;
      transition: color .2s ease, border-color .2s ease, background .2s ease;
    }

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

    .productlist-main .catalog-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 20px;
    }

    .productlist-main .catalog-head h2 {
      margin: 0;
      color: #223148;
      font-size: 26px;
      line-height: 1.3;
    }

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

    .productlist-main .catalog-note {
      flex: 0 0 auto;
      padding: 6px 11px;
      color: var(--theme);
      border: 1px solid #c9d6e9;
      border-radius: 5px;
      background: #edf3fc;
      font-size: 13px;
    }

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

    .productlist-main .product-card {
      min-width: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 8px 24px rgba(18, 39, 72, .06);
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

    .productlist-main .product-card:hover {
      border-color: #a8bde0;
      box-shadow: var(--shadow);
      transform: translateY(-4px);
    }

    .productlist-main .product-image {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background: #eaf0f8;
      border-bottom: 1px solid var(--line);
    }

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

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

    .productlist-main .product-category {
      position: absolute;
      top: 12px;
      left: 12px;
      max-width: calc(100% - 24px);
      padding: 5px 9px;
      overflow: hidden;
      color: #ffffff;
      background: rgba(7, 43, 103, .9);
      border-radius: 4px;
      font-size: 12px;
      font-weight: 700;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

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

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

    .productlist-main .product-body h3 a:hover {
      color: var(--theme);
    }

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

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

    .productlist-main .product-meta span {
      min-width: 0;
    }

    .productlist-main .product-meta a {
      flex: 0 0 auto;
      color: var(--theme);
      font-weight: 700;
    }

    .productlist-main .product-meta a:hover {
      color: var(--theme-dark);
    }

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

    .productlist-main .pagination a {
      min-width: 40px;
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 7px 12px;
      color: #3d4a5d;
      border: 1px solid #d8e0eb;
      border-radius: 5px;
      background: #ffffff;
      font-size: 14px;
      font-weight: 650;
      transition: color .2s ease, border-color .2s ease, background .2s ease;
    }

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

    .productlist-main .catalog-help {
      margin-top: 42px;
      padding: 26px;
      color: #ffffff;
      background: #1f3048;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .productlist-main .catalog-help h2 {
      margin: 0 0 7px;
      font-size: 21px;
      line-height: 1.35;
    }

    .productlist-main .catalog-help p {
      margin: 0;
      color: #d0d9e6;
      font-size: 14px;
    }

    .footer {
      color: #cad4e2;
      background: #142137;
    }

    .footer .container {
      padding-top: 48px;
      padding-bottom: 22px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr repeat(3, 1fr);
      gap: 40px;
      padding-bottom: 36px;
    }

    .footer h3,
    .footer-brand strong {
      display: block;
      margin: 0 0 15px;
      color: #ffffff;
      font-size: 16px;
    }

    .footer-brand strong {
      font-size: 20px;
    }

    .footer p {
      margin: 0 0 8px;
      font-size: 14px;
    }

    .footer-grid > div:not(.footer-brand) > a {
      display: block;
      width: fit-content;
      margin-bottom: 9px;
      color: #cad4e2;
      font-size: 14px;
    }

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

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding-top: 20px;
      color: #9faec1;
      border-top: 1px solid rgba(255, 255, 255, .12);
      font-size: 13px;
    }

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

      .hamburger {
        display: flex;
      }

      .header-btns {
        margin-left: auto;
      }

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

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

      .topbar .container {
        min-height: 42px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 1px;
        padding-top: 5px;
        padding-bottom: 5px;
      }

      .topbar span:last-child {
        flex-wrap: wrap;
        gap: 4px 14px;
      }

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

      .logo {
        min-width: 0;
        max-width: calc(100% - 52px);
      }

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

      .logo span {
        font-size: 16px;
      }

      .member-link,
      .open-account {
        display: none;
      }

      .productlist-main .page-heading {
        padding: 38px 0 32px;
      }

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

      .productlist-main .catalog-section {
        padding: 28px 0 50px;
      }

      .productlist-main .category-panel {
        padding: 17px;
      }

      .productlist-main .catalog-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
      }

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

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

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

      .footer-brand {
        grid-column: 1 / -1;
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
      }
    }

    @media (max-width: 460px) {
      .topbar span:last-child {
        display: none;
      }

      .productlist-main .category-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

      .productlist-main .category-link {
        justify-content: center;
        min-width: 0;
        text-align: center;
      }

      .productlist-main .product-meta {
        align-items: flex-start;
        flex-direction: column;
      }

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

      .footer-brand {
        grid-column: auto;
      }
    }