.page-products {
  --pdp-block: clamp(56px, 8vw, 104px);
  --pdp-radius: 2px;
  background: var(--void);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-products .pdp-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(46px, 7vw, 96px));
  padding-bottom: clamp(40px, 6vw, 78px);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(80% 70% at 6% -12%, var(--gold-a10), transparent 62%),
    radial-gradient(60% 60% at 100% 0%, var(--cyan-a10), transparent 58%),
    linear-gradient(180deg, #08080E 0%, var(--void) 82%);
}

.page-products .pdp-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
}

.page-products .pdp-hero__title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-products .pdp-hero__lede {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.85;
  color: rgba(233, 235, 242, 0.82);
}

.page-products .pdp-hero__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.page-products .pdp-hero__stats li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  background: var(--panel-2);
}

.page-products .pdp-hero__stat-num {
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gold);
  white-space: nowrap;
}

.page-products .pdp-hero__stat-txt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .pdp-hero__side {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
  padding: clamp(16px, 2.2vw, 24px);
}

.page-products .pdp-hero__side-label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-products .pdp-codes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
}

.page-products .pdp-codes li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  background: var(--panel);
  transition: background 0.2s var(--ease);
}

.page-products .pdp-codes li:hover {
  background: var(--gold-a06);
}

.page-products .pdp-codes__code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-products .pdp-codes__name {
  font-size: 14px;
  color: var(--mist);
}

.page-products .pdp-hero__side-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 通用区块 ---------- */
.page-products .pdp-section {
  padding-block: var(--pdp-block);
  border-bottom: 1px solid var(--line-soft);
}

.page-products .pdp-note {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--gold-a40);
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .pdp-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-a40);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-products .pdp-link:hover {
  color: var(--gold-glow);
  border-bottom-color: var(--gold-glow);
}

/* ---------- 图片容器 ---------- */
.page-products .pdp-fig {
  margin: 0;
}

.page-products .pdp-fig .figure__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--pdp-radius);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
}

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

.page-products .pdp-fig .figure__cap {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .pdp-fig--wide,
.page-products .pdp-fig--full {
  margin-top: clamp(28px, 4vw, 48px);
}

/* ---------- 平台对照 ---------- */
.page-products .pdp-platforms {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
  margin-top: clamp(26px, 3.5vw, 42px);
}

.page-products .pdp-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--pdp-radius);
  background: var(--panel-2);
  -webkit-overflow-scrolling: touch;
}

.page-products .pdp-plat-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .pdp-plat-table th {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(200, 160, 42, 0.05);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-products .pdp-plat-table td {
  padding: 16px;
  vertical-align: top;
  line-height: 1.75;
  color: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}

.page-products .pdp-plat-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .pdp-plat-table tbody tr {
  transition: background 0.2s var(--ease);
}

.page-products .pdp-plat-table tbody tr:hover {
  background: var(--gold-a06);
}

.page-products .pdp-plat-table td:first-child {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gold-glow);
  white-space: nowrap;
}

/* ---------- 图文分栏 ---------- */
.page-products .pdp-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(26px, 3.5vw, 44px);
  align-items: start;
}

/* ---------- 编号步骤 ---------- */
.page-products .pdp-steps {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pdp-steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-a40) 0%, var(--line) 26%, var(--line) 100%);
}

.page-products .pdp-steps__item {
  position: relative;
  padding-left: clamp(20px, 3vw, 34px);
  padding-bottom: clamp(30px, 4vw, 46px);
}

.page-products .pdp-steps__item:last-child {
  padding-bottom: 0;
}

.page-products .pdp-steps__item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 12px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--void);
  border: 1px solid var(--gold);
  transition: background 0.2s var(--ease);
}

.page-products .pdp-steps__item:hover::before {
  background: var(--gold-glow);
}

.page-products .pdp-steps__num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-a40);
  transition: color 0.25s var(--ease), -webkit-text-stroke-color 0.25s var(--ease);
}

.page-products .pdp-steps__item:hover .pdp-steps__num {
  color: var(--gold-a10);
  -webkit-text-stroke-color: var(--gold);
}

.page-products .pdp-steps__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
}

.page-products .pdp-steps__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(233, 235, 242, 0.78);
}

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

.page-products .pdp-steps__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .pdp-steps__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--gold);
  opacity: 0.75;
}

.page-products .pdp-steps__list strong {
  color: var(--gold-glow);
  font-weight: 600;
}

/* ---------- 权限清单 ---------- */
.page-products .pdp-perm {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-products .pdp-perm__row {
  padding: clamp(16px, 2vw, 22px);
  background: var(--panel-2);
  transition: background 0.2s var(--ease);
}

.page-products .pdp-perm__row:hover {
  background: var(--panel);
}

.page-products .pdp-perm__key {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-products .pdp-perm__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(233, 235, 242, 0.78);
}

/* ---------- 账户字段 ---------- */
.page-products .pdp-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-products .pdp-field {
  padding: clamp(16px, 2vw, 22px);
  background: var(--panel-2);
}

.page-products .pdp-field__name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--gold-glow);
}

.page-products .pdp-field__txt {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(233, 235, 242, 0.78);
}

/* ---------- 点数刻度 ---------- */
.page-products .pdp-scale {
  margin-top: clamp(26px, 3.5vw, 42px);
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 3vw, 30px);
}

.page-products .pdp-scale__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-products .pdp-scale__step {
  padding: 14px 10px 16px;
  background: var(--panel-2);
  border-top: 2px solid var(--line);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.page-products .pdp-scale__step:hover,
.page-products .pdp-scale__step:focus-within {
  border-top-color: var(--gold);
  background: var(--gold-a06);
}

.page-products .pdp-scale__val {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--cyan);
  transition: color 0.2s var(--ease);
}

.page-products .pdp-scale__step:hover .pdp-scale__val {
  color: var(--gold-glow);
}

.page-products .pdp-scale__tip {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .pdp-ratio-foot {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 68ch;
}

.page-products .pdp-ratio-foot p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(233, 235, 242, 0.78);
}

/* ---------- 桌数查询 ---------- */
.page-products .pdp-query {
  padding-block: var(--pdp-block);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 110% at 100% 0%, var(--cyan-a10), transparent 58%),
    radial-gradient(70% 90% at 0% 100%, var(--gold-a06), transparent 60%),
    linear-gradient(180deg, #0A0D14 0%, var(--void) 100%);
}

.page-products .pdp-query__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.5vw, 44px);
  margin-top: clamp(26px, 3.5vw, 42px);
}

.page-products .pdp-fields {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-products .pdp-fields__row {
  display: grid;
  gap: 8px;
  padding: clamp(14px, 1.8vw, 20px);
  background: var(--panel-2);
}

.page-products .pdp-fields__key {
  justify-self: start;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: var(--cyan-a10);
  border: 1px solid var(--cyan-a20);
  border-radius: var(--pdp-radius);
}

.page-products .pdp-fields__desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(233, 235, 242, 0.78);
}

.page-products .pdp-query__side {
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: linear-gradient(180deg, var(--indigo) 0%, var(--panel-2) 100%);
  padding: clamp(18px, 2.4vw, 28px);
}

.page-products .pdp-query__side-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--paper);
}

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

.page-products .pdp-query__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(233, 235, 242, 0.8);
}

.page-products .pdp-query__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--cyan);
}

.page-products .pdp-query__note {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .pdp-query__btn {
  margin-top: 18px;
}

/* ---------- 设备差异 ---------- */
.page-products .pdp-devices {
  margin-top: clamp(26px, 3.5vw, 42px);
}

.page-products .pdp-devices__card {
  padding: clamp(18px, 2.4vw, 26px);
}

.page-products .pdp-devices__card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(233, 235, 242, 0.78);
}

/* ---------- 收尾 ---------- */
.page-products .pdp-cta {
  padding-block: clamp(48px, 6vw, 84px);
  background:
    radial-gradient(70% 120% at 4% 0%, var(--gold-a10), transparent 62%),
    linear-gradient(180deg, var(--void) 0%, #08080E 100%);
}

.page-products .pdp-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}

.page-products .pdp-cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-products .pdp-cta__text p {
  margin: 14px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(233, 235, 242, 0.78);
}

.page-products .pdp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-products .pdp-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .pdp-hero__stats li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

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

  .page-products .pdp-scale__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-products .pdp-fields__row {
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 980px) {
  .page-products .pdp-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  }

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

  .page-products .pdp-split {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
  }

  .page-products .pdp-split--media-first {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  }

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

  .page-products .pdp-cta__inner {
    grid-template-columns: minmax(0, 1.6fr) auto;
  }

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

@media (min-width: 1200px) {
  .page-products .pdp-scale__list {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products * {
    transition-duration: 0.01ms !important;
  }
}
