.page-products {
  --pp-gap: clamp(1rem, 2.6vw, 1.75rem);
  --pp-hair: rgba(16, 37, 28, .16);
  --pp-card-lemon: #FFD23F;
}

/* ---------- 首屏 ---------- */
.page-products .lib-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5.5rem, 13vw, 8.5rem) clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(120% 88% at 88% 4%, rgba(255, 210, 63, .30), transparent 62%),
    radial-gradient(95% 72% at -4% 30%, rgba(127, 209, 232, .22), transparent 60%),
    var(--cream);
}

.page-products .hero-bloom {
  position: absolute;
  right: -8%;
  top: 12%;
  width: clamp(220px, 40vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 34%, rgba(244, 54, 76, .18), rgba(244, 54, 76, 0) 68%);
  pointer-events: none;
}

.page-products .lib-hero-inner {
  position: relative;
  display: grid;
  gap: var(--pp-gap);
  align-items: center;
}

.page-products .lib-hero-copy h1 {
  margin: .6rem 0 1rem;
  font-size: clamp(1.95rem, 5.4vw, 54px);
  font-weight: 900;
  line-height: 1.14;
  color: var(--rind);
  letter-spacing: -.005em;
}

.page-products .lib-hero-copy h1 em {
  font-style: normal;
  display: inline-block;
  padding: 0 .16em;
  border-radius: 8px;
  background: var(--lemon);
  box-shadow: 4px 4px 0 var(--rind);
}

.page-products .lib-lede {
  margin: 0 0 1.4rem;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--rind);
}

.page-products .lib-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin: 1.8rem 0 0;
  padding-top: 1.1rem;
  border-top: 2px dashed var(--pp-hair);
}

.page-products .lib-stat dt {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .02em;
}

.page-products .lib-stat dd {
  margin: .18rem 0 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--rind);
}

.page-products .lib-hero-figure {
  margin: 0;
}

.page-products .lib-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--rind);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  object-fit: cover;
  aspect-ratio: 12 / 7;
}

/* ---------- 三个维度 ---------- */
.page-products .dim-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.page-products .dim-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.4rem;
  border: 3px solid var(--rind);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.page-products .dim-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12px;
  border-bottom: 3px solid var(--rind);
  border-radius: 11px 11px 0 0;
}

.page-products .dim-card--lemon::after { background: var(--lemon); }
.page-products .dim-card--lime::after { background: var(--lime); }
.page-products .dim-card--ice::after { background: var(--ice); }

.page-products .dim-card h3 {
  margin: 1rem 0 .5rem;
  font-size: 22px;
  font-weight: 900;
  color: var(--rind);
}

.page-products .dim-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rind);
}

.page-products .dim-index {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .06em;
}

/* ---------- 筛选面板 ---------- */
.page-products .lib-filter-panel {
  padding: 1.25rem 1.15rem 1.4rem;
  border: 3px solid var(--rind);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-hard);
  scroll-margin-top: 6rem;
}

.page-products .filter-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .85rem;
  padding-bottom: .85rem;
  margin-bottom: 1rem;
  border-bottom: 2px dashed var(--pp-hair);
}

.page-products .filter-title {
  margin: 0;
  font-size: 19px;
  font-weight: 900;
  color: var(--rind);
}

.page-products .filter-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.page-products .filter-groups {
  display: grid;
  gap: 1.1rem;
}

.page-products .filter-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.page-products .filter-legend {
  padding: 0;
  margin-bottom: .5rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
}

.page-products .filter-opts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.page-products .filter-opt {
  position: relative;
  display: inline-flex;
}

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

.page-products .filter-opt span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .32rem .78rem;
  border: 2px solid var(--rind);
  border-radius: 999px;
  background: var(--cream);
  color: var(--rind);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background .12s var(--ease-out), box-shadow .12s var(--ease-out);
}

.page-products .filter-opt input:checked + span {
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--rind);
}

.page-products .filter-opt input:focus-visible + span {
  outline: 3px solid var(--watermelon);
  outline-offset: 2px;
}

/* ---------- 主栏 + 旁注栏 ---------- */
.page-products .lib-split {
  display: grid;
  gap: var(--pp-gap);
}

.page-products .lib-split-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.page-products .entry-grid {
  display: grid;
  gap: .9rem;
  grid-template-columns: 1fr;
}

.page-products .entry-card {
  transition: transform .16s var(--ease-out);
}

.page-products .entry-card:hover {
  transform: translate(-2px, -2px);
}

.page-products .entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .35rem;
}

.page-products .entry-id {
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--muted);
}

.page-products .entry-spec {
  margin: .45rem 0 0;
  font-size: 13px;
  color: var(--muted);
}

.page-products .side-block {
  padding: 1rem 1rem 1.1rem;
  border: 3px solid var(--rind);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.page-products .side-title {
  margin: 0 0 .7rem;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--muted);
}

.page-products .side-note p {
  margin: 0 0 .9rem;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rind);
}

.page-products .tier-links {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .tier-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .58rem .7rem;
  border: 2px solid var(--rind);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--rind);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--rind);
  transition: transform .14s var(--ease-out);
}

.page-products .tier-link:hover,
.page-products .tier-link:focus-visible {
  transform: translate(-2px, -2px);
}

.page-products .tier-link--lime { border-left: 10px solid var(--lime); }
.page-products .tier-link--peach { border-left: 10px solid var(--peach); }
.page-products .tier-link--ice { border-left: 10px solid var(--ice); }

.page-products .side-figure img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-products .btn-sm {
  padding: .5rem .9rem;
  font-size: 14px;
}

/* ---------- 更新轮次 ---------- */
.page-products .lib-updates {
  background:
    linear-gradient(180deg, rgba(255, 210, 63, .16), rgba(255, 210, 63, 0) 70%);
}

/* ---------- 档位带 ---------- */
.page-products .lib-tier-band {
  position: relative;
  margin-block: clamp(3.25rem, 7vw, 5rem);
  padding-block: clamp(3rem, 6.5vw, 4.75rem);
  background: var(--rind);
  color: var(--cream);
}

.page-products .lib-tier-band::before,
.page-products .lib-tier-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  background: var(--rind);
  pointer-events: none;
}

.page-products .lib-tier-band::before {
  top: -28px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.page-products .lib-tier-band::after {
  bottom: -28px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.page-products .tier-head h2 {
  color: var(--cream);
}

.page-products .eyebrow--onDark {
  color: var(--lemon);
}

.page-products .eyebrow--onDark::before {
  background: var(--lemon);
}

.page-products .tier-head .section-lede {
  color: rgba(255, 248, 236, .78);
}

.page-products .tier-figure {
  margin-block: 1.5rem;
}

.page-products .tier-figure img {
  aspect-ratio: 100 / 62;
  object-fit: cover;
  border-color: var(--cream);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, .35);
}

.page-products .tier-figure .figure-caption {
  color: rgba(255, 248, 236, .72);
}

.page-products .tier-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .tier-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-products .tier-table th,
.page-products .tier-table td {
  padding: .85rem .9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 2px solid var(--rind-2);
  color: var(--cream);
  line-height: 1.6;
}

.page-products .tier-table thead th {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--lemon);
  border-bottom: 3px solid var(--rind-2);
}

.page-products .tier-table tbody th {
  font-weight: 700;
  white-space: nowrap;
}

.page-products .tier-table tbody tr {
  scroll-margin-top: 6.5rem;
}

.page-products .tier-table tbody tr:nth-child(odd) {
  background: rgba(255, 248, 236, .05);
}

.page-products .tier-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: .55rem;
  border: 2px solid var(--cream);
  border-radius: 3px;
  vertical-align: middle;
}

.page-products .tier-dot--lime { background: var(--lime); }
.page-products .tier-dot--peach { background: var(--peach); }
.page-products .tier-dot--ice { background: var(--ice); }

/* ---------- 轻量优先 ---------- */
.page-products .light-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.page-products .load-flow {
  display: block;
  width: 100%;
  min-width: 560px;
  height: auto;
  margin: 0 0 1.25rem;
}

.page-products .light-copy {
  overflow-x: auto;
}

.page-products .light-copy .section-head,
.page-products .light-copy .figure-frame,
.page-products .light-figure {
  min-width: 0;
}

.page-products .light-copy > *:not(.load-flow) {
  overflow: visible;
}

.page-products .light-figure {
  margin: 0;
}

.page-products .light-figure img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-products .step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .85rem;
  counter-reset: none;
}

.page-products .step-list li {
  position: relative;
  padding: 1rem 1rem 1.05rem 1rem;
  border: 3px solid var(--rind);
  border-left: 12px solid var(--lemon);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.page-products .step-list li:nth-child(2) { border-left-color: var(--lime); }
.page-products .step-list li:nth-child(3) { border-left-color: var(--ice); }
.page-products .step-list li:nth-child(4) { border-left-color: var(--peach); }

.page-products .step-num {
  display: block;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: .3rem;
}

.page-products .step-list h3 {
  margin: 0 0 .4rem;
  font-size: 18px;
  font-weight: 900;
  color: var(--rind);
}

.page-products .step-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rind);
}

/* ---------- 收藏清单 ---------- */
.page-products .lib-collect {
  background:
    radial-gradient(80% 60% at 8% 0%, rgba(168, 224, 95, .22), transparent 62%),
    var(--cream);
}

.page-products .collect-steps {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.page-products .collect-steps li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 16px;
  line-height: 1.7;
  color: var(--rind);
}

.page-products .collect-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  background: var(--lemon);
  border: 2px solid var(--rind);
  border-radius: 2px;
}

.page-products .collect-list {
  display: grid;
  gap: .55rem;
  padding: 1rem;
  border: 3px solid var(--rind);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-hard);
}

.page-products .collect-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .6rem;
  border: 2px solid var(--rind);
  border-radius: var(--radius-sm);
  background: var(--cream);
  cursor: pointer;
  font-size: 14px;
  color: var(--rind);
}

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

.page-products .collect-item::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--rind);
  border-radius: 4px;
  background: var(--cream);
}

.page-products .collect-item input:checked ~ .collect-name {
  text-decoration: line-through;
  text-decoration-color: var(--watermelon);
}

.page-products .collect-item:has(input:checked)::before {
  background: var(--lime);
  box-shadow: inset 0 0 0 3px var(--cream);
}

.page-products .collect-item:has(input:focus-visible) {
  outline: 3px solid var(--watermelon);
  outline-offset: 2px;
}

.page-products .collect-item .mono {
  color: var(--muted);
  font-size: 12px;
}

.page-products .collect-name {
  flex: 1 1 auto;
  min-width: 0;
}

.page-products .collect-side .figure-frame img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

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

  .page-products .filter-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.5rem;
  }
}

@media (min-width: 880px) {
  .page-products .lib-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .page-products .lib-hero-figure {
    margin-right: calc(var(--gutter) * -1);
  }

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

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

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

  .page-products .step-list {
    gap: 1rem;
  }
}

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

  .page-products .lib-split {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 1.75rem;
    align-items: start;
  }

  .page-products .lib-split--collect {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }
}

@media (max-width: 1023px) {
  .page-products .lib-split-side {
    order: 2;
  }

  .page-products .lib-split-main {
    order: 1;
  }

  .page-products .side-figure {
    max-width: 420px;
  }
}
<<<END>>>
