.page-products {
  --prod-card-pad: 22px;
  --prod-measure: 34em;
  background: var(--paper);
  color: var(--ink);
}

.page-products img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-products .media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
}

.page-products .media-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 面包屑 */
.page-products .breadcrumb {
  padding: 16px 0 4px;
  font-size: 14px;
}

.page-products .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-mute);
}

.page-products .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}

.page-products .breadcrumb a {
  color: var(--ink-mute);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.page-products .breadcrumb a:hover {
  color: var(--apricot-deep);
  border-color: var(--apricot-deep);
}

/* 首屏 */
.page-products .prod-hero {
  position: relative;
  overflow: hidden;
  padding: 8px 0 44px;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 46% 54% 62% 38% / 52% 46% 54% 48%;
  background: radial-gradient(circle at 32% 34%, var(--apricot-soft), transparent 72%);
  opacity: 0.6;
  pointer-events: none;
}

.page-products .prod-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 30px;
  padding-top: 16px;
}

.page-products .label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--apricot-deep);
}

.page-products h1 {
  margin: 12px 0 18px;
  max-width: 15em;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 8vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.page-products .prod-lede {
  margin: 0;
  max-width: 30em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
}

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

.page-products .stage-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "count name"
    "count desc";
  align-items: center;
  gap: 0 14px;
  padding: 12px 16px 12px 18px;
  background: var(--card);
  border-left: 4px solid var(--apricot);
  border-radius: var(--radius-sm);
}

.page-products .stage-count {
  grid-area: count;
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--apricot-deep);
}

.page-products .stage-name {
  grid-area: name;
  font-size: 16px;
  font-weight: 700;
}

.page-products .stage-desc {
  grid-area: desc;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}

.page-products .stage-item--daily {
  border-left-color: var(--leaf);
}

.page-products .stage-item--daily .stage-count {
  color: var(--leaf-ink);
}

.page-products .stage-item--pro {
  border-left-color: var(--ink);
}

.page-products .stage-item--pro .stage-count {
  color: var(--ink);
}

/* 案例墙与筛选 */
.page-products .wall {
  padding: 6px 0 52px;
}

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

.page-products .wall-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.page-products .wall-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.3;
}

.page-products .filter-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-mute);
}

.page-products .pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-products .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.page-products .pill em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  color: var(--ink-mute);
}

.page-products .pill:hover {
  border-color: var(--apricot);
}

.page-products #stage-all:checked ~ .container .pill[for="stage-all"],
.page-products #stage-new:checked ~ .container .pill[for="stage-new"],
.page-products #stage-daily:checked ~ .container .pill[for="stage-daily"],
.page-products #stage-pro:checked ~ .container .pill[for="stage-pro"] {
  background: var(--apricot);
  border-color: var(--apricot);
  font-weight: 700;
}

.page-products #stage-all:checked ~ .container .pill[for="stage-all"] em,
.page-products #stage-new:checked ~ .container .pill[for="stage-new"] em,
.page-products #stage-daily:checked ~ .container .pill[for="stage-daily"] em,
.page-products #stage-pro:checked ~ .container .pill[for="stage-pro"] em {
  color: var(--ink);
}

.page-products #stage-new:checked ~ .container .case:not(.is-new),
.page-products #stage-daily:checked ~ .container .case:not(.is-daily),
.page-products #stage-pro:checked ~ .container .case:not(.is-pro) {
  display: none;
}

.page-products .wall-figure {
  margin: 0 0 28px;
}

.page-products .wall-layout {
  display: grid;
  gap: 26px;
}

.page-products .case-wall {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  align-content: start;
}

.page-products .case {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--prod-card-pad) var(--prod-card-pad) 16px 26px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line);
}

.page-products .case::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--apricot);
  transition: width 0.2s ease;
}

.page-products .case:hover::before,
.page-products .case:focus-within::before {
  width: 12px;
}

.page-products .case.is-daily::before {
  background: var(--leaf);
}

.page-products .case.is-pro::before {
  background: var(--ink);
}

.page-products .case-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .case-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--ink-mute);
}

.page-products .case-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
}

.page-products .case-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s ease;
}

.page-products .case:hover .case-text,
.page-products .case:focus-within .case-text {
  -webkit-line-clamp: 8;
}

.page-products .case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.page-products .case-step {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
}

.page-products .fav-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.page-products .fav {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-mute);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.page-products .fav:hover {
  border-color: var(--leaf);
  color: var(--leaf-ink);
}

.page-products .fav-on {
  display: none;
}

.page-products .fav-input:checked + .fav {
  background: var(--leaf-soft);
  border-color: var(--leaf);
  color: var(--leaf-ink);
}

.page-products .fav-input:checked + .fav .fav-off {
  display: none;
}

.page-products .fav-input:checked + .fav .fav-on {
  display: inline;
}

.page-products .fav-input:focus-visible + .fav {
  outline: 2px solid var(--apricot-deep);
  outline-offset: 2px;
}

/* 图例 */
.page-products .legend {
  padding: 16px 18px 18px;
  background: var(--paper-2);
  border-radius: var(--radius);
}

.page-products .legend-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

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

.page-products .legend a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}

.page-products .legend a:hover {
  color: var(--apricot-deep);
}

.page-products .swatch {
  display: inline-block;
  width: 10px;
  height: 28px;
  border-radius: 5px;
  background: var(--apricot);
}

.page-products .swatch--daily {
  background: var(--leaf);
}

.page-products .swatch--pro {
  background: var(--ink);
}

.page-products .legend-hint {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-mute);
}

/* 章节通用 */
.page-products .chapter {
  padding: 48px 0;
}

.page-products .chapter--tint {
  background: var(--paper-2);
}

.page-products .chapter-grid {
  display: grid;
  gap: 28px;
}

.page-products .chapter-num {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--apricot-deep);
}

.page-products .chapter-title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 6vw, 38px);
  line-height: 1.22;
}

.page-products .chapter-lead {
  margin: 0 0 24px;
  max-width: var(--prod-measure);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-mute);
}

.page-products .chapter-figure {
  align-self: start;
}

.page-products .chapter a {
  color: var(--apricot-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--apricot-soft);
}

.page-products .chapter a:hover {
  border-color: var(--apricot-deep);
}

.page-products .chapter-more {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-mute);
}

/* 三段式骨架 */
.page-products .anatomy {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .anatomy li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding-left: 16px;
  border-left: 2px solid var(--apricot-soft);
}

.page-products .anatomy-num {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--apricot-deep);
}

.page-products .anatomy h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.page-products .anatomy p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-mute);
}

/* 会员中心 */
.page-products .member {
  max-width: 760px;
}

.page-products .member-figure {
  margin: 0 0 26px;
}

.page-products .parts {
  border-top: 1px solid var(--line);
}

.page-products .part {
  position: relative;
  padding: 20px 0 20px 20px;
  border-bottom: 1px solid var(--line);
}

.page-products .part::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apricot);
}

.page-products .part--case::before {
  background: var(--leaf);
}

.page-products .part--msg::before {
  background: var(--ink);
}

.page-products .part--set::before {
  background: var(--ink-mute);
}

.page-products .part-name {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
}

.page-products .part-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-mute);
}

/* 筛选要点 */
.page-products .tips {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .tips li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-mute);
}

.page-products .tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--leaf);
}

.page-products .tips strong {
  color: var(--ink);
}

/* 步骤对照 */
.page-products .step-map {
  display: grid;
  gap: 12px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}

.page-products .step-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 16px;
  padding: 14px 16px;
  background: var(--card);
  border-left: 4px solid var(--apricot-soft);
  border-radius: var(--radius-sm);
}

.page-products .step-row .step-num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  color: var(--apricot);
}

.page-products .step-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.page-products .step-desc {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-mute);
}

.page-products .next-step {
  margin-top: 32px;
}

/* 响应式 */
@media (min-width: 680px) {
  .page-products .case-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .page-products .case-wall .case:nth-child(3n + 2) {
    margin-top: 26px;
  }

  .page-products .part {
    padding-left: 24px;
  }
}

@media (min-width: 720px) {
  .page-products .prod-hero {
    padding-bottom: 56px;
  }

  .page-products .prod-hero-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: end;
    gap: 48px;
  }

  .page-products .wall-title {
    font-size: 28px;
  }
}

@media (min-width: 900px) {
  .page-products .chapter {
    padding: 64px 0;
  }

  .page-products .chapter-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 56px;
    align-items: start;
  }

  .page-products .chapter-grid--flip .chapter-figure {
    order: -1;
  }

  .page-products .wall-layout {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 40px;
    align-items: start;
  }

  .page-products .legend {
    position: sticky;
    top: calc(var(--header-h-condensed) + 20px);
  }
}

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

  .page-products .case-wall .case:nth-child(3n + 2) {
    margin-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .case::before,
  .page-products .pill,
  .page-products .fav,
  .page-products .case-text {
    transition: none;
  }
}
<<<END>>>
