/* ─── category.css ─── */

.content-area { padding: 48px; }

/* Category Header */
.cat-header {
  display: flex; align-items: center; gap: 24px; width: 100%;
}
.cat-icon-bg {
  width: 80px; height: 80px; border-radius: 16px;
  background: #EFF6FF;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cat-info { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px; font-weight: 700; color: #18181B;
}
.cat-desc { font-size: 15px; color: #71717A; }

/* Stats */
.cat-stats {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid #F4F4F5;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700; color: #18181B;
}
.stat-label { font-size: 13px; color: #71717A; }
.stat-divider { width: 1px; height: 40px; background: #E4E4E7; flex-shrink: 0; }

/* Filter Bar */
.filter-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
}
.filter-left  { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-label { font-size: 14px; font-weight: 600; color: #18181B; }
.sort-right   { display: flex; align-items: center; gap: 8px; }
.sort-label   { font-size: 14px; font-weight: 600; color: #18181B; }
.sort-dropdown {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #E4E4E7; border-radius: 6px;
  padding: 8px 14px; font-size: 13px; color: #18181B;
  background: #fff; cursor: pointer; font-family: 'Inter', sans-serif;
  transition: border-color .15s;
}
.sort-dropdown:hover { border-color: #A1A1AA; }

/* Tool Cards Grid */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-col   { display: flex; flex-direction: column; gap: 16px; }
.tool-card {
  background: #fff; border: 1px solid #E4E4E7; border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  cursor: pointer; text-decoration: none; transition: box-shadow .15s;
}
.tool-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.tool-top   { display: flex; justify-content: space-between; align-items: center; }
.tool-icon  {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.tool-name  { font-size: 16px; font-weight: 600; color: #18181B; }
.tool-desc  {
  font-size: 13px; color: #71717A; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.tool-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.tag        { border-radius: 6px; padding: 4px 10px; font-size: 11px; }
.tool-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid #E4E4E7;
}
.tool-views { font-size: 12px; color: #A1A1AA; }

/* Pagination */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; padding: 32px 0 0;
}
.page-btn {
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px; font-size: 14px;
  cursor: pointer; font-family: 'Inter', sans-serif;
  text-decoration: none; transition: background .12s;
}
.page-btn.nav-btn {
  border: 1px solid #E4E4E7; background: #fff;
  padding: 8px 12px; color: #18181B;
}
.page-btn.nav-btn:hover { background: #F4F4F5; }
.page-btn.num-btn       { width: 36px; height: 36px; border: none; }
.page-btn.num-btn.active            { background: #18181B; color: #fff; }
.page-btn.num-btn:not(.active)      { background: #F4F4F5; color: #18181B; }
.page-btn.num-btn:not(.active):hover{ background: #E4E4E7; }
.page-ellipsis { font-size: 14px; color: #71717A; padding: 0 4px; }
