main{
    flex-direction: row;
    align-items: flex-start;

    padding: 24px;
}

.filter{
    width: 25%;

    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 6px;
    border: 1px solid var(--stroke-gray);

    background: var(--light-gray);
}

.filter *{
    color: #3D3D3D;

    font-size: 16px;
    font-weight: 700;
}

.filter .title, .filter .row{
    width: 100%;
    height: 24px;

    display: flex;
    align-items: center;
    gap: 8px;
}

.filter .title ion-icon{
    font-size: 20px;
}

.line{
    background: var(--stroke-gray);
    height: 1px;
    width: 100%;
}

.filter .row{
    justify-content: space-between;
}

.filter .row .left{
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter .row img{
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.row .input-radio{
    width: 16px;
    height: 16px;
    border: 2px solid var(--green);
    border-radius: 50%;
}

.row.selected .input-radio{
    background: var(--green);
}

.row input[type="radio"]{
    accent-color: var(--green);
    width: 20px;
}

.right{
    width: 75%;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.results{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}


@media (max-width: 870px){
    main{
        flex-direction: column;
        gap: 16px;
    }

    .left, .right, .filter{
        width: 100%;
    }

    .filter{
        width: 100%;
        flex-direction: row;
        overflow-x: auto; 
    }

    .filter .line{
        display: none;
    }

    .filter .row{
        width: fit-content;
        justify-content: center;
    }

    .filter .title{
        width: fit-content;
    }

    .results{
        grid-template-columns: 1fr;
    }
}