.page-products {
  display: block;
  padding-top: calc(var(--header-h) + 30px);
  color: var(--paper);
  overflow-x: hidden;
}

.page-products .pr-hero {
  padding-bottom: clamp(24px, 4vw, 40px);
}

/* ---------- 框景首屏 ---------- */
.page-products .pr-frame {
  position: relative;
  isolation: isolate;
  margin-top: 20px;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 140% at 88% -12%, rgba(217, 164, 65, .18), transparent 58%),
    linear-gradient(158deg, var(--ink-2), var(--ink) 64%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.page-products .pr-frame::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto 14px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 22px);
  opacity: .85;
  pointer-events: none;
}

.page-products .pr-frame::after {
  content: "";
  position: absolute;
  top: -72px;
  right: -72px;
  width: 212px;
  height: 212px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(217, 164, 65, .3) 0 8deg, transparent 8deg 24deg);
  -webkit-mask: radial-gradient(circle, transparent 0 55%, #000 55% 100%);
  mask: radial-gradient(circle, transparent 0 55%, #000 55% 100%);
  pointer-events: none;
}

.page-products .pr-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 6.2vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 15em;
}

.page-products .pr-hero__lede {
  margin-top: 18px;
  max-width: 42em;
}

.page-products .pr-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--line);
  overflow: hidden;
}

.page-products .pr-stats__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: rgba(10, 31, 26, .72);
}

.page-products .pr-stats__label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-products .pr-stats__value {
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1.1;
}

.page-products .pr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- 清单 ---------- */
.page-products .pr-banner {
  margin: 0 0 clamp(24px, 4vw, 40px);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-products .pr-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .pr-step {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
}

.page-products .pr-rooms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: clamp(26px, 4vw, 42px);
}

.page-products .pr-room {
  --shift: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(168deg, var(--ink-2), rgba(10, 31, 26, .92));
  transform: translateY(var(--shift));
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.page-products .pr-room::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
  transition: background 200ms var(--ease);
}

.page-products .pr-room:hover,
.page-products .pr-room:focus-within {
  transform: translateY(calc(var(--shift) - 2px));
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.page-products .pr-room:hover::before,
.page-products .pr-room:focus-within::before {
  background: var(--gold);
}

.page-products .pr-room__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-products .pr-room__id {
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--gold);
}

.page-products .pr-room__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-products .pr-room__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .pr-room__data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(44, 90, 76, .6);
}

.page-products .pr-room__data > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .pr-room__data dt {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-products .pr-room__data dd {
  margin: 0;
  font-size: 15px;
  color: var(--paper);
}

/* ---------- 筛选 ---------- */
.page-products .pr-filter__head {
  max-width: 44em;
}

.page-products .pr-filter__head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-products .pr-filter__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: clamp(24px, 4vw, 38px);
}

.page-products .pr-filter__panel {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(23, 58, 49, .55);
}

.page-products .pr-filter__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(44, 90, 76, .55);
}

.page-products .pr-filter__row:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
}

.page-products .pr-filter__label {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-products .pr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pr-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 31, 26, .6);
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  transition: background 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}

.page-products .pr-chip b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
}

.page-products .pr-chip:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.page-products .pr-chip.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-3);
  font-weight: 700;
}

.page-products .pr-chip.is-on b {
  color: rgba(10, 31, 26, .72);
}

.page-products .pr-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.page-products .pr-filter__result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-s);
  background: rgba(10, 31, 26, .55);
}

.page-products .pr-filter__result-label {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}

.page-products .pr-filter__result-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.page-products .pr-filter__result-unit {
  font-size: 14px;
  color: var(--muted);
}

.page-products .pr-filter__note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.page-products .pr-filter__media {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(23, 58, 49, .6), rgba(10, 31, 26, .8));
}

.page-products .pr-filter__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-s);
}

.page-products .pr-filter__media figcaption {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

/* ---------- 指标 ---------- */
.page-products .pr-metric__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: clamp(22px, 3.5vw, 34px);
}

.page-products .pr-metric__defs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-products .pr-metric__def {
  padding: 18px 18px 18px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(23, 58, 49, .45);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

.page-products .pr-metric__def h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-soft);
}

.page-products .pr-metric__def p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--paper);
}

.page-products .pr-metric__hint {
  margin: 0;
  padding: 16px 18px;
  border: 1px dashed rgba(168, 69, 47, .8);
  border-radius: var(--radius-s);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .pr-metric__demo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-products .pr-metric__figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-products .pr-metric__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .pr-sample {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(10, 31, 26, .6);
}

.page-products .pr-sample__title {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}

.page-products .pr-sample__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(44, 90, 76, .5);
}

.page-products .pr-sample__row:first-of-type {
  border-top: 0;
}

.page-products .pr-sample__k {
  font-size: 15px;
  color: var(--paper);
}

.page-products .pr-sample__v {
  font-size: 15px;
  color: var(--gold-soft);
}

.page-products .pr-sample__row .meter {
  grid-column: 1 / -1;
}

/* ---------- 移动端要点 ---------- */
.page-products .pr-mobile__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: clamp(22px, 3.5vw, 34px);
}

.page-products .pr-tips {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-products .pr-tip {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(44, 90, 76, .55);
}

.page-products .pr-tip__num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
  padding-top: 2px;
}

.page-products .pr-tip p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper);
}

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

.page-products .pr-mobile__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 引导 ---------- */
.page-products .pr-next__head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
}

.page-products .pr-next__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: clamp(22px, 3.5vw, 34px);
}

.page-products .pr-nextcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border-radius: var(--radius-m);
  background: var(--chip);
  color: var(--ink-3);
  box-shadow: var(--shadow);
}

.page-products .pr-nextcard h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}

.page-products .pr-nextcard p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #3B4C45;
}

.page-products .pr-nextcard .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.page-products .pr-nextcard--media {
  padding-top: 0;
  overflow: hidden;
}

.page-products .pr-nextcard__figure {
  margin: -0px -22px 4px;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  overflow: hidden;
}

.page-products .pr-nextcard__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .pr-nextcard .btn--ghost {
  border-color: var(--ink-3);
  color: var(--ink-3);
}

.page-products .pr-nextcard .btn--ghost:hover {
  background: var(--ink-3);
  color: var(--chip);
}

.page-products .pr-next__foot {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

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

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

  .page-products .pr-next__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .page-products .pr-filter__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
    align-items: start;
  }

  .page-products .pr-metric__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .pr-mobile__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
  }

  .page-products .pr-filter__media img {
    max-height: none;
  }
}

@media (min-width: 1040px) {
  .page-products .pr-rooms {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    row-gap: 46px;
  }

  .page-products .pr-rooms > :nth-child(3n + 2) {
    --shift: 18px;
  }

  .page-products .pr-rooms > :nth-child(3n) {
    --shift: 34px;
  }

  .page-products .pr-frame {
    padding: clamp(40px, 4.5vw, 62px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-room {
    transition: none;
  }
}
