.page-products {
  --cat-rail: 250px;
  --cat-stroke: rgba(143, 185, 174, 0.45);
  background: var(--ink-green);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products a {
  color: inherit;
  text-decoration: none;
}

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

.page-products a:focus-visible,
.page-products summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.page-products [id] {
  scroll-margin-top: 96px;
}

/* ---------- 面包屑 ---------- */
.cat-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  padding-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.cat-crumbs__sep {
  color: rgba(143, 185, 174, 0.5);
}

.cat-crumbs__here {
  color: var(--lime);
}

.cat-crumbs__a:hover {
  color: var(--lime);
}

/* ---------- 首屏 ---------- */
.cat-hero {
  padding: 20px 0 46px;
}

.cat-hero__grid {
  display: grid;
  gap: 30px;
}

.cat-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.cat-kicker__dash {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--lime);
  transform: skewX(-12deg);
}

.cat-hero__copy h1 {
  margin: 16px 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 8vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 15em;
}

.cat-hero__lede {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(247, 250, 247, 0.82);
  max-width: 56ch;
}

.cat-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cat-hero__stats {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  align-self: end;
}

.cat-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-hero__num {
  font-size: clamp(22px, 6vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
}

.cat-hero__lbl {
  font-size: 12px;
  line-height: 1.5;
  color: var(--mist);
}

/* ---------- 分屏骨架 ---------- */
.cat-layout {
  display: grid;
  gap: 26px;
  padding-bottom: 64px;
}

.cat-rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.cat-rail__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.cat-rail__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.cat-rail__nav::-webkit-scrollbar {
  display: none;
}

.cat-rail__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
  color: rgba(247, 250, 247, 0.8);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.cat-rail__link .mono-num {
  font-size: 11px;
  color: var(--lime);
}

.cat-rail__link:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.cat-rail__note {
  display: none;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
}

.cat-rail__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: 1px;
}

.cat-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(46px, 7vw, 84px);
  min-width: 0;
}

/* ---------- 章节通用 ---------- */
.cat-sec {
  position: relative;
  min-width: 0;
}

.cat-sec__head {
  margin-bottom: 22px;
}

.cat-sec__num {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lime);
  border: 1px solid rgba(200, 255, 61, 0.35);
  border-radius: 999px;
}

.cat-sec__head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 4.6vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.cat-sec__intro {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 250, 247, 0.74);
  max-width: 62ch;
}

.cat-sec--blue {
  padding: clamp(20px, 4vw, 34px);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 28, 51, 0.94), rgba(16, 28, 51, 0.55));
}

.cat-sec--indigo {
  padding: clamp(20px, 4vw, 34px);
  border-radius: 20px;
  background: linear-gradient(165deg, var(--ink-indigo), rgba(11, 43, 38, 0.92));
}

.cat-sec--sand {
  padding: clamp(20px, 4vw, 34px);
  border-radius: 20px;
  background: var(--sand);
  color: var(--ink-green);
}

.cat-sec--sand .cat-sec__num {
  color: var(--wine);
  border-color: rgba(92, 35, 51, 0.32);
}

/* ---------- 图片容器 ---------- */
.cat-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(143, 185, 174, 0.12) 0 10px, rgba(143, 185, 174, 0) 10px 20px),
    var(--ink-blue);
}

.cat-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-figure--hero {
  aspect-ratio: 16 / 9;
  margin-bottom: 26px;
}

.cat-figure--tall {
  aspect-ratio: 3 / 2;
}

.cat-figure--wide {
  aspect-ratio: 2 / 1;
  margin-bottom: 22px;
}

.cat-figure--sq {
  aspect-ratio: 3 / 2;
}

.cat-figure__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lime);
  background: rgba(11, 43, 38, 0.84);
  border-top-right-radius: 10px;
}

/* ---------- 目录列表 ---------- */
.cat-map {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-map__row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cat-map__row:first-child {
  border-top: 1px solid var(--line);
}

.cat-map__no {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.cat-map__title {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
}

.cat-map__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 250, 247, 0.72);
}

.cat-map__go {
  align-self: center;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
  border-bottom: 1px solid rgba(200, 255, 61, 0.35);
  white-space: nowrap;
}

.cat-map__go:hover {
  border-bottom-color: var(--lime);
}

/* ---------- 时间轴 ---------- */
.cat-timeline {
  display: grid;
  gap: 16px;
}

.cat-stop {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  position: relative;
}

.cat-stop::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: -16px;
  width: 2px;
  background: linear-gradient(180deg, rgba(143, 185, 174, 0.5), rgba(143, 185, 174, 0.06));
}

.cat-stop:last-child::before {
  display: none;
}

.cat-stop__node {
  grid-column: 1;
  width: 14px;
  height: 14px;
  margin-top: 24px;
  justify-self: center;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.14);
}

.cat-stop__card {
  grid-column: 2;
  min-width: 0;
  padding: 16px 18px;
  background: linear-gradient(155deg, rgba(30, 26, 60, 0.92), rgba(16, 28, 51, 0.94));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

.cat-stop__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.cat-stop__time {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.cat-stop__card h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.cat-stop__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 250, 247, 0.75);
}

/* ---------- 状态标签 ---------- */
.cat-tag {
  display: inline-block;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  border-radius: 3px;
  white-space: nowrap;
}

.cat-tag--ok {
  background: var(--lime);
  color: var(--ink-green);
}

.cat-tag--wait {
  background: var(--wine);
  color: var(--paper);
}

.cat-tag--move {
  background: var(--orange);
  color: var(--ink-green);
}

/* ---------- 场馆卡片 ---------- */
.cat-venue-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.cat-venue {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: rgba(16, 28, 51, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.cat-venue h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
}

.cat-venue p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 250, 247, 0.75);
}

.cat-fold {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.cat-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.cat-fold summary::-webkit-details-marker {
  display: none;
}

.cat-fold summary::after {
  content: "+";
  font-size: 14px;
  line-height: 1;
}

.cat-fold[open] summary::after {
  content: "–";
}

.cat-fold p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(247, 250, 247, 0.7);
}

/* ---------- 状态说明 ---------- */
.cat-tags {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.cat-tags__item {
  padding: 16px;
  border: 1px solid var(--cat-stroke);
  border-radius: 14px;
  background: rgba(11, 43, 38, 0.45);
}

.cat-tags__item dt {
  margin: 0 0 10px;
}

.cat-tags__item dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 250, 247, 0.76);
}

/* ---------- 场景路径 ---------- */
.cat-paths {
  display: grid;
  gap: 14px;
}

.cat-path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 18px;
  background: linear-gradient(160deg, rgba(16, 28, 51, 0.95), rgba(11, 43, 38, 0.82));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.cat-path::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 46px;
  background: var(--lime);
}

.cat-path:nth-child(2)::before {
  background: var(--orange);
}

.cat-path:nth-child(3)::before {
  background: var(--mist);
}

.cat-path__idx {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.cat-path h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.cat-path p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 250, 247, 0.74);
}

.cat-path__link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--lime);
  border-bottom: 1px solid rgba(200, 255, 61, 0.35);
}

.cat-path__link:hover {
  border-bottom-color: var(--lime);
}

/* ---------- 收藏 ---------- */
.cat-saved {
  display: grid;
  gap: 20px;
}

.cat-saved__body h2 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 4.4vw, 30px);
  line-height: 1.3;
  color: var(--ink-green);
}

.cat-saved__body p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(11, 43, 38, 0.82);
}

.cat-saved__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.cat-saved__list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(11, 43, 38, 0.85);
}

.cat-saved__list .mono-num {
  font-weight: 700;
  color: var(--wine);
  min-width: 4ch;
}

/* ---------- 结尾 ---------- */
.cat-cta {
  padding: 0 0 72px;
}

.cat-cta__inner {
  display: grid;
  gap: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.cat-cta__inner h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 4.4vw, 30px);
  line-height: 1.3;
}

.cat-cta__inner p {
  margin: 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 250, 247, 0.76);
}

.cat-cta__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* ---------- 断点 ---------- */
@media (min-width: 700px) {
  .cat-venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .cat-hero__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: end;
    gap: 44px;
  }

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

  .cat-paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .cat-path:nth-child(2) {
    margin-top: 30px;
  }

  .cat-path:nth-child(3) {
    margin-top: 14px;
  }

  .cat-saved {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
  }
}

@media (min-width: 1000px) {
  .cat-layout {
    grid-template-columns: var(--cat-rail) minmax(0, 1fr);
    gap: 48px;
  }

  .cat-rail {
    position: sticky;
    top: 88px;
    align-self: start;
  }

  .cat-rail__nav {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
  }

  .cat-rail__link {
    padding: 10px 0 10px 14px;
    border: none;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: none;
    white-space: normal;
    transition: border-left-color 0.2s, color 0.2s, background 0.2s;
  }

  .cat-rail__link:hover {
    border-left-color: var(--lime);
    background: rgba(200, 255, 61, 0.05);
  }

  .cat-rail__note {
    display: block;
  }

  .cat-stop {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 18px;
  }

  .cat-stop::before {
    left: 14px;
  }

  .cat-stop__card {
    padding: 20px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products * {
    animation: none !important;
    transition: none !important;
  }
}
