/* Независимые стили для аккордеона фильтров */

.filter-accordion {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f8f9fa;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid #e9ecef;
  user-select: none;
}

.filter-header:hover {
  background: #e9ecef;
}

.filter-header.active {
  background: #E97491;
  color: #fff;
}

.filter-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
}

.filter-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.filter-header.active .filter-icon {
  transform: rotate(180deg);
}

.filter-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fff;
}

.filter-content.active {
  overflow-y: auto;
}

.filter-content > div {
  padding: 12px 16px;
}

/* Скроллбар для содержимого */
.filter-content::-webkit-scrollbar {
  width: 4px;
}

.filter-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.filter-content::-webkit-scrollbar-thumb {
  background: #E97491;
  border-radius: 2px;
}

.filter-content::-webkit-scrollbar-thumb:hover {
  background: #d65a7a;
}

