:root {
      --theme: #0B3D91;
      --theme-dark: #072b68;
      --theme-soft: #eaf1fb;
      --accent: #c2185b;
      --accent-dark: #991448;
      --ink: #172033;
      --muted: #637083;
      --line: #dfe4ec;
      --surface: #ffffff;
      --page: #f4f6f9;
      --success: #13795b;
      --shadow: 0 12px 32px rgba(23, 32, 51, 0.09);
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

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

    body.drawer-lock {
      overflow: hidden;
    }

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

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

    button,
    input,
    select {
      font: inherit;
    }

    button {
      color: inherit;
    }

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

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

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

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

    .topbar a:hover {
      color: #ffffff;
      text-decoration: underline;
    }

    .header {
      position: relative;
      z-index: 50;
      background: var(--surface);
      border-bottom: 1px solid var(--line);
    }

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

    .logo {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--theme);
      font-size: 19px;
      font-weight: 800;
      white-space: nowrap;
    }

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

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

    .nav-list {
      height: 100%;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: stretch;
      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: #344054;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

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

    .nav-link.active::after {
      position: absolute;
      right: 13px;
      bottom: 0;
      left: 13px;
      height: 3px;
      background: var(--theme);
      content: "";
    }

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

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 60;
      width: 260px;
      padding: 14px;
      visibility: hidden;
      opacity: 0;
      background: var(--surface);
      border: 1px solid var(--line);
      border-top: 3px solid var(--theme);
      box-shadow: var(--shadow);
      transform: translateY(8px);
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.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: translateY(0);
    }

    .dropdown-panel {
      display: grid;
      gap: 4px;
    }

    .dropdown-panel a {
      padding: 9px 10px;
      border-radius: 4px;
      color: #475467;
      font-size: 13px;
    }

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

    .mega-menu {
      left: 50%;
      width: 620px;
      transform: translate(-50%, 8px);
    }

    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu {
      transform: translate(-50%, 0);
    }

    .mega-menu-wide {
      width: 760px;
    }

    .nav-item:nth-last-child(-n+2) .mega-menu {
      right: 0;
      left: auto;
      transform: translateY(8px);
    }

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

    .mega-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--line);
    }

    .mega-head strong {
      color: var(--ink);
      font-size: 16px;
    }

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

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

    .mega-card {
      min-width: 0;
      min-height: 76px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 10px;
      border: 1px solid #e8ebf0;
      border-radius: 6px;
      transition: border-color 0.18s ease, background 0.18s ease;
    }

    .mega-card:hover {
      background: #f8faff;
      border-color: #b9c9e5;
    }

    .mega-card > img {
      width: 48px;
      height: 48px;
      flex: 0 0 auto;
      object-fit: cover;
      border-radius: 5px;
      background: #edf1f6;
    }

    .mega-card-body {
      min-width: 0;
      display: block;
    }

    .mega-card-body strong,
    .mega-card-body p,
    .mega-card-body small {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mega-card-body strong {
      color: #273142;
      font-size: 13px;
      white-space: nowrap;
    }

    .mega-card-body p {
      max-height: 38px;
      margin: 3px 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .mega-card-body small {
      color: #7a8494;
      font-size: 11px;
      white-space: nowrap;
    }

    .mega-category-list {
      margin-bottom: 12px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .mega-category-list a {
      padding: 5px 10px;
      color: var(--theme);
      background: var(--theme-soft);
      border-radius: 4px;
      font-size: 12px;
      font-weight: 700;
    }

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

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

    .member-entry {
      display: inline-flex;
      align-items: center;
    }

    .account-entry {
      min-height: 38px;
      padding: 7px 15px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      background: var(--theme);
      border-radius: 5px;
      font-size: 14px;
      font-weight: 800;
    }

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

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

    .hamburger span {
      width: 20px;
      height: 2px;
      display: block;
      background: var(--ink);
      transition: transform 0.2s ease, opacity 0.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(12, 18, 29, 0.52);
      transition: opacity 0.22s ease, visibility 0.22s;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 100;
      width: min(88vw, 380px);
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -16px 0 40px rgba(17, 24, 39, 0.18);
      transform: translateX(105%);
      transition: transform 0.25s ease;
    }

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

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

    .drawer-head > a {
      padding: 6px 11px;
      border: 1px solid rgba(255, 255, 255, 0.55);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 700;
    }

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

    .drawer-menu {
      padding: 10px 18px 28px;
    }

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

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

    .drawer-toggle::after {
      width: 8px;
      height: 8px;
      margin-right: 5px;
      border-right: 2px solid var(--theme);
      border-bottom: 2px solid var(--theme);
      transform: rotate(45deg);
      transition: transform 0.2s ease;
      content: "";
    }

    .drawer-toggle.active::after {
      transform: rotate(225deg);
    }

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

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

    .drawer-submenu a {
      padding: 9px 16px;
      display: block;
      color: #566176;
      border-bottom: 1px solid #e8ebf0;
      font-size: 13px;
    }

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

    .productlist-main .product-hero {
      padding: 52px 0 46px;
      color: #ffffff;
      background: var(--theme);
      border-bottom: 5px solid var(--accent);
    }

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

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

    .productlist-main .product-hero h1 {
      max-width: 820px;
      margin: 0;
      font-size: 38px;
      line-height: 1.25;
      letter-spacing: 0;
    }

    .productlist-main .product-hero p {
      max-width: 760px;
      margin: 14px 0 0;
      color: #e1ebfa;
      font-size: 16px;
    }

    .productlist-main .catalog-section {
      padding: 30px 0 18px;
      background: #ffffff;
      border-bottom: 1px solid var(--line);
    }

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

    .productlist-main .section-heading h2 {
      margin: 0;
      color: var(--ink);
      font-size: 24px;
      letter-spacing: 0;
    }

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

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

    .productlist-main .category-tabs a {
      min-height: 40px;
      padding: 8px 15px;
      display: inline-flex;
      align-items: center;
      color: #344054;
      background: #f5f7fa;
      border: 1px solid #dfe4ec;
      border-radius: 5px;
      font-size: 14px;
      font-weight: 700;
      transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

    .productlist-main .category-tabs a:hover {
      color: #ffffff;
      background: var(--theme);
      border-color: var(--theme);
    }

    .productlist-main .products-section {
      padding: 38px 0 64px;
    }

    .productlist-main .product-count-note {
      color: var(--muted);
      font-size: 13px;
    }

    .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;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 7px;
      box-shadow: 0 5px 18px rgba(23, 32, 51, 0.05);
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

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

    .productlist-main .product-image-link {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      display: block;
      background: #e9edf3;
    }

    .productlist-main .product-image-link::after {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 38%;
      background: linear-gradient(to top, rgba(11, 61, 145, 0.18), transparent);
      content: "";
      pointer-events: none;
    }

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

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

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

    .productlist-main .product-type {
      margin-bottom: 9px;
      color: var(--accent);
      font-size: 12px;
      font-weight: 800;
    }

    .productlist-main .product-card h2 {
      margin: 0;
      color: #172033;
      font-size: 19px;
      line-height: 1.45;
      letter-spacing: 0;
    }

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

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

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

    .productlist-main .product-more {
      color: var(--theme);
      font-weight: 800;
      white-space: nowrap;
    }

    .productlist-main .product-more:hover {
      color: var(--accent);
    }

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

    .productlist-main .pagination a {
      min-width: 40px;
      min-height: 40px;
      padding: 7px 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #344054;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 5px;
      font-size: 14px;
      font-weight: 700;
    }

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

    .productlist-main .catalog-help {
      padding: 0 0 64px;
    }

    .productlist-main .help-panel {
      padding: 25px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      color: #ffffff;
      background: #202938;
      border-left: 5px solid var(--accent);
      border-radius: 7px;
    }

    .productlist-main .help-panel h2 {
      margin: 0 0 5px;
      font-size: 21px;
      letter-spacing: 0;
    }

    .productlist-main .help-panel p {
      max-width: 700px;
      margin: 0;
      color: #cbd3df;
      font-size: 14px;
    }

    .productlist-main .help-actions {
      display: flex;
      gap: 10px;
      flex: 0 0 auto;
    }

    .productlist-main .help-actions a {
      min-height: 42px;
      padding: 8px 15px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      font-size: 14px;
      font-weight: 800;
    }

    .productlist-main .help-primary {
      color: #ffffff;
      background: var(--accent);
    }

    .productlist-main .help-secondary {
      color: #ffffff;
      border: 1px solid #657084;
    }

    .footer {
      color: #d5dae3;
      background: #121927;
    }

    .footer-main {
      padding: 54px 0 40px;
      display: grid;
      grid-template-columns: 1.35fr 1fr 1fr 1fr;
      gap: 38px;
    }

    .footer .logo {
      color: #ffffff;
    }

    .footer-brand p {
      max-width: 390px;
      margin: 18px 0;
      color: #aeb7c6;
      font-size: 14px;
    }

    .footer-social {
      color: #ffffff;
    }

    .footer-column h3 {
      margin: 4px 0 16px;
      color: #ffffff;
      font-size: 15px;
      letter-spacing: 0;
    }

    .footer-links {
      display: grid;
      gap: 9px;
    }

    .footer-links a,
    .footer-contact a {
      color: #b9c1ce;
      font-size: 13px;
    }

    .footer-links a:hover,
    .footer-contact a:hover {
      color: #ffffff;
    }

    .footer-contact {
      display: grid;
      gap: 13px;
      color: #aeb7c6;
      font-size: 13px;
    }

    .footer-contact span {
      color: #7f899a;
    }

    .footer-bottom {
      min-height: 68px;
      padding: 17px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      color: #8993a4;
      border-top: 1px solid #2b3444;
      font-size: 12px;
    }

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

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

      .hamburger {
        display: flex;
      }

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

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

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

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

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

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

      .header .logo span {
        max-width: 126px;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .header-btns {
        gap: 6px;
      }

      .member-entry {
        display: none;
      }

      .account-entry {
        min-height: 36px;
        padding: 6px 11px;
        font-size: 13px;
      }

      .productlist-main .product-hero {
        padding: 36px 0 34px;
      }

      .productlist-main .product-hero h1 {
        font-size: 29px;
      }

      .productlist-main .product-hero p {
        font-size: 14px;
      }

      .productlist-main .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
      }

      .productlist-main .section-heading h2 {
        font-size: 21px;
      }

      .productlist-main .category-tabs {
        flex-wrap: nowrap;
        margin-right: -14px;
        padding-right: 14px;
        overflow-x: auto;
      }

      .productlist-main .category-tabs a {
        flex: 0 0 auto;
      }

      .productlist-main .products-section {
        padding: 30px 0 48px;
      }

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

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

      .productlist-main .help-panel {
        padding: 22px;
        align-items: stretch;
        flex-direction: column;
      }

      .productlist-main .help-actions {
        width: 100%;
        flex-wrap: wrap;
      }

      .productlist-main .help-actions a {
        flex: 1 1 130px;
      }

      .footer-main {
        padding: 42px 0 32px;
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
      }
    }

    @media (max-width: 420px) {
      .header .logo img {
        width: 34px;
        height: 34px;
      }

      .header .logo span {
        max-width: 92px;
        font-size: 16px;
      }

      .productlist-main .product-hero h1 {
        font-size: 25px;
      }

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