.page-products {
  --pg-deep-1: #2A0A33;
  --pg-deep-2: #4A0E0E;
  --pg-orange: #FF6A00;
  --pg-teal: #00BFA6;
  --pg-yellow: #FFC300;
  --pg-blue: #00D0FF;
  --pg-pink: #FF4B8C;
  --pg-purple: #B26BFF;
  --pg-ink: #1A0A1E;
  --pg-light: #F5F2EE;
  --pg-text-light: #FFF2E5;
  color: var(--pg-ink);
  background: var(--pg-light);
}

.page-products .catalog-hero {
  background: linear-gradient(135deg, var(--pg-deep-1), var(--pg-deep-2));
  color: var(--pg-text-light);
  padding: 26px 0 0;
}

.page-products .catalog-hero .breadcrumb a {
  color: rgba(255, 242, 229, 0.72);
}

.page-products .catalog-hero .breadcrumb a:hover {
  color: var(--pg-blue);
}

.page-products .catalog-hero .breadcrumb [aria-current="page"] {
  color: var(--pg-text-light);
}

.page-products .catalog-hero-grid {
  display: grid;
  gap: 22px;
}

.page-products .catalog-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .catalog-eyebrow {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 106, 0, 0.92);
  color: var(--pg-ink);
  font-family: var(--font-mono);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-products .catalog-hero .page-title {
  margin: 0;
  color: var(--pg-text-light);
  text-shadow: 0 0 18px rgba(255, 106, 0, 0.55), 0 0 4px rgba(0, 208, 255, 0.6);
}

.page-products .catalog-hero-lead {
  max-width: 840px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 242, 229, 0.9);
}

.page-products .catalog-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: var(--text-small);
  color: var(--pg-yellow);
}

.page-products .catalog-hero-meta .num {
  color: var(--pg-blue);
  font-weight: 700;
}

.page-products .catalog-hero-banner {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 2px solid rgba(255, 242, 229, 0.18);
  border-bottom: 0;
  margin-top: 4px;
}

.page-products .catalog-tile-section {
  background:
    linear-gradient(rgba(42, 10, 51, 0.96), rgba(74, 14, 14, 0.96)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.04) 18px 20px);
  padding: 42px 0 56px;
  color: var(--pg-text-light);
}

.page-products .catalog-tile-section .section-title,
.page-products .catalog-jump-section .section-title {
  color: var(--pg-text-light);
  text-shadow: 0 0 12px rgba(255, 106, 0, 0.5);
}

.page-products .catalog-tile-section .section-desc,
.page-products .catalog-jump-section .section-desc {
  color: rgba(255, 242, 229, 0.78);
}

.page-products .catalog-tile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 26px;
}

.page-products .catalog-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px 20px;
  min-height: 156px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--pg-ink);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: box-shadow 0.18s ease, filter 0.18s ease, border-color 0.18s ease;
  animation: catalog-rise 0.42s ease both;
}

.page-products .catalog-tile:nth-child(2) { animation-delay: 0.04s; }
.page-products .catalog-tile:nth-child(3) { animation-delay: 0.08s; }
.page-products .catalog-tile:nth-child(4) { animation-delay: 0.12s; }
.page-products .catalog-tile:nth-child(5) { animation-delay: 0.16s; }
.page-products .catalog-tile:nth-child(6) { animation-delay: 0.2s; }
.page-products .catalog-tile:nth-child(7) { animation-delay: 0.24s; }
.page-products .catalog-tile:nth-child(8) { animation-delay: 0.28s; }
.page-products .catalog-tile:nth-child(9) { animation-delay: 0.32s; }
.page-products .catalog-tile:nth-child(10) { animation-delay: 0.36s; }
.page-products .catalog-tile:nth-child(11) { animation-delay: 0.4s; }
.page-products .catalog-tile:nth-child(12) { animation-delay: 0.44s; }

.page-products .catalog-tile:hover {
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.22), 0 0 0 3px var(--pg-blue);
  filter: saturate(1.1);
  border-color: var(--pg-blue);
}

.page-products .tile-count {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-mono);
}

.page-products .tile-label {
  font-size: 1.28rem;
  font-weight: 700;
  font-family: var(--font-head);
}

.page-products .tile-desc {
  font-size: var(--text-small);
  line-height: 1.5;
  opacity: 0.86;
}

.page-products .catalog-split-section {
  background: var(--pg-light);
  padding: 48px 0 52px;
}

.page-products .catalog-split-section .section-title {
  color: var(--pg-ink);
}

.page-products .catalog-split-section .section-desc {
  color: rgba(26, 10, 30, 0.68);
}

.page-products .catalog-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-products .catalog-section-heading {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.page-products .catalog-section-heading .section-title {
  margin-top: 0;
}

.page-products .catalog-panel-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid var(--pg-ink);
  background: var(--pg-yellow);
}

.page-products .catalog-accordion {
  display: grid;
  gap: 14px;
}

.page-products .catalog-drop {
  background: #fff;
  border: 2px solid var(--pg-ink);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-products .catalog-drop[open] {
  border-color: var(--pg-orange);
}

.page-products .catalog-drop summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 15px 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  border-left: 6px solid var(--pg-orange);
}

.page-products .catalog-drop summary::-webkit-details-marker {
  display: none;
}

.page-products .catalog-drop[data-accent="pink"] summary { border-left-color: var(--pg-pink); }
.page-products .catalog-drop[data-accent="blue"] summary { border-left-color: var(--pg-blue); }
.page-products .catalog-drop[data-accent="teal"] summary { border-left-color: var(--pg-teal); }
.page-products .catalog-drop[data-accent="yellow"] summary { border-left-color: var(--pg-yellow); }
.page-products .catalog-drop[data-accent="purple"] summary { border-left-color: var(--pg-purple); }

.page-products .drop-mark {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pg-ink);
  color: var(--pg-text-light);
  font-size: 0.8rem;
  transition: transform 0.18s ease;
  flex: 0 0 auto;
}

.page-products .catalog-drop[open] .drop-mark {
  transform: rotate(180deg);
  background: var(--pg-orange);
  color: var(--pg-ink);
}

.page-products .drop-title {
  flex: 1 1 120px;
}

.page-products .drop-total {
  font-weight: 800;
  font-size: 1rem;
}

.page-products .drop-subcount {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(26, 10, 30, 0.07);
  font-family: var(--font-mono);
  font-size: var(--text-small);
}

.page-products .drop-sublist {
  list-style: none;
  margin: 0;
  padding: 4px 18px 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 18px;
}

.page-products .drop-sublist li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 4px;
  border-bottom: 1px dashed rgba(26, 10, 30, 0.12);
  font-size: var(--text-body);
}

.page-products .drop-sublist li:last-child {
  border-bottom: 0;
}

.page-products .drop-sub-name {
  color: var(--pg-ink);
}

.page-products .drop-sublist .num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: rgba(26, 10, 30, 0.72);
}

.page-products .catalog-tag-col {
  position: relative;
}

.page-products .catalog-tag-texture {
  position: absolute;
  right: -8px;
  bottom: -14px;
  width: 150px;
  height: 100px;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.12;
  border-radius: var(--radius-md);
  pointer-events: none;
  z-index: 0;
}

.page-products .catalog-tag-cloud {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.page-products .tag-letter-group {
  background: #fff;
  border: 2px solid rgba(26, 10, 30, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.page-products .tag-group-title {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .tag-group-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--pg-orange);
  display: inline-block;
}

.page-products .catalog-tag-cloud .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .catalog-tag-cloud .tag-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(26, 10, 30, 0.08);
  box-shadow: 0 3px 0 rgba(26, 10, 30, 0.08);
  text-decoration: none;
  color: var(--pg-ink);
}

.page-products .catalog-tag-cloud .tag-item:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 0 rgba(26, 10, 30, 0.16);
}

.page-products .tag-count {
  font-family: var(--font-mono);
  font-size: 0.82em;
  margin-left: 6px;
  opacity: 0.8;
}

.page-products .tag-office-group {
  background: linear-gradient(135deg, #fff, #f0f7ff);
  border-color: rgba(0, 208, 255, 0.5);
}

.page-products .tag-year-group {
  background: linear-gradient(135deg, #fff, #fff8e8);
  border-color: rgba(255, 195, 0, 0.6);
}

.page-products .catalog-jump-section {
  background:
    linear-gradient(180deg, rgba(42, 10, 51, 0.98), rgba(74, 14, 14, 0.98)),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, 0.03) 4px 5px);
  padding: 48px 0 42px;
  color: var(--pg-text-light);
}

.page-products .index-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.page-products .index-letter {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--pg-blue);
  color: var(--pg-ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--pg-blue);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.page-products .index-letter:hover {
  background: var(--pg-pink);
  border-color: var(--pg-pink);
  color: #fff;
}

.page-products .index-letter.is-off {
  background: rgba(255, 242, 229, 0.12);
  border-color: transparent;
  color: rgba(255, 242, 229, 0.4);
  font-weight: 400;
}

.page-products .catalog-yearbar .index-letter {
  min-width: 72px;
  background: var(--pg-yellow);
  border-color: var(--pg-yellow);
  color: var(--pg-ink);
}

.page-products .catalog-yearbar .index-letter:hover {
  background: var(--pg-pink);
  border-color: var(--pg-pink);
  color: #fff;
}

.page-products .catalog-year-decor {
  display: block;
  margin: 18px 0 0;
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  opacity: 0.82;
}

.page-products .catalog-table-section {
  background: linear-gradient(180deg, #F5F2EE 0%, #FCF3D9 100%);
  padding: 48px 0 56px;
}

.page-products .catalog-table-section .section-title {
  color: var(--pg-ink);
}

.page-products .catalog-table-section .section-desc {
  color: rgba(26, 10, 30, 0.66);
}

.page-products .catalog-table-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.page-products .filter-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .filter-chip {
  padding: 7px 14px;
  background: var(--pg-ink);
  color: var(--pg-text-light);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: var(--text-small);
  border: 2px solid var(--pg-ink);
}

.page-products .catalog-index-table {
  position: relative;
  max-height: 560px;
  overflow: auto;
  border: 3px solid var(--pg-ink);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
}

.page-products .catalog-table-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.page-products .catalog-index-table .data-table {
  position: relative;
  z-index: 1;
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-body);
}

.page-products .catalog-index-table th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--pg-yellow);
  color: var(--pg-ink);
  padding: 12px 14px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  text-align: left;
  border-bottom: 2px solid var(--pg-ink);
  white-space: nowrap;
}

.page-products .catalog-index-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(26, 10, 30, 0.1);
  white-space: nowrap;
}

.page-products .catalog-index-table tbody tr:nth-child(even) {
  background: rgba(26, 10, 30, 0.04);
}

.page-products .catalog-index-table tbody tr:hover {
  background: rgba(0, 208, 255, 0.22);
}

.page-products .catalog-index-table tbody tr:nth-child(even):hover {
  background: rgba(0, 208, 255, 0.22);
}

.page-products .catalog-index-table .num {
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-products .catalog-pager {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: var(--text-small);
  color: var(--pg-ink);
  background: rgba(255, 195, 0, 0.28);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-left: auto;
}

@keyframes catalog-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .catalog-tile {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .page-products .catalog-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .drop-sublist {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .catalog-table-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

@media (min-width: 980px) {
  .page-products .catalog-tile-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .page-products .catalog-split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 42px;
  }

  .page-products .catalog-tile {
    min-height: 168px;
  }

  .page-products .catalog-tile-grid .catalog-tile:nth-child(2n) {
    transform: translateY(6px);
  }

  .page-products .catalog-tile-grid .catalog-tile:nth-child(3n) {
    transform: translateY(-6px);
  }
}
