.page-products {
  --pp-ink-line: rgba(16, 24, 32, .12);
  --pp-soft-line: rgba(16, 24, 32, .08);
  --pp-gap: clamp(48px, 7vw, 104px);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: clip;
}

.page-products a {
  color: inherit;
}

.page-products .pp-crumb {
  padding-top: 18px;
  font-size: .84rem;
  color: var(--sage);
}

.page-products .pp-crumb a {
  color: var(--sage);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.page-products .pp-crumb a:hover {
  color: var(--ink-green);
  border-color: var(--amber);
}

/* ---------- hero ---------- */
.page-products .pp-hero {
  padding-top: clamp(22px, 4vw, 48px);
}

.page-products .pp-hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr);
}

.page-products .pp-hero__main h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 6.2vw, 3.9rem);
  line-height: 1.16;
  letter-spacing: -.015em;
  margin: 12px 0 0;
  color: var(--ink-green);
  max-width: 18ch;
}

.page-products .pp-hero__lead {
  margin: 20px 0 0;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  color: #2b3a35;
  max-width: 62ch;
}

.page-products .pp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.page-products .pp-sidebox {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: var(--radius-l);
  background: var(--ink-green);
  color: var(--paper);
  box-shadow: var(--shadow-glass);
  overflow: hidden;
}

.page-products .pp-sidebox::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 138, 43, .38), transparent 68%);
  pointer-events: none;
}

.page-products .pp-sidebox__label {
  margin: 0;
  font-size: .76rem;
  letter-spacing: .18em;
  color: var(--amber-soft);
}

.page-products .pp-sidebox__value {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 600;
  color: var(--amber);
}

.page-products .pp-sidebox__note {
  margin: 14px 0 0;
  font-size: .92rem;
  line-height: 1.78;
  color: rgba(246, 241, 231, .82);
}

.page-products .pp-sidebox__links {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(246, 241, 231, .18);
  display: grid;
  gap: 8px;
}

.page-products .pp-sidebox__links a {
  color: var(--amber-soft);
  text-decoration: none;
  font-size: .92rem;
  border-bottom: 1px solid rgba(242, 217, 166, .35);
  padding-bottom: 2px;
}

.page-products .pp-sidebox__links a:hover {
  color: #fff;
  border-color: var(--amber);
}

.page-products .pp-figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(30px, 5vw, 52px) 0 0;
  padding: 0;
  background: var(--pp-ink-line);
  border: 1px solid var(--pp-ink-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-products .pp-figure {
  background: var(--cream);
  padding: 16px 18px;
}

.page-products .pp-figure dt {
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--sage);
}

.page-products .pp-figure dd {
  margin: 6px 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--ink-green);
}

/* ---------- block skeleton ---------- */
.page-products .pp-block {
  padding-top: var(--pp-gap);
}

.page-products .pp-block__head {
  max-width: 68ch;
  margin-bottom: clamp(24px, 3.6vw, 44px);
}

.page-products .pp-block__head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink-green);
  margin: 10px 0 0;
}

.page-products .pp-block__lead {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.85;
  color: #35443e;
}

/* ---------- 六类玩法 ---------- */
.page-products .pp-play-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.page-products .pp-play {
  background: var(--cream);
  border: 1px solid var(--pp-ink-line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.page-products .pp-play:hover {
  border-color: rgba(201, 138, 43, .5);
  box-shadow: 0 1px 0 rgba(16, 24, 32, .05), 0 22px 44px -26px rgba(16, 24, 32, .6);
}

.page-products .pp-play__figure {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ink-green);
}

.page-products .pp-play__figure .media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-products .pp-play__body {
  padding: 18px 20px 20px;
}

.page-products .pp-play__index {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--amber-ink);
}

.page-products .pp-play__body h3 {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink-green);
  margin: 6px 0 0;
}

.page-products .pp-play__body > p {
  margin: 10px 0 0;
  font-size: .93rem;
  line-height: 1.78;
  color: #3a4a44;
}

.page-products .pp-dims {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--pp-soft-line);
  border-radius: var(--radius-s);
  overflow: hidden;
}

.page-products .pp-dim {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  background: var(--amber-soft);
  font-size: .84rem;
}

.page-products .pp-dim span {
  color: #6c5a33;
}

.page-products .pp-dim b {
  color: var(--ink-green);
  font-weight: 600;
  font-size: .88rem;
}

.page-products .pp-play__batch {
  margin: 14px 0 0;
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--sage);
}

/* ---------- 段位区间 ---------- */
.page-products .pp-range__scroll {
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.page-products .pp-range__bar {
  display: flex;
  min-width: 620px;
  height: 82px;
  border-radius: var(--radius-m);
  border: 1px solid var(--celadon-deep);
  overflow: hidden;
  background: var(--ink-green);
}

.page-products .pp-range__seg {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 8px 8px;
  border-right: 1px solid rgba(255, 253, 248, .16);
  background: linear-gradient(180deg, rgba(79, 124, 130, .55), rgba(51, 86, 91, .9));
  transition: background .25s var(--ease);
}

.page-products .pp-range__seg:last-child {
  border-right: 0;
}

.page-products .pp-range__seg i {
  font-style: normal;
  font-size: .72rem;
  color: rgba(255, 253, 248, .78);
}

.page-products .pp-range__seg:nth-child(1) { flex-grow: 199; }
.page-products .pp-range__seg:nth-child(2) { flex-grow: 199; }
.page-products .pp-range__seg:nth-child(3) { flex-grow: 249; }
.page-products .pp-range__seg:nth-child(4) { flex-grow: 299; }
.page-products .pp-range__seg:nth-child(5) { flex-grow: 299; }
.page-products .pp-range__seg:nth-child(6) { flex-grow: 299; }
.page-products .pp-range__seg:nth-child(7) { flex-grow: 299; }
.page-products .pp-range__seg:nth-child(8) { flex-grow: 299; }
.page-products .pp-range__seg:nth-child(9) { flex-grow: 249; }

.page-products .pp-range__seg:nth-child(2n) {
  background: linear-gradient(180deg, rgba(79, 124, 130, .38), rgba(18, 60, 50, .92));
}

.page-products .pp-range__seg:hover {
  background: linear-gradient(180deg, var(--amber), var(--amber-ink));
}

.page-products .pp-range__seg:hover i {
  color: #fff;
}

.page-products .pp-range__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-products .pp-range__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--pp-ink-line);
  border-left: 3px solid var(--celadon);
  border-radius: var(--radius-s);
}

.page-products .pp-range__name {
  font-size: .88rem;
  color: var(--ink-green);
  font-weight: 600;
}

.page-products .pp-range__num {
  font-size: .86rem;
  color: var(--celadon-deep);
}

.page-products .pp-map {
  margin-top: clamp(26px, 4vw, 44px);
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(242, 217, 166, .58), rgba(246, 241, 231, .9));
  border: 1px solid rgba(201, 138, 43, .35);
}

.page-products .pp-map h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--ink-green);
  margin: 0;
}

.page-products .pp-map__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.page-products .pp-map__col {
  padding-top: 14px;
  border-top: 2px solid var(--amber);
}

.page-products .pp-map__step {
  margin: 0 0 8px;
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--amber-ink);
}

.page-products .pp-map__col p:last-child {
  margin: 0;
  font-size: .94rem;
  line-height: 1.8;
  color: #38473f;
}

/* ---------- 对照表 ---------- */
.page-products .pp-folds {
  display: grid;
  gap: 12px;
}

.page-products .pp-fold {
  border: 1px solid var(--pp-ink-line);
  border-radius: var(--radius-m);
  background: var(--cream);
  overflow: hidden;
}

.page-products .pp-fold[open] {
  border-color: rgba(201, 138, 43, .55);
  box-shadow: var(--shadow-card);
}

.page-products .pp-fold__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  background: var(--amber-soft);
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink-green);
  transition: background .2s var(--ease);
}

.page-products .pp-fold__summary::-webkit-details-marker {
  display: none;
}

.page-products .pp-fold__summary:hover {
  background: #f0d29a;
}

.page-products .pp-fold__name {
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-products .pp-fold__name::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--amber-ink);
  width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  border: 1px solid rgba(138, 90, 18, .5);
  border-radius: var(--radius-s);
  transition: transform .25s var(--ease);
}

.page-products .pp-fold[open] .pp-fold__name::before {
  content: "–";
  background: var(--ink-green);
  color: var(--amber-soft);
  border-color: var(--ink-green);
}

.page-products .pp-fold__hint {
  font-size: .8rem;
  color: var(--amber-ink);
}

.page-products .pp-table-wrap {
  overflow-x: auto;
}

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

.page-products .pp-table th {
  background: var(--ink-green);
  color: var(--paper);
  text-align: left;
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .08em;
  padding: 11px 14px;
  white-space: nowrap;
}

.page-products .pp-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--pp-soft-line);
  color: #35443e;
  vertical-align: top;
}

.page-products .pp-table tbody tr:nth-child(2n) td {
  background: rgba(242, 217, 166, .22);
}

.page-products .pp-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .pp-table td.mono {
  color: var(--celadon-deep);
  font-weight: 600;
}

/* ---------- 结算示例 ---------- */
.page-products .pp-demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

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

.page-products .pp-step {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--pp-ink-line);
}

.page-products .pp-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .pp-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink-green);
  color: var(--amber);
  font-size: .86rem;
  font-weight: 600;
}

.page-products .pp-step__body h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink-green);
  margin: 0;
}

.page-products .pp-step__body > p {
  margin: 8px 0 0;
  font-size: .94rem;
  line-height: 1.8;
  color: #3a4a44;
}

.page-products .pp-step__ref {
  display: inline-block;
  margin-top: 10px !important;
  padding: 6px 12px;
  border-radius: var(--radius-s);
  background: rgba(79, 124, 130, .14);
  border-left: 3px solid var(--celadon);
  color: var(--celadon-deep);
  font-size: .82rem;
}

.page-products .pp-demo__figure {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--pp-ink-line);
  background: var(--cream);
}

.page-products .pp-demo__figure .media__img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pp-demo__caption {
  padding: 12px 16px;
  font-size: .8rem;
  color: var(--sage);
  border-top: 1px solid var(--pp-soft-line);
}

/* ---------- 托管 ---------- */
.page-products .pp-hold__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-products .pp-hold__card {
  position: relative;
  padding: 22px 20px 20px;
  border-radius: var(--radius-m);
  background: var(--cream);
  border: 1px solid var(--pp-ink-line);
  border-top: 4px solid var(--cinnabar);
  box-shadow: var(--shadow-card);
}

.page-products .pp-hold__card:nth-child(2) {
  border-top-color: var(--amber);
}

.page-products .pp-hold__card:nth-child(3) {
  border-top-color: var(--celadon);
}

.page-products .pp-hold__time {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--ink-green);
  letter-spacing: -.02em;
}

.page-products .pp-hold__name {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber-ink);
}

.page-products .pp-hold__card > p:last-child {
  margin: 12px 0 0;
  font-size: .92rem;
  line-height: 1.8;
  color: #3a4a44;
}

.page-products .pp-hold__link {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  background: rgba(18, 60, 50, .06);
  border: 1px dashed rgba(18, 60, 50, .3);
  font-size: .94rem;
  line-height: 1.8;
  color: #35443e;
}

.page-products .pp-hold__link a {
  color: var(--cinnabar);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- 版本同步 ---------- */
.page-products .pp-version__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.page-products .pp-version__main h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  line-height: 1.3;
  color: var(--ink-green);
  margin: 10px 0 0;
}

.page-products .pp-version__main > p {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.85;
  color: #35443e;
  max-width: 62ch;
}

.page-products .pp-version__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--pp-soft-line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-products .pp-version__list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--cream);
}

.page-products .pp-version__list b {
  font-size: .92rem;
  color: var(--ink-green);
  font-weight: 600;
}

.page-products .pp-version__list span {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--sage);
}

.page-products .pp-version__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0 !important;
}

.page-products .pp-version__figure {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--pp-ink-line);
  background: var(--cream);
}

.page-products .pp-version__figure .media__img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pp-version__figure figcaption {
  padding: 12px 16px;
  font-size: .8rem;
  color: var(--sage);
  border-top: 1px solid var(--pp-soft-line);
}

.page-products .pp-cta {
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-l);
  background: var(--ink-green);
  color: var(--paper);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.page-products .pp-cta__text {
  margin: 0;
  flex: 1 1 320px;
  font-size: .96rem;
  line-height: 1.8;
  color: rgba(246, 241, 231, .88);
}

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

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

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

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

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

  .page-products .pp-version__list li {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: baseline;
    gap: 14px;
  }
}

@media (min-width: 1000px) {
  .page-products .pp-hero__grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, .78fr);
    align-items: end;
  }

  .page-products .pp-play-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-products .pp-play-grid .pp-play:nth-child(2) { margin-top: 34px; }
  .page-products .pp-play-grid .pp-play:nth-child(3) { margin-top: 16px; }
  .page-products .pp-play-grid .pp-play:nth-child(5) { margin-top: 34px; }
  .page-products .pp-play-grid .pp-play:nth-child(6) { margin-top: 16px; }

  .page-products .pp-demo__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  }

  .page-products .pp-demo__figure {
    position: sticky;
    top: 92px;
  }

  .page-products .pp-version__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products * {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}
