#list__works .list__works .items .item img {
    height: 240px;
}

.perpages {
    display: flex;
}

.perpages > .perpage_count {
    height: 40px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 300;
    padding: 0px 14px;
    border: 1px solid #ebebeb;
    position: relative;
    display: flex;
    align-items: center;
    transition: 0.3s 0s;
    background: transparent;

    &:hover {
        background: rgb(0 0 0 / 5%);
    }

    &.active {
        background: rgb(0 0 0 / 5%);
    }

    &:first-child {
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        border-right: none;
    }

    &:last-child {
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
        border-left: none;
    }

    @media (max-width: 1179px) {
        display: none;
    }
}

#list__works .list__works .sorting {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
}

#list__works .list__works .sorting select {
    max-width: 335px;
}

.sort_price__select {
    width: 100%;
    max-width: 335px;
    height: 40px;
    padding: 0 40px 0 18px;
    background: url('/../modules/shop/themes/printto2025/images/arrdo.svg') calc(100% - 16px) 50% no-repeat;
    background-size: auto;
    background-size: auto;
    background-size: 10px;
    cursor: pointer;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 300;
    border: 1px solid #ebebeb;
    position: relative;
    display: flex;
    align-items: center;
    transition: 0.3s 0s;
}

.sort_price__select.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.sort_price__select_dropdown {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 39px;
    max-height: 0;
    overflow: hidden;
    z-index: 10;
    background: #fff;
    width: 100%;
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.05);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0);
    border-top: none;
    left: 0;
    transition: 0.3s 0s;
}

.sort_price__select.open .sort_price__select_dropdown {
    max-height: 200px;
    border-color: #ebebeb;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.sort_price__select_dropdown > a {
    padding: 10px 15px;
    color: #000;
}

.sort_price__select_dropdown > a:hover {
    background: rgba(0,0,0,0.1);
}

@media screen and (max-width: 1179px) {
    .hidden__param {
        width: 250px;
        margin-right: 270px;
        z-index: 4;
    }

    #list__works .list__works .sorting {
        width: 100%;
        margin-bottom: 20px;
        display: flex;
        justify-content: flex-end;
        position: absolute;
        top: -60px;
        right: 20px;
    }

    #list__works .list__works .sorting select {
        max-width: 250px;
    }
}

@media (min-width: 768px) and (max-width: 1179px) {
    .hidden__param[data-id="sidebar"] {
        position: absolute;
        left: 20px;
        top: 0;
    }

    #list__works .list__works .sorting {
        position: absolute;
        top: 0;
        right: 20px;
    }
}

@media screen and (max-width: 767px) {
    .hidden__param {
        width: 100%;
        margin: 0;
    }

    #list__works .list__works .sorting {
        width: 100%;
        margin: 20px 0;
        display: flex;
        justify-content: flex-end;
        position: relative;
        top: 0;
        right: 0;

        .sort_price__select {
            max-width: 100%;
        }
    }

    #list__works .list__works .sorting select {
        max-width: 100%;
    }
}