.page-products {
  --pp-accent: var(--cyan);
  --pp-notch: 24px;
  background-color: var(--ink-900);
  background-image: linear-gradient(rgba(36, 64, 110, .14) 1px, transparent 1px);
  background-size: 100% 56px;
  color: var(--mist);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products a:focus-visible,
.page-products button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-products .inline-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 245, 214, .45);
}

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

/* ---------- 面包屑 ---------- */
.page-products .crumbs-nav {
  padding-top: 20px;
  padding-bottom: 6px;
}

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

.page-products .crumbs > li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .crumbs > li + li::before {
  content: "/";
  color: var(--line);
}

.page-products .crumb {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--steel);
  text-decoration: none;
}

.page-products .crumb:hover {
  color: var(--cyan);
}

.page-products .crumb--current {
  color: var(--mist);
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  position: relative;
  padding: 40px 0 56px;
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(42, 245, 214, .10), transparent 62%),
    linear-gradient(158deg, rgba(11, 30, 58, .9) 0%, rgba(14, 17, 22, .85) 100%);
  overflow: hidden;
}

.page-products .prod-hero::after {
  content: "";
  position: absolute;
  right: -14%;
  top: -28%;
  width: 68%;
  height: 160%;
  background: linear-gradient(140deg, rgba(22, 48, 92, .85), rgba(11, 30, 58, .12));
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-products .prod-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 34px;
}

.page-products .eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  color: var(--cyan);
  margin: 0;
}

.page-products .prod-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--mist);
  margin: 14px 0 18px;
}

.page-products .prod-hero__lede {
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--steel);
  margin: 0;
}

.page-products .hero-jump {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .hero-jump__link {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--mist);
  text-decoration: none;
  background: rgba(22, 48, 92, .6);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.page-products .hero-jump__link:hover {
  background: var(--cyan);
  color: var(--ink-950);
}

.page-products .hero-panel {
  position: relative;
  padding: 20px;
  background: linear-gradient(160deg, rgba(22, 48, 92, .82), rgba(11, 30, 58, .94));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--pp-notch)) 0, 100% var(--pp-notch), 100% 100%, 0 100%);
}

.page-products .hero-panel__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .06em;
  color: var(--steel);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

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

.page-products .hero-panel__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "idx label"
    "idx hint";
  align-items: center;
  gap: 2px 12px;
  padding: 12px 14px;
  background: rgba(14, 17, 22, .55);
  border-left: 3px solid var(--grass);
}

.page-products .hero-panel__item--orange {
  border-left-color: var(--orange);
}

.page-products .hero-panel__item--cyan {
  border-left-color: var(--cyan);
}

.page-products .hero-panel__idx {
  grid-area: idx;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--steel);
}

.page-products .hero-panel__label {
  grid-area: label;
  font-size: .95rem;
  color: var(--mist);
}

.page-products .hero-panel__hint {
  grid-area: hint;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--dim);
}

/* ---------- 功能索引条 ---------- */
.page-products .unit-index {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 17, 22, .72);
}

.page-products .unit-index__list {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-products .unit-index__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 12px;
  font-size: .84rem;
  color: var(--steel);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-products .unit-index__link:hover {
  color: var(--mist);
  border-color: var(--line);
}

.page-products .unit-index__link .mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--cyan);
}

/* ---------- 章节节奏 ---------- */
.page-products .prod-sec {
  position: relative;
  padding: 52px 0;
  scroll-margin-top: 90px;
}

.page-products .prod-sec--mid {
  background: linear-gradient(180deg, rgba(22, 48, 92, .68) 0%, rgba(22, 48, 92, .18) 100%);
}

.page-products .prod-sec--deep {
  background: linear-gradient(180deg, rgba(14, 17, 22, .88) 0%, rgba(14, 17, 22, .58) 100%);
}

.page-products #h2h { --pp-accent: var(--grass); }
.page-products #archive { --pp-accent: var(--orange); }
.page-products #shots { --pp-accent: var(--cyan); }
.page-products #tape { --pp-accent: var(--amber); }
.page-products #clubs { --pp-accent: var(--amber); }
.page-products #filter { --pp-accent: var(--cyan); }
.page-products #subscribe { --pp-accent: var(--orange); }
.page-products #devices { --pp-accent: var(--cyan); }

/* ---------- 通用单元栅格 ---------- */
.page-products .unit {
  display: grid;
  gap: 26px;
  align-items: start;
}

.page-products .unit__text--wide {
  max-width: 68ch;
}

.page-products .unit__num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--pp-accent);
  margin: 0 0 12px;
}

.page-products .unit__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.8vw, 2.25rem);
  line-height: 1.16;
  letter-spacing: -.01em;
  color: var(--mist);
  margin: 0 0 16px;
}

.page-products .unit__lead {
  max-width: 60ch;
  font-size: .98rem;
  line-height: 1.85;
  color: var(--steel);
  margin: 0 0 14px;
}

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

.page-products .unit__points li {
  position: relative;
  padding-left: 26px;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .unit__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 14px;
  height: 2px;
  background: var(--pp-accent);
}

/* ---------- 数据面板 ---------- */
.page-products .dpanel {
  position: relative;
  padding: 18px;
  background: linear-gradient(160deg, rgba(22, 48, 92, .9), rgba(11, 30, 58, .95));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--pp-notch)) 0, 100% var(--pp-notch), 100% 100%, 0 100%);
}

.page-products .dpanel--paper {
  background:
    repeating-linear-gradient(180deg, rgba(242, 227, 200, .07) 0 1px, transparent 1px 26px),
    linear-gradient(160deg, rgba(22, 48, 92, .92), rgba(11, 30, 58, .96));
}

.page-products .dpanel--cyan { border-color: rgba(42, 245, 214, .38); }
.page-products .dpanel--grass { border-color: rgba(91, 212, 106, .34); }
.page-products .dpanel--amber { border-color: rgba(255, 194, 75, .34); }

.page-products .dpanel__cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .dpanel__hint {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--steel);
}

.page-products .dpanel__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line-soft);
  background: var(--ink-950);
}

.page-products .dpanel--tall .dpanel__img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.page-products .dpanel--square .dpanel__img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-products .dpanel__foot {
  margin: 14px 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--steel);
}

.page-products .dpanel__foot.mono,
.page-products .dpanel__foot {
  font-family: var(--font-mono);
}

/* ---------- 条件标签 ---------- */
.page-products .cond {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .cond__item {
  padding: 6px 12px;
  font-size: .78rem;
  color: var(--steel);
  background: rgba(14, 17, 22, .55);
  border: 1px solid var(--line);
}

.page-products .cond__item.is-active {
  background: var(--pp-accent);
  border-color: var(--pp-accent);
  color: var(--ink-950);
  font-weight: 600;
}

.page-products #h2h .cond__item.is-active,
.page-products #tape .cond__item.is-active {
  color: var(--ink-950);
}

/* ---------- 年份刻度 ---------- */
.page-products .years {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line-soft);
}

.page-products .years__item {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  padding: 5px 10px;
  color: var(--steel);
  border: 1px solid var(--line);
}

.page-products .years__item.is-key {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-950);
  font-weight: 700;
}

/* ---------- 全宽卡带图 ---------- */
.page-products .band {
  margin: 0;
  padding: 0;
}

.page-products .band__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

.page-products .band__cap {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--steel);
}

/* ---------- 档案编号 ---------- */
.page-products .code-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .code-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(14, 17, 22, .6);
  border-left: 3px solid var(--amber);
}

.page-products .code-line__num {
  font-size: .86rem;
  letter-spacing: .05em;
  color: var(--mist);
}

.page-products .code-legend {
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 10px;
}

.page-products .code-legend__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 10px;
  align-items: baseline;
}

.page-products .code-legend dt {
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--amber);
}

.page-products .code-legend dd {
  margin: 0;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 筛选标签行 ---------- */
.page-products .filter-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .filter-row__item {
  padding: 8px 14px;
  font-size: .82rem;
  color: var(--steel);
  background: rgba(14, 17, 22, .55);
  border: 1px solid var(--line);
}

.page-products .filter-row__item.is-active {
  background: var(--ink-800);
  border-color: var(--cyan);
  color: var(--mist);
}

.page-products .filter-row__item.is-active::before {
  content: "● ";
  color: var(--cyan);
}

.page-products .filter-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--cyan);
}

/* ---------- 打印预览 ---------- */
.page-products .print-preview {
  padding: 16px;
  background: rgba(242, 227, 200, .06);
  border: 1px dashed rgba(255, 138, 61, .45);
}

.page-products .print-preview__head {
  margin: 0 0 12px;
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-products .print-preview__rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-products .print-preview__rows li {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  font-size: .86rem;
  color: var(--mist);
  background: rgba(14, 17, 22, .45);
}

.page-products .print-preview__rows li:nth-child(odd) {
  background: rgba(22, 48, 92, .35);
}

.page-products .print-preview__rows .mono {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--amber);
}

.page-products .print-preview__foot {
  margin: 12px 0 0;
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--steel);
}

/* ---------- 收尾 ---------- */
.page-products .prod-cta {
  position: relative;
  padding: 48px 0 56px;
  border-top: 3px solid var(--orange);
  background: linear-gradient(180deg, rgba(11, 30, 58, .95), rgba(14, 17, 22, .95));
}

.page-products .prod-cta__inner {
  display: grid;
  gap: 24px;
}

.page-products .prod-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  letter-spacing: -.01em;
  color: var(--mist);
  margin: 0 0 12px;
}

.page-products .prod-cta__lead {
  max-width: 60ch;
  margin: 0;
  font-size: .95rem;
  line-height: 1.85;
  color: var(--steel);
}

.page-products .prod-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- 平板及以上 ---------- */
@media (min-width: 760px) {
  .page-products .prod-hero {
    padding: 56px 0 72px;
  }

  .page-products .prod-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 48px;
  }

  .page-products .prod-sec {
    padding: 72px 0;
  }

  .page-products .prod-cta__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 40px;
  }

  .page-products .prod-cta__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 980px) {
  .page-products .unit {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
  }

  .page-products .unit--flip > .unit__text {
    order: 2;
  }

  .page-products .unit--flip > .unit__panel {
    order: 1;
  }

  .page-products .dpanel {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .hero-jump__link,
  .page-products .unit-index__link {
    transition: none;
  }
}
