:root{
      --primary:#0B3D91;
      --primary-dark:#082c68;
      --primary-soft:#eaf1fb;
      --ink:#17243b;
      --muted:#6f7d91;
      --line:#e5eaf1;
      --surface:#ffffff;
      --bg:#f5f8fc;
      --shadow:0 16px 42px rgba(20,48,92,.10);
      --radius:18px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--bg);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","微软雅黑",Arial,sans-serif;
      line-height:1.7;
    }
    a{color:inherit;text-decoration:none}
    img{max-width:100%;display:block}
    button{font:inherit}
    .container{width:min(1180px,calc(100% - 40px));margin:0 auto}

    .topbar{
      background:#092b61;
      color:#dbe8fb;
      font-size:13px;
    }
    .topbar .container{
      min-height:38px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar a{color:#fff;margin-left:20px}

    .header{
      position:relative;
      z-index:20;
      background:#fff;
      border-bottom:1px solid var(--line);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:32px;
    }
    .logo{
      display:flex;
      align-items:center;
      gap:10px;
      flex:0 0 auto;
      color:var(--primary-dark);
      font-weight:800;
      font-size:19px;
      white-space:nowrap;
    }
    .logo img{width:38px;height:38px;object-fit:contain}
    .main-nav{margin-left:auto}
    .nav-list{
      list-style:none;
      display:flex;
      align-items:center;
      gap:4px;
      margin:0;
      padding:0;
    }
    .nav-item{position:relative}
    .nav-link{
      display:flex;
      align-items:center;
      gap:6px;
      padding:25px 13px;
      color:#33435b;
      font-size:14px;
      white-space:nowrap;
    }
    .nav-link:hover,.nav-link:focus{color:var(--primary)}
    .has-arrow:after{
      content:"";
      width:6px;
      height:6px;
      border-right:1px solid currentColor;
      border-bottom:1px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
    }
    .dropdown-panel,.mega-menu{
      position:absolute;
      top:calc(100% - 1px);
      left:50%;
      transform:translateX(-50%) translateY(8px);
      opacity:0;
      visibility:hidden;
      transition:.22s ease;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 14px 14px;
      box-shadow:var(--shadow);
      z-index:30;
    }
    .dropdown-panel{
      width:240px;
      padding:12px;
    }
    .dropdown-panel a{
      display:block;
      padding:9px 11px;
      border-radius:8px;
      font-size:13px;
    }
    .dropdown-panel a:hover{background:var(--primary-soft);color:var(--primary)}
    .mega-menu{
      width:650px;
      padding:20px;
    }
    .nav-item:after{
      content:"";
      position:absolute;
      top:100%;
      left:0;
      right:0;
      height:14px;
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      opacity:1;
      visibility:visible;
      transform:translateX(-50%) translateY(0);
    }
    .mega-title{
      color:var(--primary-dark);
      font-weight:800;
      font-size:14px;
      margin:0 0 12px;
    }
    .mega-title:not(:first-child){margin-top:20px}
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:10px;
    }
    .mega-card{
      min-width:0;
      padding:11px;
      border:1px solid var(--line);
      border-radius:11px;
      background:#fbfcfe;
      transition:.2s ease;
    }
    .mega-card:hover{
      border-color:#a8bee2;
      background:var(--primary-soft);
      transform:translateY(-2px);
    }
    .mega-card img{
      width:32px;
      height:32px;
      object-fit:contain;
      margin-bottom:6px;
    }
    .mega-card strong,.mega-card small{
      display:block;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .mega-card strong{font-size:13px;white-space:nowrap}
    .mega-card small{color:var(--muted);font-size:11px;line-height:1.5;margin-top:3px}
    .mega-footer{
      display:block;
      margin-top:16px;
      padding-top:13px;
      border-top:1px solid var(--line);
      color:var(--primary);
      font-size:13px;
      font-weight:700;
    }
    .header-btns{
      display:flex;
      align-items:center;
      gap:9px;
      flex:0 0 auto;
    }
    .member-btn,.open-btn{
      padding:8px 13px;
      border-radius:8px;
      font-size:13px;
      white-space:nowrap;
    }
    .member-btn{color:var(--primary);border:1px solid #c8d6ec}
    .open-btn{background:var(--primary);color:#fff}
    .open-btn:hover{background:var(--primary-dark)}
    .hamburger{
      display:none;
      width:40px;
      height:40px;
      padding:8px;
      border:1px solid var(--line);
      border-radius:8px;
      background:#fff;
      cursor:pointer;
    }
    .hamburger span{
      display:block;
      width:22px;
      height:2px;
      margin:4px auto;
      background:var(--primary-dark);
      transition:.2s;
    }
    .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;
      background:rgba(5,19,43,.48);
      opacity:0;
      visibility:hidden;
      transition:.25s;
      z-index:80;
    }
    .drawer-overlay.open{opacity:1;visibility:visible}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      width:min(390px,88vw);
      padding:20px;
      overflow-y:auto;
      background:#fff;
      transform:translateX(100%);
      transition:.28s ease;
      z-index:90;
      box-shadow:-12px 0 36px rgba(0,0,0,.18);
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      display:flex;
      align-items:center;
      gap:14px;
      padding-bottom:18px;
      border-bottom:1px solid var(--line);
      color:var(--primary-dark);
      font-weight:700;
    }
    .drawer-head>a{margin-left:auto;color:var(--primary)}
    .drawer-close{
      border:0;
      background:transparent;
      font-size:28px;
      color:var(--muted);
      cursor:pointer;
      line-height:1;
    }
    .drawer-menu{padding-top:12px}
    .drawer-link,.drawer-toggle{
      display:block;
      width:100%;
      padding:13px 4px;
      border:0;
      border-bottom:1px solid #edf0f5;
      background:transparent;
      color:var(--ink);
      text-align:left;
      cursor:pointer;
      font-size:15px;
    }
    .drawer-toggle:after{
      content:"+";
      float:right;
      color:var(--primary);
      font-size:20px;
      line-height:1;
    }
    .drawer-toggle.active:after{content:"−"}
    .drawer-submenu{
      display:none;
      padding:4px 0 8px 15px;
      border-left:2px solid var(--primary-soft);
    }
    .drawer-submenu.open{display:block}
    .drawer-submenu a{
      display:block;
      padding:7px 0;
      color:var(--muted);
      font-size:13px;
    }

    .productlist-main{padding:54px 0 76px}
    .product-hero{
      position:relative;
      overflow:hidden;
      padding:46px 52px;
      border-radius:26px;
      background:
        radial-gradient(circle at 88% 10%,rgba(93,151,235,.28),transparent 30%),
        linear-gradient(135deg,#0b3d91,#123f82 58%,#102b5a);
      color:#fff;
      box-shadow:0 22px 50px rgba(11,61,145,.2);
    }
    .product-hero:after{
      content:"";
      position:absolute;
      width:250px;
      height:250px;
      right:-80px;
      bottom:-110px;
      border:1px solid rgba(255,255,255,.2);
      border-radius:50%;
      box-shadow:0 0 0 28px rgba(255,255,255,.04),0 0 0 58px rgba(255,255,255,.04);
    }
    .eyebrow{
      display:inline-flex;
      padding:4px 11px;
      border:1px solid rgba(255,255,255,.3);
      border-radius:999px;
      color:#d9e8ff;
      font-size:12px;
    }
    .product-hero h1{
      max-width:700px;
      margin:13px 0 9px;
      font-size:clamp(30px,4vw,48px);
      line-height:1.2;
      letter-spacing:-1px;
    }
    .product-hero p{
      max-width:680px;
      margin:0;
      color:#d8e6fa;
      font-size:16px;
    }
    .product-toolbar{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
      margin:34px 0 20px;
    }
    .product-toolbar h2{margin:0;font-size:24px}
    .product-toolbar p{margin:0;color:var(--muted);font-size:14px}
    .category-tabs{
      display:flex;
      flex-wrap:wrap;
      gap:9px;
      margin-bottom:28px;
    }
    .category-tabs a{
      padding:8px 15px;
      border:1px solid #d6e0ef;
      border-radius:999px;
      background:#fff;
      color:#53647d;
      font-size:13px;
      transition:.2s;
    }
    .category-tabs a:first-child,.category-tabs a:hover{
      background:var(--primary);
      border-color:var(--primary);
      color:#fff;
    }
    .product-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:20px;
    }
    .product-card{
      display:flex;
      flex-direction:column;
      min-width:0;
      overflow:hidden;
      border:1px solid var(--line);
      border-radius:var(--radius);
      background:#fff;
      box-shadow:0 8px 22px rgba(23,45,80,.05);
      transition:.25s ease;
    }
    .product-card:hover{
      transform:translateY(-5px);
      border-color:#b6c9e7;
      box-shadow:var(--shadow);
    }
    .product-cover{
      position:relative;
      display:flex;
      align-items:center;
      justify-content:center;
      height:190px;
      padding:25px;
      background:linear-gradient(145deg,#eef4fc,#dce8f8);
    }
    .product-cover img{
      width:100%;
      height:100%;
      object-fit:contain;
    }
    .product-badge{
      position:absolute;
      top:13px;
      left:13px;
      padding:3px 9px;
      border-radius:999px;
      background:#fff;
      color:var(--primary);
      font-size:11px;
      box-shadow:0 4px 12px rgba(23,54,101,.1);
    }
    .product-body{
      display:flex;
      flex:1;
      flex-direction:column;
      padding:20px;
    }
    .product-body h3{
      margin:0 0 8px;
      font-size:19px;
      line-height:1.35;
    }
    .product-summary{
      display:-webkit-box;
      overflow:hidden;
      margin:0 0 16px;
      color:var(--muted);
      font-size:14px;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }
    .product-meta{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-top:auto;
      padding-top:14px;
      border-top:1px solid #edf0f5;
      color:#8591a3;
      font-size:12px;
    }
    .product-meta span{white-space:nowrap}
    .product-actions{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      margin-top:17px;
    }
    .product-price{color:var(--primary);font-weight:700;font-size:13px}
    .product-link{
      padding:7px 13px;
      border-radius:7px;
      background:var(--primary-soft);
      color:var(--primary);
      font-size:13px;
      font-weight:700;
    }
    .product-link:hover{background:var(--primary);color:#fff}
    .pagination{
      display:flex;
      justify-content:center;
      flex-wrap:wrap;
      gap:8px;
      margin-top:42px;
    }
    .pagination a{
      min-width:38px;
      padding:7px 12px;
      border:1px solid var(--line);
      border-radius:7px;
      background:#fff;
      text-align:center;
      color:#5c6c82;
      font-size:13px;
    }
    .pagination a.active,.pagination a:hover{
      border-color:var(--primary);
      background:var(--primary);
      color:#fff;
    }

    .footer{
      padding:52px 0 0;
      background:#0a1d3b;
      color:#b9c8de;
    }
    .footer-grid{
      display:grid;
      grid-template-columns:1.4fr 1fr 1fr 1.15fr;
      gap:36px;
      padding-bottom:40px;
    }
    .footer h3{
      margin:0 0 14px;
      color:#fff;
      font-size:15px;
    }
    .footer-brand strong{
      display:block;
      margin-bottom:12px;
      color:#fff;
      font-size:20px;
    }
    .footer p{margin:7px 0;font-size:13px}
    .footer a{
      display:block;
      width:max-content;
      max-width:100%;
      margin:7px 0;
      color:#b9c8de;
      font-size:13px;
    }
    .footer a:hover{color:#fff}
    .footer-bottom{
      padding:19px 0;
      border-top:1px solid rgba(255,255,255,.12);
      color:#8ea2c0;
      font-size:12px;
      text-align:center;
    }

    @media (max-width:1050px){
      .main-nav{display:none}
      .hamburger{display:block}
      .product-grid{grid-template-columns:repeat(2,1fr)}
    }
    @media (max-width:700px){
      .container{width:min(100% - 28px,1180px)}
      .topbar .container{align-items:flex-start;flex-direction:column;gap:0;padding:8px 0}
      .topbar a{margin:0 14px 0 0}
      .header-inner{min-height:68px;gap:12px}
      .header-btns{margin-left:auto}
      .member-btn{display:none}
      .productlist-main{padding:28px 0 54px}
      .product-hero{padding:32px 24px;border-radius:19px}
      .product-hero h1{font-size:31px}
      .product-hero p{font-size:14px}
      .product-toolbar{align-items:flex-start;flex-direction:column;margin-top:28px}
      .product-grid{grid-template-columns:1fr;gap:16px}
      .product-cover{height:180px}
      .footer-grid{grid-template-columns:1fr 1fr;gap:26px 20px}
    }
    @media (max-width:430px){
      .open-btn{display:none}
      .footer-grid{grid-template-columns:1fr}
      .mega-grid{grid-template-columns:1fr}
    }