/* 产品详情页 - 与手册一致的专业版式 */
:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --text: #1c1c1c;
  --text-muted: #5a5a5a;
  --accent: #2e7d32;
  --border: #dee2e6;
  --divider: #2e7d32;
  --radius: 8px;
  --font: Arial, "Microsoft YaHei", "PingFang SC", "SimHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.detail-header {
  background: var(--bg);
  border-bottom: 2px solid var(--divider);
  padding: 18px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.detail-header .container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-header .logo {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.detail-back {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.detail-back:hover {
  color: var(--accent);
  background: var(--bg-alt);
}

.detail-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}

.detail-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.detail-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.detail-breadcrumb a:hover { text-decoration: underline; }

.detail-category {
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.detail-title {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--divider);
  color: var(--text);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* 详情页：图标 + 文字特性列表（与手册一致） */
.detail-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px 20px;
  margin-bottom: 24px;
}

.detail-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.detail-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.detail-feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.detail-feature-text {
  line-height: 1.4;
}

.detail-features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 22px;
  align-items: center;
}

.detail-features-row .dico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.detail-features-row .dico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.detail-image-wrap {
  margin-bottom: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.detail-image-wrap img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.spec-section {
  margin-bottom: 32px;
}

.spec-section h3 {
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 600;
  width: 34%;
  font-size: 0.875rem;
}

.spec-table td {
  color: var(--text-muted);
  background: var(--bg);
}

.spec-table tbody tr:nth-child(even) td {
  background: #fcfcfc;
}

.spec-table tr:hover td {
  background: #f8faf8;
}

.spec-list { list-style: none; }
.spec-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
}
.spec-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.detail-footer {
  border-top: 2px solid var(--divider);
  padding: 24px 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg-alt);
}

.detail-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.detail-footer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .spec-table th, .spec-table td { font-size: 0.8rem; padding: 10px 12px; }
  .spec-table th { width: 38%; }
  .detail-title { font-size: 1.35rem; }
  .detail-features-list { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
  .detail-feature-item { font-size: 0.875rem; }
  .detail-features-row { gap: 10px 12px; margin-bottom: 18px; }
  .detail-features-row .dico { width: 22px; height: 22px; }
}
