.auto-filters {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.auto-filters__items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.auto-filters__dropdown {
    position: relative;
}

.auto-filters__select {
    padding: 12px 30px 12px 15px;
    border: 1px solid #446aca;
    border-radius: 8px;
    background: transparent;
    color: #446aca;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
}

.auto-filters__select:hover {
    border-color: #395aad;
    background: #395aad;
    color: #ffffff;
}

.auto-filters__select:focus {
    outline: none;
    border-color: #446aca;
    box-shadow: 0 0 0 1px rgb(68 106 202);
}

.auto-filters__dropdown::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(68 106 202);
    font-size: 12px;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.auto-filters__dropdown.open::after {
    transform: translateY(-50%) rotate(180deg);
}

.auto-filters__button {
    display: block;
    padding: 9px 15px;
    border: 1px solid #446aca;
    border-radius: 8px;
    background: #446aca;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    box-sizing: border-box;
    text-align: center;
}

.auto-filters__button:hover {
    background: #395aad;
    text-decoration: none;
}

@media (max-width: 1359px) {
    .auto-filters__buttons {
        width: 117px;
    }

    .auto-filters__select {
        padding: 4px 28px 5px 12px;
        font-size: 14px;
        width: 117px;
    }

    .auto-filters__button {
        font-size: 14px;
        padding: 2px 0;
        width: 117px;
    }
}

@media (max-width: 767px) {
    .auto-filters__items {
        justify-content: center
    }

    .auto-filters__button {
        padding: 4px 19px 3px 20px;
    }

    .auto-filters__dropdown::after {
        right: 8px;
        top: 50%;
        font-size: 10px;
    }
}
