.custom-sort {
    position: relative;
    display: inline-block;
    max-width: 80%;
    min-width: 140px;
}

.custom-sort__trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    padding: 8px 10px;
    cursor: pointer;
    background: #fff;
    gap: 20px;
}

.custom-sort__arrow {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.custom-sort.open .custom-sort__arrow {
    transform: rotate(225deg);
}

.custom-sort__options {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #ddd;
    display: none;
    z-index: 20;
}

.custom-sort.open .custom-sort__options {
    display: block;
}

.custom-sort__option {
    padding: 8px 10px;
    cursor: pointer;
    text-align: left;
}

.custom-sort__option:hover {
    background: #f3f3f3;
}
@media only screen and (max-width: 798px) {
    .custom-sort {
    float: left;
    }
    .custom-sort__trigger {
    padding: 10px 0px;
    font-size: 16px;
    }
}