.page-products {
  --pr-cut: 18px;
  --pr-line: rgba(184, 137, 43, .34);
  --pr-line-soft: rgba(184, 137, 43, .18);
  background: var(--ink-900);
  color: var(--ivory-050);
  font-family: var(--font-body);
  font-size: var(--body-fluid);
  line-height: 1.8;
  letter-spacing: .01em;
  overflow-x: hidden;
}

.page-products .pr-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(20px, 3.4vw, 40px) clamp(46px, 6.5vw, 84px);
  background:
    radial-gradient(115% 88% at 86% 0%, rgba(30, 90, 71, .88), transparent 62%),
    linear-gradient(162deg, var(--ink-900), var(--deep-950) 94%);
}

.page-products .pr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 137, 43, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 137, 43, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 86%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 86%);
  pointer-events: none;
}

.page-products .pr-hero .shell {
  position: relative;
  z-index: 1;
}

.page-products .pr-hero__head {
  display: grid;
  gap: 12px;
  max-width: 960px;
  margin-top: clamp(26px, 3.6vw, 48px);
  padding-bottom: clamp(20px, 2.6vw, 34px);
  border-bottom: 1px solid var(--pr-line);
}

.page-products .pr-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--title-fluid);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--ivory-050);
}

.page-products .pr-hero__title::after {
  content: "";
  display: inline-block;
  width: clamp(26px, 4vw, 58px);
  height: 3px;
  margin-left: clamp(10px, 1.6vw, 20px);
  background: var(--red-600);
  vertical-align: .2em;
}

.page-products .pr-hero__lede {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(.9375rem, .3vw + .88rem, 1.0625rem);
  color: rgba(244, 239, 228, .8);
}

/* 首屏项目索引：编号列表 + 预览面板 */
.page-products .pr-index {
  position: relative;
  display: grid;
  gap: var(--gap);
  margin-top: clamp(26px, 3.6vw, 46px);
}

.page-products .pr-index__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-products .pr-index__list {
  display: grid;
  gap: 2px;
  align-content: start;
}

.page-products .pr-index__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num name"
    "num meta";
  gap: 1px 14px;
  align-items: center;
  padding: 11px 14px 11px 12px;
  border-left: 2px solid rgba(184, 137, 43, .2);
  cursor: pointer;
  transition: background 240ms var(--ease), border-color 140ms linear;
}

.page-products .pr-index__item:hover {
  background: linear-gradient(90deg, rgba(184, 137, 43, .12), rgba(184, 137, 43, 0) 80%);
}

.page-products .pr-index__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1;
  color: var(--gold-600);
}

.page-products .pr-index__name {
  grid-area: name;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ivory-050);
}

.page-products .pr-index__meta {
  grid-area: meta;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .05em;
  color: rgba(244, 239, 228, .52);
}

.page-products #pr-tab-1:checked ~ .pr-index__list .pr-index__item:nth-child(1),
.page-products #pr-tab-2:checked ~ .pr-index__list .pr-index__item:nth-child(2),
.page-products #pr-tab-3:checked ~ .pr-index__list .pr-index__item:nth-child(3),
.page-products #pr-tab-4:checked ~ .pr-index__list .pr-index__item:nth-child(4),
.page-products #pr-tab-5:checked ~ .pr-index__list .pr-index__item:nth-child(5) {
  border-left-color: var(--gold-300);
  background: linear-gradient(90deg, rgba(184, 137, 43, .22), rgba(184, 137, 43, 0) 78%);
}

.page-products .pr-index__radio:focus-visible ~ .pr-index__list .pr-index__item {
  outline: none;
}

.page-products .pr-index__panels {
  position: relative;
  min-height: 190px;
  padding: clamp(18px, 2.4vw, 30px);
  background: rgba(6, 18, 15, .68);
  border: 1px solid var(--pr-line);
  clip-path: polygon(0 0, calc(100% - var(--pr-cut)) 0, 100% var(--pr-cut), 100% 100%, 0 100%);
}

.page-products .pr-index__panel {
  display: none;
}

.page-products #pr-tab-1:checked ~ .pr-index__panels .pr-index__panel--1,
.page-products #pr-tab-2:checked ~ .pr-index__panels .pr-index__panel--2,
.page-products #pr-tab-3:checked ~ .pr-index__panels .pr-index__panel--3,
.page-products #pr-tab-4:checked ~ .pr-index__panels .pr-index__panel--4,
.page-products #pr-tab-5:checked ~ .pr-index__panels .pr-index__panel--5 {
  display: block;
  animation: prTabIn 340ms var(--ease) both;
}

@keyframes prTabIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.page-products .pr-index__panel-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.page-products .pr-index__panel-text {
  margin: 0;
  max-width: 44ch;
  font-size: .9375rem;
  color: rgba(244, 239, 228, .84);
}

.page-products .pr-index__panel-link {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 2px;
  font-size: .8125rem;
  color: var(--gold-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(228, 195, 106, .5);
}

.page-products .pr-index__panel-link:hover {
  color: var(--ivory-050);
  border-bottom-color: var(--ivory-050);
}

/* 堆叠项目面板 */
.page-products .pr-block {
  position: relative;
}

.page-products .pr-block--inset .shell {
  width: min(1080px, 92vw);
}

.page-products .pr-block__head {
  display: grid;
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.page-products .pr-block__head .section-index {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--gold-600);
}

.page-products .pr-block__head .section-lede {
  margin: 12px 0 0;
  max-width: 54ch;
  color: #3E5248;
}

.page-products .pr-panel {
  position: relative;
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(20px, 3vw, 42px);
  background: var(--ink-700);
  color: var(--ivory-050);
  border: 1px solid var(--pr-line);
  clip-path: polygon(0 0, calc(100% - var(--pr-cut)) 0, 100% var(--pr-cut), 100% 100%, var(--pr-cut) 100%, 0 calc(100% - var(--pr-cut)));
  overflow: hidden;
}

.page-products .pr-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 46%;
  height: 130px;
  background-image: repeating-linear-gradient(135deg, rgba(184, 137, 43, .14) 0 1px, transparent 1px 14px);
  -webkit-mask-image: radial-gradient(90% 100% at 100% 100%, #000, transparent 76%);
  mask-image: radial-gradient(90% 100% at 100% 100%, #000, transparent 76%);
  pointer-events: none;
}

.page-products .pr-panel > * {
  position: relative;
  z-index: 1;
}

.page-products .pr-panel--deep {
  background: var(--ink-900);
  border-color: rgba(184, 137, 43, .42);
}

.page-products .pr-panel--frame {
  background: transparent;
  color: var(--ink-900);
  border-color: rgba(184, 137, 43, .5);
}

.page-products .pr-panel--frame .pr-panel__title {
  color: var(--ink-900);
}

.page-products .pr-panel--frame .pr-panel__text {
  color: #2C4237;
}

.page-products .pr-panel__head {
  display: flex;
  gap: clamp(14px, 2vw, 26px);
  align-items: flex-start;
  padding-bottom: clamp(14px, 1.8vw, 22px);
  border-bottom: 1px solid var(--pr-line);
}

.page-products .pr-panel__index {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: .88;
  letter-spacing: -.05em;
  color: var(--gold-600);
  flex: none;
}

.page-products .pr-panel__titles {
  min-width: 0;
}

.page-products .pr-panel__title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.24;
  letter-spacing: -.01em;
  color: var(--ivory-050);
}

.page-products .pr-panel__grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}

.page-products .pr-panel__main {
  min-width: 0;
}

.page-products .pr-panel__text {
  margin: 0;
  max-width: 42ch;
  color: rgba(244, 239, 228, .86);
}

.page-products .pr-panel__hint {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 1px solid var(--pr-line);
  font-size: .875rem;
  color: rgba(244, 239, 228, .62);
}

.page-products .pr-panel__points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .pr-panel__points li {
  position: relative;
  padding-left: 22px;
  font-size: .9375rem;
  color: rgba(244, 239, 228, .74);
}

.page-products .pr-panel__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .82em;
  width: 12px;
  height: 1px;
  background: var(--gold-600);
}

.page-products .pr-panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3.4vw, 52px);
  padding-top: clamp(14px, 1.8vw, 22px);
  border-top: 1px solid var(--pr-line);
}

.page-products .pr-fact {
  display: grid;
  gap: 3px;
}

.page-products .pr-fact__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.1;
  color: var(--gold-300);
  letter-spacing: -.01em;
}

.page-products .pr-fact__label {
  font-size: .75rem;
  letter-spacing: .06em;
  color: rgba(244, 239, 228, .58);
}

/* 图像容器 */
.page-products .media-frame__inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pr-panel__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--pr-line);
  background: var(--deep-950);
}

.page-products .pr-panel__media .media-frame__inner {
  height: 100%;
}

.page-products .pr-panel__banner {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  border: 1px solid var(--pr-line);
  background: var(--deep-950);
}

.page-products .pr-panel__banner .media-frame__inner {
  height: 100%;
}

.page-products .pr-compare__figure {
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--pr-line);
  background: var(--deep-950);
}

.page-products .pr-compare__figure .media-frame__inner {
  height: 100%;
}

/* 对照视图 */
.page-products .pr-compare {
  display: grid;
  border: 1px solid rgba(184, 137, 43, .48);
  background: var(--ivory-050);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pr-cut)), calc(100% - var(--pr-cut)) 100%, 0 100%);
}

.page-products .pr-compare__col {
  padding: clamp(16px, 2.4vw, 30px);
  min-width: 0;
}

.page-products .pr-compare__label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .1em;
  color: var(--gold-600);
}

.page-products .pr-compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(30, 90, 71, .2);
}

.page-products .pr-compare__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 0 8px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(30, 90, 71, .16);
  transition: background 200ms var(--ease);
}

.page-products .pr-compare__row:hover {
  background: rgba(184, 137, 43, .12);
}

.page-products .pr-compare__season {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .02em;
  color: var(--ink-900);
}

.page-products .pr-compare__val {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--ink-500);
}

.page-products .pr-compare__unit {
  font-size: .75rem;
  color: var(--sage-500);
}

.page-products .pr-compare__axis {
  position: relative;
  height: 1px;
  margin: 0 clamp(16px, 2.4vw, 30px);
  background: linear-gradient(90deg, transparent, var(--gold-600) 12%, var(--gold-600) 88%, transparent);
}

.page-products .pr-compare__note {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  max-width: 64ch;
  font-size: .9375rem;
  color: #3E5248;
}

/* 版本编号表 */
.page-products .pr-versions {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--pr-line-soft);
}

.page-products .pr-versions__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(184, 137, 43, .16);
}

.page-products .pr-versions__code {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .9375rem;
  letter-spacing: .02em;
  color: var(--gold-300);
}

.page-products .pr-versions__group {
  flex: none;
}

.page-products .pr-versions__copy {
  margin-left: auto;
}

/* 断点说明 */
.page-products .pr-viewports {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--pr-line-soft);
}

.page-products .pr-viewport {
  position: relative;
  padding: 16px 18px;
  border-left: 2px solid rgba(184, 137, 43, .42);
  background: linear-gradient(90deg, rgba(184, 137, 43, .1), rgba(184, 137, 43, 0) 86%);
}

.page-products .pr-viewport__size {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .875rem;
  letter-spacing: .05em;
  color: var(--gold-600);
}

.page-products .pr-viewport__title {
  margin: 6px 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--ink-900);
}

.page-products .pr-viewport__text {
  margin: 0;
  font-size: .9375rem;
  color: #3E5248;
}

/* 收束区 */
.page-products .pr-close {
  position: relative;
}

.page-products .pr-close__grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

.page-products .pr-close__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ivory-050);
}

.page-products .pr-path {
  list-style: none;
  margin: clamp(20px, 2.6vw, 32px) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--pr-line);
}

.page-products .pr-path__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(184, 137, 43, .18);
}

.page-products .pr-path__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.4;
  color: var(--gold-600);
}

.page-products .pr-path__text {
  margin: 0;
  max-width: 52ch;
  font-size: .9375rem;
  color: rgba(244, 239, 228, .8);
}

.page-products .pr-close__aside {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--pr-line);
  background: rgba(18, 59, 47, .48);
  clip-path: polygon(0 0, calc(100% - var(--pr-cut)) 0, 100% var(--pr-cut), 100% 100%, 0 100%);
}

.page-products .pr-close__aside-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  color: var(--gold-600);
}

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

.page-products .pr-close__link {
  display: block;
  padding-left: 14px;
  border-left: 1px solid rgba(184, 137, 43, .5);
  font-size: .9375rem;
  color: rgba(244, 239, 228, .86);
  text-decoration: none;
  transition: color 160ms linear, border-color 160ms linear;
}

.page-products .pr-close__link:hover {
  color: var(--gold-300);
  border-left-color: var(--gold-300);
}

.page-products .pr-close__aside-note {
  margin: 20px 0 0;
  font-size: .8125rem;
  color: rgba(244, 239, 228, .58);
}

/* 响应式 */
@media (min-width: 900px) {
  .page-products .pr-index {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-products .pr-block__head {
    grid-template-columns: auto minmax(0, 1fr);
  }

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

  .page-products .pr-panel__grid--wide {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .pr-panel__media--left {
    order: -1;
  }

  .page-products .pr-compare {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .page-products .pr-compare__axis {
    width: 1px;
    height: auto;
    margin: clamp(16px, 2.4vw, 30px) 0;
    background: linear-gradient(180deg, transparent, var(--gold-600) 10%, var(--gold-600) 90%, transparent);
  }

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

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

@media (min-width: 1440px) {
  .page-products .pr-panel__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .page-products .pr-block__head .section-lede {
    max-width: 62ch;
  }
}

@media (max-width: 899px) {
  .page-products .pr-hero__title::after {
    display: none;
  }

  .page-products .pr-panel__media,
  .page-products .pr-compare__figure {
    aspect-ratio: 4 / 3;
  }

  .page-products .pr-panel__banner {
    aspect-ratio: 16 / 9;
  }

  .page-products .pr-index__panels {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pr-index__panel,
  .page-products .pr-index__item,
  .page-products .pr-compare__row,
  .page-products .pr-close__link {
    animation: none !important;
    transition: none !important;
  }
}
