.page-products {
  --fx-gap: clamp(18px, 3vw, 32px);
  --fx-narrow: 620px;
  display: block;
}

/* ---------- 面包屑 ---------- */
.page-products .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  margin-bottom: clamp(22px, 3.4vw, 36px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .crumbs__link {
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-products .crumbs__link:hover,
.page-products .crumbs__link:focus-visible {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.page-products .crumbs__sep {
  color: var(--line);
}

.page-products .crumbs__item {
  color: var(--amber);
}

/* ---------- 首屏 ---------- */
.page-products .fx-lead {
  position: relative;
  padding-bottom: clamp(34px, 5vw, 64px);
}

.page-products .fx-lead__rule {
  display: block;
  width: 76px;
  height: 4px;
  margin-bottom: clamp(18px, 2.4vw, 26px);
  background: linear-gradient(90deg, var(--amber-deep), var(--amber) 70%, transparent);
}

.page-products .fx-lead__title {
  margin: 14px 0 0;
  max-width: 15em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--mist);
}

.page-products .fx-lead__lede {
  max-width: var(--fx-narrow);
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--muted);
}

.page-products .fx-quick {
  list-style: none;
  margin: clamp(24px, 3.6vw, 38px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 工作台 ---------- */
.page-products .fx-workbench {
  padding: clamp(34px, 5vw, 62px) 0;
  border-top: var(--rule);
  background: var(--ink);
}

.page-products .fx-tabs {
  margin-top: clamp(22px, 3vw, 34px);
}

.page-products .fx-tabs .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: var(--rule);
}

.page-products .fx-tabs .tabs__btn {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 4px 13px;
  margin-right: clamp(18px, 3vw, 34px);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-products .fx-tabs .tabs__btn:hover {
  color: var(--mist);
}

.page-products .fx-tabs .tabs__btn[aria-selected="true"] {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.page-products .fx-tabs .tabs__btn:focus-visible {
  outline: 1px solid var(--teal);
  outline-offset: 3px;
}

.page-products .fx-tabs .tabs__panel {
  padding-top: clamp(24px, 3.4vw, 40px);
}

.page-products .fx-tabs .tabs__panel:focus {
  outline: none;
}

/* ---------- 面板通用排版 ---------- */
.page-products .fx-subtitle {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.page-products .fx-text {
  max-width: var(--fx-narrow);
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.85;
  color: var(--muted);
}

.page-products .fx-hint {
  margin: 16px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--mist);
}

/* ---------- 筛选面板 ---------- */
.page-products .fx-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 44px);
}

.page-products .fx-fieldset {
  margin-top: clamp(20px, 2.6vw, 28px);
}

.page-products .fx-fieldset__label {
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.page-products .fx-fieldset .chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .fx-fieldset .chip[aria-pressed="true"] {
  background: var(--amber);
  color: var(--paper-ink);
  border-color: var(--amber);
}

/* ---------- 刻度条 ---------- */
.page-products .fx-meter {
  margin-top: clamp(26px, 3.4vw, 38px);
  padding: clamp(16px, 2.2vw, 24px);
  background: var(--ink-2);
  border: var(--rule);
}

.page-products .fx-meter__title {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .fx-meter__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.page-products .fx-meter__name {
  font-size: 13px;
  color: var(--mist);
}

.page-products .fx-meter__track {
  display: block;
  height: 6px;
  background: var(--line);
  overflow: hidden;
}

.page-products .fx-meter__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--amber-deep), var(--amber));
}

.page-products .fx-meter__row:nth-of-type(1) .fx-meter__fill { width: 37.5%; }
.page-products .fx-meter__row:nth-of-type(2) .fx-meter__fill { width: 18.75%; }
.page-products .fx-meter__row:nth-of-type(3) .fx-meter__fill { width: 16.7%; }
.page-products .fx-meter__row:nth-of-type(4) .fx-meter__fill { width: 14.6%; }
.page-products .fx-meter__row:nth-of-type(5) .fx-meter__fill { width: 12.5%; }

.page-products .fx-meter__val {
  font-size: 13px;
  text-align: right;
  color: var(--teal);
}

.page-products .fx-meter__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 图片组件微调 ---------- */
.page-products .media {
  margin: 0;
}

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

.page-products .fx-shot--filter .media__frame {
  aspect-ratio: 4 / 3;
  border-color: var(--line);
}

.page-products .fx-shot--notice .media__frame {
  aspect-ratio: 3 / 2;
}

.page-products .fx-shot--phone .media__frame {
  aspect-ratio: 8 / 14;
}

.page-products .fx-shot--score .media__frame {
  aspect-ratio: 2 / 1;
}

.page-products .fx-shot--cadence .media__frame {
  aspect-ratio: 2 / 1;
}

.page-products .media__frame {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  transition: border-color 0.24s var(--ease);
}

.page-products .media__frame:hover {
  border-color: var(--teal);
}

.page-products .media__frame img {
  filter: saturate(1.05) contrast(1.02);
}

.page-products .media__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 5px 11px;
  background: var(--paper);
  color: var(--paper-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-products .media__caption {
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--amber-deep);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 更新公告面板 ---------- */
.page-products .fx-notice {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.4vw, 40px);
}

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

.page-products .fx-iter__item {
  position: relative;
  padding: clamp(16px, 2.2vw, 22px) 0 clamp(16px, 2.2vw, 22px) 20px;
  border-bottom: 1px solid var(--line);
}

.page-products .fx-iter__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(clamp(16px, 2.2vw, 22px) + 6px);
  width: 8px;
  height: 2px;
  background: var(--amber);
}

.page-products .fx-iter__when {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.page-products .fx-iter__what {
  margin: 0;
  max-width: var(--fx-narrow);
  font-size: clamp(14.5px, 1.5vw, 16px);
  line-height: 1.8;
  color: var(--mist);
}

.page-products .fx-iter__scope {
  margin: 8px 0 0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 评分面板 ---------- */
.page-products .fx-score-panel .fx-shot--score {
  margin-top: clamp(22px, 3vw, 32px);
}

.page-products .fx-dims {
  list-style: none;
  margin: clamp(26px, 3.4vw, 38px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-products .fx-dims__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px 12px 16px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.page-products .fx-dims__item:hover {
  background: var(--ink-2);
  border-bottom-color: var(--teal);
}

.page-products .fx-dims__num {
  font-size: 15px;
  color: var(--amber-deep);
  padding-top: 2px;
  transition: color 0.22s var(--ease);
}

.page-products .fx-dims__item:hover .fx-dims__num {
  color: var(--teal);
}

.page-products .fx-dims__body {
  display: block;
}

.page-products .fx-dims__name {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.55vw, 16.5px);
  font-weight: 500;
  color: var(--mist);
}

.page-products .fx-dims__desc {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .fx-score-table-wrap {
  margin-top: clamp(26px, 3.4vw, 38px);
  max-width: 100%;
  overflow-x: auto;
}

.page-products .fx-score {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-products .fx-score__caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .fx-score th,
.page-products .fx-score td {
  text-align: left;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .fx-score thead th {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--amber-deep);
}

.page-products .fx-score tbody th {
  font-weight: 400;
  color: var(--mist);
}

.page-products .fx-score tbody td {
  color: var(--teal);
}

.page-products .fx-score tbody tr:first-child td {
  color: var(--amber);
}

.page-products .fx-score tbody tr:hover {
  background: var(--ink-2);
}

/* ---------- 移动端章节 ---------- */
.page-products .fx-mobile {
  padding: clamp(36px, 5vw, 66px) 0;
  border-top: var(--rule);
  background: var(--ink-2);
}

.page-products .fx-mobile__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 46px);
  align-items: center;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .fx-mobile .fx-shot--phone {
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.page-products .fx-checklist {
  list-style: none;
  margin: clamp(20px, 2.8vw, 28px) 0 0;
  padding: 0;
}

.page-products .fx-checklist li {
  position: relative;
  padding: 11px 0 11px 24px;
  font-size: clamp(14.5px, 1.5vw, 16px);
  line-height: 1.8;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.page-products .fx-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 20px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--teal);
}

.page-products .fx-checklist li span.mono {
  color: var(--amber);
}

.page-products .fx-mobile__link {
  margin: clamp(22px, 3vw, 30px) 0 0;
}

/* ---------- 迭代节奏章节 ---------- */
.page-products .fx-cadence {
  padding: clamp(36px, 5vw, 66px) 0;
  border-top: var(--rule);
}

.page-products .fx-cadence__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 44px);
  align-items: center;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .fx-checklist--cadence li {
  padding-top: 14px;
  padding-bottom: 14px;
}

.page-products .fx-checklist__lead {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- 后续入口 ---------- */
.page-products .fx-next {
  padding: clamp(36px, 5vw, 62px) 0 clamp(44px, 6vw, 80px);
  border-top: var(--rule);
  background: var(--ink-2);
}

.page-products .fx-next__list {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-products .fx-next__item {
  border-bottom: 1px solid var(--line);
}

.page-products .fx-next__link {
  display: block;
  padding: clamp(16px, 2.2vw, 22px) 34px clamp(16px, 2.2vw, 22px) 0;
  position: relative;
  text-decoration: none;
  transition: background 0.22s var(--ease);
}

.page-products .fx-next__link::after {
  content: "→";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--line);
  transition: color 0.22s var(--ease), transform 0.22s var(--ease);
}

.page-products .fx-next__link:hover,
.page-products .fx-next__link:focus-visible {
  background: var(--ink);
}

.page-products .fx-next__link:hover::after,
.page-products .fx-next__link:focus-visible::after {
  color: var(--teal);
  transform: translateY(-50%) translateX(3px);
}

.page-products .fx-next__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(16px, 1.9vw, 19px);
  letter-spacing: -0.01em;
  color: var(--mist);
}

.page-products .fx-next__desc {
  display: block;
  margin-top: 6px;
  max-width: var(--fx-narrow);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-products .fx-notice {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .fx-notice .fx-subtitle,
  .page-products .fx-notice .fx-text {
    grid-column: 1 / -1;
  }

  .page-products .fx-notice .fx-shot--notice {
    grid-column: 1;
  }

  .page-products .fx-iter {
    grid-column: 2;
  }

  .page-products .fx-next__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(20px, 3vw, 40px);
  }
}

@media (min-width: 920px) {
  .page-products .fx-panel-grid {
    grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .fx-mobile__grid {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: clamp(34px, 5vw, 60px);
  }

  .page-products .fx-mobile .fx-shot--phone {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .page-products .fx-cadence__grid {
    grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
    gap: clamp(34px, 5vw, 60px);
  }

  .page-products .fx-dims {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(20px, 3vw, 40px);
  }

  .page-products .fx-dims__item {
    padding-right: 20px;
  }
}

@media (min-width: 1180px) {
  .page-products .fx-lead__title {
    max-width: 13em;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-products .fx-next__link,
  .page-products .fx-next__link::after,
  .page-products .media__frame,
  .page-products .fx-dims__item {
    transition: none;
  }
}
</main>
