:root{
  /* 整站页面背景由浅灰改为纯白 */
  --w-bg:#ffffff;
  --w-white:#ffffff;
  --w-black:#111;
  --w-gray:#666;
  --w-gray2:#999;
  --w-border:#ddd;
  --w-blue:#1b5faa;
  --w-blue2:#0d4d8a;
  --w-orange:#f39800;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:var(--w-bg);
  color:var(--w-black);
}

a{color:inherit;text-decoration:none;}
a:hover{color:var(--w-blue);text-decoration:underline;}
img{max-width:100%;display:block;}

.wrap{max-width:1200px;margin:0 auto;padding:0 10px;}
.topbar{
  background:#f7f7f7;
  border-bottom:1px solid var(--w-border);
  font-size:12px;
  color:var(--w-gray);
}
.topbar .row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:6px 0;
  flex-wrap:wrap;
}
.topbar .links a{color:var(--w-gray);margin-left:10px;}

.header{
  background:var(--w-white);
  border-bottom:1px solid var(--w-border);
}
.header .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 0;
  gap:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:18px;
}
.brand-logo{
  height:96px;
  width:288px;
  object-fit:cover;
  object-position:center;
  display:block;
}
.brand .brand-text{
  display:flex;
  flex-direction:column;
  gap:4px;
  line-height:1.2;
}
.brand .cn{
  font-size:26px;
  font-weight:700;
  color:#555;
}
.brand-sep{
  height:1px;
  width:100%;
  max-width:360px;
  background:#e5e7eb;
  margin:4px 0 2px;
}
.brand .en{
  font-size:14px;
  color:var(--w-gray2);
  letter-spacing:1px;
}
.header-search{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:6px;
}
.header-search form{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 8px;
  border-radius:999px;
  background:#f8fafc;
  border:1px solid #bfdbfe;
  box-shadow:0 2px 10px rgba(29,78,216,0.16);
}
.header-search-input{
  width:280px;
  padding:9px 14px;
  border-radius:20px;
  border:1px solid #93c5fd;
  font-size:14px;
  background:#fff;
}
.header-search-input:focus{
  outline:none;
  border-color:#2563eb;
  box-shadow:0 0 0 2px rgba(37,99,235,0.2);
}
.header-search-btn{
  padding:9px 18px;
  border-radius:20px;
  border:1px solid #1d4ed8;
  background:linear-gradient(180deg,#3b82f6,#1d4ed8);
  color:#fff;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 3px 8px rgba(37,99,235,0.25);
}
.header-search-btn:hover{
  filter:brightness(1.05);
}
.hotline{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  min-width:220px;
  font-size:12px;
  color:var(--w-gray);
}
.hotline-label{
  color:var(--w-gray);
  margin-bottom:4px;
  line-height:1.1;
}
.hotline .tel{
  font-size:18px;
  font-weight:700;
  color:var(--w-orange);
  line-height:1.35;
}

.nav{
  background:linear-gradient(0deg, var(--w-blue2), var(--w-blue));
  color:#fff;
}
.nav .row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
}
.nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  flex:1;
  justify-content:space-between;
}
.nav li{margin:0;}
.nav a{
  display:block;
  padding:12px 16px;
  font-size:16px;
  color:#fff;
}
.nav a.active{
  background:rgba(255,255,255,0.18);
  font-weight:700;
}

.main{
  padding:12px 0 30px;
}
.crumb{
  font-size:12px;
  color:var(--w-gray);
  padding:10px 0;
}
.layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:12px;
}
.box{
  background:var(--w-white);
  border:1px solid var(--w-border);
  height:100%;
}
.box .title{
  background:#f5f5f5;
  border-bottom:1px solid var(--w-border);
  padding:10px 12px;
  font-weight:700;
  font-size:14px;
}
.box .content{padding:10px 12px;}

.side-list{
  list-style:none;
  margin:0;
  padding:0;
}
.side-list li{border-bottom:1px dashed #e6e6e6;}
.side-list a{
  display:block;
  padding:9px 8px;
  font-size:13px;
  color:#333;
}
.side-list-products{
  display:block;
  padding:6px 0;
}
.side-list-products li{
  border:0;
  margin:0 0 24px;
}
.side-list-products a{
  position:relative;
  font-size:15px;
  font-weight:500;
  text-align:left;
  color:#2f3b4a;
  background:#efefef;
  padding:12px 48px 12px 18px;
  border-radius:0;
  line-height:1.4;
  clip-path:polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  transition:background .2s ease,color .2s ease;
}
.side-list-products a::after{
  content:"▶";
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  width:22px;
  height:22px;
  border-radius:50%;
  background:#17a89f;
  color:#fff;
  font-size:12px;
  line-height:22px;
  text-align:center;
}
.side-list a:hover{background:#fafafa;text-decoration:none;}
.side-list a.current{
  background:#eef6ff;
  color:var(--w-blue);
  font-weight:700;
}
.side-list-products a:hover{
  background:#e6e6e6;
  text-decoration:none;
}
.side-list-products a.current{
  background:#e6e6e6;
  color:#1f2937;
  font-weight:600;
}

.banner{
  border:1px solid var(--w-border);
  background:#fff;
  overflow:hidden;
}
.banner img{
  width:100%;
  height:auto;
  display:block;
}

.grid3{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:12px;
  margin-top:24px;
  align-items:stretch;
  grid-auto-rows:1fr;
}
.list{
  list-style:none;
  margin:0;
  padding:0;
}
.list li{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:6px 0;
  border-bottom:1px dashed #e6e6e6;
  font-size:13px;
  color:#333;
}
.list .date{font-size:12px;color:var(--w-gray2);white-space:nowrap;}

/* 资讯动态 / 行业资讯列表：左标题、右日期、点状分隔线（与参考稿一致） */
.list.news-list li{
  padding:12px 0;
  border-bottom:1px dotted #ddd;
  align-items:center;
}
.list.news-list li:first-child{
  padding-top:4px;
}
.list.news-list a{
  flex:1;
  min-width:0;
  color:#333;
  text-decoration:none;
  font-size:14px;
  line-height:1.5;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.list.news-list a:hover{
  color:var(--w-blue);
  text-decoration:underline;
}
.list.news-list .date{
  flex-shrink:0;
  margin-left:16px;
  font-size:13px;
  color:#999;
  white-space:nowrap;
}

.more{
  display:flex;
  justify-content:flex-end;
  padding-top:8px;
  font-size:12px;
  color:var(--w-gray);
}
.more a{color:var(--w-gray);}

.cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}
.product-image-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.product-card-img{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  text-align:center;
  font-size:13px;
  color:#333;
  border:1px solid var(--w-border);
  border-radius:4px;
  padding:6px;
  background:#fff;
}
.product-card-img img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:4px;
}
.product-card-title{
  padding:0 4px 4px;
}
.product-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-top:12px;
  font-size:12px;
  color:var(--w-gray);
}
.product-pagination .page-btn{
  padding:4px 10px;
  border-radius:3px;
  border:1px solid var(--w-border);
  background:#fff;
  cursor:pointer;
}

/* 产品详情页 */
.pd-main{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:16px;
  align-items:flex-start;
}
.pd-img{
  width:100%;
  max-width:420px;
  border-radius:0;
  border:none;
}
.pd-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:16px;
  margin:40px 0 0;
}
.pd-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 32px;
  border-radius:4px;
  border:1px solid var(--w-border);
  background:#fff;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
}
.pd-btn.primary{
  background:var(--w-blue);
  color:#fff;
  border-color:var(--w-blue2);
}
.pd-btn-download{
  background:#d32f2f;
  border-color:#b71c1c;
  color:#fff;
}
.pd-btn.primary:hover,
.pd-btn-download:hover{
  filter:brightness(1.05);
  text-decoration:none;
}
/* 产品详情：「技术参数」「产品结构图」区块标题，字号字重与 .pd-btn /「下载资料」一致 */
.pd-section-title-bar{
  box-sizing:border-box;
  display:flex;
  align-items:stretch;
  width:100%;
  max-width:1200px;
  margin:0 auto 8px;
  background:#e8e8e8;
  overflow:hidden;
}
.pd-section-title-bar .pd-section-title-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#d32f2f;
  color:#fff;
  font-size:16px;
  font-weight:600;
  padding:10px 28px;
  margin:0;
  line-height:1.2;
  font-family:inherit;
}
.pd-tabs{
  margin-top:14px;
  border-bottom:1px solid var(--w-border);
  display:flex;
  gap:16px;
  font-size:13px;
}
.pd-tab{
  padding:6px 0;
  cursor:pointer;
  color:var(--w-gray);
}
.pd-tab.active{
  color:var(--w-blue);
  font-weight:700;
  border-bottom:2px solid var(--w-blue);
  margin-bottom:-1px;
}
.pd-section{
  font-size:13px;
  line-height:1.8;
  color:#333;
}
.pd-section h3{
  margin:10px 0 6px;
  font-size:14px;
}
.pd-section table{
  width:100%;
  max-width:720px;
  margin:0 auto;
  border-collapse:collapse;
  font-size:13px;
}
.pd-section table th,
.pd-section table td{
  border:1px solid #cbd5e1;
  padding:6px 8px;
  text-align:left;
}
.featured-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.featured-item{
  text-align:center;
  font-size:13px;
  color:#333;
  display:flex;
  flex-direction:column;
  align-items:center;
  height:100%;
}
.featured-item img{
  width:100%;
  aspect-ratio:1 / 1;
  height:auto;
  object-fit:cover;
  border-radius:4px;
  border:1px solid #e5e7eb;
  margin-bottom:6px;
}
.card{
  border:1px solid var(--w-border);
  background:#fff;
}
.card .hd{
  padding:10px 12px;
  background:#f5f5f5;
  border-bottom:1px solid var(--w-border);
  font-weight:700;
}
.card .bd{padding:10px 12px;font-size:13px;color:#333;line-height:1.75;}

.footer{
  background:#fff;
  border-top:0;
  margin-top:0;
}
.footer .row{
  display:none;
}
.footer .tel{
  font-size:16px;
  font-weight:800;
  color:var(--w-orange);
}

.card-company{
  background:#ffffff;
}
.card-company .title{
  background:var(--w-blue);
  border-bottom-color:rgba(0,0,0,0.08);
  color:#ffffff;
  text-align:center;
}
.card-company .content{
  text-align:left;
  font-size:15px;
}
.card-company-layout{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:16px;
  align-items:center;
}
.card-company-inner{
  display:flex;
  flex-direction:column;
  gap:6px;
  line-height:1.8;
}
.card-company-map{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2.2cm;
  align-items:start;
}
.card-company-map-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.card-company-map img{
  width:100%;
  aspect-ratio:1 / 1;
  height:auto;
  object-fit:cover;
  border-radius:4px;
  border:1px solid #e5e7eb;
}
.card-company-map-caption{
  font-size:14px;
  font-weight:600;
  color:#333;
}
.tag{
  display:inline-block;
  padding:2px 6px;
  border:1px solid #d7e8ff;
  background:#f4f9ff;
  color:var(--w-blue);
  font-size:12px;
  border-radius:3px;
}

@media (max-width:980px){
  .layout{grid-template-columns:1fr;}
  .grid3{grid-template-columns:1fr;}
  .cards{grid-template-columns:1fr;}
  .banner img{height:200px;}
  .hotline{text-align:left;}
}

/* 产品详情：放大器/接线盒等技术参数表格（文本在上、表格在下时统一外观） */
.pd-specs-block table.amp-spec-table{
  width:100%;
  border-collapse:collapse;
  margin-top:14px;
  font-size:14px;
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  border:1px solid #e5e7eb;
}
.pd-specs-block table.amp-spec-table th,
.pd-specs-block table.amp-spec-table td{
  border:1px solid #e5e7eb;
  padding:10px 12px;
  vertical-align:top;
  text-align:left;
  line-height:1.65;
}
.pd-specs-block table.amp-spec-table th{
  background:#f1f5f9;
  color:#111827;
  font-weight:600;
  width:36%;
}

