/* ====== 页面专属样式 ====== */

/* 产品库头部横幅 */
.page-hero {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(175deg, #f7f9fb 0%, #fff 65%);
  padding: 24px 0;
  margin-bottom: 15px;
}
.page-hero .eyebrow {
  font-size: 11.5px;
  letter-spacing: 2.8px;
  color: var(--brand);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-hero .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brand);
}
.page-hero h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.3px;
  color: var(--ink);
  margin: 0;
}
.page-hero .lead {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 680px;
  line-height: 1.75;
}

/* 列表页布局 */
.main-wrap { 
  padding: 0 28px 60px; 
}

/* 左右两栏的间距 */
.main-grid { 
  display: grid; 
  grid-template-columns: 240px 1fr; 
  gap: 24px; 
  align-items: start; 
}

/* 左侧侧边栏 */
.side-nav { border: 1px solid var(--line); background: #fff; position: sticky; top: 112px; }
.side-nav-head { background: var(--brand); color: #fff; padding: 12px 18px; font-weight: 700; display: flex; justify-content: space-between; }
.side-nav-head .cnt { font-size: 12px; background: rgba(255,255,255,0.2); padding: 1px 8px; border-radius: 10px; }
.side-group-title { background: var(--bg-soft); padding: 10px 16px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); border-left: 3px solid var(--brand); }
.side-nav-list { list-style: none; padding: 0; margin: 0; }
.side-nav-list li { border-bottom: 1px solid var(--line); }
.side-nav-list a { display: flex; align-items: center; padding: 10px 16px; font-size: 13px; color: var(--ink-2); transition: all 0.15s; }
.side-nav-list a::before { content: "›"; color: var(--brand); font-weight: 700; margin-right: 8px; }
.side-nav-list a:hover, .side-nav-list a.active { background: var(--bg-soft); color: var(--brand); padding-left: 20px; }

/* 标题区和下方的产品列表 */
.content-head { 
  display: flex; 
  justify-content: space-between; 
  align-items: baseline; 
  border-bottom: 2px solid var(--brand); 
  padding-bottom: 10px; 
  margin-bottom: 30px; 
}
.content-head h2 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; margin: 0; }
.content-head h2::before { content: ""; width: 4px; height: 22px; background: var(--brand); }

.product-series-block { margin-bottom: 40px; }
.series-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.series-head .idx { font-family: var(--f-mono, monospace); font-size: 11px; font-weight: 700; color: #fff; background: var(--brand); padding: 3px 10px; border-radius: 2px; letter-spacing: 0.06em; }
.series-head h3 { font-size: 17px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 8px; }
.series-head .cnt { font-size: 11.5px; color: var(--ink-3); background: var(--bg-soft); padding: 2px 10px; border-radius: 10px; }
.series-desc { font-size: 13.5px; color: var(--ink-2); padding: 10px 16px; background: var(--c-blue-3, #e8f0f9); border-left: 3px solid var(--brand); margin-bottom: 20px; line-height: 1.7; }

/* ====== 产品卡片网格 ====== */
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }

.model-card { 
  border: 1px solid var(--line); 
  background: #fff; 
  display: flex; 
  flex-direction: column; 
  transition: all 0.2s; 
  height: 100%; 
}
.model-card:hover { 
  border-color: var(--brand); 
  box-shadow: 0 4px 12px rgba(10,74,138,0.1); 
  transform: translateY(-2px); 
}

.model-thumb { 
  width: 100%;
  aspect-ratio: 4/3; 
  background: var(--bg-soft); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border-bottom: 1px solid var(--line); 
  position: relative; 
  overflow: hidden; 
  flex-shrink: 0; 
}
.model-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 10px; }
.model-thumb .no-img { font-size: 10px; color: var(--ink-3); font-family: var(--f-mono, monospace); letter-spacing: 0.14em; }

.model-body { 
  padding: 12px; 
  display: flex; 
  flex-direction: column; 
  flex: 1; 
}

.model-name { 
  font-family: inherit; 
  font-size: 13.5px;    
  font-weight: 700; 
  color: var(--ink);    
  margin-top: 0; 
  margin-bottom: 6px;   
  line-height: 1.4;     
  white-space: nowrap;  
  overflow: hidden;     
  text-overflow: ellipsis; 
  width: 100%;
}

.model-desc { 
  font-size: 12.5px; 
  color: var(--ink-3);  
  margin-bottom: 16px;  
  line-height: 1.4; 
  white-space: nowrap;  
  overflow: hidden;     
  text-overflow: ellipsis; 
  width: 100%;
}

.model-link { 
  font-size: 12.5px; 
  font-weight: 600; 
  color: var(--brand); 
  display: inline-flex; 
  align-items: center; 
  gap: 4px; 
  margin-top: auto; 
}
.model-link::after { 
  content: "›"; 
  font-size: 16px; 
  line-height: 1; 
}

/* 响应式 */
@media (max-width: 1024px) { .model-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { 
  .main-grid { grid-template-columns: 1fr; } 
  .side-nav { position: static; } 
  .page-hero h1 { font-size: 28px; }
}
@media (max-width: 768px) { .model-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { 
  .model-grid { grid-template-columns: 1fr; } 
  .page-hero { padding: 32px 0; }
}