.category-page__breadcrumb {
  max-width: 100%;
  margin: 32px auto 0;
  padding: 0 64px;
  font-size: 13px;
  color: #9ca3af;
  margin-top: 80px;
}

.category-page__breadcrumb a {
  color: #9ca3af;
  text-decoration: none;
}

.category-page__breadcrumb a:hover {
  color: #9b2c4a;
}

.category-page__breadcrumb-sep {
  margin: 0 6px;
}

.category-page__head {
  max-width: 100%;
  margin: 12px auto 0;
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-page__title {
  font-size: 36px;
  font-weight: 800;
  margin-top: 20px;
}

.category-page__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-page__count {
  font-size: 16px;
  color: #2b2b2b;
}

.category-page__count strong {
  color: #c9a876;
  font-weight: 700;
}

.category-page__filter {
  position: relative;
}

.category-page__filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: #faf7f5;
  color: #2b2b2b;
  font-size: 14px;
  cursor: pointer;
}

.category-page__filter-btn svg {
  width: 14px;
  height: 14px;
}

.category-page__filter-chevron {
  transition: transform 0.15s ease;
}

.category-page__filter.is-open .category-page__filter-chevron {
  transform: rotate(180deg);
}

.category-page__filter-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  min-width: 200px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  display: none;
}

.category-page__filter.is-open .category-page__filter-panel {
  display: block;
}

.category-page__filter-panel button {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 15px;
  color: #2b2b2b;
  cursor: pointer;
}

.category-page__filter-panel button:hover {
  background: #faf7f5;
}

.category-page__grid {
  max-width: 100%;
  margin: 32px auto 64px;
  padding: 0 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-page__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -32px auto 64px;
  padding: 0 64px;
}

.category-page__page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border-radius: 50%;
  color: #4b4b4b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.category-page__page-btn svg {
  width: 16px;
  height: 16px;
}

.category-page__page-btn:hover {
  background: #faf7f5;
}

.category-page__page-btn--active {
  background: #c9a876;
  color: #fff;
}

.category-page__page-btn.is-disabled {
  pointer-events: none;
  opacity: 0.35;
}

.category-page__empty {
  max-width: 100%;
  margin: 0 auto 64px;
  padding: 0 64px;
  color: #6b6b6b;
  font-size: 15px;
}

@media (max-width: 860px) {
  .category-page__breadcrumb,
  .category-page__head,
  .category-page__grid,
  .category-page__pagination {
    padding: 0 20px;
  }

  .category-page__pagination {
    flex-wrap: wrap;
  }

  .category-page__breadcrumb {
    margin-top: 24px;
  }

  .category-page__title {
    font-size: 28px;
    margin-top: 8px;
  }

  .category-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
