.page-products {
  --pd-border: 1px solid var(--line);
  --pd-radius: var(--radius-m);
  --pd-consult: var(--amber);
  --pd-download: var(--cyan);
  --pd-feedback: var(--brick);
}

/* ---------- 标签 ---------- */
.page-products .ptag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: var(--fs-12);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--ink-900);
  background: var(--pd-consult);
  white-space: nowrap;
}

.page-products .ptag--download {
  background: var(--pd-download);
}

.page-products .ptag--feedback {
  background: var(--pd-feedback);
  color: var(--paper);
}

/* ---------- 首屏 ---------- */
.page-products .idx-hero {
  display: grid;
  gap: 26px;
  padding: 26px 0 32px;
  border-bottom: var(--pd-border);
}

.page-products .idx-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin: 24px 0 22px;
}

.page-products .fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 2px solid var(--pd-download);
}

.page-products .fact:nth-child(2) {
  border-left-color: var(--pd-consult);
}

.page-products .fact:nth-child(3) {
  border-left-color: var(--pd-feedback);
}

.page-products .fact__num {
  font-family: var(--font-display);
  font-size: var(--fs-32);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--ink-900);
}

.page-products .fact__label {
  font-size: var(--fs-12);
  color: var(--slate);
}

.page-products .media__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--pd-radius);
  border: var(--pd-border);
  background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
}

.page-products .media__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .media__caption {
  margin-top: 10px;
  font-size: var(--fs-12);
  color: var(--slate);
}

.page-products .idx-hero__figure {
  margin: 0;
}

/* ---------- 三列索引 ---------- */
.page-products .cat-index {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.page-products .cat-col {
  padding: 18px 16px 14px;
  border: var(--pd-border);
  border-radius: var(--pd-radius);
  background: var(--paper-2);
  border-top-width: 3px;
  border-top-color: var(--pd-consult);
}

.page-products .cat-col--download {
  border-top-color: var(--pd-download);
  background: linear-gradient(180deg, rgba(53, 214, 200, .1), var(--paper-2) 42%);
}

.page-products .cat-col--feedback {
  border-top-color: var(--pd-feedback);
}

.page-products .cat-col__head {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.page-products .cat-col__title {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--text);
}

.page-products .cat-col__note {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--slate);
}

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

.page-products .entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.page-products .entry:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.page-products .entry__no {
  font-size: var(--fs-12);
  color: var(--slate);
}

.page-products .entry__text {
  font-size: var(--fs-16);
  color: var(--text);
}

.page-products .entry__meta {
  font-size: var(--fs-12);
  color: var(--slate);
}

.page-products .filter-bar {
  margin-top: 18px;
}

.page-products .filter-empty {
  margin-top: 14px;
  font-size: var(--fs-14);
  color: var(--slate);
}

/* ---------- 下载入口顺序面板 ---------- */
.page-products .dl-order__panel {
  position: relative;
  overflow: hidden;
  padding: 26px 18px 30px;
  border-radius: var(--radius-l);
  background: var(--ink-900);
  color: var(--paper);
}

.page-products .dl-order__panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pd-download), transparent);
  animation: pd-scan 8s linear infinite;
}

@keyframes pd-scan {
  0% { left: -30%; }
  100% { left: 100%; }
}

.page-products .dl-order__head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.page-products .dl-order__lead {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-16);
  line-height: 1.75;
  color: var(--slate-lift);
}

.page-products .route-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .route-list::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 30px;
  bottom: 30px;
  border-left: 1px dashed var(--line-dark-strong);
}

.page-products .route-item {
  position: relative;
}

.page-products .route-item details {
  border-bottom: 1px solid var(--line-dark);
}

.page-products .route-item:last-child details {
  border-bottom: 0;
}

.page-products .route-item__sum {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s var(--ease-out);
}

.page-products .route-item__sum::-webkit-details-marker {
  display: none;
}

.page-products .route-item__sum:hover,
.page-products .route-item__sum:focus-visible {
  background: rgba(53, 214, 200, .06);
}

.page-products .route-item__no {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 6px;
  border: 1px solid var(--line-dark-strong);
  background: var(--ink-800);
  font-size: var(--fs-12);
  color: var(--pd-download);
}

.page-products .route-item__label {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.page-products .route-item__name {
  font-family: var(--font-editorial);
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--paper);
}

.page-products .route-item__spec {
  font-size: var(--fs-12);
  color: var(--slate-lift);
}

.page-products .route-item__body {
  padding: 0 0 16px 45px;
}

.page-products .route-item__body p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--slate-lift);
}

.page-products .route-item details[open] .route-item__no {
  border-color: var(--pd-download);
  color: var(--ink-900);
  background: var(--pd-download);
}

.page-products .order-figure {
  margin: 22px 0 0;
}

@media (min-width: 720px) {
  .page-products .cat-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .dl-order__panel {
    padding: 32px 28px 34px;
  }

  .page-products .route-item__body {
    padding-left: 45px;
  }

  .page-products .order-figure {
    max-width: 760px;
  }
}

/* ---------- 咨询类：情况对照 ---------- */
.page-products .pair-list {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: var(--pd-border);
}

.page-products .pair {
  display: grid;
  gap: 4px;
  padding: 14px 0 14px 14px;
  border-bottom: var(--pd-border);
  border-left: 3px solid var(--pd-consult);
}

.page-products .pair dt {
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--text);
}

.page-products .pair dd {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--ink-text);
}

.page-products .side-note {
  align-self: start;
  padding: 20px 18px;
  border: var(--pd-border);
  border-radius: var(--pd-radius);
  background: var(--paper-2);
}

.page-products .side-note__title {
  margin: 0 0 10px;
  font-size: var(--fs-18);
  color: var(--text);
}

.page-products .side-note p {
  margin: 0 0 10px;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--ink-text);
}

.page-products .side-note p:last-child {
  margin-bottom: 0;
}

.page-products a {
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.page-products .btn {
  text-decoration: none;
}

/* ---------- 下载清单表格 ---------- */
.page-products .dl-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: var(--fs-14);
}

.page-products .dl-table caption {
  text-align: left;
  padding-bottom: 10px;
  font-family: var(--font-editorial);
  font-size: var(--fs-14);
  color: var(--slate);
}

.page-products .dl-table th {
  text-align: left;
  padding: 11px 12px;
  background: var(--ink-800);
  color: var(--paper);
  font-weight: 600;
  white-space: nowrap;
}

.page-products .dl-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.page-products .dl-table tbody tr:nth-child(odd) {
  background: var(--paper-2);
}

.page-products .dl-table .mono {
  font-size: var(--fs-12);
  color: var(--ink-text);
}

.page-products .list-figure {
  margin: 22px 0 0;
}

@media (min-width: 720px) {
  .page-products .list-figure {
    max-width: 700px;
  }
}

/* ---------- 回访类 ---------- */
.page-products .note-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-products .note-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.page-products .note-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .note-item p {
  margin: 0;
  font-size: var(--fs-16);
  line-height: 1.75;
  color: var(--ink-text);
}

.page-products .dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--pd-feedback);
  box-shadow: 0 0 0 4px rgba(179, 58, 27, .12);
}

.page-products .note-tail {
  margin: 18px 0 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--ink-text);
}

.page-products .side-figure {
  align-self: start;
  padding: 18px;
  border-radius: var(--pd-radius);
  background: var(--ink-900);
}

.page-products .timeline-strip {
  position: relative;
  display: grid;
  gap: 22px;
  padding-left: 18px;
}

.page-products .timeline-strip::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  border-left: 1px dashed var(--line-dark-strong);
}

.page-products .timeline-strip__node {
  position: relative;
  display: block;
  width: 34px;
  height: 2px;
  background: var(--line-dark-strong);
}

.page-products .timeline-strip__node::before {
  content: "";
  position: absolute;
  left: -19px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brick-lift);
}

.page-products .timeline-strip__node--now {
  width: 58px;
  background: var(--pd-download);
}

.page-products .timeline-strip__node--now::before {
  background: var(--pd-download);
}

.page-products .side-figure__cap {
  margin: 16px 0 0;
  font-size: var(--fs-12);
  color: var(--slate-lift);
}

/* ---------- 文件格式 ---------- */
.page-products .fmt-grid {
  display: grid;
  gap: 16px;
}

.page-products .fmt-card {
  padding: 20px 18px;
  border: var(--pd-border);
  border-radius: var(--pd-radius);
  background: var(--paper-2);
  border-left: 4px solid var(--slate);
}

.page-products .fmt-card--pdf {
  border-left-color: var(--orange);
}

.page-products .fmt-card--xlsx {
  border-left-color: var(--cyan);
}

.page-products .fmt-card--zip {
  border-left-color: var(--amber);
}

.page-products .fmt-badge {
  display: inline-grid;
  place-items: center;
  min-width: 62px;
  padding: 5px 10px;
  margin-bottom: 12px;
  border-radius: var(--radius-s);
  border: 1px solid currentColor;
  font-size: var(--fs-12);
  letter-spacing: .08em;
  color: var(--orange-deep);
}

.page-products .fmt-card--xlsx .fmt-badge {
  color: var(--cyan-deep);
}

.page-products .fmt-card--zip .fmt-badge {
  color: var(--amber-deep);
}

.page-products .fmt-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-editorial);
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--text);
}

.page-products .fmt-card p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--ink-text);
}

.page-products .fmt-figure {
  margin: 22px 0 0;
}

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

  .page-products .fmt-figure {
    max-width: 620px;
  }
}

/* ---------- 移动端 ---------- */
.page-products .mobile-part__grid {
  display: grid;
  gap: 24px;
}

.page-products .mobile-part__figure {
  margin: 0;
}

@media (min-width: 720px) {
  .page-products .mobile-part__figure .media__frame {
    max-width: 380px;
  }
}

.page-products .mstep-list {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 4px 0 12px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-products .mstep {
  flex: 0 0 78%;
  min-width: 220px;
  scroll-snap-align: start;
  padding: 16px 14px;
  border: var(--pd-border);
  border-top: 3px solid var(--pd-download);
  border-radius: var(--pd-radius);
  background: var(--paper-2);
}

.page-products .mstep__no {
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-12);
  letter-spacing: .06em;
  color: var(--cyan-deep);
}

.page-products .mstep p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.7;
  color: var(--ink-text);
}

.page-products .mobile-part__tail {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: var(--ink-text);
}

@media (min-width: 900px) {
  .page-products .idx-hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    align-items: end;
    padding-top: 34px;
  }

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

  .page-products .mobile-part__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 36px;
    align-items: start;
  }

  .page-products .mstep-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

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

/* ---------- 收尾 ---------- */
.page-products .next-step__box {
  padding: 28px 20px;
  border-radius: var(--radius-l);
  background: var(--ink-800);
  color: var(--paper);
}

.page-products .next-step__box h2 {
  margin: 0 0 10px;
  color: var(--paper);
}

.page-products .next-step__box p {
  margin: 0 0 18px;
  max-width: 58ch;
  font-size: var(--fs-16);
  line-height: 1.75;
  color: var(--slate-lift);
}

.page-products .next-step__box .btn--ghost {
  color: var(--paper);
  border-color: var(--line-dark-strong);
}

@media (min-width: 720px) {
  .page-products .next-step__box {
    padding: 36px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .dl-order__panel::after {
    animation: none;
  }

  .page-products .route-item__sum {
    transition: none;
  }
}
