/* ═══════════════════════════════════════════════════════════
   详情页（产品 / 新闻）
   ═══════════════════════════════════════════════════════════ */
.detail-page { padding: 48px 0 64px; }
.detail-header { margin-bottom: 32px; }
.detail-header h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); margin-bottom: 12px; line-height: 1.35; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-muted); }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-content { max-width: 900px; }
.detail-content h2 { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 32px 0 14px; padding-left: 12px; border-left: 4px solid var(--orange); }
.detail-content h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 20px 0 10px; }
.detail-content p { font-size: 14px; line-height: 1.85; color: var(--text-body); margin-bottom: 14px; }
.detail-content ul { margin: 0 0 16px 20px; }
.detail-content li { font-size: 14px; line-height: 1.85; color: var(--text-body); margin-bottom: 8px; }
.detail-content .highlight { color: var(--orange); font-weight: 600; }
.detail-content .note { font-size: 13px; color: var(--text-muted); background: var(--light-bg); padding: 14px 16px; border-radius: var(--radius); border-left: 3px solid var(--orange); }
.detail-content .conclusion { background: var(--light-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 32px; }
.detail-content .conclusion h2 { border: none; padding: 0; margin-top: 0; }
.detail-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 16px auto; display: block; }
.product-info-bar { background: var(--light-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; font-size: 13px; color: var(--text-body); margin-bottom: 24px; }
.product-gallery { position: relative; margin-bottom: 28px; }
.product-gallery-main { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; aspect-ratio: var(--img-product-ratio); display: flex; align-items: center; justify-content: center; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.product-gallery-thumb { width: 80px; height: 60px; border: 2px solid var(--border); border-radius: 4px; overflow: hidden; cursor: pointer; opacity: 0.7; transition: border-color var(--transition), opacity var(--transition); }
.product-gallery-thumb.active, .product-gallery-thumb:hover { border-color: var(--orange); opacity: 1; }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 16px 0 24px; }
.product-table th, .product-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.product-table th { background: var(--navy); color: #fff; font-weight: 600; }
.product-table tr:nth-child(even) td { background: var(--light-bg); }
.detail-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; }
.detail-pagination a { color: var(--navy); font-weight: 600; }
.detail-pagination a:hover { color: var(--orange); }
.detail-related { margin-top: 48px; }
.detail-related h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.detail-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, var(--img-product-thumb-max, 140px)));
  gap: 16px 20px;
  justify-content: flex-start;
}
.detail-related-item { text-align: center; text-decoration: none; max-width: var(--img-product-thumb-max, 140px); }
.detail-related-item img {
  width: 100%;
  max-width: var(--img-product-thumb-max, 140px);
  height: auto;
  aspect-ratio: var(--img-product-ratio, 4 / 3);
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}
.detail-related-item span { font-size: 12px; color: var(--navy); font-weight: 600; display: block; line-height: 1.4; }
.detail-related-item:hover span { color: var(--orange); }
.detail-cta-box { background: linear-gradient(135deg, var(--navy) 0%, #1E4D8C 100%); border-radius: var(--radius); padding: 28px 32px; margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.detail-cta-box p { color: rgba(255,255,255,0.85); font-size: 14px; margin: 0; }
.detail-cta-box h3 { color: #fff; font-size: 1.1rem; margin: 0 0 6px; }

/* ═══════════════════════════════════════════════════════════
   产品详情页 · 科技风
   ═══════════════════════════════════════════════════════════ */
.product-detail-page {
  padding: 56px 0 72px;
  background:
    linear-gradient(180deg, #f4f7fb 0%, #fff 220px),
    repeating-linear-gradient(90deg, rgba(10,35,66,0.025) 0, rgba(10,35,66,0.025) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg, rgba(10,35,66,0.025) 0, rgba(10,35,66,0.025) 1px, transparent 1px, transparent 80px);
}
.product-detail-page .container { width: 100%; max-width: 1280px; }

.product-detail-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 56px;
}
@media (min-width: 992px) {
  .product-detail-top { grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr); align-items: stretch; }
}

.product-detail-gallery .product-gallery { margin-bottom: 0; }
.product-detail-page .product-gallery-main {
  background: linear-gradient(145deg, #0a2342 0%, #12345c 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(10,35,66,0.12);
  position: relative;
}
.product-detail-page .product-gallery-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.5;
}
.product-detail-page .product-gallery-main img {
  position: relative;
  z-index: 1;
  padding: 20px;
  object-fit: contain;
}
.product-detail-page .product-gallery-thumb {
  border-radius: 6px;
  border-color: rgba(10,35,66,0.12);
  background: #fff;
}
.product-detail-page .product-gallery-thumb.active,
.product-detail-page .product-gallery-thumb:hover {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
}

.product-detail-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 40px rgba(10,35,66,0.08);
  position: relative;
  overflow: hidden;
}
.product-detail-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), #ffb347, var(--navy));
}
.product-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(10,35,66,0.06);
  border: 1px solid rgba(10,35,66,0.1);
  border-radius: 100px;
}
.tech-tag--cert { color: #0d7a4f; background: rgba(13,122,79,0.08); border-color: rgba(13,122,79,0.15); }
.tech-tag--model { color: var(--orange); background: rgba(255,107,0,0.08); border-color: rgba(255,107,0,0.15); }
.product-sidebar-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-sidebar-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.product-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.product-kpi {
  background: linear-gradient(135deg, rgba(10,35,66,0.04), rgba(10,35,66,0.02));
  border: 1px solid rgba(10,35,66,0.08);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
}
.product-kpi strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.product-kpi span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}
.product-spec-list { list-style: none; margin: 0 0 22px; padding: 0; }
.product-spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.product-spec-list li span { color: var(--text-muted); flex-shrink: 0; }
.product-spec-list li strong { color: var(--navy); text-align: right; font-weight: 600; }
.product-detail-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .product-detail-actions { grid-template-columns: 1fr 1fr; } }
.product-detail-actions .btn-primary,
.product-detail-actions .btn-outline-navy { width: 100%; justify-content: center; text-transform: none; letter-spacing: 0; }

.product-detail-sections { display: flex; flex-direction: column; gap: 48px; width: 100%; max-width: 100%; }

/* 详情页底部：分页 / 相关产品与详情内容同宽 */
.product-detail-page .container > .product-detail-top,
.product-detail-page .container > .product-detail-sections,
.product-detail-sections > .product-detail-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-detail-footer {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1280px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}

.product-detail-footer .detail-pagination {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.product-detail-footer .detail-related {
  margin-top: 0;
}
.product-detail-section { width: 100%; }
.product-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.product-section-head--compact { margin-bottom: 20px; }
.product-section-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--orange);
  min-width: 42px;
}
.product-section-head h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  padding: 0;
  border: none;
}
.product-section-body p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 14px;
}
.product-section-body .highlight,
.product-detail-section .highlight { color: var(--orange); font-weight: 600; }

.product-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .product-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-feature-grid { grid-template-columns: repeat(3, 1fr); } }
.product-feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.product-feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.product-feature-card:hover {
  border-color: rgba(255,107,0,0.35);
  box-shadow: 0 12px 32px rgba(10,35,66,0.08);
  transform: translateY(-2px);
}
.product-feature-card:hover::after { opacity: 1; }
.product-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(10,35,66,0.06);
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.product-feature-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.product-feature-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
}

.product-use-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .product-use-grid { grid-template-columns: repeat(3, 1fr); } }
.product-use-item {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}
.product-use-item h3 { margin: 0 0 8px; font-size: 14px; color: var(--navy); font-weight: 700; }
.product-use-item p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-muted); }

.product-table-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}
.table-scroll { overflow-x: auto; margin-bottom: 24px; -webkit-overflow-scrolling: touch; }
.product-table--tech { margin: 0; min-width: 520px; }
.product-table--tech th {
  background: linear-gradient(135deg, var(--navy), #1e4d8c);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.product-table--tech td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }
.product-detail-section .note {
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(10,35,66,0.04);
  padding: 16px 18px;
  border-radius: var(--radius);
  border-left: 3px solid var(--orange);
  line-height: 1.75;
}

.product-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (min-width: 768px) { .product-trust-bar { grid-template-columns: repeat(4, 1fr); } }
.product-trust-item {
  text-align: center;
  padding: 18px 12px;
  background: linear-gradient(135deg, var(--navy) 0%, #1e4d8c 100%);
  border-radius: var(--radius);
  color: #fff;
}
.product-trust-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}
.product-trust-item span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.product-detail-page .detail-pagination,
.product-detail-page .detail-related { width: 100%; max-width: 100%; }

.product-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-sm { width: 100%; justify-content: center; font-size: 12px; padding: 10px 12px; text-transform: none; letter-spacing: 0; }

@media (max-width: 768px) {
  .product-detail-page { padding: 40px 0 56px; }
  .product-detail-top { margin-bottom: 40px; }
  .product-detail-sidebar { padding: 22px 18px; }
  .product-detail-sections { gap: 36px; }
}

/* 抓取详情富文本 */
.product-detail-rich { color: var(--text-body); line-height: 1.85; }
.product-detail-rich .rich-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--orange);
}
.product-detail-rich .rich-h2:first-child { margin-top: 0; }
.product-detail-rich .rich-h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 18px 0 10px;
}
.product-detail-rich p { font-size: 14px; margin-bottom: 12px; color: var(--text-body); }
.product-detail-rich ul { margin: 0 0 16px 20px; list-style: disc; }
.product-detail-rich li { font-size: 14px; margin-bottom: 8px; }
.product-detail-rich .highlight { color: var(--orange); font-weight: 600; }
.product-detail-rich .rich-note { font-size: 13px; color: var(--text-muted); margin-top: 12px; }
