.page-products {
  --prod-radius: 18px;
  --prod-radius-sm: 12px;
  overflow-x: clip;
}

/* ---------- HERO ---------- */
.page-products .prod-hero {
  position: relative;
  padding: clamp(28px, 6vw, 64px) 0 clamp(36px, 6vw, 72px);
  overflow: hidden;
}
.page-products .prod-hero__glow {
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 120%;
  pointer-events: none;
  background:
    radial-gradient(42% 58% at 12% 18%, rgba(155, 107, 255, .34), transparent 62%),
    radial-gradient(38% 52% at 86% 8%, rgba(255, 61, 90, .26), transparent 64%),
    radial-gradient(46% 60% at 62% 96%, rgba(255, 197, 61, .22), transparent 68%);
}
.page-products .prod-hero__inner {
  position: relative;
  z-index: 1;
}
.page-products .prod-hero .breadcrumb {
  margin-bottom: 22px;
}
.page-products .prod-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 10px 0 0;
  color: var(--white);
  text-shadow: 0 0 24px rgba(255, 197, 61, .28);
  max-width: 16ch;
}
.page-products .prod-hero__title::after {
  content: "";
  display: block;
  width: 88px;
  height: 5px;
  margin-top: 20px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep) 60%, transparent);
  box-shadow: 0 0 18px rgba(255, 197, 61, .55);
}
.page-products .prod-hero__lede {
  margin-top: 20px;
  max-width: 42ch;
}
.page-products .prod-hero__cta {
  margin-top: 26px;
}

.page-products .prod-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(30px, 6vw, 52px) 0 0;
  padding: 0;
}
.page-products .prod-stat {
  position: relative;
  padding: 16px 14px;
  border-radius: var(--prod-radius-sm);
  background: var(--slate);
  border: 1px solid var(--line);
  overflow: hidden;
}
.page-products .prod-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), rgba(255, 197, 61, .1));
}
.page-products .prod-stat dt {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}
.page-products .prod-stat dd {
  margin: 6px 0 0;
}
.page-products .prod-stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5.4vw, 2.3rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.01em;
  text-shadow: 0 0 16px rgba(255, 197, 61, .35);
}

/* ---------- 分类导览 ---------- */
.page-products .prod-categories {
  padding-bottom: clamp(40px, 7vw, 88px);
}
.page-products .prod-categories__figure {
  margin: clamp(24px, 4vw, 32px) auto 0;
  width: min(100% - 32px, var(--maxw));
  border-radius: var(--prod-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.page-products .prod-rail-wrap {
  position: relative;
  margin-top: clamp(20px, 3.5vw, 30px);
}
.page-products .prod-rail {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 18px 20px 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.page-products .prod-rail::-webkit-scrollbar {
  height: 6px;
}
.page-products .prod-rail::-webkit-scrollbar-thumb {
  background: rgba(22, 199, 154, .45);
  border-radius: 4px;
}

.page-products .prod-card {
  position: relative;
  flex: 0 0 78%;
  scroll-snap-align: start;
  padding: 22px 20px 18px;
  border-radius: var(--prod-radius);
  background: linear-gradient(160deg, var(--slate-2), var(--slate));
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .42);
  overflow: hidden;
}
.page-products .prod-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), rgba(22, 199, 154, 0));
}
.page-products .prod-card:nth-child(even) {
  transform: translateY(16px);
}
.page-products .prod-card__no {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green);
  letter-spacing: .02em;
  opacity: .95;
}
.page-products .prod-card__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -.01em;
}
.page-products .prod-card__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}
.page-products .prod-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.page-products .prod-card__sub {
  font-size: 12px;
  color: var(--mist);
}
.page-products .prod-rail__hint {
  margin: 0;
  padding: 0 20px;
  font-size: 13px;
  color: var(--mist);
  opacity: .85;
}

/* ---------- 简体版页面 ---------- */
.page-products .prod-simplified {
  position: relative;
}
.page-products .prod-simplified__grid {
  align-items: start;
  gap: clamp(26px, 5vw, 56px);
}
.page-products .prod-simplified__copy .section-title {
  max-width: 18ch;
}
.page-products .prod-simplified__lede {
  margin-top: 18px;
  max-width: 42ch;
  color: var(--mist);
  line-height: 1.85;
}
.page-products .prod-checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-products .prod-checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--white);
}
.page-products .prod-checklist li::before {
  content: "7";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--violet);
  text-shadow: 0 0 12px rgba(155, 107, 255, .6);
}
.page-products .prod-simplified .btn-row {
  margin-top: 26px;
}
.page-products .prod-phone__figure {
  position: relative;
  border-radius: var(--prod-radius);
  overflow: hidden;
  border: 1px solid rgba(155, 107, 255, .35);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .6), 0 0 40px rgba(155, 107, 255, .18);
}

/* ---------- 机型对照 ---------- */
.page-products .prod-picker {
  margin-top: clamp(24px, 4vw, 34px);
}
.page-products .prod-picker__radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.page-products .prod-picker__chips {
  padding-bottom: 6px;
}
.page-products .prod-picker__chips .chip {
  cursor: pointer;
  white-space: nowrap;
}
.page-products #prod-size-s:checked ~ .prod-picker__chips label[for="prod-size-s"],
.page-products #prod-size-m:checked ~ .prod-picker__chips label[for="prod-size-m"],
.page-products #prod-size-l:checked ~ .prod-picker__chips label[for="prod-size-l"],
.page-products #prod-size-xl:checked ~ .prod-picker__chips label[for="prod-size-xl"] {
  background: linear-gradient(160deg, rgba(255, 197, 61, .95), rgba(217, 154, 34, .95));
  color: #1A1206;
  border-color: transparent;
  box-shadow: 0 0 22px rgba(255, 197, 61, .45);
}

.page-products .prod-picker__panels {
  margin-top: 20px;
}
.page-products .prod-picker__panel {
  display: none;
  padding: 22px 20px;
  border-radius: var(--prod-radius);
  background: var(--slate);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}
.page-products #prod-size-s:checked ~ .prod-picker__panels .prod-picker__panel[data-size="s"],
.page-products #prod-size-m:checked ~ .prod-picker__panels .prod-picker__panel[data-size="m"],
.page-products #prod-size-l:checked ~ .prod-picker__panels .prod-picker__panel[data-size="l"],
.page-products #prod-size-xl:checked ~ .prod-picker__panels .prod-picker__panel[data-size="xl"] {
  display: block;
}

.page-products .prod-pair {
  display: grid;
  gap: 14px;
  margin: 0;
}
.page-products .prod-pair > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.page-products .prod-pair > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.page-products .prod-pair dt {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
}
.page-products .prod-pair dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
}
.page-products .prod-pair__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .prod-spec__grid {
  margin-top: clamp(30px, 5vw, 52px);
  gap: clamp(20px, 4vw, 36px);
  align-items: start;
}
.page-products .prod-spec__figure {
  margin: 0;
  border-radius: var(--prod-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.page-products .prod-spec__side {
  padding: 20px;
  border-radius: var(--prod-radius);
  background: linear-gradient(180deg, rgba(255, 197, 61, .07), transparent 70%), var(--slate);
  border: 1px solid var(--line);
}
.page-products .prod-spec__side-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: -.01em;
}
.page-products .prod-tier {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-products .prod-tier li {
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 2px solid rgba(255, 197, 61, .35);
}
.page-products .prod-tier__name {
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
}
.page-products .prod-tier__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 礼包专区 ---------- */
.page-products .prod-gift__figure {
  margin: clamp(24px, 4vw, 32px) 0 0;
  border-radius: var(--prod-radius);
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .55);
}
.page-products .prod-gift__grid {
  margin-top: clamp(22px, 3.5vw, 32px);
  gap: 16px;
}
.page-products .prod-gift__card {
  position: relative;
  overflow: hidden;
}
.page-products .prod-gift__card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 90, .28), transparent 68%);
  pointer-events: none;
}
.page-products .prod-gift__card .card__meta {
  color: var(--red);
  letter-spacing: .06em;
}
.page-products .prod-gift__callout {
  display: grid;
  gap: 16px;
  margin-top: clamp(22px, 3.5vw, 30px);
  padding: 22px 20px;
  border-radius: var(--prod-radius);
  background: linear-gradient(120deg, rgba(255, 61, 90, .14), rgba(155, 107, 255, .14));
  border: 1px solid var(--line-strong);
}
.page-products .prod-gift__callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--white);
}

/* ---------- 版本演进 ---------- */
.page-products .prod-roadmap__figure {
  margin: clamp(24px, 4vw, 32px) 0 0;
  border-radius: var(--prod-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.page-products .prod-timeline {
  list-style: none;
  margin: clamp(26px, 4vw, 38px) 0 0;
  padding: 0 0 0 22px;
  position: relative;
  display: grid;
  gap: 14px;
}
.page-products .prod-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--violet));
  opacity: .7;
}
.page-products .prod-node {
  position: relative;
}
.page-products .prod-node::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 197, 61, .7);
}
.page-products .prod-node:nth-child(even)::before {
  background: var(--violet);
  box-shadow: 0 0 14px rgba(155, 107, 255, .7);
}
.page-products .prod-node details {
  border-radius: var(--prod-radius-sm);
  background: var(--slate);
  border: 1px solid var(--line);
  overflow: hidden;
}
.page-products .prod-node summary {
  display: grid;
  gap: 4px;
  padding: 16px 44px 16px 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.page-products .prod-node summary::-webkit-details-marker {
  display: none;
}
.page-products .prod-node summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 1;
}
.page-products .prod-node details[open] summary::after {
  content: "−";
}
.page-products .prod-node__year {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold);
}
.page-products .prod-node:nth-child(even) .prod-node__year {
  color: var(--violet);
}
.page-products .prod-node__title {
  font-size: 15px;
  color: var(--white);
}
.page-products .prod-node__body {
  padding: 0 16px 18px;
  border-top: 1px dashed var(--line);
}
.page-products .prod-node__body p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}
.page-products .prod-roadmap__next {
  margin-top: clamp(24px, 4vw, 34px);
  padding: 22px 20px;
  border-radius: var(--prod-radius);
  border: 1px dashed rgba(255, 197, 61, .45);
  background: rgba(255, 197, 61, .05);
}
.page-products .prod-roadmap__next-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
}
.page-products .prod-roadmap__next p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 媒体框架兜底 ---------- */
.page-products .media-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- 响应式 ---------- */
@media (min-width: 700px) {
  .page-products .prod-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-products .prod-card {
    flex-basis: 46%;
  }
  .page-products .prod-pair > div {
    grid-template-columns: 140px 1fr;
    align-items: baseline;
    gap: 12px;
  }
  .page-products .prod-gift__callout {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 24px 28px;
  }
}

@media (min-width: 1000px) {
  .page-products .prod-rail {
    padding-left: max(20px, calc((100vw - var(--maxw)) / 2));
    padding-right: max(20px, calc((100vw - var(--maxw)) / 2));
    gap: 22px;
  }
  .page-products .prod-rail__hint {
    padding-left: max(20px, calc((100vw - var(--maxw)) / 2));
  }
  .page-products .prod-card {
    flex-basis: 27%;
    padding: 26px 22px 20px;
  }
  .page-products .prod-card:nth-child(even) {
    transform: translateY(26px);
  }
  .page-products .prod-timeline {
    padding-left: 30px;
    gap: 16px;
  }
  .page-products .prod-node::before {
    left: -30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-card:nth-child(even) {
    transform: none;
  }
}
