:root{
  --theme:#0B3D91;
  --ink:#17233c;
  --muted:#667085;
  --line:#e4e9f1;
  --paper:#f6f8fb;
  --white:#fff;
  --shadow:0 14px 40px rgba(21,42,78,.09);
  --radius:16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",Arial,sans-serif;
  line-height:1.65;
}
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{
  color:#dce8fb;
  background:#081b3d;
  font-size:13px;
}
.topbar .container{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.topbar a{margin-left:20px;color:#dce8fb}
.topbar a:hover{color:#fff}


.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:30px;
}
.logo{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:180px;
  font-size:19px;
  font-weight:800;
  color:var(--theme);
  white-space:nowrap;
}
.logo img{
  width:38px;
  height:38px;
  object-fit:contain;
}
.main-nav{flex:1}
.nav-list{
  display:flex;
  align-items:stretch;
  justify-content:center;
  gap:3px;
  margin:0;
  padding:0;
  list-style:none;
}
.nav-item{position:relative}
.nav-link{
  position:relative;
  display:flex;
  align-items:center;
  min-height:78px;
  padding:0 14px;
  color:#334155;
  font-size:14px;
  font-weight:650;
  white-space:nowrap;
}
.nav-link:hover,.nav-link:focus-visible{color:var(--theme)}
.has-arrow:after{
  content:"";
  width:6px;
  height:6px;
  margin:0 0 3px 8px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);
}
.dropdown-panel,.mega-menu{
  position:absolute;
  top:100%;
  left:50%;
  z-index:30;
  visibility:hidden;
  opacity:0;
  transform:translate(-50%,8px);
  transition:.2s ease;
  background:#fff;
  border:1px solid var(--line);
  border-radius:0 0 14px 14px;
  box-shadow:var(--shadow);
  pointer-events:none;
}
.dropdown-panel{
  width:260px;
  padding:12px;
}
.dropdown-panel a{
  display:block;
  padding:10px 12px;
  border-radius:8px;
  font-size:13px;
}
.dropdown-panel a:hover{background:#eef4ff;color:var(--theme)}
.mega-menu{
  width:650px;
  padding:18px;
}
.product-menu{width:680px}
.nav-item:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:12px;
}
.nav-item:hover>.dropdown-panel,
.nav-item:focus-within>.dropdown-panel,
.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,1fr);
  gap:11px;
}
.mega-card{
  display:block;
  min-height:122px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fbfcfe;
  transition:.2s ease;
}
.mega-card:hover{
  border-color:#a8c0e8;
  box-shadow:0 8px 20px rgba(11,61,145,.09);
  transform:translateY(-2px);
}
.mega-card img{
  width:35px;
  height:35px;
  object-fit:contain;
  margin-bottom:7px;
  border-radius:7px;
}
.mega-card strong{
  display:block;
  overflow:hidden;
  color:#1f3355;
  font-size:13px;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.mega-card small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}
.mega-footer{
  display:inline-block;
  margin-top:15px;
  padding:7px 12px;
  color:var(--theme);
  font-size:12px;
  font-weight:700;
  border-radius:8px;
  background:#edf4ff;
}
.mega-footer:hover{background:#dceaff}
.header-btns{
  display:flex;
  align-items:center;
  gap:9px;
  white-space:nowrap;
}
.member-entry,.open-account{
  padding:8px 12px;
  border-radius:8px;
  font-size:13px;
  font-weight:700;
}
.member-entry{color:var(--theme);background:#edf4ff}
.open-account{color:#fff;background:var(--theme)}
.member-entry:hover{background:#dceaff}
.open-account:hover{background:#092f70}
.hamburger{
  display:none;
  width:42px;
  height:40px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  cursor:pointer;
}
.hamburger span{
  display:block;
  width:23px;
  height:2px;
  margin:5px auto;
  background:var(--theme);
  transition:.2s;
}
.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:40;
  visibility:hidden;
  opacity:0;
  background:rgba(4,15,34,.54);
  transition:.25s ease;
}
.drawer-overlay.open{visibility:visible;opacity:1}
.mobile-drawer{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  z-index:50;
  width:min(390px,88vw);
  overflow:auto;
  background:#fff;
  box-shadow:-18px 0 50px rgba(0,0,0,.16);
  transform:translateX(105%);
  transition:.3s ease;
}
.mobile-drawer.open{transform:translateX(0)}
.drawer-head{
  display:flex;
  align-items:center;
  gap:13px;
  padding:20px;
  color:#fff;
  background:var(--theme);
  font-weight:700;
}
.drawer-head>a{
  margin-left:auto;
  padding:5px 9px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:6px;
  font-size:12px;
}
.drawer-close{
  padding:0;
  border:0;
  color:#fff;
  background:transparent;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.drawer-menu{padding:12px 20px 28px}
.drawer-link,.drawer-toggle{
  display:block;
  width:100%;
  padding:14px 2px;
  border:0;
  border-bottom:1px solid var(--line);
  color:#243653;
  background:transparent;
  text-align:left;
  font-weight:650;
  cursor:pointer;
}
.drawer-toggle:after{
  content:"+";
  float:right;
  color:var(--theme);
  font-size:18px;
}
.drawer-toggle.active:after{content:"−"}
.drawer-submenu{
  display:none;
  padding:5px 0 8px 14px;
  border-bottom:1px solid var(--line);
}
.drawer-submenu.open{display:block}
.drawer-submenu a{
  display:block;
  padding:8px 0;
  color:var(--muted);
  font-size:13px;
}


.productlist-main{padding:54px 0 76px}
.productlist-main .page-heading{
  position:relative;
  overflow:hidden;
  padding:42px 44px;
  border-radius:22px;
  color:#fff;
  background:
    radial-gradient(circle at 84% 18%,rgba(123,174,255,.35),transparent 25%),
    linear-gradient(135deg,#092d68,#0B3D91 55%,#153f7a);
  box-shadow:var(--shadow);
}
.page-heading:after{
  content:"";
  position:absolute;
  right:-80px;
  bottom:-120px;
  width:360px;
  height:360px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  box-shadow:0 0 0 22px rgba(255,255,255,.06),0 0 0 48px rgba(255,255,255,.05);
}
.page-heading .eyebrow{
  position:relative;
  z-index:1;
  margin:0 0 8px;
  color:#bcd5ff;
  font-size:13px;
  letter-spacing:.16em;
}
.page-heading h1{
  position:relative;
  z-index:1;
  max-width:720px;
  margin:0 0 12px;
  font-size:clamp(30px,4vw,48px);
  line-height:1.2;
}
.page-heading p{
  position:relative;
  z-index:1;
  max-width:680px;
  margin:0;
  color:#dbe8ff;
  font-size:15px;
}
.category-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:28px 0 24px;
}
.category-tabs a{
  padding:9px 15px;
  color:#475569;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  font-size:13px;
  transition:.2s ease;
}
.category-tabs a:hover,.category-tabs a:first-child{
  color:var(--theme);
  border-color:#a9c3ed;
  background:#edf4ff;
}
.product-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:22px 0 18px;
}
.product-toolbar h2{
  margin:0;
  font-size:23px;
}
.product-toolbar span{
  color:var(--muted);
  font-size:13px;
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.product-card{
  display:flex;
  min-height:315px;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 5px 18px rgba(21,42,78,.04);
  transition:.25s ease;
}
.product-card:hover{
  transform:translateY(-5px);
  border-color:#b2c8ed;
  box-shadow:var(--shadow);
}
.product-cover{
  display:flex;
  align-items:center;
  justify-content:center;
  height:158px;
  padding:22px;
  background:linear-gradient(135deg,#edf4ff,#f8fbff);
}
.product-cover img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.product-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:18px 19px 16px;
}
.product-body h3{
  margin:0 0 8px;
  color:#1d355d;
  font-size:18px;
  line-height:1.35;
}
.product-summary{
  display:-webkit-box;
  min-height:50px;
  margin:0 0 14px;
  overflow:hidden;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.product-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px 13px;
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid #edf0f5;
  color:#7b8799;
  font-size:11px;
}
.product-meta b{color:#42536e;font-weight:600}
.product-action{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:15px;
}
.product-price{
  color:var(--theme);
  font-size:13px;
  font-weight:700;
}
.product-more{
  padding:7px 12px;
  color:#fff;
  border-radius:7px;
  background:var(--theme);
  font-size:12px;
  font-weight:700;
}
.product-more:hover{background:#092f70}
.pagination{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:38px;
}
.pagination a{
  min-width:36px;
  padding:7px 11px;
  color:#54657d;
  border:1px solid var(--line);
  border-radius:7px;
  background:#fff;
  text-align:center;
  font-size:13px;
}
.pagination a:hover,.pagination a.current,.pagination a.active{
  color:#fff;
  border-color:var(--theme);
  background:var(--theme);
}


.footer{
  padding:52px 0 20px;
  color:#c5d2e5;
  background:#091a38;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.2fr;
  gap:34px;
}
.footer h3,.footer h4{
  margin:0 0 15px;
  color:#fff;
}
.footer h3{font-size:20px}
.footer h4{font-size:14px}
.footer p{
  margin:7px 0;
  font-size:13px;
  line-height:1.7;
}
.footer-grid>div>a{
  display:block;
  margin:7px 0;
  color:#c5d2e5;
  font-size:13px;
}
.footer-grid>div>a:hover{color:#fff}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:35px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.13);
  color:#91a3be;
  font-size:12px;
}


@media (max-width:980px){
  .header-inner{gap:15px}
  .main-nav{display:none}
  .header-btns{margin-left:auto}
  .hamburger{display:block}
  .member-entry{display:none}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
  .container{width:min(100% - 28px,1180px)}
  .topbar .container{
    align-items:flex-start;
    flex-direction:column;
    gap:0;
    padding:7px 0;
  }
  .topbar a:first-child{margin-left:0}
  .header-inner{min-height:66px}
  .logo{min-width:0;font-size:16px}
  .logo img{width:32px;height:32px}
  .open-account{padding:7px 9px;font-size:12px}
  .productlist-main{padding:28px 0 52px}
  .productlist-main .page-heading{padding:30px 23px}
  .page-heading h1{font-size:31px}
  .page-heading p{font-size:13px}
  .product-toolbar{align-items:flex-start;flex-direction:column;gap:4px}
  .product-toolbar h2{font-size:21px}
  .product-grid{grid-template-columns:1fr;gap:15px}
  .product-card{min-height:0}
  .product-cover{height:145px}
  .footer-grid{grid-template-columns:1fr;gap:25px}
  .footer-bottom{align-items:flex-start;flex-direction:column;gap:4px}
  .mega-menu,.dropdown-panel{display:none}
}