.page-products {
  --pd-gap: clamp(20px, 3vw, 34px);
  --pd-rail-w: 308px;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(24px, 4vw, 40px) 0 clamp(46px, 6vw, 68px);
  overflow: hidden;
}

.page-products .pd-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--crimson) 0 44px, var(--ink) 44px 88px);
}

.page-products .pd-hero .m-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(16px, 3vw, 28px);
  font-size: 13px;
  color: var(--mute);
}

.page-products .pd-hero .m-breadcrumb__link {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--speed);
}

.page-products .pd-hero .m-breadcrumb__link:hover {
  border-bottom-color: var(--amber);
}

.page-products .pd-hero .m-eyebrow {
  color: var(--amber);
  margin: 0 0 10px;
}

.page-products .pd-hero__title {
  margin: 0 0 clamp(14px, 2.4vw, 20px);
  max-width: 20ch;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-products .pd-hero__lead {
  margin: 0 0 clamp(20px, 3vw, 30px);
  max-width: 58ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: rgba(243, 238, 230, 0.86);
}

.page-products .pd-stats {
  list-style: none;
  margin: 0 0 clamp(22px, 3.4vw, 32px);
  padding: 18px 0 0;
  border-top: 1px solid rgba(243, 238, 230, 0.16);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.page-products .pd-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--amber);
  padding-left: 12px;
}

.page-products .pd-stats b {
  font-family: var(--f-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--amber);
}

.page-products .pd-stats span {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(243, 238, 230, 0.72);
}

.page-products .pd-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 主框架 ---------- */
.page-products .pd-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.page-products .pd-rail {
  background: var(--char);
  color: var(--paper);
  padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 24px);
  border-bottom: 3px solid var(--crimson);
}

.page-products .pd-rail__block {
  margin-bottom: 22px;
}

.page-products .pd-rail .m-eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.page-products .pd-season {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  font-size: 13px;
}

.page-products .pd-season li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(243, 238, 230, 0.12);
  color: rgba(243, 238, 230, 0.86);
}

.page-products .pd-season .m-num {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.page-products .pd-season--plain li {
  font-size: 13px;
}

.page-products .m-spy {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(243, 238, 230, 0.16);
}

.page-products .m-spy__link {
  display: block;
  padding: 9px 10px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(243, 238, 230, 0.78);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color var(--speed), background var(--speed), border-color var(--speed);
}

.page-products .m-spy__link:hover {
  color: var(--white);
  background: rgba(243, 238, 230, 0.06);
  border-left-color: var(--red);
}

.page-products .m-spy__link.is-current {
  color: var(--amber);
  background: rgba(245, 179, 1, 0.09);
  border-left-color: var(--amber);
}

.page-products .pd-body {
  min-width: 0;
  padding: clamp(26px, 4vw, 44px) clamp(18px, 4vw, 48px) clamp(40px, 6vw, 72px);
}

/* ---------- 章节 ---------- */
.page-products .pd-sec {
  padding: clamp(26px, 4vw, 40px) 0;
  border-top: 2px solid var(--crimson);
}

.page-products .pd-sec:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.page-products .pd-sec__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.page-products .pd-sec__num {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  background: var(--crimson);
  color: var(--white);
  font-family: var(--f-num);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  font-weight: 700;
}

.page-products .pd-sec__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .pd-copy {
  margin: 0 0 14px;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--char);
}

.page-products .pd-copy--dark {
  color: rgba(243, 238, 230, 0.86);
}

/* ---------- 图 ---------- */
.page-products .pd-fig {
  margin: 0 0 clamp(18px, 2.6vw, 26px);
}

.page-products .pd-fig img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--edge-light);
  background: var(--edge);
  box-shadow: 6px 6px 0 rgba(13, 13, 15, 0.08);
  filter: saturate(0.88);
}

.page-products .pd-fig figcaption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mute);
  letter-spacing: 0.02em;
}

.page-products .pd-fig--band img {
  box-shadow: none;
  border-left: 0;
  border-right: 0;
}

/* ---------- 表格 ---------- */
.page-products .pd-table-wrap {
  margin-bottom: 10px;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--edge-light);
  -webkit-overflow-scrolling: touch;
}

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

.page-products .pd-table caption {
  caption-side: top;
  padding: 11px 14px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mute);
  background: var(--paper);
  border-bottom: 1px solid var(--edge);
}

.page-products .pd-table th,
.page-products .pd-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--edge);
}

.page-products .pd-table thead th {
  background: var(--char);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  white-space: nowrap;
  border-bottom: 0;
}

.page-products .pd-table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--white);
  font-family: var(--f-num);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  color: var(--crimson);
  white-space: nowrap;
  border-right: 1px solid var(--edge);
  transition: box-shadow var(--speed), background var(--speed);
}

.page-products .pd-table tbody tr:nth-child(even) {
  background: #F7F3EC;
}

.page-products .pd-table tbody tr:nth-child(even) th[scope="row"] {
  background: #F0EAE1;
}

.page-products .pd-table tbody tr:hover {
  background: var(--edge);
}

.page-products .pd-table tbody tr:hover th[scope="row"] {
  background: var(--edge);
  box-shadow: inset 3px 0 0 var(--red);
}

.page-products .pd-tablenote {
  margin: 0 0 clamp(16px, 2.4vw, 22px);
  font-size: 12px;
  line-height: 1.65;
  color: var(--mute);
}

/* ---------- 双栏内容块 ---------- */
.page-products .pd-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 26px);
  align-items: start;
}

.page-products .pd-duo__col {
  min-width: 0;
}

.page-products .pd-duo .pd-fig {
  margin-bottom: 0;
}

/* ---------- 手势 ---------- */
.page-products .pd-gestures {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pd-gestures li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 11px 13px;
  background: var(--white);
  border: 1px solid var(--edge-light);
  font-size: 14px;
  line-height: 1.7;
  color: var(--char);
}

.page-products .pd-gestures b {
  font-family: var(--f-num);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--crimson);
}

.page-products .pd-gesture {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 4px 0 0;
  border: 1px solid var(--edge-light);
  background: var(--white);
  padding: 10px;
}

/* ---------- 版本块 ---------- */
.page-products .pd-version {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 32px) clamp(18px, 3vw, 28px);
  background: var(--ink);
  color: var(--paper);
  border-left: 3px solid var(--amber);
}

.page-products .pd-version__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
}

.page-products .pd-version__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: grayscale(0.5);
}

.page-products .pd-version__inner {
  position: relative;
  z-index: 1;
}

.page-products .pd-vnum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.page-products .pd-vnum .m-copy {
  font-family: var(--f-num);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  padding: 6px 12px;
  background: rgba(243, 238, 230, 0.08);
  color: var(--paper);
  border: 1px solid rgba(243, 238, 230, 0.28);
  border-radius: 0;
  cursor: pointer;
  transition: color var(--speed), border-color var(--speed), transform var(--speed);
}

.page-products .pd-vnum .m-copy:hover {
  color: var(--amber);
  border-color: var(--amber);
  transform: translateY(-2px);
}

.page-products .pd-details {
  border-top: 1px solid rgba(243, 238, 230, 0.16);
  margin-bottom: 22px;
}

.page-products .pd-details details {
  border-bottom: 1px solid rgba(243, 238, 230, 0.16);
}

.page-products .pd-details summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 13px 0 13px 30px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  transition: color var(--speed);
}

.page-products .pd-details summary::-webkit-details-marker {
  display: none;
}

.page-products .pd-details summary::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 14px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: var(--pitch);
  color: var(--white);
  font-size: 11px;
  line-height: 1;
}

.page-products .pd-details summary:hover {
  color: var(--amber);
}

.page-products .pd-details details[open] summary {
  color: var(--amber);
}

.page-products .pd-details p {
  margin: 0 0 14px;
  padding-left: 30px;
  max-width: 60ch;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(243, 238, 230, 0.8);
}

.page-products .pd-diff__label {
  display: block;
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.page-products .pd-diff {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
  max-width: 640px;
}

.page-products .pd-diff li {
  padding: 10px 12px;
  border: 1px solid rgba(245, 179, 1, 0.5);
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(243, 238, 230, 0.88);
}

.page-products .pd-diff__foot {
  margin: 0;
  font-size: 14px;
}

/* ---------- 查询路径 ---------- */
.page-products .pd-paths {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 2vw, 18px);
}

.page-products .pd-path {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--edge-light);
  border-top: 3px solid var(--crimson);
  transition: transform var(--speed), border-color var(--speed);
}

.page-products .pd-path:hover {
  transform: translateY(-2px);
  border-color: var(--red);
}

.page-products .pd-path__num {
  font-family: var(--f-num);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--crimson);
}

.page-products .pd-path__body {
  min-width: 0;
}

.page-products .pd-path__body h3 {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .pd-path__chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--mute);
}

.page-products .pd-arrow {
  font-family: var(--f-num);
  color: var(--red);
}

.page-products .pd-path__body .pd-copy {
  font-size: 15px;
  margin-bottom: 10px;
}

/* ---------- 链接 ---------- */
.page-products .pd-link {
  display: inline-block;
  color: var(--crimson);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 16, 46, 0.35);
  transition: color var(--speed), border-color var(--speed);
}

.page-products .pd-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.page-products .pd-link--light {
  color: var(--amber);
  border-bottom-color: rgba(245, 179, 1, 0.45);
}

.page-products .pd-link--light:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ---------- 收尾 ---------- */
.page-products .pd-cta {
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(20px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--edge-light);
  border-top: 3px solid var(--crimson);
}

.page-products .pd-cta__title {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .pd-cta .pd-copy:last-child {
  margin-bottom: 0;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-products .pd-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-products .pd-duo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-products .pd-duo--narrow {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .page-products .pd-paths {
    gap: 14px;
  }
}

@media (min-width: 960px) {
  .page-products .pd-shell {
    grid-template-columns: var(--pd-rail-w) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .pd-rail {
    position: sticky;
    top: 0;
    align-self: start;
    max-height: 100vh;
    overflow-y: auto;
    border-bottom: 0;
    border-right: 1px solid rgba(243, 238, 230, 0.14);
  }

  .page-products .pd-body {
    max-width: 980px;
  }
}

@media (max-width: 420px) {
  .page-products .pd-sec__head {
    gap: 10px;
  }

  .page-products .pd-sec__num {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .page-products .pd-path {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
