/* ==========================================================
   产品总览 · page-products
   ========================================================== */

.page-products {
  background: var(--warm);
  color: var(--ink);
  font-family: var(--font-sans);
  padding-top: calc(var(--header-h) + 16px);
}

.page-products a {
  color: inherit;
}

/* ---------- 页头 ---------- */

.page-products .pd-intro {
  padding-bottom: clamp(26px, 4vw, 44px);
}

.page-products .pd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.page-products .pd-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.page-products .pd-title {
  display: inline-block;
  margin: 0;
  max-width: 100%;
  font-size: clamp(38px, 7.6vw, 96px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--ink-green);
  transform: scaleX(.96);
  transform-origin: left center;
}

.page-products .pd-lede {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.85;
  color: #3d372e;
}

.page-products .pd-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 4vw, 48px);
  list-style: none;
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--paper);
}

.page-products .pd-facts li {
  font-size: 13.5px;
  line-height: 1.6;
  color: #4a443a;
}

.page-products .pd-facts b {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--gold-deep);
}

/* ---------- 分区快捷跳转 ---------- */

.page-products .pd-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0 0 clamp(26px, 4vw, 42px);
}

.page-products .pd-cat {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--paper);
  border-bottom: 2px solid var(--cabbage);
  background: var(--card);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-green);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-products .pd-cat em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cabbage);
}

.page-products .pd-cat:hover,
.page-products .pd-cat:focus-visible {
  border-bottom-color: var(--gold);
  background: #ffffff;
}

/* ---------- 主体网格 ---------- */

.page-products .pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 46px);
  align-items: start;
  padding-bottom: clamp(46px, 7vw, 84px);
}

.page-products .pd-cards {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 28px);
  min-width: 0;
}

/* ---------- 功能卡片 ---------- */

.page-products .pd-card {
  position: relative;
  width: 100%;
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--card);
  border: 1px solid var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-products .pd-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--dur) var(--ease);
}

.page-products .pd-card:hover,
.page-products .pd-card:target {
  border-color: var(--paper);
  background: #ffffff;
}

.page-products .pd-card:hover::before,
.page-products .pd-card:target::before {
  transform: scaleY(1);
}

.page-products .pd-chead {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 2.2vw, 26px);
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--paper);
}

.page-products .pd-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 700;
  line-height: .78;
  letter-spacing: -.06em;
  color: var(--gold);
  text-shadow: 0 1px 0 rgba(138, 99, 20, .3);
}

.page-products .pd-cmain {
  flex: 1 1 auto;
  min-width: 0;
}

.page-products .pd-ctop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-products .pd-ctitle {
  margin: 0;
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink-green);
}

.page-products .pd-clede {
  margin: 9px 0 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.78;
  color: #47413a;
}

.page-products .pd-shot {
  margin: 0 0 18px;
  border: 1px solid var(--paper);
  background: var(--warm);
  line-height: 0;
}

.page-products .pd-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .pd-meta {
  display: grid;
  gap: 9px;
  margin: 0;
}

.page-products .pd-meta > div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.page-products .pd-meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--cabbage);
}

.page-products .pd-meta dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #3d372e;
}

.page-products .pd-path {
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .pd-path:hover,
.page-products .pd-path:focus-visible {
  border-bottom-color: var(--gold-deep);
  background: rgba(224, 165, 38, .14);
}

/* ---------- 右侧功能对照 ---------- */

.page-products .pd-rail {
  align-self: start;
  margin-top: 4px;
}

.page-products .pd-rail-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink-green);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--ink-green);
}

.page-products .pd-rail-scroll {
  overflow-x: auto;
}

.page-products .pd-table {
  width: 100%;
  min-width: 250px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.page-products .pd-table .pd-col-a { width: 40%; }
.page-products .pd-table .pd-col-b { width: 26%; }
.page-products .pd-table .pd-col-c { width: 34%; }

.page-products .pd-table th,
.page-products .pd-table td {
  padding: 11px 6px 11px 0;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
  border-bottom: 1px solid var(--paper);
}

.page-products .pd-table thead th {
  padding-top: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--cabbage);
}

.page-products .pd-table tbody tr {
  transition: background var(--dur) var(--ease);
}

.page-products .pd-table tbody tr:hover,
.page-products .pd-table tbody tr:focus-within {
  background: var(--leaf);
}

.page-products .pd-table tbody th {
  font-weight: 700;
  color: var(--ink-green);
}

.page-products .pd-table tbody th a {
  color: var(--ink-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

.page-products .pd-table tbody th a:hover,
.page-products .pd-table tbody th a:focus-visible {
  border-bottom-color: var(--gold);
}

.page-products .pd-rail-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #5a5447;
}

/* 对照表行 → 卡片联动 */
.page-products:has(#rail-r1:hover) #fn-1::before,
.page-products:has(#rail-r1:focus-within) #fn-1::before,
.page-products:has(#rail-r2:hover) #fn-2::before,
.page-products:has(#rail-r2:focus-within) #fn-2::before,
.page-products:has(#rail-r3:hover) #fn-3::before,
.page-products:has(#rail-r3:focus-within) #fn-3::before,
.page-products:has(#rail-r4:hover) #fn-4::before,
.page-products:has(#rail-r4:focus-within) #fn-4::before,
.page-products:has(#rail-r5:hover) #fn-5::before,
.page-products:has(#rail-r5:focus-within) #fn-5::before {
  transform: scaleY(1);
}

/* ---------- 通用区块 ---------- */

.page-products .pd-sec {
  padding: clamp(48px, 7vw, 92px) 0;
  border-top: 1px solid var(--paper);
}

.page-products .pd-sechead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px clamp(16px, 3vw, 34px);
  align-items: start;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.page-products .pd-sechead--tight {
  margin-bottom: 0;
}

.page-products .pd-secnum {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.05em;
  color: var(--gold);
}

.page-products .pd-h2 {
  margin: 0;
  font-size: clamp(23px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--ink-green);
}

.page-products .pd-seclede {
  margin: 12px 0 0;
  max-width: 64ch;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  color: #3d372e;
}

/* ---------- 筛选维度 ---------- */

.page-products .pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.page-products .pd-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--paper);
  background: var(--warm);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-green);
}

.page-products .pd-chip--gold {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: rgba(224, 165, 38, .12);
}

.page-products .pd-chip--cabbage {
  border-color: var(--cabbage);
  color: var(--cabbage);
  background: rgba(78, 143, 107, .1);
}

/* ---------- 宽幅配图 ---------- */

.page-products .pd-wide {
  margin: 0 0 clamp(22px, 3vw, 34px);
  border: 1px solid var(--paper);
  background: var(--warm);
  line-height: 0;
}

.page-products .pd-wide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 横向时间轴 ---------- */

.page-products .pd-tlwrap {
  overflow-x: auto;
  border-top: 1px solid var(--ink-green);
  border-bottom: 1px solid var(--paper);
  -webkit-overflow-scrolling: touch;
}

.page-products .pd-tl {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: max-content;
}

.page-products .pd-node {
  position: relative;
  flex: 0 0 auto;
  width: 232px;
  padding: 34px 24px 26px 0;
  outline-offset: -3px;
}

.page-products .pd-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 11px;
  height: 11px;
  background: var(--warm);
  border: 2px solid var(--cabbage);
  border-radius: 50%;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .pd-node::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 0;
  top: 21px;
  height: 1px;
  background: var(--paper);
}

.page-products .pd-node:last-child::after {
  display: none;
}

.page-products .pd-node:hover::before,
.page-products .pd-node:focus-within::before,
.page-products .pd-node:focus::before {
  background: var(--gold);
  border-color: var(--gold-deep);
}

.page-products .pd-ntime {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--cabbage);
}

.page-products .pd-ntype {
  display: inline-block;
  margin-bottom: 9px;
  padding: 2px 9px;
  background: var(--leaf);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-green);
}

.page-products .pd-ntext {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink);
}

.page-products .pd-nmore {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  padding-right: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #55503f;
  transition: max-height 220ms var(--ease), opacity 220ms var(--ease), margin-top 220ms var(--ease);
}

.page-products .pd-node:hover .pd-nmore,
.page-products .pd-node:focus-within .pd-nmore,
.page-products .pd-node:focus .pd-nmore {
  max-height: 130px;
  margin-top: 8px;
  opacity: 1;
}

/* ---------- 分栏图文 ---------- */

.page-products .pd-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.page-products .pd-split-shot {
  margin: 0;
  border: 1px solid var(--paper);
  background: var(--warm);
  line-height: 0;
}

.page-products .pd-split-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .pd-bullets {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.page-products .pd-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14.8px;
  line-height: 1.75;
  color: #3d372e;
}

.page-products .pd-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--cabbage);
  background: var(--leaf);
}

.page-products .pd-bullets strong {
  font-weight: 700;
  color: var(--ink-green);
}

/* ---------- 结尾 ---------- */

.page-products .pd-cta {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--ink-green);
  color: var(--warm);
}

.page-products .pd-cta-h {
  margin: 0;
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: #ffffff;
}

.page-products .pd-cta p {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(246, 243, 234, .84);
}

.page-products .pd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ==========================================================
   响应式
   ========================================================== */

@media (min-width: 760px) {

  .page-products .pd-cards > .pd-card:nth-child(1) { width: 100%; }
  .page-products .pd-cards > .pd-card:nth-child(2) { width: 97%; }
  .page-products .pd-cards > .pd-card:nth-child(3) { width: 94%; }
  .page-products .pd-cards > .pd-card:nth-child(4) { width: 91%; }
  .page-products .pd-cards > .pd-card:nth-child(5) { width: 88%; }

  .page-products .pd-sechead--tight {
    margin-bottom: 14px;
  }
}

@media (min-width: 900px) {

  .page-products .pd-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-products .pd-split--flip .pd-split-shot {
    order: 1;
  }

  .page-products .pd-split--flip .pd-split-text {
    order: 2;
  }
}

@media (min-width: 1040px) {

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

  .page-products .pd-rail {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

@media (max-width: 640px) {

  .page-products {
    padding-top: calc(var(--header-h) + 10px);
  }

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

  .page-products .pd-num {
    font-size: 42px;
  }

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

  .page-products .pd-secnum {
    grid-row: auto;
    margin-bottom: 4px;
    font-size: 38px;
  }

  .page-products .pd-meta > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .page-products .pd-node {
    width: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .page-products .pd-card,
  .page-products .pd-card::before,
  .page-products .pd-node::before,
  .page-products .pd-nmore,
  .page-products .pd-table tbody tr,
  .page-products .pd-path,
  .page-products .pd-cat {
    transition: none;
  }
}
<<<END>>>
