:root {
      --theme: #0B3D91;
      --template-theme: {主题色};
      --theme-dark: #072b67;
      --theme-soft: #eaf1fc;
      --ink: #14213d;
      --muted: #64748b;
      --line: #dbe4f0;
      --surface: #ffffff;
      --page: #f5f8fc;
      --accent: #f59e0b;
      --success: #138a62;
      --shadow: 0 16px 42px rgba(11, 61, 145, .10);
      --radius: 18px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

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

    body,
    button,
    input {
      font: 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 {
      position: relative;
      z-index: 60;
      color: #dce9ff;
      background: #061d43;
      font-size: 13px;
    }

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

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

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

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

    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, .97);
      border-bottom: 1px solid rgba(219, 228, 240, .9);
      box-shadow: 0 5px 20px rgba(15, 35, 70, .05);
      backdrop-filter: blur(14px);
    }

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

    .logo {
      min-width: 170px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--theme);
      font-size: 19px;
      font-weight: 800;
      letter-spacing: .02em;
    }

    .logo img {
      width: 42px;
      height: 42px;
      border-radius: 11px;
      object-fit: contain;
      background: #ffffff;
    }

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

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

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

    .nav-link {
      height: 100%;
      padding: 0 13px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #27364e;
      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);
    }

    .has-arrow::after {
      width: 6px;
      height: 6px;
      content: "";
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      transition: transform .2s ease;
    }

    .nav-item:hover .has-arrow::after,
    .nav-item:focus-within .has-arrow::after {
      transform: rotate(225deg) translate(-1px, -1px);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      z-index: 70;
      visibility: hidden;
      opacity: 0;
      transform: translate(-50%, 10px);
      border: 1px solid var(--line);
      border-radius: 0 0 18px 18px;
      background: #ffffff;
      box-shadow: 0 24px 60px rgba(10, 35, 75, .16);
      pointer-events: none;
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .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);
      pointer-events: auto;
    }

    .dropdown-panel {
      width: 330px;
      padding: 22px;
    }

    .mega-menu {
      width: min(760px, 80vw);
      padding: 24px;
    }

    .nav-item:nth-last-child(-n+3) .mega-menu {
      right: -100px;
      left: auto;
      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);
    }

    .drop-title,
    .mega-title {
      margin: 0 0 14px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .08em;
    }

    .drop-list,
    .mega-links {
      display: grid;
      gap: 7px;
    }

    .drop-list a,
    .mega-links a {
      padding: 9px 11px;
      border-radius: 9px;
      color: #334155;
      font-size: 14px;
      transition: background .2s ease, color .2s ease;
    }

    .drop-list a:hover,
    .mega-links a:hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .mega-links small {
      color: var(--muted);
    }

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

    .mega-card {
      min-width: 0;
      padding: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
      border: 1px solid #e7edf5;
      border-radius: 12px;
      background: #fbfdff;
      transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
    }

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

    .mega-card img {
      width: 42px;
      height: 42px;
      flex: 0 0 auto;
      border-radius: 10px;
      object-fit: contain;
      background: #ffffff;
    }

    .mega-card span {
      min-width: 0;
      display: grid;
    }

    .mega-card strong {
      overflow: hidden;
      color: #17233a;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card small {
      overflow: hidden;
      color: var(--muted);
      font-size: 12px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-columns {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      gap: 26px;
    }

    .mega-footer {
      margin-top: 16px;
      padding: 11px 14px;
      display: block;
      border-radius: 10px;
      color: #ffffff;
      background: var(--theme);
      text-align: center;
      font-size: 14px;
      font-weight: 750;
    }

    .mega-footer:hover {
      background: var(--theme-dark);
    }

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

    .member-btn,
    .account-link {
      min-height: 40px;
      padding: 8px 15px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 750;
      white-space: nowrap;
    }

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

    .account-link {
      color: #ffffff;
      background: var(--theme);
      box-shadow: 0 8px 18px rgba(11, 61, 145, .2);
    }

    .hamburger {
      width: 43px;
      height: 43px;
      padding: 10px;
      display: none;
      border: 0;
      border-radius: 10px;
      background: var(--theme-soft);
      cursor: pointer;
    }

    .hamburger span {
      width: 100%;
      height: 2px;
      margin: 5px 0;
      display: block;
      border-radius: 2px;
      background: var(--theme);
      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: 80;
      visibility: hidden;
      opacity: 0;
      background: rgba(3, 15, 34, .62);
      transition: opacity .25s ease, visibility .25s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 90;
      width: min(390px, 90vw);
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -20px 0 50px rgba(0, 0, 0, .18);
      transform: translateX(105%);
      transition: transform .28s ease;
    }

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

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

    .drawer-head strong {
      min-width: 0;
      margin-right: auto;
    }

    .drawer-head a {
      padding: 7px 12px;
      border: 1px solid rgba(255, 255, 255, .45);
      border-radius: 8px;
      font-size: 14px;
    }

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

    .drawer-menu {
      padding: 16px 20px 30px;
    }

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      min-height: 48px;
      padding: 11px 4px;
      display: flex;
      align-items: center;
      border: 0;
      border-bottom: 1px solid #e8edf4;
      background: transparent;
      color: #20304a;
      text-align: left;
      font-weight: 750;
      cursor: pointer;
    }

    .drawer-toggle {
      justify-content: space-between;
    }

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

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

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      background: #f7f9fd;
      transition: max-height .3s ease;
    }

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

    .drawer-submenu a {
      padding: 10px 16px;
      display: block;
      border-bottom: 1px solid #e7edf5;
      color: #4b5d76;
      font-size: 14px;
    }

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

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

    .productlist-main .product-heading {
      position: relative;
      overflow: hidden;
      padding: 70px 0 58px;
      color: #ffffff;
      background:
        radial-gradient(circle at 18% 15%, rgba(245, 158, 11, .28), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(112, 81, 206, .34), transparent 32%),
        linear-gradient(135deg, #061d43 0%, #0B3D91 58%, #482b82 100%);
    }

    .productlist-main .product-heading::before,
    .productlist-main .product-heading::after {
      position: absolute;
      content: "";
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 50%;
    }

    .productlist-main .product-heading::before {
      width: 340px;
      height: 340px;
      top: -230px;
      right: 10%;
    }

    .productlist-main .product-heading::after {
      width: 220px;
      height: 220px;
      bottom: -170px;
      left: 8%;
    }

    .productlist-main .heading-inner {
      position: relative;
      z-index: 1;
      max-width: 820px;
    }

    .productlist-main .eyebrow {
      margin: 0 0 12px;
      color: #ffd76d;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .16em;
    }

    .productlist-main h1 {
      margin: 0;
      font-size: clamp(34px, 6vw, 58px);
      line-height: 1.15;
      letter-spacing: -.03em;
    }

    .productlist-main .heading-copy {
      max-width: 720px;
      margin: 18px 0 0;
      color: #dbe8ff;
      font-size: 17px;
    }

    .productlist-main .heading-notes {
      margin-top: 26px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .productlist-main .heading-notes span {
      padding: 7px 13px;
      border: 1px solid rgba(255, 255, 255, .25);
      border-radius: 999px;
      background: rgba(255, 255, 255, .09);
      font-size: 13px;
      backdrop-filter: blur(8px);
    }

    .productlist-main .product-catalog {
      padding: 48px 0 76px;
    }

    .productlist-main .catalog-layout {
      display: grid;
      grid-template-columns: 260px minmax(0, 1fr);
      gap: 28px;
      align-items: start;
    }

    .productlist-main .category-panel {
      position: sticky;
      top: 100px;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: 0 12px 34px rgba(22, 42, 78, .07);
    }

    .productlist-main .category-panel h2 {
      margin: 0 0 6px;
      color: var(--ink);
      font-size: 20px;
    }

    .productlist-main .category-panel > p {
      margin: 0 0 17px;
      color: var(--muted);
      font-size: 13px;
    }

    .productlist-main .category-links {
      display: grid;
      gap: 8px;
    }

    .productlist-main .category-links a {
      padding: 10px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      border: 1px solid #e8edf5;
      border-radius: 10px;
      color: #334155;
      background: #fbfcfe;
      font-size: 14px;
      font-weight: 650;
      transition: color .2s ease, border-color .2s ease, background .2s ease;
    }

    .productlist-main .category-links a::after {
      content: "›";
      color: #8aa4cc;
      font-size: 20px;
      line-height: 1;
    }

    .productlist-main .category-links a:hover {
      color: var(--theme);
      border-color: #b9cdf0;
      background: var(--theme-soft);
    }

    .productlist-main .catalog-content {
      min-width: 0;
    }

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

    .productlist-main .section-head h2 {
      margin: 0;
      font-size: 28px;
      line-height: 1.25;
    }

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

    .productlist-main .section-mark {
      padding: 7px 12px;
      border-radius: 999px;
      color: var(--theme);
      background: var(--theme-soft);
      font-size: 13px;
      font-weight: 750;
      white-space: nowrap;
    }

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

    .productlist-main .product-card {
      min-width: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: 0 10px 30px rgba(20, 45, 85, .07);
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

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

    .productlist-main .product-cover {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background: linear-gradient(145deg, #eaf1fc, #dbe8fa);
    }

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

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

    .productlist-main .product-badge {
      position: absolute;
      top: 13px;
      left: 13px;
      padding: 5px 10px;
      border-radius: 999px;
      color: #ffffff;
      background: rgba(6, 29, 67, .84);
      font-size: 12px;
      font-weight: 750;
      backdrop-filter: blur(8px);
    }

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

    .productlist-main .product-title {
      margin: 0;
      font-size: 19px;
      line-height: 1.4;
    }

    .productlist-main .product-title a {
      color: #17233a;
      transition: color .2s ease;
    }

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

    .productlist-main .product-summary {
      margin: 10px 0 16px;
      display: -webkit-box;
      overflow: hidden;
      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: 13px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 7px 12px;
      border-top: 1px solid #edf1f6;
      color: #718096;
      font-size: 12px;
    }

    .productlist-main .product-meta .price {
      color: var(--success);
      font-weight: 750;
    }

    .productlist-main .product-action {
      margin-top: 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
    }

    .productlist-main .product-action::after {
      content: "→";
      font-size: 18px;
      transition: transform .2s ease;
    }

    .productlist-main .product-action:hover::after {
      transform: translateX(4px);
    }

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

    .productlist-main .pagination a {
      min-width: 42px;
      min-height: 42px;
      padding: 8px 13px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 10px;
      color: #40516a;
      background: #ffffff;
      font-size: 14px;
      font-weight: 700;
      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 .selection-note {
      margin-top: 40px;
      padding: 24px 26px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 16px;
      border: 1px solid #cbdcf5;
      border-radius: var(--radius);
      background: linear-gradient(135deg, #edf4ff, #ffffff);
    }

    .productlist-main .selection-note strong {
      width: 46px;
      height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 13px;
      color: #ffffff;
      background: var(--theme);
      font-size: 21px;
    }

    .productlist-main .selection-note h2 {
      margin: 0 0 5px;
      font-size: 18px;
    }

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

    .footer {
      padding: 56px 0 0;
      color: #cbd8ec;
      background: #061d43;
    }

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

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

    .footer-brand strong {
      display: block;
      margin-bottom: 14px;
      color: #ffffff;
      font-size: 22px;
    }

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

    .footer-grid > div:not(.footer-brand) a {
      margin: 8px 0;
      display: block;
      color: #cbd8ec;
      font-size: 14px;
      transition: color .2s ease, transform .2s ease;
    }

    .footer-grid > div:not(.footer-brand) a:hover {
      color: #ffffff;
      transform: translateX(3px);
    }

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

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

      .hamburger {
        display: block;
      }

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

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

    @media (max-width: 860px) {
      .productlist-main .catalog-layout {
        grid-template-columns: 1fr;
      }

      .productlist-main .category-panel {
        position: static;
      }

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

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

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

      .topbar .container {
        padding: 8px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
      }

      .topbar-links {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 1px;
      }

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

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

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

      .member-btn {
        display: none;
      }

      .account-link {
        min-height: 38px;
        padding: 7px 12px;
      }

      .productlist-main .product-heading {
        padding: 50px 0 44px;
      }

      .productlist-main .heading-copy {
        font-size: 15px;
      }

      .productlist-main .product-catalog {
        padding: 34px 0 56px;
      }

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

      .productlist-main .section-head {
        align-items: flex-start;
        flex-direction: column;
      }

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

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

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