/* Categories & Category Listing Custom Stylesheet */


/* Page Header Title Section */
.page-header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #111827;
}

.page-header p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* Page header accent colour for category name */
.page-header h1 .accent {
  color: #4f46e5;
}

/* Categories Overview list cards */
.category-section-block {
  margin-bottom: 3rem;
}

.category-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.category-title-row h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

.view-all-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.view-all-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.view-all-link:hover {
  color: #4338ca;
}

.category-items-container {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem;
}

/* Breadcrumb styling */
.breadcrumb-nav {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumb-nav a {
  color: #9ca3af;
}

.breadcrumb-nav a:hover {
  color: #4f46e5;
}

.breadcrumb-nav span.active-crumb {
  color: #374151;
  font-weight: 600;
}



/* Empty listings state */
.empty-listing-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1rem;
  text-align: center;
}

.empty-listing-box svg {
  width: 4rem;
  height: 4rem;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.empty-listing-box h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

.empty-listing-box p {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.empty-listing-btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background-color: #4f46e5;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

.empty-listing-btn:hover {
  background-color: #4338ca;
}

/* Pagination Row */
.pagination-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.pagination-btn.btn-prev {
  background-color: #f3f4f6;
  color: #4b5563;
}

.pagination-btn.btn-prev:hover {
  background-color: #e5e7eb;
}

.pagination-btn.btn-next {
  background-color: #4f46e5;
  color: #fff;
}

.pagination-btn.btn-next:hover {
  background-color: #4338ca;
}
