/* ============ 产品详情页 ============ */
.pd-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}

.pd-grid {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.pd-media {
  flex: 1.05;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-main-img {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #ffffff;
  height: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pd-main-img img {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  background: #ffffff;
}

.pd-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pd-thumb {
  width: 92px;
  height: 68px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  transition: border-color 0.25s, transform 0.25s;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.pd-thumb:hover { transform: translateY(-2px); }

.pd-thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.pd-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 104px;
}

.pd-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-hi);
}

.pd-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mute);
}

.pd-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.pd-meta-item {
  display: flex;
  gap: 14px;
  font-size: 14px;
  color: var(--text-body);
}

.pd-meta-item strong {
  width: 120px;
  flex-shrink: 0;
  color: var(--text-dim);
  font-weight: 500;
}

.pd-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 富文本正文 */
.pd-content {
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}

.pd-content-inner {
  max-width: 900px;
}

.pd-content-inner h2,
.pd-content-inner h3 {
  font-family: var(--font-display);
  color: var(--text-hi);
  margin: 36px 0 16px;
  font-size: 22px;
  font-weight: 700;
}

.pd-content-inner p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mute);
  margin-bottom: 14px;
}

.pd-content-inner ul,
.pd-content-inner ol {
  margin: 0 0 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-content-inner li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mute);
}

.pd-content-inner img {
  max-width: 100%;
  border-radius: var(--radius-l);
  margin: 18px 0;
  border: 1px solid var(--line);
}

.pd-content-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.pd-content-inner td,
.pd-content-inner th {
  border: 1px solid var(--line);
  padding: 10px 14px;
  color: var(--text-body);
  text-align: left;
}

.pd-content-inner th {
  background: var(--surface);
  color: var(--text-hi);
  font-weight: 600;
}

.pd-content-inner strong { color: var(--text-body); }

/* 移动端 */
@media (max-width: 900px) {
  .pd-grid { flex-direction: column; gap: 32px; }
  .pd-info { position: static; }
  .pd-main-img { height: 300px; }
  .pd-title { font-size: 26px; }
  .pd-content { margin-top: 48px; padding-top: 36px; }
}
