.page-products {
  --table-line: rgba(255,255,255,0.08);
  --panel-glass: rgba(255,255,255,0.07);
  --zone-divider-bg: #2a2a2a;
  padding: 16px 16px 56px;
  background: var(--bg-deep);
  color: var(--text-light);
}
.page-products [id] { scroll-margin-top: 24px; }

/* ===== 页首横幅 ===== */
.page-products .archive-hero { padding: 8px 4px 20px; }
.page-products .archive-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 5vw, 3.6rem);
  line-height: 1.06;
  margin: 14px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text-light);
  border-bottom: 4px solid var(--accent-highlight);
  padding-bottom: 12px;
}
.page-products .archive-hero-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(236,240,241,0.86);
  max-width: 68ch;
  margin: 0 0 18px;
}
.page-products .archive-hero-media {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid var(--border-ink);
  box-shadow: var(--shadow-hard);
}

/* ===== 区段共同标题 ===== */
.page-products .section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  border-bottom: 3px solid var(--border-ink);
  padding-bottom: 8px;
}
.page-products .section-title {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 2rem);
  margin: 0;
  color: var(--text-light);
  text-transform: uppercase;
}
.page-products .section-more {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(236,240,241,0.7);
}

/* ===== 一级分区磁贴 ===== */
.page-products .archive-tiles-section { padding-top: 28px; }
.page-products .tile-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.page-products .tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  padding: 14px 14px 12px;
  border: 3px solid var(--border-ink);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-light);
  background: var(--bg-hotlist);
  box-shadow: var(--shadow-hard);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.page-products .tile:hover,
.page-products .tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 var(--border-ink);
  filter: saturate(1.15) brightness(1.05);
  outline: none;
}
.page-products .tile--collection { background: var(--bg-collection); }
.page-products .tile--filter { background: var(--bg-filter); }
.page-products .tile--tag { background: var(--bg-tagcloud); }
.page-products .tile-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.2;
}
.page-products .tile-count {
  font-family: var(--font-head);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--accent-highlight);
}
.page-products .tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}
.page-products .tile-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.28);
  color: var(--text-light);
  white-space: nowrap;
}

/* ===== 筛分类导航面板 ===== */
.page-products .archive-filter-section {
  margin-top: 30px;
  padding: 28px 14px 30px;
  background: var(--bg-filter);
  border: 3px solid var(--border-ink);
  border-radius: var(--radius-lg);
}
.page-products .archive-filter-section .section-head { border-bottom-color: rgba(17,17,17,0.35); }
.page-products .archive-filter-section .section-title,
.page-products .archive-filter-section .section-more { color: var(--text-light); }
.page-products .filter-panel {
  position: relative;
  padding: 18px 16px;
  border: 3px solid var(--border-ink);
  border-radius: var(--radius-lg);
  background: var(--panel-glass);
}
.page-products .filter-illustration {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-ink);
  background: var(--bg-filter);
}
.page-products .filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-products .filter-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-products .filter-label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236,240,241,0.9);
}
.page-products .filter-select-wrap { position: relative; }
.page-products .filter-select {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 2px solid var(--border-ink);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  appearance: none;
  cursor: pointer;
}
.page-products .filter-select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-dark);
  border-bottom: 2px solid var(--text-dark);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.page-products .filter-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.page-products .filter-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 10px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.14);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.page-products .filter-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-highlight);
}
.page-products .filter-check:has(input:checked) {
  background: var(--accent-highlight);
  border-color: var(--border-ink);
  color: var(--text-dark);
  font-weight: 700;
}
.page-products .filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.page-products .filter-actions .shortcut-pill {
  font-family: var(--font-head);
  font-size: 0.85rem;
  padding: 8px 16px;
  color: var(--text-light);
  text-decoration: none;
  border: 2px solid var(--border-ink);
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.2);
  transition: background 0.15s ease, color 0.15s ease;
}
.page-products .filter-actions .shortcut-pill:hover {
  background: var(--accent-highlight);
  color: var(--text-dark);
}
.page-products .filter-reset {
  margin-left: auto;
  font-size: 0.85rem;
}

/* ===== 全站索引总表 ===== */
.page-products .archive-table-section { margin-top: 30px; }
.page-products .table-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-ink);
  margin-bottom: 16px;
}
.page-products .index-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.page-products .table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 3px solid var(--border-ink);
  background: var(--bg-card);
}
.page-products .data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
}
.page-products .data-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--border-ink);
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 3px solid var(--accent-highlight);
  text-align: left;
  white-space: nowrap;
}
.page-products .data-table tbody tr { transition: background 0.15s ease, color 0.15s ease; }
.page-products .data-table tbody tr:not(.zone-divider):hover {
  background: var(--accent-highlight);
  color: var(--text-dark);
}
.page-products .data-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--table-line);
  white-space: nowrap;
}
.page-products .data-table .entry-idx {
  font-family: var(--font-head);
  color: rgba(26,26,26,0.45);
  width: 44px;
}
.page-products .data-table .entry-name { font-weight: 700; }
.page-products .data-table .entry-zone {
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  display: inline-block;
}
.page-products .data-table .entry-zone--hot { background: rgba(192,57,43,0.14); color: #c0392b; }
.page-products .data-table .entry-zone--collection { background: rgba(230,126,34,0.16); color: #b85f1d; }
.page-products .data-table .entry-zone--filter { background: rgba(22,160,133,0.14); color: #13795f; }
.page-products .data-table .entry-zone--tag { background: rgba(142,68,173,0.14); color: #6c3483; }
.page-products .data-table .entry-batch {
  font-family: var(--font-head);
  font-size: 0.82rem;
}
.page-products .data-table .zone-divider th {
  background: var(--zone-divider-bg);
  color: var(--accent-highlight);
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-bottom: 2px solid var(--border-ink);
  text-align: left;
  text-transform: uppercase;
}
.page-products .status-badge--listed {
  background: var(--bg-filter);
  color: var(--text-light);
}

/* ===== 字母与年份索引条 ===== */
.page-products .index-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 3px solid var(--border-ink);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}
.page-products .index-bar-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  pointer-events: none;
}
.page-products .index-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.page-products .index-bar + .index-bar { margin-top: 4px; }
.page-products .index-bar--years { border-top: 2px solid var(--table-line); padding-top: 10px; }
.page-products .index-bar-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-highlight);
  margin-right: 4px;
  flex-basis: 100%;
}
.page-products .index-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 5px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: none;
  background: rgba(0,0,0,0.18);
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.page-products .index-link:hover,
.page-products .index-link:focus-visible {
  background: var(--accent-highlight);
  color: var(--text-dark);
  border-color: var(--border-ink);
  outline: none;
}

/* ===== 高频标签云 ===== */
.page-products .archive-tagcloud-section {
  margin-top: 30px;
  padding: 28px 14px 30px;
  background: var(--bg-tagcloud);
  border: 3px solid var(--border-ink);
  border-radius: var(--radius-lg);
}
.page-products .archive-tagcloud-section .section-head { border-bottom-color: rgba(17,17,17,0.3); }
.page-products .archive-tagcloud-section .section-title,
.page-products .archive-tagcloud-section .section-more { color: var(--text-light); }
.page-products .tag-cloud-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}
.page-products .tag-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.page-products .tag-cloud-art {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 3px solid var(--border-ink);
  box-shadow: var(--shadow-hard);
  justify-self: center;
  background: rgba(0,0,0,0.16);
}

/* ===== 检索说明折叠面板 ===== */
.page-products .archive-guide-section { margin-top: 30px; }
.page-products .collapse-panel {
  border: 3px solid var(--border-ink);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.page-products .collapse-panel summary {
  font-family: var(--font-head);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.page-products .collapse-panel summary::-webkit-details-marker { display: none; }
.page-products .collapse-panel summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-highlight);
  transition: transform 0.15s ease;
}
.page-products .collapse-panel[open] summary::after { transform: rotate(45deg); }
.page-products .collapse-body {
  padding: 4px 18px 18px;
  border-top: 2px solid var(--table-line);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(236,240,241,0.88);
}
.page-products .collapse-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--accent-highlight);
  margin: 16px 0 6px;
}
.page-products .collapse-body ol { margin: 0; padding-left: 20px; }
.page-products .collapse-body li { margin: 4px 0; }

/* ===== 平板 ===== */
@media (min-width: 768px) {
  .page-products {
    padding: 24px 24px 64px;
  }
  .page-products .tile-matrix {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .page-products .tile { min-height: 148px; padding: 18px; }
  .page-products .filter-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .page-products .filter-illustration { display: block; }
  .page-products .filter-actions { padding-right: 120px; }
  .page-products .tag-cloud-wrap {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
  }
  .page-products .tag-cluster { justify-content: flex-start; }
  .page-products .index-bar-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .page-products .index-bar { flex-basis: 100%; }
  .page-products .index-bar-label { flex-basis: auto; width: 100%; }
  .page-products .index-link { min-width: 34px; height: 34px; }
}

/* ===== 桌面 ===== */
@media (min-width: 1024px) {
  .page-products {
    padding: 32px 32px 72px;
  }
  .page-products .archive-hero { padding: 12px 0 28px; }
  .page-products .tile-matrix {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .page-products .index-wrapper {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 22px;
  }
  .page-products .index-bar-wrap {
    position: sticky;
    top: 24px;
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
    padding: 16px;
  }
  .page-products .index-bar { flex-basis: auto; }
  .page-products .index-bar--letters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .page-products .index-bar--years {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
    border-left: 2px solid var(--table-line);
    padding-top: 0;
    padding-left: 12px;
    margin-top: 12px;
  }
  .page-products .index-bar-label {
    grid-column: 1 / -1;
    width: auto;
  }
  .page-products .index-link { width: 100%; }
  .page-products .filter-actions { padding-right: 130px; }
  .page-products .tag-cloud-wrap {
    grid-template-columns: minmax(0, 1fr) 400px;
  }
}
