.chars_filter {
    position: relative;
    z-index: 3;
}

.filter_clear,
.filter_search {
    height: 69px;
    background-color: var(--c-red);
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    width: calc((100% - 16px) / 2);
}

.filter_clear {
    margin-top: 20px;
    background-color: var(--c-primary);
    margin-left: auto;
}

.filter_search svg {
    margin-left: 10px;
    width: 24px;
    height: 24px;
}

.chars_filter_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--c-white);
    border-radius: 12px;
    height: 74px;
    padding: 0 24px;
    position: relative;
}
.alpha {
    margin-left: 16px;
    font-weight: bold;
    font-size: 20px;
}
@media screen and (min-width: 1032px) {
    .chars_filter_list:after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 15px;
    }
}

.char_filter {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

.chars_filter_list > :nth-last-child(n+2) {
    padding-right: 20px;
    border-right: 1px solid var(--c-gray-border);
}

.char_filter_current {
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: .3s;
}

.char_filter_current:hover {
    color: var(--c-red);
}


.char_filter_current svg {
    width: 16px;
    min-width: 16px;
    height: 16px;
}

.cfilter_btns {
    display: none;
}

.char_filter_clear {
    position: absolute;
    right: 100%;
    margin-right: 4px;
    cursor: pointer;
    transition: .3s;
    visibility: hidden;
    opacity: 0;
}

.char_filter_clear svg *, .char_filter_clear svg {
    transition: .3s;
    width: 16px;
    height: 16px;
    color:#D3D3D3;
}

.char_filter_clear:hover svg{
    color: var(--c-red);
}

.char_filter_clear:hover svg path {
    fill: var(--c-red);
}

.char_filter.active .char_filter_clear {
    visibility: visible;
    opacity: 1;
}

.char_filter_name {
    line-height: 105%;
    transition: color .3s;
}

.char_filter.active .char_filter_name,
.char_filter_current.active .char_filter_name {
    color: var(--c-red);
}

.char_filter_icon {
    margin-left: 4px;
    transition: .3s;
    color:#282828;
}

.char_filter_icon * {
    transition: .3s;
}

.char_filter_current:hover .char_filter_icon{
    color: var(--c-red);
}

.char_filter_current.showList .char_filter_icon {
    transform: rotateZ(180deg);
    color: var(--c-red);
}

.char_filter_list {
    display: none;
    position: absolute;
    z-index: 1;
    width: 220px;
    max-height: 400px;
    overflow-y: auto;
    background-color: var(--c-white);
    top: calc(100% + 20px);
    border-radius: 12px;
    left: -24px;
    box-shadow: 0 2px 8px rgba(142, 141, 208, .16);
}

.chars_filter_list > :last-child .char_filter_list {
    left: unset;
    right: -24px;
}

.char_fl_row {
    transition: .3s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;

}

.char_fl_row:hover {
    background-color: var(--c-red-light);
}

.char_fl_row input[type=checkbox] {
    display: none;
}

.char_fl_row svg *, .char_fl_row svg {
    transition: .3s;
}

.char_fl_row input[type=checkbox]:checked + svg rect:first-child {
    fill: var(--c-red);
}

.char_fl_row input[type=checkbox]:checked + svg rect:nth-child(2) {
    stroke: var(--c-red);
}

.char_fl_row label {
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 16px;
}

.char_fl_row svg {
    min-width: 24px;
    width: 24px;
    height: 24px;
}

.char_fl_row span {
    margin-top: 2px;
    margin-left: 10px;
    line-height: 135%;
}

.char_fl_row span.chx_count {
    margin-left: auto;
}

.char_fl_row span {
    font-size: 14px;
}

.char_fl_row span.chx_count {
    font-size: 12px;
}

.char_fc_clear,
.mob_chars_filter,
.chs_filt_mob_exit,
.chs_filt_mob_head {
    display: none;
}

@media screen and (max-width: 1728px) {
    .char_filter_current svg {
        width: 14px;
        min-width: 14px;
        height: 14px;
    }

    .char_fl_row svg {
        min-width: 20px;
        width: 20px;
        height: 20px;
    }

    .chars_filter_list {
        height: 60px;
    }

    .char_filter_list {
        top: calc(100% + 12px);
        width: 200px;
        max-height: 320px;
    }

    .chars_filter_list > :nth-last-child(n+2) {
        padding-right: 14px;
    }
}

@media screen and (max-width: 1440px) {
    .chars_filter_list > :nth-last-child(n+2) {
        padding-right: 2px;
    }
}

@media screen and (max-width: 1240px) {
    .chars_filter_list > :nth-last-child(n+2) {
        padding-right: 5px;
    }

    .chars_filter_list {
        padding: 0 24px;
    }
}

@media screen and (max-width: 1240px)  and (min-width: 1141px) {
    .char_filter_clear {
        bottom: -5px;
        left: 50%;
        transform: translateX(calc(-50% - 4px));
        right: unset;
    }
}

@media screen and (max-width: 1140px) {
    .chars_filter_list > :nth-last-child(n+2) {
        padding-right: 8px;
    }
}

@media screen and (max-width: 1032px) {
    .cfilter_btns {
        display: flex;
        align-items: flex-end;
        position: sticky;
        bottom: 16px;
        gap: 16px;
        height: 0;
        z-index: 1;
        margin-top: 99px;
    }
    /*
    .filter-desktop {display: none;}
    .showCharsFilter .filter-desktop {display: block;}
    */
/*    .filter-desktop .filters {margin-top: 0;}*/
    .chars_filter {
        position: fixed;
        visibility: hidden;
        opacity: 0;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 22;
        background-color: #ECF1EF;
        margin: 0;
        padding-top: 36px;
        padding-bottom: 24px;
        overflow-y: auto;
        transition: opacity .3s, visibility .3s;
    }

    body.showCharsFilter {
        overflow: hidden;
    }

    body.showCharsFilter .chars_filter {
        visibility: visible;
        opacity: 1;
    }

    .inn_chars_filter {
        --cont-padding: 16px;
    }

    .chs_filt_mob_exit,
    .chs_filt_mob_head,
    .mob_chars_filter {
        display: block;
    }

    .chs_filt_mob_exit {
        width: 35px;
    }

    .chs_filt_mob_exit svg {
        width: 35px;
        height: auto;
    }

    .chs_filt_mob_head {
        /*margin-top: 40px;*/
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .chs_filt_mh_title {
        font-size: 40px;
    }

    .chs_filt_search {
        display: flex;
        align-items: center;
        padding: 0 16px;
        border-radius: 6px;
        color: var(--c-white);
        background-color: var(--c-red);
        font-size: 16px;
        height: 38px;
    }

    .chs_filt_search svg {
        width: 16px;
        height: 16px;
        margin-left: 4px;
    }

    .chs_filt_search span {
        margin-top: 2px;
    }

    .mob_chs_filt_btn {
        display: flex;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        background-color: var(--c-red);
        color: var(--c-white);
        margin-top: 23px;
        height: 64px;
    }

    .chars_filter_list {
        padding: 0;
        border-radius: 5px;
        margin-top: 32px;
        height: unset;
        flex-direction: column;
        align-items: unset;
        justify-content: unset;
    }

    .chars_filter_list > :nth-child(n) {
        padding-right: 0;
        border-right: 0;
    }

    .chars_filter_list > :nth-last-child(n+2) {
        border-bottom: 1px solid var(--c-gray-border);
    }

    .char_filter {
        /*position: unset;*/
        height: unset;
        display: block;
    }

    .char_fl_row label{
    	height: 30px;
    }

    .char_filter_current {
        position: sticky;
        top: -36px;
        width: 100%;
        height: 40px;
        font-size: 18px;
        margin: 0;
        padding: 0 16px;
        box-shadow: 0 1px 0 0 #fff0;
        transition: box-shadow .3s;
    }

    .char_filter_current:after {
        position: absolute;
        content: "";
        left: 5px;
        right: 5px;
        z-index: 0;
        top: 0;
        bottom: 0;
        background-color: var(--c-white);
    }

    .char_filter_icon,
    .char_fc_clear,
    .char_filter_name {

        z-index: 1;
    }

    .char_filter_current.showList {
        box-shadow: 0 1px 0 0 var(--c-gray-border);
    }

    .char_filter_clear {
        display: none;
    }

    .char_fc_clear {
        display: block;
        margin-left: 12px;
        visibility: hidden;
        opacity: 0;
        transition: visibility .3s, opacity .3s;
        width: 24px;
        height: 24px;
    }

    .char_filter.active .char_fc_clear {
        visibility: visible;
        opacity: 1;
    }

    .char_fc_clear svg {
        height: 100%;
        width: 100%;
    }

    .char_fl_row {
        font-size: 16px;
    }

    .char_filter_icon {
        margin-left: auto;
        width: 16px;
        min-width: 16px;
        height: 16px;
    }

    .char_filter_list {
        max-height: unset;
        overflow: unset;
        background: none;
        border-radius: unset;
        width: 100%;
        position: unset;
        box-shadow: none;
        margin: 10px 0;
    }

    .cfilter_btns {
        margin-top: 76px;
    }

    .filter_clear,
    .filter_search {
        height: 40px;
        font-size: 20px;
    }

    .filter_search svg {
        width: 20px;
        height: 20px;
    }

}

@media screen and (max-width: 1032px) 
{
	.filter-desktop + .heading_cont {
		margin-top: 0;
	}
}

.inn_types_filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--c-red);
    border-radius: 12px;
    height: 84px;
    padding: 0 40px;
}

.types_filter {
    position: relative;
    z-index: 2;
}

.type_filter {
    position: relative;
}

.type_filter_current {
    font-size: 20px;
    display: flex;
    align-items: center;
    color: var(--c-white);
    cursor: pointer;
    transition: opacity .3s;
    position: relative;
}

.type_filter_name {
    padding-top: 2px;
}

.type_filter_current:hover {
    opacity: 1;
}

.type_filter_current:after {
    position: absolute;
    content: "";
    left: 50%;
    right: 50%;
    width: 0;
    height: 2px;
    background-color: var(--c-white);
    transition: .3s;
    top: calc(100% + 5px);
}

.type_filter_current:hover:after {
    left: 0;
    right: 0;
    width: 100%;
}

.type_filter_icon {
    width: 16px;
    height: 16px;
    transition: .3s;
}

.type_filter_current.showList .type_filter_icon {
    transform: rotateZ(180deg);
}

.type_filter_icon {
    margin-left: 30px;
}

.type_filter_list {
    display: none;
    position: absolute;
    z-index: 1;
    width: 220px;
    max-height: 400px;
    overflow-y: auto;
    background-color: var(--c-white);
    top: calc(100% + 35px);
    border-radius: 12px;
    left: -24px;
    box-shadow: 0 2px 8px rgba(142, 141, 208, .16);
}

.type_fl_row {
    transition: .3s;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 16px;
}

.type_fl_row:hover, .type_fl_row.active {
    background-color: var(--c-red-light);
}

.inn_types_filter > :last-child .type_filter_list {
    left: unset;
    right: -24px;
}

 .filters {
     margin: 20px 0;
     display: flex;
     flex-wrap: wrap;
     gap: 16px;
     width: calc(100% - 130px);
 }
.filter {
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid var(--c-red-light);
    cursor: pointer;
    transition: .3s;
}

.filter:hover {
    color: var(--c-red);
    border-color: var(--c-red);
    background-color: var(--c-red-light);
}

.filter svg {
    width: 14px;
    height: 14px;
}

.filter svg * {
    transition: .3s;
}

.filter:hover svg path {
    fill: var(--c-red);
}

.filters_clear {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: color .3s;
    margin-left: 16px;
}

.filters_clear:hover {
    color: var(--c-red);
}

.type_filter:hover > .type_filter_list{
    display: block;
}

.type_filter:after{
    content: "";
    display: block;
    width: 100%;
    height: 35px;
    position: absolute;
}

@media screen and (max-width: 1728px) {
    .type_filter_icon {
        width: 14px;
        height: 14px;
    }

    .inn_types_filter {
        height: 60px;
        padding: 0 24px;
    }

    .type_filter_name {
        padding-top: unset;
    }

    .type_filter_current {
        font-size: 16px;
    }

    .type_filter_icon {
        margin-left: 10px;
    }

    .type_filter_list {
        width: 200px;
        max-height: 320px;
        top: calc(100% + 25px);
    }
}

@media screen and (max-width: 1440px) {
    .type_filter_current {
        font-size: 14px;
    }
}

@media screen and (max-width: 1240px) {
    .inn_types_filter {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1032px) {
    .types_filter {
        display: none;
    }
}
