.page-products {
  --pd-gap: clamp(20px, 3.5vw, 44px);
  --pd-pad: clamp(16px, 3.4vw, 38px);
  background: var(--ink);
  color: var(--white);
}

.page-products .breadcrumb {
  padding-top: clamp(14px, 3vw, 26px);
}

/* ---------- 首屏框景 ---------- */
.pd-hero {
  padding-top: clamp(12px, 2.4vw, 24px);
  padding-bottom: clamp(28px, 5vw, 58px);
}

.pd-hero__inner {
  display: grid;
  gap: var(--pd-gap);
}

.pd-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 7.4vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.035em;
  margin: 10px 0 0;
}

.pd-hero h1 em {
  display: block;
  font-style: normal;
  color: var(--lime);
}

.pd-hero__lede {
  margin: 16px 0 0;
  max-width: 58ch;
  color: var(--mist);
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.75;
}

.pd-hero__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  padding: 0;
  background: var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.pd-hero__facts li {
  background: var(--panel);
  padding: 12px 12px 14px;
}

.pd-hero__facts b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(17px, 2.6vw, 24px);
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.pd-hero__facts span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
  line-height: 1.4;
}

.pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pd-hero__frame {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
}

.pd-hero__frame::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-top: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
  border-radius: 0 10px 0 0;
  pointer-events: none;
}

.pd-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: calc(var(--r-lg) - 14px);
}

/* ---------- 索引 + 内容 双栏 ---------- */
.pd-shell {
  display: grid;
  gap: var(--pd-gap);
  padding-bottom: clamp(34px, 6vw, 70px);
}

.pd-index {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  padding: 10px;
}

.pd-index__label {
  margin: 0;
  padding: 8px 10px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.pd-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.pd-index__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--raise);
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.3;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.pd-index__link:hover,
.pd-index__link:focus-visible {
  background: var(--slant);
  border-color: var(--lime);
  color: var(--white);
}

.pd-index__num {
  font-size: 11px;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.pd-index__name {
  font-weight: 600;
  color: var(--white);
}

.pd-index__desc {
  display: none;
  font-size: 12px;
  color: var(--mist);
}

.pd-content {
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  min-width: 0;
}

/* ---------- 章节卡片 ---------- */
.pd-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--pd-pad);
}

.pd-section:nth-child(even) {
  background: linear-gradient(180deg, var(--raise), var(--panel));
}

.pd-section__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  margin-bottom: 18px;
}

.pd-section__num {
  align-self: start;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--lime);
  border: 1px solid var(--lime);
  border-radius: var(--r-pill);
  padding: 3px 9px;
  font-variant-numeric: tabular-nums;
}

.pd-section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 3.4vw, 33px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0;
}

.pd-section__lede {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  max-width: 64ch;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
}

.pd-section p {
  color: var(--mist);
  line-height: 1.75;
  font-size: 15px;
}

.pd-text {
  margin: 16px 0 0;
}

/* ---------- 分栏 ---------- */
.pd-split {
  display: grid;
  gap: 18px;
}

.pd-split__col {
  min-width: 0;
}

/* ---------- 对比表 ---------- */
.pd-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--raise);
}

.pd-table {
  width: 100%;
  min-width: 400px;
  border-collapse: collapse;
  font-size: 14px;
}

.pd-table th,
.pd-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.pd-table th {
  background: var(--slant);
  color: var(--mist);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pd-table td {
  color: var(--mist);
}

.pd-table td:first-child {
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.pd-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 胶囊组 ---------- */
.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* ---------- 图文框 ---------- */
.pd-figure {
  margin: 0;
  min-width: 0;
}

.pd-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--raise);
}

/* ---------- 要点列表 ---------- */
.pd-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pd-list li {
  padding: 13px 15px;
  background: var(--raise);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.pd-list__head {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
}

/* ---------- 战报四格 ---------- */
.pd-report {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.pd-report__item {
  padding: 14px 15px;
  background: var(--raise);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.pd-report__item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.01em;
}

.pd-report__item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
}

/* ---------- 收藏三格 ---------- */
.pd-triple {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.pd-triple__cell {
  background: var(--raise);
  padding: 16px 15px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pd-triple__num {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.pd-triple__label {
  font-size: 13px;
  color: var(--mist);
}

/* ---------- 同步步骤 ---------- */
.pd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pd-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 15px;
  background: var(--raise);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--lime);
}

.pd-steps__num {
  font-size: 12px;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.pd-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.pd-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--mist);
  line-height: 1.7;
}

.pd-note__link {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 255, 62, 0.45);
}

.pd-note__link:hover,
.pd-note__link:focus-visible {
  border-bottom-color: var(--lime);
}

/* ---------- 可展开细节 ---------- */
.pd-more {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--raise);
  overflow: hidden;
}

.pd-more > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
}

.pd-more > summary::-webkit-details-marker {
  display: none;
}

.pd-more > summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--lime);
  line-height: 1;
}

.pd-more[open] > summary::after {
  content: "–";
}

.pd-more > summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}

.pd-more p {
  margin: 0;
  padding: 0 16px 15px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 去向色带 ---------- */
.pd-next-band {
  margin-top: clamp(32px, 5vw, 64px);
  padding: clamp(34px, 6vw, 66px) 0 clamp(30px, 5vw, 56px);
  background: var(--slant);
  clip-path: polygon(0 22px, 100% 0, 100% 100%, 0 100%);
}

.pd-next-band__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 3.6vw, 33px);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.pd-next-band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pd-next-band__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(7, 11, 9, 0.55);
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.pd-next-band__list a:hover,
.pd-next-band__list a:focus-visible {
  border-color: var(--lime);
  background: rgba(7, 11, 9, 0.85);
}

.pd-next-band__list span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lime);
  white-space: nowrap;
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 720px) {
  .pd-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 22px;
  }

  .pd-split--reverse .pd-split__col {
    order: 2;
  }

  .pd-split--reverse .pd-figure {
    order: 1;
  }

  .pd-report {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pd-triple__cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .pd-next-band__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .pd-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
  }

  .pd-hero__frame {
    align-self: end;
  }
}

@media (min-width: 1000px) {
  .pd-shell {
    grid-template-columns: 236px minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 3vw, 46px);
  }

  .pd-index {
    position: sticky;
    top: 108px;
  }

  .pd-index__list {
    display: grid;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
  }

  .pd-index__link {
    flex-direction: row;
    border-color: transparent;
    background: transparent;
    white-space: normal;
  }

  .pd-index__text {
    display: grid;
    gap: 2px;
  }

  .pd-index__desc {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-index__link,
  .pd-next-band__list a {
    transition: none;
  }
}
