.page-products {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}

.page-products img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- 首屏 ---------- */

.page-products .hero {
  position: relative;
  padding-top: calc(var(--header-h) + 36px);
}

.page-products .hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 460px;
  background: radial-gradient(58% 100% at 76% 0%, rgba(201, 162, 39, .16), transparent 72%);
  pointer-events: none;
}

.page-products .hero .wrap {
  position: relative;
  z-index: 1;
}

.page-products .hero-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -.012em;
  margin: 20px 0 0;
}

.page-products .hero-lead {
  max-width: 44rem;
  margin-top: 26px;
  color: rgba(242, 237, 228, .8);
}

.page-products .hero-strip {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 52px 0 0;
  padding-block: 30px 38px;
  padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-top: 1px solid var(--line);
  scrollbar-width: thin;
}

.page-products .strip-card {
  position: relative;
  flex: 0 0 auto;
  width: min(292px, 76vw);
  scroll-snap-align: start;
  padding-left: 20px;
  border-left: 1px solid var(--gold-line);
}

.page-products .strip-card::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 4px;
  width: 5px;
  height: 5px;
  background: var(--gold);
}

.page-products .strip-k {
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 14px;
}

.page-products .strip-t {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.32;
  margin: 0 0 10px;
}

.page-products .strip-d {
  margin: 0;
  font-size: .875rem;
  line-height: 1.8;
  color: var(--mute);
}

/* ---------- 通用小标题 ---------- */

.page-products .sec-head {
  max-width: 46rem;
  margin-bottom: 40px;
}

.page-products .sec-head h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.2vw, 2.25rem);
  line-height: 1.24;
  margin: 16px 0 0;
}

.page-products .sec-intro {
  margin: 18px 0 0;
  line-height: 1.85;
  color: rgba(242, 237, 228, .74);
}

/* ---------- 端别对照 ---------- */

.page-products .compare-figure {
  margin: 0 0 44px;
}

.page-products .end-switch {
  position: relative;
}

.page-products .end-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  margin-bottom: 28px;
}

.page-products .end-tab {
  cursor: pointer;
  padding: 10px 24px;
  border-radius: var(--pill);
  font-size: .9375rem;
  color: var(--mute);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-products #end-mobile:checked ~ .end-tabs .end-tab--mobile,
.page-products #end-desktop:checked ~ .end-tabs .end-tab--desktop {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}

.page-products #end-mobile:checked ~ .end-panels .end-panel--desktop,
.page-products #end-desktop:checked ~ .end-panels .end-panel--mobile {
  display: none;
}

@keyframes pp-in-left {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes pp-in-right {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}

.page-products .end-panel {
  background: var(--bronze);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 28px 26px 24px;
}

.page-products .end-panel--mobile {
  animation: pp-in-left 260ms var(--ease) both;
}

.page-products .end-panel--desktop {
  animation: pp-in-right 220ms var(--ease) both;
}

.page-products .end-panel h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 14px;
}

.page-products .end-panel > p {
  margin: 0 0 22px;
  max-width: 54rem;
  line-height: 1.85;
  color: rgba(242, 237, 228, .8);
}

.page-products .fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 34rem;
}

.page-products .fact-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.page-products .fact-k {
  flex: 0 0 5.5em;
  font-size: .8125rem;
  color: var(--mute);
}

.page-products .fact-v {
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .04em;
  color: var(--gold-lite);
}

.page-products .table-scroll {
  margin-top: 44px;
  overflow-x: auto;
}

.page-products .compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .9375rem;
}

.page-products .compare-table th,
.page-products .compare-table td {
  text-align: left;
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.75;
}

.page-products .compare-table thead th {
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--mute);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 12px;
}

.page-products .compare-table thead th:first-child {
  width: 20%;
}

.page-products .compare-table tbody th {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--paper);
  white-space: nowrap;
  padding-right: 24px;
}

.page-products .compare-table tbody td {
  color: rgba(242, 237, 228, .78);
}

.page-products .verdict {
  margin: 30px 0 0;
  padding: 18px 24px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.page-products .verdict strong {
  font-family: var(--font-serif);
  color: var(--gold-lite);
  margin-right: 6px;
}

/* ---------- 七天刻度尺 ---------- */

.page-products .ruler-band {
  padding: 8px 0 0;
}

.page-products .ruler {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.page-products .ruler li {
  display: grid;
  gap: 12px;
}

.page-products .r-bar {
  display: block;
  height: 10px;
  background: var(--gold);
  opacity: .34;
}

.page-products .ruler li:nth-child(even) .r-bar {
  opacity: .2;
}

.page-products .ruler li:first-child .r-bar {
  background: var(--gold-lite);
  opacity: .9;
}

.page-products .r-num {
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .06em;
  color: var(--mute);
}

.page-products .ruler-note {
  margin: 14px 0 0;
  font-size: .8125rem;
  line-height: 1.8;
  color: var(--mute);
}

.page-products .cycle-body {
  display: grid;
  gap: 44px;
  align-items: start;
  margin-top: 44px;
}

.page-products .cycle-day {
  border-bottom: 1px solid var(--line);
}

.page-products .cycle-day summary {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
}

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

.page-products .cycle-day summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--mute);
}

.page-products .cycle-day[open] summary::after {
  content: "–";
  color: var(--gold);
}

.page-products .day-num {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .1em;
  color: var(--gold);
}

.page-products .day-t {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
}

.page-products .cycle-day p {
  margin: 0 0 18px;
  padding-left: 44px;
  font-size: .9375rem;
  line-height: 1.85;
  color: rgba(242, 237, 228, .76);
}

.page-products .cycle-figure {
  margin: 0;
}

/* ---------- 手机端分类 ---------- */

.page-products .mobile-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.page-products .tree-figure {
  margin: 0;
}

.page-products .tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .tree-l1 {
  position: relative;
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid var(--line);
}

.page-products .tree-l1::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 24px;
  width: 7px;
  height: 7px;
  background: var(--gold);
}

.page-products .tree-l1::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 33px;
  bottom: -1px;
  width: 1px;
  background: var(--line-strong);
}

.page-products .tree-l1:last-child::after {
  display: none;
}

.page-products .tree-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.page-products .tree-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.0625rem;
}

.page-products .tree-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--gold);
}

.page-products .tree-l2 {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.page-products .tree-l2 li {
  font-size: .8125rem;
  color: var(--mute);
  border: 1px solid var(--line);
  padding: 4px 10px;
}

/* ---------- 桌面端宽幅 ---------- */

.page-products .desktop-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-products .desktop-copy h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.2vw, 2.25rem);
  line-height: 1.24;
  margin: 16px 0 0;
}

.page-products .desktop-copy p {
  margin: 18px 0 0;
  line-height: 1.85;
  color: rgba(242, 237, 228, .76);
}

.page-products .wide-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
}

.page-products .wp-col {
  padding: 24px 22px;
}

.page-products .wp-col + .wp-col {
  border-left: 1px solid var(--line);
}

.page-products .wp-head {
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 18px;
}

.page-products .wp-col--prev .wp-head {
  color: var(--crimson);
}

.page-products .wp-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .wp-col li {
  position: relative;
  padding-left: 16px;
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(242, 237, 228, .78);
}

.page-products .wp-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---------- 问鼎中心 ---------- */

.page-products .center-grid {
  display: grid;
  gap: 44px;
  align-items: start;
}

.page-products .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.page-products .steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.page-products .step-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  padding: 6px 9px;
}

.page-products .steps h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.0625rem;
  margin: 4px 0 8px;
}

.page-products .steps p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.82;
  color: rgba(242, 237, 228, .76);
}

.page-products .step-note {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  line-height: 1.8;
  color: var(--mute);
}

.page-products .center-figure {
  margin: 0;
}

.page-products .settings-block {
  margin-top: 56px;
}

.page-products .settings-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 24px;
}

.page-products .setting-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .setting-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink-2);
  padding: 16px 18px;
  font-size: .9375rem;
}

.page-products .s-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--patina);
}

.page-products .setting-list li:nth-child(4n) .s-dot {
  background: var(--gold);
}

.page-products .s-num {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--mute);
}

.page-products .s-name {
  color: rgba(242, 237, 228, .9);
}

/* ---------- 常用入口 ---------- */

.page-products .entry-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-products .entry-copy h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.2vw, 2.25rem);
  line-height: 1.24;
  margin: 16px 0 0;
}

.page-products .entry-copy > p {
  margin: 18px 0 0;
  line-height: 1.85;
  color: rgba(242, 237, 228, .76);
}

.page-products .entry-points {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .entry-points li {
  position: relative;
  padding-left: 22px;
  font-size: .9375rem;
  line-height: 1.8;
  color: rgba(242, 237, 228, .78);
}

.page-products .entry-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

.page-products .entry-figure {
  margin: 0;
}

/* ---------- 使用场景 ---------- */

.page-products .scene-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.page-products .scene-tab {
  cursor: pointer;
  font-size: .875rem;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  color: var(--mute);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products #scene-all:checked ~ .scene-tabs .scene-tab--all,
.page-products #scene-record:checked ~ .scene-tabs .scene-tab--record,
.page-products #scene-compare:checked ~ .scene-tabs .scene-tab--compare,
.page-products #scene-first:checked ~ .scene-tabs .scene-tab--first,
.page-products #scene-help:checked ~ .scene-tabs .scene-tab--help {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  font-weight: 600;
}

.page-products #scene-record:checked ~ .scene-grid .scene:not([data-cat~="record"]),
.page-products #scene-compare:checked ~ .scene-grid .scene:not([data-cat~="compare"]),
.page-products #scene-first:checked ~ .scene-grid .scene:not([data-cat~="first"]),
.page-products #scene-help:checked ~ .scene-grid .scene:not([data-cat~="help"]) {
  display: none;
}

.page-products .scene-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .scene {
  background: var(--ink);
  padding: 28px 24px 30px;
}

.page-products .scene-tag {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  color: var(--gold);
}

.page-products .scene h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.45;
  margin: 0 0 12px;
}

.page-products .scene p {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.82;
  color: rgba(242, 237, 228, .74);
}

/* ---------- 收尾 ---------- */

.page-products .next-panel {
  position: relative;
  padding: 52px clamp(24px, 5vw, 64px);
  background: linear-gradient(142deg, var(--bronze) 0%, var(--ink-2) 62%, var(--ink) 100%);
  border-left: 3px solid var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.page-products .next-panel h2 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  margin: 0;
}

.page-products .next-panel > p {
  margin: 16px 0 0;
  max-width: 40rem;
  line-height: 1.85;
  color: rgba(242, 237, 228, .76);
}

.page-products .next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .page-products .cycle-body {
    margin-top: 52px;
  }

  .page-products .setting-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .cycle-body {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 60px;
  }

  .page-products .mobile-grid {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 60px;
  }

  .page-products .desktop-grid {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 60px;
  }

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

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

@media (min-width: 1080px) {
  .page-products .setting-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .scene-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page-products .compare-table th,
  .page-products .compare-table td {
    padding-right: 12px;
  }

  .page-products .end-tab {
    padding: 9px 18px;
  }

  .page-products .cycle-day p {
    padding-left: 0;
  }

  .page-products .wide-panel {
    grid-template-columns: 1fr;
  }

  .page-products .wp-col + .wp-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .page-products .ruler {
    gap: 4px;
  }

  .page-products .r-num {
    font-size: .625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .end-panel--mobile,
  .page-products .end-panel--desktop {
    animation: none;
  }
}
