.page-products {
  --pp-hair: 1px solid rgba(227, 217, 198, 0.18);
  --pp-hair-strong: 1px solid rgba(227, 217, 198, 0.34);
  --pp-hair-ink: 1px solid rgba(34, 30, 26, 0.14);
  --pp-glass: rgba(30, 58, 85, 0.5);
  --pp-gold-line: rgba(217, 166, 60, 0.42);
}

/* ---------- 面包屑与首屏 ---------- */

.page-products .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
}

.page-products .breadcrumbs li + li::before {
  content: "／";
  margin-right: 8px;
  opacity: 0.5;
}

.page-products .pp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 52px) 0 clamp(38px, 6vw, 76px);
  background:
    radial-gradient(120% 95% at 84% -10%, rgba(217, 166, 60, 0.2), transparent 58%),
    radial-gradient(90% 80% at 6% 110%, rgba(111, 163, 155, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-700) 100%);
  color: var(--text-mist);
}

.page-products .pp-hero-grid {
  margin-top: clamp(22px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-products .pp-hero h1 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.6vw, 3.3rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #FBF7EE;
}

.page-products .pp-hero .lead {
  margin-top: 16px;
  max-width: 46ch;
  font-size: var(--fs-17);
  line-height: 1.85;
  color: rgba(233, 228, 216, 0.9);
}

.page-products .pp-hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .pp-hero-panel {
  padding: 22px 22px 6px;
  border: var(--pp-hair);
  border-radius: var(--radius-m);
  background: var(--pp-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-products .pp-panel-kicker {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  color: var(--gold-500);
}

.page-products .pp-figures {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.page-products .pp-figures li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(227, 217, 198, 0.12);
}

.page-products .pp-figures li:last-child {
  border-bottom: 0;
  padding-bottom: 12px;
}

.page-products .pp-figure-num {
  font-family: var(--font-serif);
  font-size: var(--fs-40);
  line-height: 1;
  color: var(--gold-500);
}

.page-products .pp-figure-num em {
  font-style: normal;
  font-size: var(--fs-21);
  margin-left: 2px;
}

.page-products .pp-figure-label {
  font-size: var(--fs-14);
  line-height: 1.7;
  color: rgba(233, 228, 216, 0.82);
}

.page-products .pp-hero-note {
  padding: 18px 20px;
  border: var(--pp-hair);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-s) var(--radius-m) var(--radius-m) var(--radius-s);
  background: rgba(8, 24, 42, 0.55);
}

.page-products .pp-hero-note p {
  margin: 12px 0 0;
  font-size: var(--fs-14);
  line-height: 1.75;
  color: rgba(233, 228, 216, 0.84);
}

/* ---------- 栏目总览 ---------- */

.page-products .pp-banner {
  position: relative;
  margin: 0 0 clamp(30px, 5vw, 54px);
  border: var(--pp-hair);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.page-products .pp-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.7;
}

.page-products .pp-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8, 24, 42, 0.94) 0%, rgba(8, 24, 42, 0.3) 56%, rgba(8, 24, 42, 0.88) 100%);
  pointer-events: none;
}

.page-products .pp-banner-cap {
  position: absolute;
  left: clamp(16px, 3.5vw, 34px);
  right: clamp(16px, 3.5vw, 34px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 2;
  font-family: var(--font-serif);
  font-size: var(--fs-14);
  line-height: 1.7;
  color: rgba(233, 228, 216, 0.92);
}

.page-products .pp-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .pp-column-card {
  position: relative;
  padding: 24px 22px 26px;
  border: var(--pp-hair);
  border-radius: var(--radius-m);
  background: rgba(18, 40, 62, 0.72);
  overflow: hidden;
}

.page-products .pp-column-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(227, 217, 198, 0.2);
}

.page-products .pp-column-card--new {
  background: rgba(30, 58, 85, 0.72);
  border-color: rgba(217, 166, 60, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-products .pp-column-card--new::before {
  background: linear-gradient(90deg, var(--gold-500), rgba(217, 166, 60, 0.15));
  height: 3px;
}

.page-products .pp-column-card h3 {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-size: var(--fs-21);
  font-weight: 700;
  color: #FBF7EE;
}

.page-products .pp-column-card p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: rgba(233, 228, 216, 0.84);
}

/* ---------- 注册指引 ---------- */

.page-products .pp-setup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-products .pp-setup-media {
  margin: 0;
}

.page-products .pp-setup-body .section-head {
  margin-bottom: 24px;
}

.page-products .pp-setup-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-products .pp-setup-steps > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 20px;
  border: var(--pp-hair-ink);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-s) var(--radius-m) var(--radius-m) var(--radius-s);
  background: #FFFDF7;
  box-shadow: 0 10px 24px -20px rgba(34, 30, 26, 0.55);
}

.page-products .pp-setup-num {
  font-family: var(--font-serif);
  font-size: var(--fs-28);
  line-height: 1;
  color: var(--gold-500);
}

.page-products .pp-setup-steps h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: var(--fs-17);
  font-weight: 700;
  color: var(--text-ink);
}

.page-products .pp-setup-steps p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: rgba(34, 30, 26, 0.78);
}

/* ---------- 十二步 ---------- */

.page-products .pp-walkthrough {
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-700) 60%, var(--ink-900) 100%);
  color: var(--text-mist);
}

.page-products .pp-walk-banner {
  margin: 0 0 clamp(28px, 5vw, 48px);
  border: var(--pp-hair);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.page-products .pp-walk-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  opacity: 0.78;
}

.page-products .pp-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-products .pp-group-head {
  position: relative;
  padding-top: 20px;
  margin-bottom: 16px;
}

.page-products .pp-group-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), rgba(217, 166, 60, 0.12));
}

.page-products .pp-group-idx {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--fs-12);
  letter-spacing: 0.16em;
  color: var(--gold-500);
}

.page-products .pp-group-head h3 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: var(--fs-21);
  font-weight: 700;
  color: #FBF7EE;
}

.page-products .pp-group-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-products .pp-step {
  border: 1px solid rgba(227, 217, 198, 0.14);
  border-radius: var(--radius-m);
  background: rgba(30, 58, 85, 0.44);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-products .pp-step[open] {
  border-color: rgba(217, 166, 60, 0.45);
  background: rgba(30, 58, 85, 0.7);
}

.page-products .pp-step > summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.page-products .pp-step > summary::-webkit-details-marker {
  display: none;
}

.page-products .pp-step-num {
  font-family: var(--font-serif);
  font-size: var(--fs-21);
  line-height: 1;
  color: var(--gold-500);
  transition: color 0.2s ease;
}

.page-products .pp-step[open] .pp-step-num {
  color: var(--gold-200);
}

.page-products .pp-step-title {
  font-size: var(--fs-17);
  line-height: 1.6;
  color: rgba(233, 228, 216, 0.94);
}

.page-products .pp-step > p {
  margin: 0;
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(227, 217, 198, 0.12);
  font-size: var(--fs-14);
  line-height: 1.75;
  color: rgba(233, 228, 216, 0.78);
}

/* ---------- 下载分类 ---------- */

.page-products .pp-download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-products .pp-download-media {
  margin: 0;
}

.page-products .pp-download-body .section-head {
  margin-bottom: 24px;
}

.page-products .pp-download-tablewrap {
  border: var(--pp-hair-ink);
  border-radius: var(--radius-m);
  background: #FFFDF7;
}

.page-products .pp-download-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: var(--fs-14);
}

.page-products .pp-download-caption {
  padding: 14px 16px 4px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  color: rgba(34, 30, 26, 0.6);
}

.page-products .pp-download-table th,
.page-products .pp-download-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--parchment-300);
  line-height: 1.7;
}

.page-products .pp-download-table thead th {
  font-family: var(--font-display);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(34, 30, 26, 0.66);
  border-bottom: 2px solid var(--gold-500);
  white-space: nowrap;
}

.page-products .pp-download-table tbody th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-ink);
  white-space: nowrap;
}

.page-products .pp-download-table tbody td {
  color: rgba(34, 30, 26, 0.78);
}

.page-products .pp-download-table tbody tr:nth-child(even) {
  background: rgba(227, 217, 198, 0.32);
}

.page-products .pp-download-table tbody tr:last-child th,
.page-products .pp-download-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .pp-filter-order {
  margin-top: 22px;
}

.page-products .pp-filter-order-label {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  color: rgba(34, 30, 26, 0.6);
}

.page-products .pp-filter-order ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .pp-chip {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.page-products .pp-chip--live {
  border-color: rgba(111, 163, 155, 0.6);
  background: rgba(111, 163, 155, 0.14);
  color: #3F6E67;
}

.page-products .pp-chip--gold {
  border-color: rgba(217, 166, 60, 0.7);
  background: rgba(217, 166, 60, 0.16);
  color: #7A5A14;
}

.page-products .pp-filter-order-note {
  margin: 14px 0 0;
  font-size: var(--fs-14);
  line-height: 1.8;
  color: rgba(34, 30, 26, 0.72);
}

/* ---------- 批次 ---------- */

.page-products .pp-batch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-products .pp-batch-rule {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: rgba(30, 58, 85, 0.55);
  font-size: var(--fs-14);
  line-height: 1.85;
  color: rgba(233, 228, 216, 0.86);
}

.page-products .pp-batch-rule .serial {
  font-family: var(--font-serif);
  font-size: var(--fs-17);
  color: var(--gold-200);
  letter-spacing: 0.04em;
}

.page-products .pp-batch-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pp-batch-timeline .timeline-item {
  padding-bottom: 22px;
}

.page-products .pp-batch-timeline .timeline-date {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--fs-17);
  letter-spacing: 0.05em;
  color: var(--gold-500);
}

.page-products .pp-batch-timeline .timeline-title {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: var(--fs-17);
  font-weight: 700;
  color: #FBF7EE;
}

.page-products .pp-batch-timeline .timeline-text {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: rgba(233, 228, 216, 0.8);
}

/* ---------- 卡住的地方 ---------- */

.page-products .pp-trouble-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products .pp-trouble-card {
  padding: 22px 20px 24px;
  border: var(--pp-hair-ink);
  border-top: 3px solid var(--cinnabar-600);
  border-radius: var(--radius-s) var(--radius-s) var(--radius-m) var(--radius-m);
  background: #FFFDF7;
  box-shadow: 0 12px 26px -22px rgba(34, 30, 26, 0.6);
}

.page-products .pp-trouble-card h3 {
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: var(--fs-17);
  font-weight: 700;
  color: var(--text-ink);
}

.page-products .pp-trouble-card p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: 1.85;
  color: rgba(34, 30, 26, 0.78);
}

.page-products .pp-trouble-help {
  margin-top: 28px;
  padding: 24px 24px 26px;
  border: var(--pp-hair-ink);
  border-radius: var(--radius-m);
  background: linear-gradient(120deg, rgba(227, 217, 198, 0.6), rgba(245, 240, 230, 0.9));
}

.page-products .pp-trouble-help p {
  margin: 0;
  max-width: 60ch;
  font-size: var(--fs-17);
  line-height: 1.85;
  color: var(--text-ink);
}

.page-products .pp-trouble-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 收尾 ---------- */

.page-products .pp-closing {
  padding: clamp(34px, 6vw, 68px) 0 clamp(40px, 7vw, 80px);
  background:
    radial-gradient(100% 90% at 12% 0%, rgba(217, 166, 60, 0.16), transparent 62%),
    linear-gradient(180deg, var(--ink-900), var(--ink-700));
  color: var(--text-mist);
}

.page-products .pp-closing-media {
  margin: 0 0 28px;
  border: var(--pp-hair);
  border-radius: var(--radius-l);
  overflow: hidden;
}

.page-products .pp-closing-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  opacity: 0.8;
}

.page-products .pp-closing-text h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  line-height: 1.25;
  color: #FBF7EE;
}

.page-products .pp-closing-text p {
  margin: 16px 0 0;
  max-width: 64ch;
  font-size: var(--fs-17);
  line-height: 1.9;
  color: rgba(233, 228, 216, 0.86);
}

.page-products .pp-closing-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 720px) {
  .page-products .pp-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

@media (min-width: 900px) {
  .page-products .pp-setup-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 46px;
    align-items: start;
  }

  .page-products .pp-setup-media {
    position: sticky;
    top: 28px;
  }

  .page-products .pp-batch-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 52px;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-products .pp-hero-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-areas:
      "lead panel"
      "lead note";
    align-items: start;
    gap: 24px 36px;
  }

  .page-products .pp-hero-lead {
    grid-area: lead;
  }

  .page-products .pp-hero-panel {
    grid-area: panel;
  }

  .page-products .pp-hero-note {
    grid-area: note;
  }

  .page-products .pp-download-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 44px;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-products .pp-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pp-step,
  .page-products .pp-step-num {
    transition: none;
  }
}
