.page-products {
  --hl-row: #FBEDE3;
  --dock-bg: rgba(245, 243, 238, 0.95);
  padding-bottom: 0;
}

/* ---------- 面包屑 ---------- */
.page-products .crumb {
  padding-block: 18px 8px;
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  padding-block: clamp(16px, 3vw, 34px) clamp(24px, 4vw, 46px);
}

.page-products .prod-hero-grid {
  display: grid;
  gap: clamp(26px, 5vw, 56px);
}

.page-products .prod-hero-main h1 {
  margin: 12px 0 0;
  font-size: var(--fs-h1);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  max-width: 16em;
}

.page-products .prod-lead {
  margin-top: clamp(16px, 2.4vw, 24px);
  max-width: 60ch;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.85;
  color: var(--graphite);
}

.page-products .prod-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}

.page-products .hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .hero-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-products .hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .hf-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--blue);
  min-width: 2.6em;
}

.page-products .hf-txt {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--graphite);
}

/* ---------- 顶部档位工具条 ---------- */
.page-products .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.page-products .tier-dock {
  position: sticky;
  top: 0;
  z-index: 30;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--dock-bg);
  backdrop-filter: blur(6px);
}

.page-products .tier-dock-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding-block: 10px;
}

.page-products .tier-dock-label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--clay);
  white-space: nowrap;
}

.page-products .tier-scroll {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  padding-block: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-products .tier-scroll::-webkit-scrollbar {
  display: none;
}

.page-products .tier-chip {
  flex: none;
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--graphite);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.page-products .tier-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.page-products .tier-radio:checked + .tier-chip {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.page-products .tier-radio:focus-visible + .tier-chip {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.page-products .tier-dock-cta {
  flex: none;
}

/* ---------- 通用区块 ---------- */
.page-products .sec {
  padding-block: clamp(42px, 7vw, 86px);
}

.page-products .sec-head {
  margin-bottom: clamp(22px, 3.6vw, 42px);
}

/* ---------- 选型三要素 ---------- */
.page-products .crit-grid {
  border-top: 1px solid var(--line);
}

.page-products .crit {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .crit-idx {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--clay);
}

.page-products .crit-title {
  margin: 0 0 10px;
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .crit-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-products .dim-figure {
  margin: clamp(28px, 4vw, 48px) 0 0;
}

.page-products .dim-svg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--white);
  border: 1px solid var(--line-soft);
}

.page-products .dim-figure figcaption,
.page-products .cat-photo figcaption,
.page-products .cmp-photo figcaption,
.page-products .tier-photo figcaption,
.page-products .scene-photo figcaption,
.page-products .flow-photo figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--graphite);
}

/* ---------- 六大类 ---------- */
.page-products .cat-photo {
  margin: 0 0 clamp(22px, 3.4vw, 36px);
}

.page-products .cat-photo img {
  display: block;
  width: 100%;
  height: clamp(200px, 30vw, 360px);
  object-fit: cover;
}

.page-products .scene-filter {
  position: relative;
  margin-bottom: clamp(18px, 2.6vw, 26px);
}

.page-products .scene-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .scene-chip {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  font-size: 13px;
  color: var(--graphite);
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.page-products .scene-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.page-products:has(#scene-all:checked) .scene-chip[for="scene-all"],
.page-products:has(#scene-mfg:checked) .scene-chip[for="scene-mfg"],
.page-products:has(#scene-integ:checked) .scene-chip[for="scene-integ"],
.page-products:has(#scene-agent:checked) .scene-chip[for="scene-agent"] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.page-products .filter-input:focus-visible + .scene-chips .scene-chip[for="scene-all"] {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.page-products .mcard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .mcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  background: var(--white);
}

.page-products:has(#scene-mfg:checked) .mcard:not([data-scene~="mfg"]),
.page-products:has(#scene-integ:checked) .mcard:not([data-scene~="integ"]),
.page-products:has(#scene-agent:checked) .mcard:not([data-scene~="agent"]) {
  display: none;
}

.page-products .mcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-products .mcard-code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.page-products .mcard-title {
  margin: 0;
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--ink);
}

.page-products .mcard-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-products .mcard-spec {
  margin: 4px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.page-products .spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .spec-row dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--graphite);
}

.page-products .spec-row dd {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
}

.page-products .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 参数对比 ---------- */
.page-products .cmp-wrap {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
}

.page-products .cmp-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.page-products .cmp-table,
.page-products .tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .cmp-table {
  min-width: 780px;
}

.page-products .cmp-table th,
.page-products .cmp-table td {
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}

.page-products .cmp-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-bottom: none;
}

.page-products .cmp-table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 1px 0 0 var(--line-soft);
}

.page-products .cmp-table thead th:first-child {
  left: 0;
  z-index: 5;
}

.page-products .cmp-table tbody tr:hover > * {
  background: var(--stone);
}

.page-products:has(#tier-t1:checked) .cmp-table tbody tr[data-tier="1"] > *,
.page-products:has(#tier-t2:checked) .cmp-table tbody tr[data-tier="2"] > *,
.page-products:has(#tier-t3:checked) .cmp-table tbody tr[data-tier="3"] > *,
.page-products:has(#tier-t5:checked) .cmp-table tbody tr[data-tier="5"] > * {
  background: var(--hl-row);
}

.page-products:has(#tier-t1:checked) .cmp-table tbody tr[data-tier="1"] th[scope="row"],
.page-products:has(#tier-t2:checked) .cmp-table tbody tr[data-tier="2"] th[scope="row"],
.page-products:has(#tier-t3:checked) .cmp-table tbody tr[data-tier="3"] th[scope="row"],
.page-products:has(#tier-t5:checked) .cmp-table tbody tr[data-tier="5"] th[scope="row"] {
  box-shadow: inset 3px 0 0 var(--orange), 1px 0 0 var(--line-soft);
}

.page-products .cmp-aside {
  border-top: 2px solid var(--orange);
  background: var(--white);
  padding: 18px 18px 20px;
}

.page-products .aside-card {
  display: none;
}

.page-products .aside-card[data-for="all"] {
  display: block;
}

.page-products:has(#tier-t1:checked) .aside-card[data-for="all"],
.page-products:has(#tier-t2:checked) .aside-card[data-for="all"],
.page-products:has(#tier-t3:checked) .aside-card[data-for="all"],
.page-products:has(#tier-t5:checked) .aside-card[data-for="all"] {
  display: none;
}

.page-products:has(#tier-t1:checked) .aside-card[data-for="1"],
.page-products:has(#tier-t2:checked) .aside-card[data-for="2"],
.page-products:has(#tier-t3:checked) .aside-card[data-for="3"],
.page-products:has(#tier-t5:checked) .aside-card[data-for="5"] {
  display: block;
}

.page-products .aside-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--clay);
}

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

.page-products .aside-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}

.page-products .aside-t {
  color: var(--ink);
}

.page-products .aside-v {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--graphite);
}

.page-products .aside-big {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--orange);
}

.page-products .aside-text {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--graphite);
}

.page-products .cmp-photo,
.page-products .tier-photo,
.page-products .scene-photo,
.page-products .flow-photo {
  margin: clamp(24px, 3.6vw, 40px) 0 0;
}

.page-products .cmp-photo img,
.page-products .scene-photo img,
.page-products .flow-photo img {
  display: block;
  width: 100%;
  height: clamp(200px, 28vw, 330px);
  object-fit: cover;
}

.page-products .tier-photo img {
  display: block;
  width: 100%;
  height: clamp(170px, 24vw, 300px);
  object-fit: cover;
}

/* ---------- 档位与价格 ---------- */
.page-products .tier-bar {
  display: flex;
  gap: 2px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-products .tier-bar .tier-seg {
  flex: 1 1 0;
  padding: 14px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-products .tier-table {
  border: 1px solid var(--line);
  background: var(--white);
  min-width: 0;
}

.page-products .tier-table th,
.page-products .tier-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--graphite);
}

.page-products .tier-table thead th {
  background: var(--stone);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.page-products .tier-table tbody th[scope="row"] {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

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

.page-products .tier-foot {
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  max-width: 68ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--graphite);
}

/* ---------- 适配场景 ---------- */
.page-products .scene-grid {
  border-top: 1px solid var(--line);
}

.page-products .scene {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .scene-role {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--clay);
}

.page-products .scene-title {
  margin: 0 0 10px;
  font-size: var(--fs-h4);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.page-products .scene-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--graphite);
}

/* ---------- 服务流程 ---------- */
.page-products .flow-wrap {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-products .flow {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.page-products .flow-step {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 0 0 26px 26px;
}

.page-products .flow-step::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 6px;
  width: 7px;
  height: 7px;
  background: var(--orange);
}

.page-products .flow-step:last-child {
  padding-bottom: 0;
}

.page-products .flow-time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.page-products .flow-title {
  margin: 0;
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--ink);
}

.page-products .flow-text {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-products .flow-side {
  padding: 20px 20px 22px;
  background: var(--stone);
}

.page-products .flow-side-k {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
}

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

.page-products .need-list li {
  position: relative;
  padding: 9px 0 9px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.page-products .need-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 6px;
  height: 1px;
  background: var(--clay);
}

.page-products .flow-side-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--graphite);
}

.page-products .flow-side-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 延伸入口 ---------- */
.page-products .next-band {
  border-top: 1px solid var(--line);
  background: var(--stone);
  padding-block: clamp(34px, 5vw, 58px);
}

.page-products .next-kicker {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--clay);
}

.page-products .next-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.page-products .next-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur), color var(--dur);
}

.page-products .next-link:hover,
.page-products .next-link:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.page-products .next-t {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-products .next-d {
  font-size: 13px;
  line-height: 1.7;
  color: var(--graphite);
}

.page-products .next-link:hover .next-d,
.page-products .next-link:focus-visible .next-d {
  color: var(--silver);
}

/* ---------- 平板 ---------- */
@media (min-width: 700px) {
  .page-products .mcard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  .page-products .prod-hero-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: end;
  }

  .page-products .flow-wrap {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

@media (min-width: 1020px) {
  .page-products .cmp-wrap {
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: start;
  }

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

  .page-products .next-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .tier-table th,
  .page-products .tier-table td {
    padding-inline: 18px;
  }
}

/* ---------- 窄屏收尾 ---------- */
@media (max-width: 560px) {
  .page-products .tier-dock-label {
    display: none;
  }

  .page-products .tier-dock-inner {
    gap: 10px;
  }

  .page-products .dim-figure {
    overflow-x: auto;
  }

  .page-products .dim-svg {
    min-width: 560px;
  }

  .page-products .tier-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .page-products .tier-bar::-webkit-scrollbar {
    display: none;
  }

  .page-products .tier-bar .tier-seg {
    flex: 0 0 auto;
    min-width: 118px;
  }

  .page-products .tier-table th,
  .page-products .tier-table td {
    padding: 11px 10px;
    font-size: 13px;
  }

  .page-products .prod-cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .tier-chip,
  .page-products .scene-chip,
  .page-products .next-link {
    transition: none;
  }
}
