.page-products {
  --xp-sec-space: clamp(64px, 8.5vw, 116px);
  --xp-card-fg: var(--pl-paper);
  --xp-card-sub: rgba(246, 248, 245, .78);
  display: block;
  padding-bottom: clamp(40px, 6vw, 88px);
}

.page-products .pl-shell {
  padding-top: clamp(16px, 2.6vw, 28px);
}

/* ---------- 面包屑 ---------- */
.page-products .pl-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--pl-green-700);
  margin-bottom: clamp(18px, 2.6vw, 30px);
}

.page-products .pl-breadcrumb__link {
  color: var(--pl-green-500);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--pl-ease), color .2s var(--pl-ease);
}

.page-products .pl-breadcrumb__link:hover {
  color: var(--pl-coral);
  border-bottom-color: var(--pl-coral);
}

.page-products .pl-breadcrumb__sep {
  color: var(--pl-green-300);
}

.page-products .pl-breadcrumb__here {
  color: var(--pl-ink);
  font-weight: 600;
}

/* ---------- 框景首屏 ---------- */
.page-products .xp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 46px);
  padding: clamp(24px, 3.8vw, 48px);
  border: 1px solid var(--pl-line);
  border-radius: var(--pl-r-xl);
  background:
    radial-gradient(120% 95% at 100% 0%, rgba(217, 164, 65, .18), transparent 58%),
    radial-gradient(90% 80% at 0% 100%, rgba(78, 147, 119, .14), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, var(--pl-paper) 100%);
  box-shadow: var(--pl-shadow-card);
  overflow: hidden;
}

.page-products .xp-hero::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--pl-line-soft);
  border-radius: calc(var(--pl-r-xl) - 10px);
  pointer-events: none;
}

.page-products .xp-hero__copy {
  position: relative;
  z-index: 1;
}

.page-products .xp-hero__title {
  margin: 12px 0 0;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--pl-green-900);
}

.page-products .xp-hero__lede {
  margin: 18px 0 0;
  max-width: 36em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: #33473f;
}

.page-products .xp-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(22px, 3vw, 30px);
}

.page-products .xp-fact {
  padding: 12px 14px;
  border-radius: var(--pl-r-m);
  background: var(--pl-green-100);
  border: 1px solid transparent;
}

.page-products .xp-fact__num {
  display: block;
  font-family: var(--pl-font-num);
  font-size: clamp(21px, 2.5vw, 29px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--pl-green-700);
}

.page-products .xp-fact__label {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #4a6159;
}

.page-products .xp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 30px);
}

.page-products .xp-hero__media {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--pl-r-l);
  overflow: hidden;
  border: 1px solid var(--pl-line);
  background: var(--pl-green-100);
}

.page-products .xp-hero__media img,
.page-products .xp-adapt__figure img,
.page-products .xp-steps__figure img,
.page-products .xp-member__figure img,
.page-products .xp-fix__figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 章节通用 ---------- */
.page-products .pl-section {
  margin-top: var(--xp-sec-space);
  scroll-margin-top: 112px;
}

.page-products .pl-section__head {
  display: flex;
  align-items: flex-end;
  gap: clamp(10px, 1.6vw, 20px);
}

.page-products .pl-section__index {
  flex: 0 0 auto;
  font-family: var(--pl-font-num);
  font-size: clamp(40px, 7.4vw, 92px);
  font-weight: 700;
  line-height: .8;
  color: var(--pl-gold-500);
  opacity: .9;
}

.page-products .pl-title {
  margin: 0;
  font-size: clamp(21px, 3.1vw, 33px);
  line-height: 1.24;
  font-weight: 800;
  color: var(--pl-green-900);
}

.page-products .pl-lede {
  margin: 16px 0 0;
  max-width: 44em;
  font-size: 16px;
  line-height: 1.78;
  color: #3a4f48;
}

/* ---------- 01 适配 ---------- */
.page-products .xp-adapt__figure {
  margin: clamp(22px, 3vw, 34px) 0 0;
  border-radius: var(--pl-r-l);
  overflow: hidden;
  border: 1px solid var(--pl-line);
  background: var(--pl-green-100);
}

.page-products .xp-fit {
  position: relative;
  margin-top: clamp(24px, 3vw, 36px);
}

.page-products .xp-fit__hint {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #4d635c;
}

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

.page-products .xp-fit__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pl-line-soft);
}

.page-products .xp-fit__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--pl-line);
  background: #ffffff;
  color: var(--pl-green-700);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition: background .2s var(--pl-ease), color .2s var(--pl-ease), border-color .2s var(--pl-ease);
}

.page-products .xp-fit__chip:hover {
  border-color: var(--pl-green-300);
  background: var(--pl-green-100);
}

.page-products .xp-fit__count {
  font-family: var(--pl-font-num);
  font-size: 14px;
  font-weight: 600;
  color: var(--pl-gold-500);
}

.page-products .xp-fit:has(#fit-all:checked) label[for="fit-all"],
.page-products .xp-fit:has(#fit-high:checked) label[for="fit-high"],
.page-products .xp-fit:has(#fit-mid:checked) label[for="fit-mid"],
.page-products .xp-fit:has(#fit-low:checked) label[for="fit-low"] {
  background: var(--pl-green-500);
  border-color: var(--pl-green-500);
  color: #ffffff;
}

.page-products .xp-fit:has(#fit-all:checked) label[for="fit-all"] .xp-fit__count,
.page-products .xp-fit:has(#fit-high:checked) label[for="fit-high"] .xp-fit__count,
.page-products .xp-fit:has(#fit-mid:checked) label[for="fit-mid"] .xp-fit__count,
.page-products .xp-fit:has(#fit-low:checked) label[for="fit-low"] .xp-fit__count {
  color: var(--pl-gold-200);
}

.page-products .xp-fit:has(#fit-high:checked) .xp-fit__item:not([data-tier="high"]),
.page-products .xp-fit:has(#fit-mid:checked) .xp-fit__item:not([data-tier="mid"]),
.page-products .xp-fit:has(#fit-low:checked) .xp-fit__item:not([data-tier="low"]) {
  display: none;
}

.page-products .xp-fit__grid {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}

.page-products .xp-fit__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 16px;
  border-radius: var(--pl-r-m);
  border: 1px solid var(--pl-line);
  background: #ffffff;
  transition: transform .22s var(--pl-ease), box-shadow .22s var(--pl-ease), border-color .22s var(--pl-ease);
}

.page-products .xp-fit__item:hover {
  transform: translateY(-3px);
  border-color: var(--pl-green-300);
  box-shadow: var(--pl-shadow-card);
}

.page-products .xp-fit__os {
  font-family: var(--pl-font-num);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--pl-green-500);
}

.page-products .xp-fit__name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.36;
  color: var(--pl-ink);
}

.page-products .xp-fit__spec {
  margin: 0;
  font-size: 12.5px;
  color: #5b7169;
}

.page-products .xp-fit__state {
  align-self: flex-start;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.page-products .xp-fit__state--ok {
  background: var(--pl-green-100);
  color: var(--pl-green-700);
}

.page-products .xp-fit__state--warn {
  background: var(--pl-gold-200);
  color: #6b4a09;
}

.page-products .xp-adapt__note {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--pl-green-300);
  border-radius: 0 var(--pl-r-m) var(--pl-r-m) 0;
  background: rgba(216, 235, 225, .5);
  font-size: 14px;
  line-height: 1.72;
  color: #3a4f48;
}

/* ---------- 02 两步路径 ---------- */
.page-products .xp-steps__list {
  position: relative;
  list-style: none;
  margin: clamp(26px, 3.4vw, 42px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.page-products .xp-steps__item {
  position: relative;
}

.page-products .xp-steps__num {
  display: inline-block;
  position: relative;
  z-index: 2;
  margin-bottom: 6px;
  padding-right: 18px;
  background: var(--pl-paper);
  font-family: var(--pl-font-num);
  font-size: clamp(62px, 10.5vw, 118px);
  font-weight: 700;
  line-height: .9;
  color: var(--pl-gold-500);
}

.page-products .xp-steps__name {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  color: var(--pl-green-900);
}

.page-products .xp-steps__text {
  margin: 10px 0 0;
  max-width: 30em;
  font-size: 15.5px;
  line-height: 1.74;
  color: #3d534c;
}

.page-products .xp-steps__more {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--pl-line);
}

.page-products .xp-steps__more summary {
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pl-blue);
}

.page-products .xp-steps__more summary::-webkit-details-marker {
  display: none;
}

.page-products .xp-steps__more summary::before {
  content: "+";
  display: inline-block;
  width: 1em;
  margin-right: 4px;
  font-family: var(--pl-font-num);
  font-size: 15px;
  color: var(--pl-coral);
}

.page-products .xp-steps__more[open] summary::before {
  content: "−";
}

.page-products .xp-steps__more p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: #465b54;
}

.page-products .xp-steps__figure {
  margin: clamp(28px, 3.6vw, 44px) 0 0;
  border-radius: var(--pl-r-l);
  overflow: hidden;
  border: 1px solid var(--pl-line);
  background: var(--pl-green-100);
}

/* ---------- 03 功能 ---------- */
.page-products .xp-features__grid {
  margin-top: clamp(24px, 3.2vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .xp-feature {
  position: relative;
  padding: 24px 22px 26px;
  border-radius: var(--pl-r-l);
  background: #ffffff;
  border: 1px solid var(--pl-line);
  transition: transform .24s var(--pl-ease), box-shadow .24s var(--pl-ease);
}

.page-products .xp-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--pl-shadow-card);
}

.page-products .xp-feature:nth-child(1) {
  background: var(--pl-green-100);
  border-color: transparent;
}

.page-products .xp-feature:nth-child(3) {
  background: rgba(241, 220, 169, .42);
  border-color: transparent;
}

.page-products .xp-feature__no {
  display: block;
  margin-bottom: 10px;
  font-family: var(--pl-font-num);
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--pl-green-500);
}

.page-products .xp-feature__title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--pl-green-900);
}

.page-products .xp-feature__text {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: #3d534c;
}

.page-products .xp-feature__where {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--pl-line);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--pl-green-700);
}

.page-products .xp-features__fav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: var(--pl-r-l);
  background: var(--pl-green-900);
  color: var(--pl-paper);
}

.page-products .xp-features__fav p {
  margin: 0;
  flex: 1 1 260px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(246, 248, 245, .85);
}

/* ---------- 04 会员 ---------- */
.page-products .xp-member__figure {
  margin: clamp(22px, 3vw, 34px) 0 0;
  border-radius: var(--pl-r-l);
  overflow: hidden;
  border: 1px solid var(--pl-line);
  background: var(--pl-green-100);
}

.page-products .xp-table__wrap {
  margin-top: clamp(20px, 2.8vw, 30px);
  border-radius: var(--pl-r-l);
  border: 1px solid var(--pl-line);
  background: #ffffff;
  overflow: hidden;
}

.page-products .xp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-products .xp-table th,
.page-products .xp-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--pl-line-soft);
}

.page-products .xp-table thead th {
  background: var(--pl-green-700);
  color: var(--pl-paper);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.page-products .xp-table tbody th {
  background: var(--pl-paper);
  font-weight: 600;
  color: var(--pl-green-900);
  white-space: nowrap;
}

.page-products .xp-table tbody td {
  color: #374b45;
}

.page-products .xp-table tbody tr:nth-child(even) td:not(:last-child) {
  background: rgba(216, 235, 225, .42);
}

.page-products .xp-table thead th:last-child {
  background: var(--pl-green-500);
}

.page-products .xp-table tbody td:last-child {
  background: var(--pl-gold-200);
  color: #4a3407;
  font-weight: 600;
}

.page-products .xp-table tbody tr:last-child th,
.page-products .xp-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 05 安装升级 ---------- */
.page-products .xp-fix__body {
  margin-top: clamp(24px, 3.2vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-products .xp-fix__figure {
  margin: 0;
  border-radius: var(--pl-r-l);
  overflow: hidden;
  border: 1px solid var(--pl-line);
  background: var(--pl-green-100);
}

.page-products .xp-fix__list {
  list-style: none;
  counter-reset: xpfix;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .xp-fix__item {
  counter-increment: xpfix;
  position: relative;
  padding: 16px 18px 18px 56px;
  border-radius: var(--pl-r-m);
  background: #ffffff;
  border: 1px solid var(--pl-line);
}

.page-products .xp-fix__item::before {
  content: counter(xpfix, decimal-leading-zero);
  position: absolute;
  left: 17px;
  top: 16px;
  font-family: var(--pl-font-num);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--pl-gold-500);
}

.page-products .xp-fix__item h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--pl-green-900);
}

.page-products .xp-fix__item p {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: #3f544d;
}

/* ---------- 06 下一步 ---------- */
.page-products .xp-next__grid {
  margin-top: clamp(24px, 3.2vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .xp-next__card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
  border-radius: var(--pl-r-l);
  text-decoration: none;
  background: var(--pl-green-900);
  color: var(--xp-card-fg);
  transition: transform .24s var(--pl-ease), box-shadow .24s var(--pl-ease);
}

.page-products .xp-next__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pl-shadow-card);
}

.page-products .xp-next__card--light {
  --xp-card-fg: var(--pl-green-900);
  --xp-card-sub: #3f5a52;
  background: var(--pl-green-100);
}

.page-products .xp-next__label {
  font-family: var(--pl-font-num);
  font-size: 12px;
  letter-spacing: .1em;
  opacity: .72;
}

.page-products .xp-next__title {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.32;
}

.page-products .xp-next__text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.74;
  color: var(--xp-card-sub);
}

.page-products .xp-next__arrow {
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pl-gold-200);
}

.page-products .xp-next__card--light .xp-next__arrow {
  color: var(--pl-green-500);
}

.page-products .xp-next__note {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--pl-gold-500);
  border-radius: 0 var(--pl-r-m) var(--pl-r-m) 0;
  background: rgba(241, 220, 169, .34);
  font-size: 14px;
  line-height: 1.76;
  color: #3f544d;
}

.page-products .xp-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
  font-size: 14px;
}

.page-products .xp-next__links a {
  color: var(--pl-blue);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(46, 107, 230, .35);
  transition: color .2s var(--pl-ease), border-color .2s var(--pl-ease);
}

.page-products .xp-next__links a:hover {
  color: var(--pl-coral);
  border-bottom-color: var(--pl-coral);
}

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

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

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

@media (min-width: 820px) {
  .page-products .xp-steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
  }

  .page-products .xp-steps__list::before {
    content: "";
    position: absolute;
    top: 46px;
    left: 3%;
    right: 3%;
    height: 3px;
    border-radius: 3px;
    background: repeating-linear-gradient(90deg, var(--pl-gold-500) 0 16px, transparent 16px 30px);
    opacity: .5;
    pointer-events: none;
    z-index: 0;
  }
}

@media (min-width: 900px) {
  .page-products .xp-hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-products .xp-fix__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: start;
    gap: 32px;
  }

  .page-products .xp-fix__figure {
    position: sticky;
    top: 120px;
  }
}

@media (min-width: 1024px) {
  .page-products .xp-features__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .page-products .xp-feature:nth-child(1) {
    grid-column: span 5;
  }

  .page-products .xp-feature:nth-child(2) {
    grid-column: span 7;
  }

  .page-products .xp-feature:nth-child(3) {
    grid-column: span 7;
  }

  .page-products .xp-feature:nth-child(4) {
    grid-column: span 5;
  }

  .page-products .xp-fit__grid {
    grid-template-columns: repeat(auto-fill, minmax(162px, 1fr));
  }
}

@media (max-width: 719px) {
  .page-products .xp-table__wrap {
    border-radius: var(--pl-r-l);
  }

  .page-products .xp-table,
  .page-products .xp-table thead,
  .page-products .xp-table tbody,
  .page-products .xp-table tr,
  .page-products .xp-table th,
  .page-products .xp-table td {
    display: block;
    width: 100%;
  }

  .page-products .xp-table thead {
    display: none;
  }

  .page-products .xp-table tbody tr {
    padding: 4px 0 14px;
    border-bottom: 1px solid var(--pl-line);
  }

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

  .page-products .xp-table tbody th {
    padding: 16px 16px 6px;
    background: transparent;
    font-size: 15px;
    white-space: normal;
  }

  .page-products .xp-table tbody td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 16px;
    background: transparent !important;
    white-space: normal;
  }

  .page-products .xp-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pl-green-500);
  }

  .page-products .xp-table tbody tr:nth-child(even) td,
  .page-products .xp-table tbody tr:nth-child(even) td:not(:last-child) {
    background: transparent;
  }

  .page-products .xp-table tbody td:last-child {
    color: var(--pl-green-900);
  }
}

@media (max-width: 460px) {
  .page-products .xp-fit__grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }

  .page-products .xp-features__fav {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .xp-fit__item,
  .page-products .xp-feature,
  .page-products .xp-next__card {
    transition: none;
  }

  .page-products .xp-fit__item:hover,
  .page-products .xp-feature:hover,
  .page-products .xp-next__card:hover {
    transform: none;
  }
}
</PAGE_CSS>
