/* Category product list — matches search-page / product-card language */

.category-page {
  color: #e8e3e5;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 64px;
}

.category-page-inner {
  min-width: 0;
}

.category-breadcrumb {
  color: #9a9096;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
}

.category-breadcrumb a {
  color: #c8bec3;
  text-decoration: none;
}

.category-breadcrumb a:hover {
  color: #ff6074;
}

.category-breadcrumb span[aria-hidden] {
  opacity: .45;
}

.category-content {
  min-width: 0;
}

.category-hero {
  border-top: 3px solid var(--red, #e30628);
  background:
    radial-gradient(circle at 12% 0%, #e3062826, transparent 42%),
    linear-gradient(145deg, #29252a, #151316 58%, #101014);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
  padding: 28px 24px;
  display: grid;
  box-shadow: 0 10px 28px #00000040;
}

.category-hero .eyebrow {
  color: #ff6b7d;
  letter-spacing: .14em;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 900;
}

.category-hero h1 {
  color: #fff;
  letter-spacing: -.03em;
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
}

.category-hero-copy {
  color: #b7adb2;
  max-width: 44rem;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.category-hero-copy p {
  margin: 0 0 .6em;
}

.category-hero-copy p:last-child {
  margin-bottom: 0;
}

.category-hero-art {
  background: radial-gradient(circle at 50% 58%, #ec465b2e, transparent 39%), linear-gradient(145deg, #4a5661, #2d3740 55%, #20282f);
  border: 1px solid #c6d6e224;
  place-items: center;
  width: 112px;
  height: 112px;
  display: grid;
}

.category-hero-art img {
  object-fit: contain;
  filter: drop-shadow(0 0 6px #ff375180) drop-shadow(0 6px 6px #0000008f);
  max-width: 72px;
  max-height: 72px;
}

.category-refine {
  background: linear-gradient(135deg, #29252a, #151316);
  border: 1px solid #3a3237;
  border-top: 2px solid var(--red, #e30628);
  margin-bottom: 14px;
  padding: 12px 14px 14px;
  box-shadow: 0 8px 20px #0000002e;
}

.category-refine-head {
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  display: flex;
}

.category-refine-head span {
  color: #fff;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-refine-head small {
  color: #9a9096;
  font-size: 11px;
}

.category-refine-links {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.category-refine-links a {
  color: #d8d0d4;
  background: #0f0d10a8;
  border: 1px solid #4a4147;
  border-radius: 3px;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  transition: border-color .15s, color .15s, background .15s;
}

.category-refine-links a b {
  color: #ff6b7d;
  font-weight: 900;
}

.category-refine-links a:hover {
  color: #fff;
  border-color: var(--red, #e30628);
  background: #e3062814;
}

.category-results {
  background: #f5f6f7;
  border: 1px solid #2a2428;
  color: #252a30;
  padding: 22px 18px 18px;
  box-shadow: 0 12px 28px #0000002e;
}

.category-results-head {
  margin-bottom: 14px;
}

.category-results-head .eyebrow {
  color: var(--red, #e30628);
  letter-spacing: .12em;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 900;
}

.category-results-head h2 {
  letter-spacing: -.03em;
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
}

.category-results-head h2 b {
  color: var(--red, #e30628);
}

.category-toolbar {
  margin-bottom: 14px;
}

.category-toolbar-controls {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.category-select {
  background: #fff;
  border: 1px solid #d6dade;
  border-radius: 3px;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  display: inline-flex;
}

.category-select span {
  color: #7d858d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-select select {
  color: #40474e;
  background: transparent;
  border: 0;
  outline: 0;
  min-height: 34px;
  padding: 0;
  font-size: 12px;
}

.category-pagination {
  border-top: 1px solid #e3e6e9;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
}

.category-pagination-meta {
  color: #7d858d;
  margin: 0;
  font-size: 12px;
}

.category-pagination-pages .pagination {
  margin: 0;
  gap: 4px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.category-pagination-pages .page-link,
.category-pagination-pages a,
.category-pagination-pages span {
  color: #40474e;
  background: #fff;
  border: 1px solid #d6dade;
  border-radius: 3px;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.category-pagination-pages .active .page-link,
.category-pagination-pages .active span,
.category-pagination-pages li.active > * {
  color: #fff;
  background: var(--red, #e30628);
  border-color: var(--red, #e30628);
}

.category-empty {
  text-align: center;
  background: #fff;
  border: 1px dashed #d6dade;
  padding: 48px 20px;
}

.category-empty i {
  color: var(--red, #e30628);
  font-style: normal;
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.category-empty h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.category-empty p {
  color: #68717b;
  margin: 0 0 18px;
  font-size: 14px;
}

.category-empty-cta {
  color: #fff;
  background: linear-gradient(135deg, #e30628, #ff4c39);
  border-radius: 3px;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
}

.category-empty-cta:hover {
  color: #fff;
  filter: brightness(1.05);
}

.category-page .product-grid {
  margin-top: 0;
}

.category-page .add-button {
  text-decoration: none;
  margin-top: auto;
}

@media (max-width: 760px) {
  .category-page {
    padding: 18px 14px 48px;
  }

  .category-hero {
    grid-template-columns: 1fr;
    padding: 22px 16px;
  }

  .category-hero-art {
    display: none;
  }

  .category-results {
    padding: 16px 12px 12px;
  }

  .category-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .category-toolbar-controls {
    width: 100%;
  }

  .category-select {
    flex: 1;
  }
}
