.page-products {
  display: block;
  color: var(--c-text);
}

.page-products img {
  max-width: 100%;
  height: auto;
}

.page-products__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
  font-size: 13px;
  color: var(--c-text-dim);
}

.page-products__crumbs a {
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-products__crumbs a:hover {
  color: var(--c-neon);
}

.page-products__crumb-sep {
  opacity: 0.5;
}

.page-products__masthead {
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 26px;
}

.page-products__title {
  margin: 0 0 8px;
  font-size: clamp(24px, 4.4vw, 37px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.page-products__lead {
  margin: 0;
  max-width: 760px;
  color: var(--c-text-dim);
  font-size: 14px;
  line-height: 1.75;
}

.page-products__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 18px;
}

.page-products__bar-index {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 16px;
  color: var(--c-neon);
  border: 1px solid var(--c-neon);
  border-radius: 999px;
  padding: 3px 12px;
}

.page-products__bar-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.page-products__bar-note {
  flex-basis: 100%;
  margin-top: -2px;
  color: var(--c-text-dim);
  font-size: 13px;
}

.page-products__tile-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products__tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 196px;
  padding: 18px;
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-products__tile::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.page-products__tile:hover,
.page-products__tile:focus-visible {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow), 0 0 0 3px var(--c-neon);
}

.page-products__tile-count {
  position: relative;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.page-products__tile-count::after {
  content: " 条";
  font-size: 12px;
  font-family: var(--font-mono);
  opacity: 0.78;
}

.page-products__tile-label {
  position: relative;
  font-size: 19px;
  font-weight: 900;
}

.page-products__tile-subs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
}

.page-products__tile-sub {
  font-size: 11px;
  padding: 4px 9px;
  background: rgba(0, 0, 0, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
}

.page-products__tile--urban { background: linear-gradient(135deg, var(--c-orange), #B33500); }
.page-products__tile--campus { background: linear-gradient(135deg, var(--c-yellow), #D99200); color: #1A0B2E; }
.page-products__tile--office { background: linear-gradient(135deg, #00BFFF, #0076A6); }
.page-products__tile--medical { background: linear-gradient(135deg, var(--c-magenta), #B3165F); }
.page-products__tile--bath { background: linear-gradient(135deg, #26C9FF, #0A76A7); }
.page-products__tile--public { background: linear-gradient(135deg, #B14EFF, #6419B8); }
.page-products__tile--sport { background: linear-gradient(135deg, var(--c-tomato), #A61B1B); }
.page-products__tile--cosplay { background: linear-gradient(135deg, #FF9A3D, #BD5A00); }
.page-products__tile--uniform { background: linear-gradient(135deg, #3BFF9E, #0D9F60); color: #0D1B2A; }
.page-products__tile--ancient { background: linear-gradient(135deg, #8B6CFF, #42249F); }
.page-products__tile--outdoor { background: linear-gradient(135deg, var(--c-neon), #129400); color: #0D1B2A; }
.page-products__tile--misc { background: linear-gradient(135deg, #9A9A9A, #4B4B4B); }

.page-products__strip {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 22px;
  border-radius: var(--radius);
}

.page-products__tags {
  background: linear-gradient(165deg, var(--c-deep), #10081F);
  padding: 30px 0 38px;
}

.page-products__tag-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-products__tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
}

.page-products__tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.page-products__tag:hover,
.page-products__tag:focus-visible {
  transform: translateY(-3px) scale(1.05);
  background: var(--c-neon);
  color: #0D1B2A;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.4);
}

.page-products__tag--xl { font-size: 20px; padding: 14px 24px; background: var(--c-orange); color: #FFFFFF; }
.page-products__tag--lg { font-size: 16px; padding: 12px 20px; background: var(--c-yellow); color: #1A0B2E; }
.page-products__tag--md { font-size: 13px; padding: 9px 16px; background: rgba(0, 229, 255, 0.16); color: var(--c-cyan); }
.page-products__tag--sm { font-size: 12px; padding: 7px 13px; background: rgba(255, 255, 255, 0.08); color: var(--c-text-dim); }

.page-products__tag-figure {
  align-self: center;
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius-sm);
}

.page-products__jump {
  padding: 30px 0 12px;
}

.page-products__alpha-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-products__alpha-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  flex: 1;
}

.page-products__alpha-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 13px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  color: var(--c-text);
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.page-products__alpha-item:hover,
.page-products__alpha-item:focus-visible {
  background: var(--c-neon);
  color: #0D1B2A;
  border-color: transparent;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.5);
}

.page-products__alpha-figure {
  align-self: flex-end;
  width: 80px;
  height: 80px;
  border-radius: 18px;
}

.page-products__year-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.page-products__year-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products__year-item {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: rgba(255, 200, 55, 0.08);
  color: var(--c-yellow);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.page-products__year-item:hover,
.page-products__year-item:focus-visible {
  background: var(--c-yellow);
  color: #1A0B2E;
  border-color: transparent;
}

.page-products__year-figure {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-sm);
}

.page-products__entries {
  background: linear-gradient(180deg, var(--c-bg-red), var(--c-bg-red-2));
  padding: 30px 0 42px;
  margin-top: 24px;
}

.page-products__table-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.page-products__toolbar-chip {
  padding: 7px 14px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  font-size: 12px;
  color: var(--c-text-dim);
}

.page-products__toolbar-chip--neon {
  border-color: var(--c-neon);
  color: var(--c-neon);
  font-weight: 800;
}

.page-products__table-banner {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 16px;
  border-radius: var(--radius);
}

.page-products__table-shell {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
}

.page-products__table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
}

.page-products__table th {
  background: var(--c-yellow);
  color: #1A0B2E;
  padding: 13px 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-align: left;
  white-space: nowrap;
}

.page-products__table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  vertical-align: middle;
}

.page-products__table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products__table tbody tr {
  transition: background 0.16s ease;
}

.page-products__table tbody tr:hover {
  background: rgba(255, 107, 53, 0.32);
}

.page-products__table tbody tr:hover .page-products__row-title {
  color: var(--c-neon);
}

.page-products__row-code,
.page-products__row-batch {
  font-family: var(--font-mono);
  font-weight: 700;
}

.page-products__row-code {
  color: var(--c-cyan);
}

.page-products__row-batch {
  color: var(--c-text);
}

.page-products__row-title {
  color: var(--c-text);
  font-weight: 800;
  transition: color 0.16s ease;
}

.page-products__row-section {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}

.page-products__row-section--urban { background: rgba(255, 107, 53, 0.25); }
.page-products__row-section--campus { background: rgba(255, 200, 55, 0.2); color: var(--c-yellow); }
.page-products__row-section--office { background: rgba(0, 229, 255, 0.16); color: var(--c-cyan); }
.page-products__row-section--medical { background: rgba(255, 62, 158, 0.18); color: var(--c-magenta); }
.page-products__row-section--bath { background: rgba(0, 229, 255, 0.12); }
.page-products__row-section--public { background: rgba(150, 120, 255, 0.22); color: #C9B6FF; }
.page-products__row-section--sport { background: rgba(255, 77, 77, 0.18); color: #FF9B9B; }
.page-products__row-section--cosplay { background: rgba(255, 155, 61, 0.2); color: #FFC18C; }
.page-products__row-section--uniform { background: rgba(59, 255, 158, 0.16); color: #7CFFC0; }
.page-products__row-section--ancient { background: rgba(139, 108, 255, 0.22); color: #C9B6FF; }
.page-products__row-section--outdoor { background: rgba(57, 255, 20, 0.16); color: #A5FF86; }
.page-products__row-section--misc { background: rgba(255, 255, 255, 0.12); }

.page-products .badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.page-products__tools {
  padding: 28px 0 44px;
}

.page-products__tools-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 26px 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.page-products__tools-title {
  flex-basis: 100%;
  margin: 0 0 6px;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
}

.page-products .btn {
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 18px;
}

@media (min-width: 560px) {
  .page-products__tile-matrix {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 700px) {
  .page-products__bar-note {
    flex-basis: auto;
    margin-left: auto;
    margin-top: 0;
  }

  .page-products__bar {
    margin-bottom: 26px;
  }

  .page-products__tag-panel {
    flex-direction: row;
    align-items: flex-start;
  }

  .page-products__tag-figure {
    order: 2;
    flex-shrink: 0;
    align-self: flex-start;
  }
}

@media (min-width: 860px) {
  .page-products__tile-matrix {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .page-products__tile:nth-child(2n) {
    transform: translateY(7px) rotate(-0.8deg);
  }

  .page-products__tile:nth-child(3n) {
    transform: translateY(-4px) rotate(0.7deg);
  }

  .page-products__tile:nth-child(2n):hover,
  .page-products__tile:nth-child(3n):hover {
    transform: translateY(-5px) rotate(-0.4deg);
  }

  .page-products__alpha-panel {
    flex-direction: row;
    align-items: flex-start;
  }

  .page-products__alpha-figure {
    margin-top: 4px;
  }

  .page-products__year-panel {
    padding: 22px 24px;
  }
}
