/* ============ 详情页（系列页 / 商品页 / 归档 / 404） ============ */
.page-body { padding: 40px 0 72px; }

/* 面包屑 */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumb-sep { color: var(--border); }
.crumb-cur { color: var(--primary); font-weight: 600; }

/* 详情页头部 */
.pd-hero { display: flex; align-items: center; gap: 22px; padding: 32px; background: linear-gradient(135deg, var(--bg-deep), var(--primary)); border-radius: 16px; color: #fff; margin-bottom: 40px; }
.pd-hero-icon {
  width: 72px; height: 72px; border-radius: 16px; flex: none;
  background: rgba(255, 255, 255, 0.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.pd-hero-icon .icon { width: 36px; height: 36px; }
.pd-hero-copy h1 { font-size: 30px; font-weight: 800; margin-bottom: 8px; letter-spacing: 1px; }
.pd-hero-copy p { color: rgba(255, 255, 255, 0.85); font-size: 15px; margin-bottom: 16px; }
.pd-hero-copy .btn-line { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.pd-hero-copy .btn-line:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* 内容块 */
.pd-block { margin-bottom: 40px; }
.pd-block h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--accent); line-height: 1.4; }
.pd-intro p { color: var(--text); font-size: 15px; margin-bottom: 12px; }
.pd-intro p:last-child { margin-bottom: 0; }

/* 特点列表 */
.pd-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.pd-features li { display: flex; align-items: flex-start; gap: 10px; padding: 14px; background: var(--bg-soft); border-radius: 10px; font-size: 14px; }
.pd-features li .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 3px; }
.pd-features li span { flex: 1; }

/* 型号列表 */
.pd-models { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-models li { padding: 8px 18px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 8px; font-weight: 600; color: var(--primary); font-size: 14px; }

/* 适用场景 */
.pd-scene { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.pd-scene li { padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; color: var(--text); box-shadow: var(--shadow); }
.pd-scene li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* 规格表 */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.pd-specs { width: 100%; border-collapse: collapse; background: #fff; }
.pd-specs caption { caption-side: top; }
.pd-specs thead th { background: var(--primary); color: #fff; text-align: left; padding: 12px 16px; font-size: 14px; font-weight: 600; }
.pd-specs tbody th, .pd-specs tbody td { padding: 12px 16px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--bg-soft); }
.pd-specs tbody th { width: 30%; color: var(--primary); font-weight: 600; background: var(--bg-soft); white-space: nowrap; }
.pd-specs tbody tr:last-child th, .pd-specs tbody tr:last-child td { border-bottom: 0; }
.pd-specs tbody tr:hover td { background: #fafbfc; }

/* 归档 */
.archive-list { margin-bottom: 32px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; }
.pagination span { color: var(--muted); font-size: 14px; }

/* 404 */
.notfound { padding: 80px 0; }
.nf-card { text-align: center; max-width: 480px; margin: 0 auto; }
.nf-code { display: block; font-size: 88px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.nf-card h1 { font-size: 26px; color: var(--primary); margin-bottom: 12px; }
.nf-card p { color: var(--muted); margin-bottom: 28px; }

/* 移动端表格堆叠成卡片 */
@media (max-width: 640px) {
  .pd-hero { flex-direction: column; text-align: center; padding: 24px; }
  .pd-hero-copy h1 { font-size: 24px; }
  .pd-features { grid-template-columns: 1fr; }
  .pd-scene { grid-template-columns: 1fr; }
  .pd-specs thead { display: none; }
  .pd-specs tbody, .pd-specs tbody tr, .pd-specs tbody th, .pd-specs tbody td { display: block; width: 100%; }
  .pd-specs tbody tr { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .pd-specs tbody tr:last-child { border-bottom: 0; }
  .pd-specs tbody th { background: none; padding: 0 0 4px; font-size: 13px; color: var(--muted); }
  .pd-specs tbody th::after { content: ""; }
  .pd-specs tbody td { padding: 0 0 8px; border: 0; }
  .pd-specs tbody td::before { content: attr(data-label); display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
}
