/* /css/common-button-tabs.css — 카테고리 / 탭 버튼 공통 CSS */

/* ============================= */
/* ✅ 상단 카테고리 래퍼 슬라이딩 방식 */
/* ============================= */
.category-filter-wrapper {
  overflow-x: auto;
  white-space: nowrap;
}

/* ============================= */
/* ✅ 카테고리 버튼 리스트 슬라이딩 방식 */
/* ============================= */
.category-filter-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 8px 12px;
  gap: 6px;
  scrollbar-width: none;
}
.category-filter-list::-webkit-scrollbar {
  display: none;
}

/* ============================= */
/* ✅ 개별 카테고리 버튼 */
/* ============================= */
.category-btn {
  flex: 0 0 auto;
  border: none;
  border-radius: 20px;
  background: #f5f5f5;
  color: #333;
  padding: 10px 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

/* hover */
.category-btn:hover {
  background: #000000; /* 살짝 노란 하이라이트 */
  color: #fff;
}

/* active */
.category-btn.active {
  background: #000000; /* 밝은 노랑 (당근 느낌) */
  color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
