.page-products {
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(47, 224, 232, 0.12), transparent 62%),
    radial-gradient(700px 460px at 6% 42%, rgba(75, 61, 143, 0.18), transparent 66%),
    linear-gradient(180deg, #060E1F 0%, #0A1730 38%, #060E1F 100%);
  color: var(--ink);
  overflow-x: clip;
  padding-bottom: 70px;
}

.page-products a {
  color: var(--cyan);
  text-decoration: none;
}

.page-products a:hover,
.page-products a:focus-visible {
  text-decoration: underline;
}

.page-products .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- 首屏 ---------- */
.page-products .directory-hero {
  position: relative;
  padding: 112px 0 26px;
}

.page-products .directory-hero::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -22%;
  width: 68vw;
  height: 300px;
  background: linear-gradient(115deg, rgba(75, 61, 143, 0.55), rgba(14, 124, 134, 0.26) 52%, rgba(6, 14, 31, 0) 84%);
  transform: skewY(-9deg);
  border-radius: var(--radius-l);
  pointer-events: none;
  z-index: 0;
}

.page-products .breadcrumb {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--mist);
}

.page-products .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.page-products .hero-copy h1 {
  margin: 10px 0 16px;
  font-size: clamp(28px, 7.4vw, 52px);
  line-height: 1.14;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: var(--ink);
}

.page-products .hero-lead {
  margin: 0;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(232, 246, 245, 0.86);
}

.page-products .hero-stats {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-products .stat {
  padding: 14px 16px;
  background: rgba(10, 23, 48, 0.86);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .stat-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.page-products .stat-label {
  font-size: 12.5px;
  color: var(--mist);
}

.page-products .hero-figure {
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-cyan);
  background: rgba(6, 14, 31, 0.7);
}

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

.page-products .img-frame__caption {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mist);
  padding: 10px 14px 12px;
}

/* ---------- 筛选条 ---------- */
.page-products .filter-section {
  padding: 6px 0 0;
}

.page-products .filter-bar {
  border-radius: var(--radius-l);
  padding: 18px 16px;
  display: grid;
  gap: 18px;
}

.page-products .filter-group__label {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.page-products .filter-group__no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  border: 1px solid var(--line-cyan);
  border-radius: 4px;
  padding: 1px 5px;
}

.page-products .filter-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .filter-tag {
  font-size: 12.5px;
  line-height: 1;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--silver);
  background: rgba(20, 34, 58, 0.6);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.page-products .filter-tag.is-active {
  color: var(--abyss);
  background: linear-gradient(120deg, var(--cyan), #7ff0f4);
  border-color: transparent;
  font-weight: 700;
}

.page-products .filter-tag.tag--amber {
  color: var(--amber-soft);
  border-color: var(--line-amber);
  background: rgba(122, 46, 74, 0.28);
}

.page-products .filter-hint {
  margin: 12px 4px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 双栏骨架 ---------- */
.page-products .dir-layout {
  width: var(--shell);
  margin: 34px auto 0;
  display: grid;
  gap: 26px;
}

.page-products .rail-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--glass);
  padding: 18px 16px 20px;
}

.page-products .rail-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  z-index: 0;
}

.page-products .rail-inner > :not(.rail-art) {
  position: relative;
  z-index: 1;
}

.page-products .rail-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-cyan);
}

.page-products .rail-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--silver);
}

.page-products .rail-list li {
  padding-left: 14px;
  position: relative;
}

.page-products .rail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-products .rail-note {
  margin: 0 0 16px;
  padding: 12px 13px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--amber-soft);
  border-left: 3px solid var(--amber);
  background: rgba(122, 46, 74, 0.22);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

.page-products .rail-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.page-products .rail-links a {
  color: var(--silver);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 6px;
  display: block;
}

.page-products .rail-links a:hover {
  color: var(--cyan);
}

/* ---------- 类别分区 ---------- */
.page-products .section__title {
  font-size: clamp(22px, 5.2vw, 34px);
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.page-products .section__sub {
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(232, 246, 245, 0.74);
}

.page-products .cat-section {
  --cat-color: var(--cyan);
  position: relative;
  margin-bottom: 14px;
  padding: 16px 15px 14px 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 34, 58, 0.74), rgba(10, 23, 48, 0.5));
  overflow: hidden;
}

.page-products .cat-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--cat-color);
}

.page-products .cat-section--amber { --cat-color: var(--amber); }
.page-products .cat-section--indigo { --cat-color: var(--indigo); }
.page-products .cat-section--wine { --cat-color: var(--wine); }
.page-products .cat-section--teal { --cat-color: var(--teal); }

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

.page-products .cat-mark {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--cat-color);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.page-products .cat-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.page-products .cat-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

.page-products .cat-scene {
  margin: 8px 0 4px;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(232, 246, 245, 0.74);
}

.page-products .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "id id"
    "name score"
    "dims time";
  gap: 4px 12px;
  padding: 12px 0 10px;
  border-top: 1px solid var(--line);
}

.page-products .entry__id {
  grid-area: id;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cat-color);
}

.page-products .entry__name {
  grid-area: name;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  min-width: 0;
}

.page-products .entry__score {
  grid-area: score;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--amber);
  text-align: right;
}

.page-products .entry__dims {
  grid-area: dims;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.page-products .entry__time {
  grid-area: time;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--mist);
  text-align: right;
  white-space: nowrap;
}

/* ---------- 变更摘要 ---------- */
.page-products .changes {
  margin-top: 22px;
  border-radius: var(--radius-m);
  padding: 18px 16px;
}

.page-products .changes__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.page-products .accordion__trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
}

.page-products .accordion__trigger:hover {
  color: var(--cyan);
}

.page-products .accordion__panel p {
  margin: 0;
  padding: 10px 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(232, 246, 245, 0.76);
}

/* ---------- 评分说明 ---------- */
.page-products .dim-grid {
  display: grid;
  gap: 24px;
  margin-top: 6px;
}

.page-products .dim-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-cyan);
  background: rgba(6, 14, 31, 0.8);
}

.page-products .dim-figure img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.55;
}

.page-products .dim-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 46%, rgba(6, 14, 31, 0.15), rgba(6, 14, 31, 0.82) 78%);
  pointer-events: none;
}

.page-products .radar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82%;
  height: auto;
  transform: translate(-50%, -54%);
  z-index: 1;
}

.page-products .radar__ring {
  fill: none;
  stroke: rgba(201, 211, 224, 0.22);
  stroke-width: 1;
}

.page-products .radar__axis {
  fill: none;
  stroke: rgba(201, 211, 224, 0.1);
  stroke-width: 1;
}

.page-products .radar__data {
  fill: rgba(47, 224, 232, 0.22);
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linejoin: round;
}

.page-products .radar__dot {
  fill: var(--amber);
}

.page-products .dim-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-products .dim-item__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.page-products .dim-item__name {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.page-products .dim-item__score {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
}

.page-products .dim-item__desc {
  margin: 7px 0 0;
  font-size: 12.8px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .dim-pick {
  margin-top: 24px;
  border-radius: var(--radius-m);
  padding: 18px 16px;
}

.page-products .dim-pick__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.page-products .dim-pick__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13.2px;
  line-height: 1.75;
  color: rgba(232, 246, 245, 0.8);
}

.page-products .dim-pick__list li {
  padding-left: 16px;
  position: relative;
}

.page-products .dim-pick__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 2px;
  transform: rotate(45deg);
}

.page-products .dim-pick__list strong {
  color: var(--ink);
  margin-right: 6px;
}

/* ---------- 对比 ---------- */
.page-products .cmp-banner {
  margin: 0 0 20px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-products .cmp-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 2 / 1;
}

.page-products .cmp-table {
  font-size: 13px;
}

.page-products .cmp-table th[scope="row"] {
  font-weight: 600;
  color: var(--silver);
  text-align: left;
  white-space: nowrap;
}

.page-products .cmp-table thead th {
  color: var(--cyan);
  font-weight: 700;
}

.page-products .cmp-table td.num {
  font-family: var(--font-mono);
}

.page-products .cmp-table tbody tr:nth-child(even) td,
.page-products .cmp-table tbody tr:nth-child(even) th {
  background: rgba(20, 34, 58, 0.42);
}

.page-products .choice-grid {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.page-products .choice-card {
  padding: 16px 15px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(75, 61, 143, 0.3), rgba(10, 23, 48, 0.68));
}

.page-products .choice-card__title {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--amber-soft);
}

.page-products .choice-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(232, 246, 245, 0.78);
}

/* ---------- 移动端专题 ---------- */
.page-products .mobile-grid {
  display: grid;
  gap: 22px;
}

.page-products .mobile-figure {
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-amber);
  background: rgba(6, 14, 31, 0.8);
}

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

.page-products .mobile-points {
  display: grid;
  gap: 16px;
}

.page-products .mobile-point {
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.page-products .mobile-point h3 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

.page-products .mobile-point p {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.75;
  color: rgba(232, 246, 245, 0.78);
}

.page-products .mobile-point--amber {
  border: 1px solid var(--line-amber);
  border-radius: var(--radius-m);
  padding: 16px 15px;
  background: rgba(122, 46, 74, 0.26);
}

.page-products .mobile-point--amber h3 {
  color: var(--amber);
}

.page-products .mobile-point .btn {
  margin-top: 14px;
}

/* ---------- 导出与回访 ---------- */
.page-products .export-grid {
  display: grid;
  gap: 16px;
}

.page-products .export-card {
  border-radius: var(--radius-l);
  padding: 18px 16px;
}

.page-products .export-card__no {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.page-products .export-card__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.page-products .export-card p {
  margin: 0 0 12px;
  font-size: 13.2px;
  line-height: 1.78;
  color: rgba(232, 246, 245, 0.78);
}

.page-products .export-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 12.8px;
  line-height: 1.65;
  color: var(--silver);
}

.page-products .export-list li {
  padding-left: 15px;
  position: relative;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.page-products .export-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.page-products .export-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.page-products .export-foot p {
  margin: 0 0 16px;
  font-size: 13.2px;
  line-height: 1.78;
  color: rgba(232, 246, 245, 0.76);
  max-width: 62ch;
}

.page-products .export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .export-actions .btn {
  flex: 1 1 auto;
  text-align: center;
}

/* ---------- 中等屏幕 ---------- */
@media (min-width: 700px) {
  .page-products .directory-hero {
    padding-top: 132px;
  }

  .page-products .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 26px;
    padding: 22px 22px;
  }

  .page-products .entry {
    grid-template-areas:
      "id name score time"
      ". dims dims time";
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: baseline;
    gap: 4px 16px;
  }

  .page-products .entry__dims {
    font-size: 12px;
  }

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

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

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

  .page-products .export-actions .btn {
    flex: 0 0 auto;
  }
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 1000px) {
  .page-products .directory-hero {
    padding: 150px 0 34px;
  }

  .page-products .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: 40px;
  }

  .page-products .hero-copy h1 {
    font-size: 50px;
  }

  .page-products .hero-figure img {
    aspect-ratio: 16 / 9;
  }

  .page-products .filter-bar {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 22px;
  }

  .page-products .dir-layout {
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    margin-top: 44px;
  }

  .page-products .dir-rail {
    position: sticky;
    top: calc(var(--header-h-scrolled) + 20px);
    align-self: start;
  }

  .page-products .dim-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 34px;
    align-items: center;
  }

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

  .page-products .export-card {
    padding: 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .meter__fill {
    transition: none;
  }
}

/* ---------- 打印：只留对比表 ---------- */
@media print {
  .page-products {
    background: #ffffff;
    color: #101828;
    padding-bottom: 0;
  }

  .page-products .directory-hero,
  .page-products .filter-section,
  .page-products .dir-rail,
  .page-products .cat-block,
  .page-products .dim-section,
  .page-products .mobile-section,
  .page-products .export-section,
  .page-products .cmp-banner,
  .page-products .choice-grid,
  .page-products .section__head {
    display: none !important;
  }

  .page-products .dir-main .cmp-section {
    padding: 0;
  }

  .page-products .cmp-table,
  .page-products .cmp-table th,
  .page-products .cmp-table td {
    color: #101828;
    background: #ffffff;
    border-color: #b9c2cf;
  }
}
