/* Me2You - Category browsing page styles */

/* Filter sidebar */
.cat-filter-sidebar {
  background: var(--paper);
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  top: 80px;
}
.cat-filter-sidebar__heading {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-100);
}
.pagination .page-link {
  color: var(--ink-700);
  border-color: var(--ink-300);
  font-weight: 600;
  font-size: 14px;
}
.pagination .page-item.active .page-link {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
}
.pagination .page-link:hover {
  background: var(--brand-orange-50);
  border-color: var(--brand-orange);
  color: var(--brand-orange-700);
  text-decoration: none;
}
.pagination .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(248,154,31,0.18);
}

/* Category chip - coloured dot + tinted pill, colour from the --cat-colour
   custom property set inline. Same component as browse.php. */
.cat-chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  margin-bottom: 6px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--cat-colour) 10%, var(--paper));
  color: var(--cat-colour);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-chip-tag__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cat-colour);
  flex-shrink: 0;
}

/* Listing card positioning context for the wishlist button */
.cat-listing-card {
  position: relative;
}

/* Wishlist heart button (same as browse.php) */
.wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
  transition: transform .15s;
  z-index: 2;
}
.wishlist-btn:hover {
  transform: scale(1.1);
}

/* Empty state and 404 fallback */
.cat-empty-img {
  width: 64px;
  opacity: 0.4;
  margin-bottom: 16px;
}
.cat-empty-heading {
  color: var(--ink-500);
  font-size: 18px;
}
.cat-empty-text {
  max-width: 400px;
  margin: 0 auto;
}
.cat-notfound-heading {
  color: var(--ink-500);
  font-size: 20px;
}

/* Mobile: sidebar collapses above the grid */
@media (max-width: 991.98px) {
  .cat-filter-sidebar {
    position: static;
    margin-bottom: 16px;
  }
}
