/* ============================================================
   产品详情页样式 - 对齐参考站：图左文右 + 单图 + 在线咨询
   ============================================================ */

.detail-breadcrumb {
  background: var(--bg-soft); padding: 14px 0;
  font-size: 13px; color: var(--text-mute);
  border-bottom: 1px solid var(--border);
}
.detail-breadcrumb a { color: var(--text-soft); }
.detail-breadcrumb a:hover { color: var(--brand-6); }
.detail-breadcrumb span { margin: 0 6px; color: var(--text-mute); }

.detail-main { padding: 40px 0 60px; }
.detail-top {
  display: grid; grid-template-columns: 480px 1fr;
  gap: 30px; align-items: start; margin-bottom: 50px;
}
.detail-top .img-box {
  aspect-ratio: 4/3; background: var(--bg-section);
  border-radius: var(--radius); overflow: hidden;
}
.detail-top .img-box img { width: 100%; height: 100%; object-fit: cover; }

.detail-top .text-box h1 {
  font-size: 26px; font-weight: 700; color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.detail-top .tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px;
}
.detail-top .tag {
  display: inline-block; padding: 4px 14px; border-radius: 16px;
  font-size: 12px; cursor: default; text-decoration: none;
  transition: all .2s;
}
.detail-top .tag-blue {
  background: #e6f0ff; color: var(--brand-8);
}
.detail-top .tag-green {
  background: #e6fff3e; color: #2d7a2a;
}
.detail-top .tag-orange {
  background: #fff5e6e; color: #f57c00;
}
.detail-top .btn-consult {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 4px;
  font-size: 15px; font-weight: 600; color: #fff;
  background: var(--brand-6);
  border: none; cursor: pointer; text-decoration: none;
  transition: all .2s;
}
.detail-top .btn-consult:hover { background: var(--brand-8); }

/* 产品详情 */
.detail-section { margin-bottom: 30px; }
.detail-section .section-title {
  font-size: 20px; font-weight: 700; color: var(--text);
  border-left: 3px solid var(--brand-6);
  padding-left: 14px; margin-bottom: 18px;
}
.detail-section .desc-text {
  color: var(--text-soft); line-height: 1.9; font-size: 14px; white-space: pre-wrap;
}
.detail-section ul {
  list-style: none; padding: 0;
}
.detail-section li {
  position: relative; padding: 6px 0 6px 22px;
  color: var(--text-soft); line-height: 1.8; font-size: 14px;
}
.detail-section li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-6); top: 14px;
}

/* 咨询表单 */
.consult-form {
  background: linear-gradient(135deg, #f8faff, #e8f0fe);
  padding: 28px 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.consult-form h3 {
  font-size: 18px; font-weight: 700; color: var(--text);
  margin-bottom: 16px;
}
.consult-form p { font-size: 13px; color: var(--text-soft); margin-bottom: 16px; }
.consult-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.consult-form input, .consult-form select, .consult-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; color: var(--text);
  background: #fff; transition: border-color .2s;
}
.consult-form input:focus, .consult-form select:focus, .consult-form textarea:focus { outline: none; border-color: var(--brand-6); box-shadow: 0 0 0 3px var(--brand-1); }
.consult-form button {
  width: 100%; padding: 12px; background: var(--cta); color: #4c4c4c;
  border: none; border-radius: var(--radius); font-size: 15px;
  font-weight: 600; cursor: pointer;
}
.consult-form button:hover { background: var(--cta-hover); }

@media (max-width: 768px) {
  .detail-top { grid-template-columns: 1fr !important; }
  .detail-top .img-box { aspect-ratio: 3/2; max-height: 300px; }
  .detail-top .tags { justify-content: center; }
  .detail-section .section-title { font-size: 17px; }
  .consult-form .form-row { grid-template-columns: 1fr !important; }
}
