.page-products {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
}

/* ── 首屏 ─────────────────────────────── */
.page-products .catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--paper);
  border-bottom: 1px dashed var(--gold);
  padding: clamp(22px, 4vw, 38px) 0 clamp(46px, 7vw, 86px);
}

.page-products .catalog-hero__cut {
  position: absolute;
  z-index: -1;
  top: -22%;
  right: -15%;
  width: min(560px, 68%);
  aspect-ratio: 1;
  background: linear-gradient(158deg, var(--indigo) 0%, var(--deep) 62%);
  clip-path: polygon(100% 0, 100% 100%, 33% 100%, 0 27%);
  opacity: .95;
  pointer-events: none;
}

.page-products .catalog-hero__inner {
  position: relative;
}

.page-products .catalog-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(27px, 5.4vw, 50px);
  line-height: 1.2;
  letter-spacing: -.012em;
  margin: 10px 0 16px;
  max-width: 760px;
}

.page-products .catalog-hero__lede {
  max-width: 64ch;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.78;
}

.page-products .catalog-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-products .catalog-hero__no {
  position: absolute;
  z-index: -1;
  right: max(var(--edge), calc(50% - 580px));
  bottom: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(68px, 13vw, 150px);
  line-height: .8;
  letter-spacing: -.05em;
  color: rgba(240, 138, 60, .34);
  pointer-events: none;
}

/* ── 通用章节头 ───────────────────────── */
.page-products .section {
  padding: clamp(40px, 6.5vw, 82px) 0;
}

.page-products .sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  align-items: start;
  margin-bottom: clamp(22px, 3.4vw, 36px);
}

.page-products .sec-no {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(34px, 5.6vw, 58px);
  line-height: .92;
  letter-spacing: -.05em;
  color: var(--orange);
}

.page-products .sec-head__t {
  grid-column: 2;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 3.3vw, 33px);
  line-height: 1.28;
  margin: 0;
}

.page-products .sec-head__d {
  grid-column: 2;
  margin: 4px 0 0;
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.78;
}

/* ── 01 分期目录 ──────────────────────── */
.page-products .issuelist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed var(--gold);
}

.page-products .issue-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 2px 16px;
  align-items: baseline;
  padding: 14px 8px 14px 2px;
  border-bottom: 1px dashed rgba(185, 138, 46, .55);
  transition: background-color .18s ease, padding-left .18s ease, border-radius .18s ease;
}

.page-products .issue-row:hover {
  background: var(--cyanpaper);
  padding-left: 12px;
  border-radius: var(--r-md);
}

.page-products .issue-row__no {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--orange);
}

.page-products .issue-row__t {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.page-products .issue-row__meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist-ink);
  white-space: nowrap;
}

.page-products .issue-row__d {
  grid-column: 2 / -1;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist-ink);
  transition: color .18s ease;
}

.page-products .issue-row:hover .issue-row__d {
  color: var(--ink);
}

.page-products .issue-fig {
  margin: clamp(24px, 4vw, 36px) 0 0;
}

/* ── 02 礼包通道 ──────────────────────── */
.page-products .gift-band {
  background: var(--deep);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.6vw, 44px);
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}

.page-products .gift-band__intro {
  max-width: 70ch;
}

.page-products .gift-band__t {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 3.3vw, 33px);
  line-height: 1.26;
  color: var(--cyanpaper);
  margin: 8px 0 10px;
}

.page-products .gift-band__d {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(232, 217, 168, .88);
}

.page-products .gift-panel {
  position: relative;
}

.page-products .gift-radio,
.page-products .re-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
}

.page-products .gift-tabs,
.page-products .re-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-products .gift-tab,
.page-products .re-tab {
  display: inline-block;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .02em;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.page-products .gift-tab {
  background: transparent;
  color: var(--paper);
}

.page-products .gift-tab:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-products .gift-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}

.page-products .gift-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px 12px;
  background: var(--cyanpaper);
  color: var(--ink);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: transform .18s ease, border-color .18s ease;
}

.page-products .gift-row:hover {
  transform: translateX(4px);
  border-left-color: var(--cyan-ink);
}

.page-products .gift-row__no {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  color: var(--wine);
}

.page-products .gift-row__name {
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.6;
}

.page-products .gift-row__d {
  grid-column: 2;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist-ink);
}

.page-products .gift-fig {
  margin: 0;
}

/* ── 03 重装服务 ──────────────────────── */
.page-products .re-tab {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold);
}

.page-products .re-tab:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.page-products .re-panel {
  margin-top: 0;
  background: var(--cyanpaper);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 32px);
  border-left: 6px solid var(--deep);
}

.page-products .re-panel--ios {
  border-left-color: var(--indigo);
}

.page-products .re-panel--sim {
  border-left-color: var(--wine);
}

.page-products .re-panel__t {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.3vw, 23px);
  line-height: 1.35;
  margin: 0 0 16px;
}

.page-products .re-steps {
  list-style: none;
  counter-reset: restep;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-products .re-steps li {
  counter-increment: restep;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.74;
}

.page-products .re-steps li::before {
  content: counter(restep, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.9;
  color: var(--wine);
}

.page-products .re-fig {
  margin: clamp(24px, 4vw, 36px) 0 0;
  max-width: 520px;
}

/* ── 04 低配适配 ──────────────────────── */
.page-products .lite-panel {
  position: relative;
  background: linear-gradient(152deg, var(--indigo) 0%, var(--deep-2) 96%);
  color: var(--cyanpaper);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 46px);
  display: grid;
  gap: clamp(22px, 3.4vw, 38px);
  overflow: clip;
}

.page-products .lite-panel__no {
  position: absolute;
  top: -0.14em;
  right: clamp(10px, 2vw, 28px);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(76px, 14vw, 158px);
  line-height: .8;
  letter-spacing: -.06em;
  color: rgba(39, 224, 200, .16);
  pointer-events: none;
}

.page-products .lite-panel__t {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 3.2vw, 31px);
  line-height: 1.3;
  color: var(--cyanpaper);
  margin: 8px 0 12px;
}

.page-products .lite-panel__d {
  margin: 0 0 20px;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(215, 240, 234, .9);
}

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

.page-products .lite-item {
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 3px solid var(--cyan);
}

.page-products .lite-item__k {
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--cyanpaper);
}

.page-products .lite-item__v {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(215, 240, 234, .78);
}

.page-products .lite-fig {
  margin: 0;
  align-self: end;
}

/* ── 05 版本对照 ──────────────────────── */
.page-products .vt-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
}

.page-products .vt {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-products .vt__cap {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--mist-ink);
  padding: 0 0 10px;
}

.page-products .vt th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--mist-ink);
  padding: 10px 14px;
  border-bottom: 2px solid var(--deep);
}

.page-products .vt td {
  padding: 13px 14px;
  border-bottom: 1px dashed rgba(185, 138, 46, .6);
  line-height: 1.68;
  vertical-align: top;
}

.page-products .vt tbody tr:nth-child(odd) {
  background: rgba(15, 46, 36, .05);
}

.page-products .vt tbody tr:hover {
  background: var(--cyanpaper);
}

.page-products .vt td:first-child {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--wine);
  white-space: nowrap;
}

.page-products .vt td:nth-child(2) {
  font-weight: 700;
  white-space: nowrap;
}

.page-products .vt-fig {
  margin: clamp(24px, 4vw, 36px) 0 0;
  max-width: 760px;
}

/* ── 下一步 ───────────────────────────── */
.page-products .next-sec {
  background: var(--paper-deep);
  border-top: 1px dashed var(--gold);
}

.page-products .next-sec__t {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 29px);
  line-height: 1.3;
  margin: 0 0 8px;
}

.page-products .next-sec__d {
  margin: 0 0 22px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.76;
}

.page-products .next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.page-products .next-item {
  display: grid;
  gap: 5px;
  padding: 18px 18px 20px;
  background: var(--paper);
  border-radius: var(--r-md);
  border-left: 4px solid var(--deep);
  transition: transform .18s ease, border-color .18s ease;
}

.page-products .next-item:hover {
  transform: translateY(-3px);
  border-left-color: var(--orange);
}

.page-products .next-item__a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.page-products .next-item__d {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--mist-ink);
}

/* ── 窄屏收敛 ─────────────────────────── */
@media (max-width: 720px) {
  .page-products .catalog-hero__cut {
    width: 74%;
    top: -12%;
    right: -22%;
    opacity: .82;
  }

  .page-products .catalog-hero__no {
    font-size: 74px;
    right: var(--edge);
    color: rgba(240, 138, 60, .26);
  }

  .page-products .sec-head {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .page-products .sec-no {
    grid-column: 1;
    grid-row: auto;
  }

  .page-products .sec-head__t,
  .page-products .sec-head__d {
    grid-column: 1;
  }

  .page-products .issue-row {
    grid-template-columns: 44px 1fr;
  }

  .page-products .issue-row__meta {
    grid-column: 2;
    font-size: 12px;
  }

  .page-products .issue-row__d {
    grid-column: 2;
  }

  .page-products .gift-list {
    grid-template-columns: 1fr;
  }

  .page-products .gift-band {
    border-radius: var(--r-md);
  }

  .page-products .re-fig,
  .page-products .vt-fig {
    max-width: 100%;
  }
}

@supports selector(:has(*)) {
  .page-products .gift-panel:has(#gift-account:checked) .gift-row:not([data-cat="account"]),
  .page-products .gift-panel:has(#gift-device:checked) .gift-row:not([data-cat="device"]),
  .page-products .gift-panel:has(#gift-event:checked) .gift-row:not([data-cat="event"]) {
    display: none;
  }

  .page-products .gift-panel:has(#gift-all:checked) .gift-tab[for="gift-all"],
  .page-products .gift-panel:has(#gift-account:checked) .gift-tab[for="gift-account"],
  .page-products .gift-panel:has(#gift-device:checked) .gift-tab[for="gift-device"],
  .page-products .gift-panel:has(#gift-event:checked) .gift-tab[for="gift-event"] {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--deep-2);
  }

  .page-products .re-tabs:has(#re-android:checked) .re-panel:not(.re-panel--android),
  .page-products .re-tabs:has(#re-ios:checked) .re-panel:not(.re-panel--ios),
  .page-products .re-tabs:has(#re-sim:checked) .re-panel:not(.re-panel--sim) {
    display: none;
  }

  .page-products .re-tabs:has(#re-android:checked) .re-tab[for="re-android"],
  .page-products .re-tabs:has(#re-ios:checked) .re-tab[for="re-ios"],
  .page-products .re-tabs:has(#re-sim:checked) .re-tab[for="re-sim"] {
    background: var(--deep);
    border-color: var(--deep);
    color: var(--cyanpaper);
  }
}

@media (min-width: 900px) {
  .page-products .lite-panel {
    grid-template-columns: 1.25fr .85fr;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .issue-row,
  .page-products .gift-row,
  .page-products .gift-tab,
  .page-products .re-tab,
  .page-products .next-item {
    transition: none;
  }

  .page-products .gift-row:hover,
  .page-products .next-item:hover {
    transform: none;
  }
}
