/* ===== 产品详情页 ===== */
.product-page { padding-top: 74px; }

.p-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

html[data-theme="light"] .p-header { background: rgba(255, 255, 255, 0.88); }

.p-header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.p-brand { display: flex; align-items: center; }
.p-brand img { height: 42px; width: auto; max-width: 220px; object-fit: contain; }

.p-nav { display: flex; align-items: center; gap: 18px; }
.p-nav a { font-size: 14px; color: var(--text-dim); transition: color .25s; }
.p-nav a:hover { color: var(--primary-2); }

.p-main { padding: 36px 0 80px; }

.p-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 26px;
}
.p-breadcrumb a:hover { color: var(--primary-2); }

.p-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 76px;
}

.p-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary-2);
  margin-bottom: 12px;
}

.p-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 1px;
}
.p-title span { color: var(--primary-2); }

.p-sub {
  margin-top: 16px;
  max-width: 560px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.85;
}

.p-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.p-chips span {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-dim);
}

.p-visual-wrap { display: flex; flex-direction: column; align-items: center; }
.p-visual {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.p-visual img { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.p-visual-note { margin-top: 10px; font-size: 12px; color: var(--text-dim); }

.p-placeholder {
  min-height: 300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-dim);
  font-size: 15px;
  text-align: center;
  padding: 30px;
}

.p-section { margin-top: 68px; }
.p-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: .5px;
}
.p-section-lead { color: var(--text-dim); font-size: 15px; margin-top: -10px; margin-bottom: 24px; max-width: 720px; }

.p-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.p-spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 12px;
  padding: 15px 18px;
}
.p-spec dt { color: var(--text-dim); font-size: 13px; flex-shrink: 0; }
.p-spec dd { font-weight: 600; font-size: 14px; text-align: right; }

.p-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-feature {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  transition: border-color .25s, transform .25s;
}
.p-feature:hover { border-color: rgba(47, 123, 255, 0.45); transform: translateY(-3px); }
.p-feature h3 { font-size: 16px; margin-bottom: 6px; }
.p-feature p { color: var(--text-dim); font-size: 13.5px; line-height: 1.7; }

.p-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.p-tags span {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-dim);
}

.p-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.p-gallery figure { margin: 0; }
.p-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
}
.p-gallery figcaption { margin-top: 8px; font-size: 12px; color: var(--text-dim); text-align: center; }

.p-cta {
  margin-top: 80px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47, 123, 255, 0.16), rgba(0, 143, 184, 0.06)),
    var(--bg-soft);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.p-cta h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.p-cta p { color: var(--text-dim); }

.p-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
.p-footer a { color: inherit; }
.p-footer a:hover { color: var(--primary-2); }
.p-footer .p-footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }

@media (max-width: 900px) {
  .p-hero { grid-template-columns: 1fr; gap: 34px; }
  .p-spec-grid { grid-template-columns: 1fr; }
  .p-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .p-gallery { grid-template-columns: repeat(2, 1fr); }
  .p-nav a { display: none; }
}

@media (max-width: 600px) {
  .p-title { font-size: 30px; }
  .p-feature-grid, .p-gallery { grid-template-columns: 1fr; }
  .p-header-inner { height: 66px; }
  .p-brand img { height: 36px; max-width: 170px; }
  .p-main { padding-top: 22px; }
  .product-page { padding-top: 66px; }
  .p-cta { padding: 26px; }
}
