.mfo-filters-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    border: 1px solid #e8eef5;
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.mfo-filters-content {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 32px;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
}

.mfo-filter-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mfo-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mfo-filter-label {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.mfo-filter-value {
    font-size: 18px;
    font-weight: 800;
    color: #00955c;
    background: linear-gradient(135deg, #e8f7f2 0%, #d4f1e8 100%);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #b8e6d8;
}

.mfo-filter-slider-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mfo-filter-slider {
    width: 100%;
    height: 7px;
    border-radius: 4px;
    background: linear-gradient(to right, #00955c 0%, #00955c 50%, #e5e7eb 50%, #e5e7eb 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    --value: 50%;
    background: linear-gradient(to right, #00955c 0%, #00955c var(--value), #e5e7eb var(--value), #e5e7eb 100%);
}

.mfo-filter-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00955c 0%, #007a47 100%);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 149, 92, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
    border: 2px solid white;
}

.mfo-filter-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(0, 149, 92, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.mfo-filter-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00955c 0%, #007a47 100%);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 3px 10px rgba(0, 149, 92, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
}

.mfo-filter-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(0, 149, 92, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.mfo-filter-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.mfo-filter-buttons {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.mfo-filter-apply {
    padding: 12px 28px;
    background: linear-gradient(135deg, #00955c 0%, #007a47 100%);
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 149, 92, 0.25);
    letter-spacing: 0.3px;
}

.mfo-filter-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 149, 92, 0.35);
}

.mfo-filter-apply:active {
    transform: translateY(-1px);
}

.mfo-filter-reset {
    padding: 12px 20px;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.3px;
}

.mfo-filter-reset:hover {
    border-color: #00955c;
    color: #00955c;
    background: #f8faf8;
}

.mfo-filter-reset:active {
    transform: scale(0.98);
}

/* Мобільна версія */
@media (max-width: 768px) {
    .mfo-filters-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .mfo-filters-content {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: stretch;
    }

    .mfo-filter-item {
        gap: 12px;
    }

    .mfo-filter-label {
        font-size: 13px;
    }

    .mfo-filter-value {
        font-size: 14px;
        padding: 4px 10px;
    }

    .mfo-filter-slider-container {
        gap: 8px;
    }

    .mfo-filter-range-labels {
        font-size: 11px;
    }

    .mfo-filter-buttons {
        gap: 8px;
    }

    .mfo-filter-apply {
        padding: 12px 20px;
        font-size: 13px;
        flex: 1;
    }

    .mfo-filter-reset {
        padding: 12px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }
}

/* Сортування МФО */
.mfo-sorting-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0;
}

.mfo-sorting-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mfo-sorting-select-wrapper {
    position: relative;
    display: inline-block;
}

.mfo-sorting-select {
    padding: 9px 12px 9px 12px;
    border: 1px solid #e0e5eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background: linear-gradient(to right, white 0%, #f8fafb 100%);
    padding-right: 28px;
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.mfo-sorting-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #00955c;
    font-size: 0;
    pointer-events: none;
    font-weight: 700;
    width: 6px;
    height: 6px;
    border-right: 2px solid #00955c;
    border-bottom: 2px solid #00955c;
    transform: translateY(-60%) rotate(45deg);
}

.mfo-sorting-select:hover {
    border-color: #00955c;
    box-shadow: 0 2px 8px rgba(0, 149, 92, 0.12);
}

.mfo-sorting-select:focus {
    outline: none;
    border-color: #00955c;
    box-shadow: 0 0 0 3px rgba(0, 149, 92, 0.1);
}

.mfo-sorting-right {
    display: flex;
    align-items: center;
    gap: 2px;
}

.mfo-count-label {
    font-size: 13px;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.3px;
}

.mfo-count-value {
    font-size: 14px;
    font-weight: 800;
    color: #00955c;
    background: transparent;
    padding: 0 4px;
    border-radius: 0;
    border: none;
    min-width: auto;
    text-align: center;
}

@media (max-width: 768px) {
    .mfo-sorting-wrapper {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
}
