.categories__filters-col-row-checkbox-mark {
    display: none; /* скрыть по умолчанию */
}

.categories__filters-col-row-checkbox-mark.active {
    display: inline; /* показать, когда активен */
}


.categories__filters-range-group-holder{
    width: 100%;
    display: flex;
    justify-content: center;
}

.categories__filters-range-group{
    width: 100%;
    max-width: 353px;
}

.range-slider-holder{
    width: 100%;
    display: flex;
    justify-content: center;

    margin-top: 20px;
}

.range-slider {
    position: relative;
    width: 100%;
    background-color: #BEBEBE;

}

section.range-slider {
    position: relative;
    width: 100%;

    float: left;
    text-align: center;
}
section.range-slider input[type=range] {
    pointer-events: none;
    position: absolute;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    border: none;
    border-radius: 14px;
    background: #f1efef;
    box-shadow: inset 0 1px 0 0 #cdc6c6, inset 0 -1px 0 0 #d9d4d4;
    -webkit-box-shadow: inset 0 1px 0 0 #cdc6c6, inset 0 -1px 0 0 #d9d4d4;
    left: 0;
    width: 100%;
    outline: none;
    height: 4px;
    margin: 0;
    padding: 0;
}
section.range-slider input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    position: relative;
    z-index: 1;
    outline: 0;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 14px;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #dad8da), color-stop(100%, #413f41));
    /* android <= 2.2 */
    background-image: -webkit-linear-gradient(top, #dad8da 0, #413f41 100%);
    /* older mobile safari and android > 2.2 */
    background-image: linear-gradient(to bottom, #dad8da 0, #413f41 100%);
    /* W3C */
}
section.range-slider input[type=range]::-moz-range-thumb {
    pointer-events: all;
    position: relative;
    z-index: 10;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 14px;
    background-image: linear-gradient(to bottom, #dad8da 0, #413f41 100%);
    /* W3C */
}
section.range-slider input[type=range]::-ms-thumb {
    pointer-events: all;
    position: relative;
    z-index: 10;
    -ms-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 14px;
    border: 0;
    background-image: linear-gradient(to bottom, #dad8da 0, #413f41 100%);
    /* W3C */
}
section.range-slider input[type=range]::-moz-range-track {
    position: relative;
    z-index: -1;
    background-color: black;
    border: 0;
}
section.range-slider input[type=range]:last-of-type::-moz-range-track {
    -moz-appearance: none;
    background: none transparent;
    border: 0;
}
section.range-slider input[type=range]::-moz-focus-outer {
    border: 0;
}

.categories__filters-range-group-upper{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.categories__filters-range-group-upper-input{
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;

    color: #121313;

    width: 82px;

    padding-left: 5px;

    font-family: "Inter", sans-serif;

}

.categories__filters-range-group-upper-input-holder{
    position: relative;
    display: flex;
    align-items: center;
}

.categories__filters-range-group-upper-input-currency{
    position: absolute;

    right: 5px;
}

.card-hover{

    line-height: 100%;
}


.cards4__item{
    min-width: 150px;
}


.cards4{
    margin-top: 60px;
}

.card-hover{
    bottom: auto;
    top: 0;
}


.cards4__items{

    /* display: flex;
    flex-wrap: wrap; */

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    /* grid-template-rows: 1fr 1fr; */

    row-gap: 48px !important;

    overflow-x: unset;
}

.cards4__item{
    width: 100%;
    /* height: clamp(150px, 100% , 100%); */
/*
    max-height: 752px; */

}

.cards4__item-upper{
    height: 100%;
}

.cards4__item--wide{
    grid-column: span 2;

}

.cards4__item .cards4__item-img{

    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.cards4__item--wide .cards4__item-img{
    width: 100%;
    /* max-height: 752px; */

}

.navpage__container{
    padding-left: 0;
}

.catalog{
    display: flex;
    justify-content: center;

    width: 100%;
}

.catalog__container{
    padding-left: 40px;
    padding-right: 40px;

    width: 100%;

    display: flex;

    justify-content: space-between;
}

.catalog__title{
    margin-top: 60px;

    font-size: 35px;
    font-weight: 400;
    line-height: 42.36px;
    text-align: left;

}

.catalog__container{
    display: flex;
}


.catalog__left{
    padding-right: 40px;
}


.catalog__text{
    max-width: 420px;

    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    text-align: left;

    color: #121313;

    margin-top: 104px;
}

.catalog__images{
    height: 100%;
    max-height: 451px;

    display: flex;

}

.catalog__images-col{
    border: 1px solid #F2F3F4;
    height: 451px;
    width: 188px;

    position: relative;

    overflow: hidden;
}

.catalog__images-col-text{

    margin-top: 30px;
    margin-left: 14px;

    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    text-align: left;
}

.catalog__images-col-img-holder{
    position: absolute;
    width: 100%;
    height: 100%;
}

.catalog__images-col-img{
    margin-top: 30px;

    transition: .3s linear;
}

.catalog__images-col-img:hover{
    position: absolute;

    transform: scale(1.5);
}

/* CATEGORIES */


.categories{
    display: flex;
    justify-content: center;

    margin-top: 48px;

    width: 100%;
}

.categories__container{
    width: 100%;

    padding-left: 40px;
    padding-right: 40px;
}


.categories__row{
    width: 100%;

    display: flex;
    justify-content: space-between;

    position: relative;
}


.categories__row-left{
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;

}

.categories__row-left span{
    font-weight: 400;

    margin-left: 4px;
}

.categories__row-left svg{
    margin-left: 10px;
}

.categories__row-center{
    display: flex;
    flex-wrap: wrap;
}

.categories__row-button{
    display: flex;
    align-items: center;

    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: left;

    text-transform: uppercase;

    cursor: pointer;

    margin-right: 25px;
}


.categories__row-button--active span{
    text-decoration: underline;
    font-weight: 500;
}

.categories__row-button--active svg{
    transform: rotate(180deg);
}

/* .categories__row-button:not(.categories__row-button:last-child){
    margin-right: 0;
} */

.categories__row-button svg{
    margin-left: 10px;
}

.categories__row-right{
    display: flex;
    align-items: center;

    cursor: pointer;

    position: relative;


}

.categories__row-right svg{
   margin-left: 10px;
}


.categories__row-right-popup-closer{
    background-color: #FFFFFF;

    border: 1px solid #121313;

    border-radius: 50%;

    padding: 4px;
}


.categories__row-right-popup-closer svg{
    margin-left: 0px;
}

.categories__row-right-popup{
    background-color: #FFFFFF;

    padding: 14px 40px 26px 40px;

    position: absolute;
    top: -2px;
    right: 7px;

    width: 263px;

    z-index: 9;

    display: none;
}


.categories__row-right-popup-closer{
    position: absolute;
    top: -10px;
    right: 0px;

    z-index: 9;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

   transition: .3s linear;
}

.categories__row-right-popup-closer:hover{
    background: #121313;
}

.categories__row-right-popup-closer svg{
    transition: .3s linear;
}

.categories__row-right-popup-closer:hover svg{
    filter: invert(100%);
    -webkit-filter: invert(100%);
}

.categories__row-right-popup-row{
    font-size: 14px;
    line-height: 21px;

    margin-top: 16px;

    color: #121313;
    display: flex;
    align-items: center;

    white-space: nowrap;

}

.categories__row-right-filter{
font-size: 14px;
font-weight: 500;
line-height: 21px;
text-align: left;

}

.categories__row-right-popup-row svg{
    display: inline;
}


.categories__row-right-popup-row:first-child{
    margin-top: 0px;
}

.categories__row-right-popup-row--active{
    font-weight: 500;
    text-decoration: underline;
}


.categories__filters{
    margin-top: 30px;
    display: none; /* Начально скрываем фильтры */
}

.categories__filters-cols{
    display: flex;

    width: 100%;
}

.categories__filters-col{
    margin-right: 30px;

    width: 100%;
}

.categories__filters-col:last-child{
    margin-right: 0;
}


.categories__filters {
    display: none; /* Начально скрываем фильтры */
}

.categories__filters.show {
    display: block; /* Показываем фильтры при добавлении класса show */
}

.categories__filters-col-row{
    display: flex;
    align-items: center;
}

.categories__filters-col-row-checkbox{
    width: 18px;
    height: 18px;

    border-radius: 3px;
    border: 1px solid #000;

}

.categories__filters-col-row-label{
    margin-left: 10px;

    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    text-align: left;

    text-transform: capitalize;
}

.categories__filters-col-row:not(.categories__filters-col-row:first-child){
    margin-top: 18px;
}


.categories__filters-button-holder{
    margin-top: 60px;
    width: 100%;

    display: flex;
    justify-content: center;
}


.categories__filters-button{
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;


    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;

    color: #F2F3F4;

    background: #121313;
    border-radius: 3px;

    cursor: pointer;

    border: 1px solid #121313;

    transition: .3s linear;
}

.categories__filters-button:hover{
    color: #121313;

    background: #F2F3F4;
}




.categories__filters-col-row-checkbox-holder{
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.categories__filters-col-row-checkbox-mark{
    position: absolute;

    pointer-events: none;
}




/* SHOWED */


.showed{
    display: flex;
    justify-content: center;

    margin-top: 60px;
    width: 100%;
}

.showed__container{
    width: 100%;

}


.showed__title{
    font-size: 35px;
    font-weight: 400;
    line-height: 42.36px;
    text-align: left;


    color: #121313;


    padding-left: 40px;
}

.showed__items{
    margin-top: 40px;

    display: flex;

    width: 100%;
}

.showed__item-upper{
    position: relative;

    width: 100%;
}

.showed__item-outer{
    width: 100%;
}

.showed__item-upper-upper{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-right: 22px;
    padding-left: 40px;

    margin-top: 22px;

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 4;


}

.showed__item-upper-upper-tag{
    padding: 2px 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 700;
    line-height: 14.52px;
    text-align: center;

    color: #F2F3F4;

    background: #121313;

    text-transform: uppercase;

    border-radius: 3px;
}

.showed__item-text{
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: center;

    color: #121313;

    padding-left: 8px;
    padding-right: 8px;

}

.showed__item-title{
    margin-top: 14px;
}

.showed__item{
    width: 100%;
}

.showed__item-price{
    font-weight: 600;
}

.showed__item-upper-upper-like{
    cursor: pointer;

    transition: .3s linear;
}

.showed__item-upper-upper-like:hover{
    filter: brightness(0%);
    -webkit-filter: brightness(0%);
}

.showed__item-img{
    width: 100%;

    min-width: 196px;
}

.showed__item-upper-upper-tag.hidden{
    visibility: hidden;
}


.showed__item-upper{
    position: relative;

}

.showed__item-upper-hover{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    position: absolute;

    background: rgba(0, 0, 0, 0.6);

    top: 0;

    z-index: 3;

    transition: .3s linear;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding-left: 12px;
    padding-right: 12px;

    opacity: 0;
}


.showed__item-upper:hover .showed__item-upper-hover{
    opacity: 1;
}




@media screen and (max-width: 1366px){
    .catalog__left{
        padding-right: 0;
    }

    .catalog__container{
        flex-direction: column;
    }

    .catalog__images{
        width: 100%;
    }

    .catalog__text{
        margin-top: 24px;
    }

    .catalog__right{
        margin-top: 35px;
    }
}


@media screen and (max-width: 1200px){
    .categories__filters-cols{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;

        row-gap: 18px;
    }

    .categories__row{
        flex-direction: column;
    }

    .categories__row-center{
        margin-bottom: 20px;
    }

    .categories__row-button{
        margin-top: 20px;
    }
}


@media screen and (max-width: 991px){

    .catalog__images{
        overflow-x: scroll;
        overflow-y: hidden;
        padding-bottom: 10px;
    }

    .catalog__images-col{
        min-width: 188px;
    }

    .categories__filters-cols{
        grid-template-columns: 1fr 1fr;
    }

    .cards4{
        margin-top: 40px;
    }

    .catalog__container{
        padding-left: 20px;
        padding-right: 20px;
    }

    .categories__container{
        padding-left: 20px;
        padding-right: 20px;
    }

    .catalog__title{
        font-size: 20px;
        font-weight: 400;
        line-height: 29.05px;
        text-align: left;
        margin-top: 16px;
    }
    .catalog__text {
        margin-top: 12px;
    }
}



@media screen and (max-width: 800px){
    .cards4{
        margin-top: 0;
    }

    .cards4-1{
        margin-top: 40px;
    }

    .showed__item-title{
        margin-top: 10px;
    }

    .showed__item-title,  .showed__item-text{
        font-size: 10px;
        line-height: 15px;
    }

    .cards4__items{
        grid-template-columns: 1fr 1fr;
        row-gap: 35px;
    }
}

@media screen and (max-width: 374px){
    .cards4__item .card-hover-size{
        width: 24px;
    }

    .card-hover-button{
        font-size: 12px;
    }
}


.list-group{
    position: static !important;
}

.ocf-option-values{
    position: absolute;
    width: calc(100vw - 80px)  !important;
    left: 0 !important;
    z-index: 4 !important;
}

