/* ── 产品详情页 ── */

.product-detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* 面包屑 */
.pd-breadcrumb {
  font-size: 0.85em;
  color: #4a5568;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-breadcrumb a {
  color: #7a8aa0;
  text-decoration: none;
  transition: color 0.2s;
}
.pd-breadcrumb a:hover { color: var(--accent); }
.pd-breadcrumb .sep { color: #2d3748; }
.pd-breadcrumb .current { color: var(--accent); }

/* 主体区：图片 + 信息 */
.pd-main {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 64px;
}

/* 图片区 */
.pd-gallery {
  flex: 0 0 480px;
  max-width: 480px;
}
.pd-gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.pd-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 信息区 */
.pd-info {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
}
.pd-category-tag {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.pd-product-name {
  font-size: 2em;
  font-weight: 700;
  color: #e8edf5;
  line-height: 1.35;
  margin: 0 0 12px;
}
.pd-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 28px;
}
.pd-desc {
  font-size: 0.95em;
  color: #7a8aa0;
  line-height: 1.9;
  margin-bottom: 28px;
}

/* 应用场景 */
.pd-section-label {
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4a5568;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(var(--primary-rgb), 0.15);
}
.pd-apps {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.pd-apps li {
  font-size: 0.9em;
  color: #7a8aa0;
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.pd-apps li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.55em;
  top: 5px;
  opacity: 0.8;
}

/* 操作按钮组 */
.pd-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.pd-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95em;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.pd-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.pd-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1.5px solid rgba(var(--primary-rgb), 0.35);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95em;
  border-radius: 6px;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s;
  cursor: pointer;
}
.pd-btn-secondary:hover { background: rgba(var(--primary-rgb), 0.1); }

/* 技术参数表 */
.pd-specs-section {
  margin-bottom: 56px;
}
.pd-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
  border: 1px solid rgba(var(--primary-rgb), 0.18);
  border-radius: 8px;
  overflow: hidden;
}
.pd-specs-table thead tr {
  background: rgba(var(--primary-rgb), 0.15);
}
.pd-specs-table thead th {
  padding: 12px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-size: 0.85em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.2);
}
.pd-specs-table tbody tr {
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.08);
  transition: background 0.15s;
}
.pd-specs-table tbody tr:last-child { border-bottom: none; }
.pd-specs-table tbody tr:hover { background: rgba(var(--primary-rgb), 0.06); }
.pd-specs-table td {
  padding: 11px 20px;
  vertical-align: middle;
  line-height: 1.6;
}
.pd-specs-label {
  color: #c8d4e0;
  font-weight: 600;
  min-width: 140px;
}
.pd-specs-en {
  color: #4a5568;
  font-style: italic;
  min-width: 180px;
}
.pd-specs-value {
  color: #e8edf5;
}

/* 相关产品 */
.pd-related {
  border-top: 1px solid rgba(var(--primary-rgb), 0.15);
  padding-top: 48px;
}
.pd-related-title {
  font-size: 1.2em;
  font-weight: 700;
  color: #c8d4e0;
  margin-bottom: 24px;
}
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.pd-related-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}
.pd-related-card:hover {
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.1);
}
.pd-related-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: rgba(var(--primary-rgb), 0.07);
}
.pd-related-card-name {
  padding: 10px 14px;
  font-size: 0.88em;
  font-weight: 600;
  color: #c8d4e0;
}

/* 响应式 */
@media (max-width: 900px) {
  .pd-main { flex-direction: column; gap: 28px; }
  .pd-gallery { flex: none; max-width: 100%; width: 100%; }
  .pd-product-name { font-size: 1.5em; }
  .pd-apps { grid-template-columns: 1fr; }
}
