.flat-list-section{
    margin-top: 150px;
    margin-bottom: 100px;
    position: relative;
    padding-bottom: 100px;
}
.flat-list-section .container{
    /*overflow: hidden;*/
}
.flat-list-section:before{
    content: '';
    display: block;
    background-color: #F5EEDC;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180%;
    z-index: -1;
}
.flat-list-section .section-title {
    gap: 30px 60px;
    flex-wrap: wrap;
    max-width: 100%;
}
.tab-flat-list-wr {
    /*margin-left: 60px;*/
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}
.tab-flat-list-item {
    border: 1px solid #00000033;
    border-radius: 5px;
    padding: 22px 19px;
    font-size: 18px;
    transition: .3s;
    cursor: pointer;
    white-space: nowrap;
    background-color: #fff;
}
.tab-flat-list-item.active,
.tab-flat-list-item:hover {
    color: #fff;
    background-color: #87905C;
    border: 1px solid #87905C;
}
.flat-item{
    position: relative;
    padding: 30px 31px 30px 30px;
    border: 1px solid #00000033;
    background-color: #fff;
    display: grid!important;
    grid-template-rows: min-content min-content auto min-content min-content;
}
.flat-item .card_max{
    position: absolute;
    z-index: 1;
    top: 26px;
    right: 68px;
}
.flat-item .card_max svg{
    width: 25px;
    height: 25px;
}
.flat-item .add_fav{
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 31px;
    padding: 10px;
    width: 40px;
    height: 40px;
}
.flat-item .add_fav path{
    transition: .2s;
    fill: #fff;
}
.flat-item .add_fav.active,
.flat-item .add_fav:hover path{
    fill: #87905c;
    stroke: #87905c;
    stroke-opacity: 1;
}
.flat-item .build-end {
    color: #00000080;
    font-size: 14px;
    margin-bottom: 30px;
}
.flat-item .props-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.flat-item .props-list span {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.flat-item .props-list span:after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #87905C;
}
.flat-item .props-list span:last-of-type:after {
    display: none;
}
.flat-item img {
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    height: auto;
    display: block;
    margin: auto;
}
.flat-item .price {
    font-size: 26px;
    margin-bottom: 10px;
    margin-top: 20px;
}
.flat-item .price-per-metr {
    /*font-weight: 300;*/
    font-size: 16px;
    opacity: 0.6;
}
.flat-list-nav-wr {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
    transform: translateY(-50%);
    height: 1px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
.flat-list-nav-wr svg{
    transition: .3s;
}
.flat-list-nav-wr > div:hover svg{
    transform: scale(1.1);
    cursor: pointer;
}
.flat-list-nav-wr .flat-list-nav-prev{
    margin-left: -20px;
}
.flat-list-nav-wr .flat-list-nav-next{
    margin-right: -20px;
}
.flat-list-wr.swiper.swiper-initialized{
    /*overflow: unset;*/
    position: unset;
}
.tab-flat-container {
    position: relative;
}
.flat-list-wr.swiper.swiper-initialized .swiper-wrapper{
    /*overflow: hidden;*/
}
.tab-flat-container{
    display: none;
    /*overflow: hidden;*/
}
.tab-flat-container.active{
    display: block;
}
.flat-list-nav-wr .swiper-counter{
    display: none;
}
.flat-list-section .top-anchor-flat-list-mobile{
    display: none;
}
.flat-list-nav-next.swiper-button-disabled,
.flat-list-nav-prev.swiper-button-disabled{
    opacity: .3;
}
@media(max-width:1320px){
    .flat-item {
        padding: 30px 20px;
    }
    .flat-item .props-list span {
        font-size: 12px;
        gap: 7px;
    }
}
@media(max-width:1160px){
    .flat-list-section {
        padding-bottom: 60px;
    }
}
@media(max-width:560px){
    .tab-flat-list-wr{
        padding-bottom: 8px;
        margin-bottom: -8px;
        flex-wrap: nowrap;
        overflow: scroll;
        max-width: 100%;
    }
    .flat-list-section .top-anchor-flat-list{
        display: none;
    }
    .flat-list-section .top-anchor-flat-list-mobile{
        display: flex!important;
        margin-top: 40px;
    }
    .flat-list-nav-wr {
        margin-top: 30px;
        position: relative;
        top: unset;
        left: unset;
        z-index: 1;
        transform: unset;
        height: auto;
        width: min-content;
        gap: 15px;
        width: 100%;
    }
    .flat-list-nav-wr .flat-list-nav-prev {
        margin-left: 0;
    }
    .flat-list-nav-wr .flat-list-nav-next {
        margin-right: 0;
    }
    .flat-list-nav-wr .swiper-counter{
        display: flex;
        gap: 5px;
        width: 100%;
    }
    .flat-list-nav-wr .current-slide {
        font-size: 26px;
    }
    .flat-list-nav-wr .divider {
        font-size: 26px;
        color: #0000004D;
    }
    .flat-list-nav-wr .total-slides {
        font-size: 26px;
        color: #0000004D;
    }
}
@media(max-width:400px){
    .tab-flat-list-item {
        padding: 15px 10px;
        font-size: 16px;
    }
}