:root{
  --theme:#0B3D91;
  --ink:#10233f;
  --muted:#607089;
  --line:#dce5f0;
  --soft:#f3f7fb;
  --white:#fff;
  --shadow:0 18px 50px rgba(18,52,91,.10);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:#f7faff;font-family:"PingFang SC","Microsoft YaHei",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{height:38px;background:#092e6e;color:#dceaff;font-size:13px}
.topbar .container{height:100%;display:flex;align-items:center;justify-content:space-between}
.topbar a{color:#fff}
.header{position:relative;z-index:20;background:#fff;border-bottom:1px solid var(--line)}
.header-inner{min-height:76px;display:flex;align-items:center;gap:30px}
.logo{display:flex;align-items:center;gap:10px;min-width:190px;color:var(--theme);font-size:19px;font-weight:800}
.logo img{width:34px;height:34px;object-fit:contain}
.main-nav{flex:1}
.nav-list{display:flex;align-items:center;justify-content:center;gap:4px;list-style:none;margin:0;padding:0}
.nav-list>li{position:relative}
.nav-link{display:block;padding:25px 14px;color:#243754;font-size:14px;white-space:nowrap}
.nav-link:hover,.nav-link:focus{color:var(--theme)}
.has-arrow:after{content:"⌄";display:inline-block;margin-left:6px;color:#8da0b8}
.dropdown-panel,.mega-menu{position:absolute;top:calc(100% + 1px);left:50%;width:310px;transform:translateX(-50%) translateY(8px);padding:20px;background:#fff;border:1px solid var(--line);border-radius:0 0 16px 16px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transition:.2s ease;z-index:30}
.mega-menu{width:560px}
.nav-list>li:hover>.dropdown-panel,.nav-list>li:focus-within>.dropdown-panel,
.nav-list>li:hover>.mega-menu,.nav-list>li:focus-within>.mega-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.dropdown-panel:before,.mega-menu:before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.drop-title,.mega-title{margin:0 0 12px;color:var(--theme);font-weight:800}
.drop-item{display:block;padding:8px 0;border-bottom:1px solid #edf1f6;font-size:14px}
.drop-item:hover,.mega-card:hover{color:var(--theme)}
.mega-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.mega-card{display:flex;flex-direction:column;gap:3px;min-height:92px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fbfdff}
.mega-card img{width:30px;height:30px;object-fit:contain;margin-bottom:3px}
.mega-card strong{font-size:14px}
.mega-card small{color:var(--muted);font-size:11px;line-height:1.45}
.mega-footer{display:inline-block;margin-top:14px;color:var(--theme);font-size:13px;font-weight:700;margin-right:12px}
.header-btns{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:13px}
.open-account{padding:9px 15px;border-radius:999px;background:var(--theme);color:#fff}
.hamburger{display:none;width:42px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;padding:8px}
.hamburger span{display:block;height:2px;margin:4px 0;background:var(--theme);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,20,45,.44);opacity:0;visibility:hidden;transition:.25s;z-index:50}
.drawer-overlay.open{opacity:1;visibility:visible}
.mobile-drawer{position:fixed;top:0;right:0;width:min(390px,88vw);height:100vh;background:#fff;transform:translateX(100%);transition:.3s ease;z-index:51;overflow:auto}
.mobile-drawer.open{transform:translateX(0)}
.drawer-head{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid var(--line);color:var(--theme);font-weight:700}
.drawer-head>a{margin-left:auto;padding:6px 12px;background:var(--theme);color:#fff;border-radius:18px;font-size:13px}
.drawer-close{border:0;background:none;color:#51627b;font-size:26px;cursor:pointer}
.drawer-menu{padding:10px 20px 30px}
.drawer-link,.drawer-toggle{display:block;width:100%;padding:14px 0;border:0;border-bottom:1px solid #edf1f6;background:none;text-align:left;color:var(--ink);font-weight:700;cursor:pointer}
.drawer-toggle:after{content:"+";float:right;color:var(--theme);font-size:20px}
.drawer-toggle.active:after{content:"−"}
.drawer-submenu{display:none;padding:5px 0 8px 15px;border-bottom:1px solid #edf1f6}
.drawer-submenu.open{display:block}
.drawer-submenu a{display:block;padding:7px 0;color:var(--muted);font-size:14px}
.footer{margin-top:80px;background:#0a234d;color:#d7e3f5}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:35px;padding:52px 0 38px}
.footer h3,.footer h4{margin:0 0 15px;color:#fff}
.footer p{margin:6px 0;color:#aebed4;font-size:13px}
.footer-grid a{display:block;margin:7px 0;color:#c5d5ea;font-size:13px}
.footer-grid a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding:18px 0;color:#9eb2ce;font-size:12px}

.productlist-main{padding:0 0 20px}
.product-hero{padding:68px 0 55px;background:linear-gradient(135deg,#eaf3ff 0%,#f8fbff 62%,#e9f0fa 100%);border-bottom:1px solid var(--line)}
.product-hero-inner{text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:6px 13px;border:1px solid #c7d9ef;border-radius:999px;background:#fff;color:var(--theme);font-size:13px;font-weight:700}
.eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#2d9aee}
.product-hero h1{margin:18px auto 10px;font-size:clamp(32px,5vw,58px);line-height:1.15;letter-spacing:-1px;color:#0b2f68}
.product-hero p{max-width:700px;margin:0 auto;color:var(--muted);font-size:16px}
.product-content{padding:42px 0}
.product-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}
.product-toolbar h2{margin:0;font-size:24px;color:#102f5e}
.product-count{color:var(--muted);font-size:13px}
.category-strip{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:35px}
.category-strip a{padding:9px 16px;border:1px solid #ccd9e8;border-radius:999px;background:#fff;color:#536781;font-size:13px;transition:.2s}
.category-strip a:hover,.category-strip a:first-child{border-color:var(--theme);background:var(--theme);color:#fff}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.product-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 25px rgba(25,59,103,.05);transition:.25s}
.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#b8cde8}
.product-image{height:190px;padding:25px;background:linear-gradient(145deg,#eef5fd,#f9fbfe);display:flex;align-items:center;justify-content:center}
.product-image img{width:100%;height:100%;object-fit:contain}
.product-body{display:flex;flex:1;flex-direction:column;padding:20px}
.product-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:#7890ad;font-size:12px}
.product-card h3{margin:0 0 9px;font-size:19px;color:#12366c}
.product-summary{display:-webkit-box;overflow:hidden;margin:0 0 18px;color:var(--muted);font-size:14px;line-height:1.75;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.product-info{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:15px;border-top:1px solid #edf1f6;color:#7688a0;font-size:12px}
.product-price{color:var(--theme);font-weight:700}
.product-more{color:var(--theme);font-weight:700}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:42px;flex-wrap:wrap}
.pagination a{min-width:36px;padding:7px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:center;color:#5f718a;font-size:13px}
.pagination a:hover,.pagination a.current,.pagination a.active{background:var(--theme);border-color:var(--theme);color:#fff}

@media(max-width:1050px){
  .header-inner{gap:12px}
  .logo{min-width:155px}
  .nav-link{padding-left:8px;padding-right:8px}
  .header-btns>span{display:none}
}
@media(max-width:820px){
  .topbar .container{font-size:11px}
  .topbar .contact{display:none}
  .main-nav{display:none}
  .header-inner{min-height:66px;justify-content:space-between}
  .header-btns{margin-left:auto}
  .hamburger{display:block}
  .mega-menu,.dropdown-panel{display:none}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .product-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .container{width:min(100% - 28px,1180px)}
  .open-account{padding:8px 12px;font-size:12px}
  .product-hero{padding:48px 0 42px}
  .product-hero h1{font-size:34px}
  .product-hero p{font-size:14px}
  .product-toolbar{display:block}
  .product-count{display:block;margin-top:5px}
  .product-grid{grid-template-columns:1fr}
  .product-image{height:175px}
  .footer-grid{grid-template-columns:1fr;gap:22px;padding:38px 0 28px}
}