.page-products {
  --pg-line: rgba(53, 224, 208, 0.22);
  --pg-warm: #4a3f36;
  background: var(--midnight);
  color: var(--white);
  padding-bottom: clamp(44px, 7vw, 96px);
}

.page-products .breadcrumb {
  padding-top: clamp(14px, 3vw, 26px);
}

/* ---------- 首屏 ---------- */
.page-products .pg-hero {
  padding: clamp(16px, 3vw, 30px) 0 clamp(20px, 4vw, 36px);
}

.page-products .pg-hero .eyebrow {
  color: var(--cyan);
  letter-spacing: 0.2em;
  font-size: 12px;
  text-transform: uppercase;
  margin: 0;
}

.page-products .pg-hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 6.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0.42em 0 0;
  max-width: 19ch;
}

.page-products .pg-hero__title em {
  font-style: normal;
  color: var(--cyan);
}

.page-products .pg-hero__lead {
  margin: 18px 0 0;
  max-width: 56ch;
  color: var(--mist);
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.8;
}

.page-products .pg-hero__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 22px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--mist);
}

.page-products .pg-hero__meta .mono {
  color: var(--cyan);
  font-size: 15px;
  font-weight: 700;
}

.page-products .pg-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 横向功能带 ---------- */
.page-products .pg-band-wrap {
  padding: 4px 0 8px;
}

.page-products .pg-band {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) transparent;
}

.page-products .pg-band::-webkit-scrollbar {
  height: 4px;
}

.page-products .pg-band::-webkit-scrollbar-thumb {
  background: var(--cyan);
}

.page-products .pg-bandcard {
  scroll-snap-align: start;
  flex: 0 0 min(76vw, 300px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    translate 0.2s var(--ease), background 0.2s var(--ease);
}

.page-products .pg-bandcard:nth-child(even) {
  margin-top: 18px;
}

.page-products .pg-bandcard:hover,
.page-products .pg-bandcard:focus-visible {
  border-color: var(--orange);
  background: #10314f;
  box-shadow: 4px 4px 0 var(--ink);
  translate: 2px 2px;
}

.page-products .pg-bandcard__no {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-products .pg-bandcard__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-products .pg-bandcard__text {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.72;
}

.page-products .pg-bandcard__go {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

/* ---------- 步骤主体 ---------- */
.page-products .pg-step {
  border-top: 1px solid var(--pg-line);
  padding: clamp(26px, 4.5vw, 52px) 0;
  scroll-margin-top: 24px;
}

.page-products .pg-step__grid {
  display: grid;
  gap: 16px;
}

.page-products .pg-step__no {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.page-products .pg-step__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(23px, 4.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 10px 0 0;
}

.page-products .pg-step__flag {
  margin: 8px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-products .pg-step__lead {
  margin: 0 0 16px;
  max-width: 52ch;
  color: var(--mist);
  font-size: 15.5px;
  line-height: 1.8;
}

.page-products .pg-step .note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
  border-left: 3px solid var(--cyan);
  padding-left: 12px;
}

.page-products .pg-step__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- 操作步骤 ---------- */
.page-products .pg-actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: pgact;
}

.page-products .pg-actions li {
  counter-increment: pgact;
  position: relative;
  padding: 13px 16px 13px 50px;
  background: rgba(13, 42, 68, 0.72);
  border-left: 3px solid var(--cyan);
  font-size: 15px;
  line-height: 1.75;
  color: var(--white);
}

.page-products .pg-actions li::before {
  content: counter(pgact, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

/* ---------- 三种筛选 ---------- */
.page-products .pg-filters {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}

.page-products .pg-filter {
  background: var(--panel);
  border: 2px solid var(--ink);
  border-top: 3px solid var(--cyan);
  box-shadow: var(--hard-sm);
  padding: 16px 16px 18px;
}

.page-products .pg-filter__k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-products .pg-filter h3 {
  margin: 6px 0 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0;
}

.page-products .pg-filter p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

/* ---------- 数据视图列表 ---------- */
.page-products .pg-views {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.page-products .pg-views li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--pg-line);
  align-items: start;
}

.page-products .pg-views li:first-child {
  border-top: 1px dashed var(--pg-line);
}

.page-products .pg-views .mono {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  padding-top: 5px;
}

.page-products .pg-views strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0;
}

.page-products .pg-views p {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--mist);
}

/* ---------- 回看切换 ---------- */
.page-products .pg-step__split {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.page-products .pg-switch {
  border: 2px solid var(--ink);
  background: var(--panel);
  position: relative;
}

.page-products .pg-switch__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-products .pg-switch__labels {
  display: flex;
  border-bottom: 2px solid var(--ink);
}

.page-products .pg-switch__label {
  flex: 1 1 50%;
  text-align: center;
  padding: 12px 8px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--mist);
  border-bottom: 3px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.page-products #pg-mode-replay:checked ~ .pg-switch__labels .pg-switch__label[for="pg-mode-replay"],
.page-products #pg-mode-hl:checked ~ .pg-switch__labels .pg-switch__label[for="pg-mode-hl"] {
  color: var(--white);
  border-bottom-color: var(--orange);
  background: rgba(255, 107, 44, 0.12);
}

.page-products .pg-switch__input:focus-visible ~ .pg-switch__labels .pg-switch__label {
  outline: 2px solid var(--orange);
  outline-offset: -5px;
}

.page-products .pg-switch__panel {
  display: none;
  padding: 16px;
}

.page-products #pg-mode-replay:checked ~ .pg-switch__panel--replay,
.page-products #pg-mode-hl:checked ~ .pg-switch__panel--hl {
  display: block;
}

.page-products .pg-switch__panel ul {
  margin: 0;
  padding-left: 18px;
}

.page-products .pg-switch__panel li {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
  margin-bottom: 9px;
}

.page-products .pg-switch__panel li:last-child {
  margin-bottom: 0;
}

.page-products .pg-switch__panel strong {
  color: var(--white);
  font-weight: 700;
}

/* ---------- 媒体框 ---------- */
.page-products .media-frame {
  margin: 20px 0 0;
  border: 2px solid var(--ink);
  background: var(--panel);
  box-shadow: var(--hard);
}

.page-products .media-frame__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .media-frame__caption {
  display: block;
  padding: 10px 12px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
  border-top: 1px solid var(--pg-line);
}

/* ---------- 下一页入口 ---------- */
.page-products .pg-next {
  margin-top: clamp(32px, 5vw, 60px);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  background: var(--cream);
  color: var(--ink);
  padding: clamp(20px, 4vw, 36px);
}

.page-products .pg-next__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.page-products .pg-next__lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--pg-warm);
}

.page-products .pg-next__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pg-next__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.5;
  box-shadow: var(--hard-sm);
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    translate 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-products .pg-next__link .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-products .pg-next__link:hover,
.page-products .pg-next__link:focus-visible {
  background: var(--midnight);
  color: var(--white);
  translate: 2px 2px;
  box-shadow: none;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-products .pg-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .page-products .pg-step__split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .page-products .pg-step__split .media-frame {
    margin-top: 0;
    max-width: 340px;
  }
}

@media (min-width: 880px) {
  .page-products .pg-step__grid {
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 40px;
  }

  .page-products .pg-step__head {
    position: sticky;
    top: 24px;
    align-self: start;
  }

  .page-products .pg-band {
    padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  }
}

@media (min-width: 1100px) {
  .page-products .pg-bandcard {
    flex-basis: 320px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-products .pg-bandcard,
  .page-products .pg-next__link,
  .page-products .pg-switch__label {
    transition: none;
  }

  .page-products .pg-bandcard:hover,
  .page-products .pg-bandcard:focus-visible,
  .page-products .pg-next__link:hover,
  .page-products .pg-next__link:focus-visible {
    translate: none;
  }
}
<<<END>>>
