/* Исправление отображения фильтров товаров */

/* Основной контейнер фильтров */
.products-filters {
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: static !important;
}

/* Контент фильтров */
.filters-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  height: auto !important;
  overflow: visible !important;
}

/* Диапазон цен */
.price-range {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.price-range input {
  flex: 1 !important;
  min-width: 80px !important;
}

.price-range span {
  flex-shrink: 0 !important;
  padding: 0 5px !important;
}

/* Группы фильтров */
.filter-group {
  margin-bottom: 15px !important;
  height: auto !important;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
  .products-filters {
    position: static !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  .filters-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .price-range {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  
  .price-range input {
    flex: 1 !important;
    min-width: 70px !important;
  }
}

@media (max-width: 480px) {
  .products-filters {
    padding: 15px !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  
  .price-range input {
    min-width: 60px !important;
  }
}

/* Убираем скроллбары */
.products-filters::-webkit-scrollbar {
  display: none !important;
}

.products-filters {
  scrollbar-width: none !important;
} 