
.page__header-wrapper--opened {
    z-index: 999;
}

.page__header-white.page__header-wrapper--closed {
    border-bottom: none;
}

.assortment-title.title {
    line-height: 24px;
    white-space: nowrap;
    font-size: 20px;
}

#slider-range-area,
#slider-range-floor {
    position: absolute;
    bottom: -1px;
    left: 5%;
    width: 90%;
    height: 2px;
    border: none;
    background-color: transparent;
}

    #slider-range-area span:first-of-type .range-item,
    #slider-range-floor span:first-of-type .range-item {
        left: 0;
    }

    #slider-range-area span:last-of-type .range-item,
    #slider-range-floor span:last-of-type .range-item {
        right: 0;
    }

.filters .range-item {
    bottom: 21px;
}

.filters li:first-child {
    z-index: 130;
}

.filters li:nth-child(2) {
    z-index: 129;
}

.filters li:nth-child(3) {
    z-index: 128;
}

.filters li:nth-child(4) {
    z-index: 127;
}

.filters li:nth-child(5) {
    z-index: 126;
}

.filters li:nth-child(6) {
    z-index: 125;
}

.filters li:nth-child(7) {
    z-index: 124;
}

.filters li:nth-child(8) {
    z-index: 123;
}

.area-fiter-wrapper,
.floor-fiter-wrapper {
    height: 64px;
    border: 1px solid var(--background-block);
    border-radius: 12px;
}

    .area-fiter-wrapper label,
    .floor-fiter-wrapper label {
        margin-left: 12px;
    }

.room-count-item label.room-count-item-label-active {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 10px;
    text-decoration-thickness: 2px;
}

.button__search {
    width: 100%;
}

.filter.filter--active {
    position: absolute;
    z-index: 1001;
    top: 81px;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    padding-top: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--background-block);
    border-radius: 16px 16px 0px 0px;
    background-color: var(--base-white);
}

.filter.container.filter--active {
    width: 100%;
    padding-bottom: 0;
    margin: 0;
}

.assortment__description {
    padding-bottom: 20px;
    margin: 48px 16px 20px;
    border-bottom: 1px solid var(--background-block);
}

/* SORTING */

.assortment__wrapper {
    display: flex;
    justify-content: space-between;
    height: auto;
    margin: 0 16px 48px 16px;
}

.assortment__sorting {
    position: relative;
    z-index: 200;
    display: block;
    min-width: 200px;
    box-sizing: border-box;
    padding: 0;
}

.filter-sorting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    padding-left: 16px;
    border: none;
    color: var(--accent);
    background-color: var(--base-white);
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    gap: 4px;
}

    .filter-sorting .arrow {
        height: 24px;
        color: #00b5e2;
        font-size: 12px;
        justify-self: end;
    }

.sorting__description {
    display: block;
    line-height: 20px;
    padding-left: 16px;
    margin-bottom: 8px;
    font-size: 14px;
}

.filter-options {
    position: absolute;
    z-index: 10;
    top: 44px;
    display: none;
    flex-direction: column;
    min-width: 188px;
    padding: 12px 16px;
    margin-top: 20px;
    border: 1px solid var(--background-block);
    border-radius: 8px;
    background-color: var(--base-white);
    list-style: none;
    gap: 12px;
}

    .filter-options li {
        z-index: 301;
        display: flex;
        align-items: center;
        justify-content: space-between;
        line-height: 20px;
        color: var(--base-text);
        cursor: pointer;
        font-size: 14px;
    }

        .filter-options li:hover,
        .filter-options li:focus,
        .filter-options li:active,
        .filter-options li.active {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--background-block);
        }

.filter-drop {
    display: none;
    width: 24px;
    height: 24px;
}

.filter-options li:hover .filter-drop,
.filter-options li:focus .filter-drop,
.filter-options li:active .filter-drop,
.filter-options li.active {
    display: block;
}

.filter-drop-active {
    width: 24px;
    height: 24px;
    background-image: url(/Images/icons/DropDown_mini.svg);
}

.filter-options li:last-child {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}


/*.assortment__sorting {
    display: flex;
    justify-content: space-between;
    margin: 0 16px 48px;
}

.assortment__wrapper {
    display: flex;
    flex-direction: column;
}

.sorting-description {
    flex-direction: column;
    line-height: 20px;
    color: var(--gray-text);
    font-size: 14px;
}

.sorting-list {
    line-height: 20px;
    padding-right: 28px;
    border: none;
    color: var(--accent);
    background: var(--base-white);
    background-image: url(/Images/icons/DropDown_mini_blue.svg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 24px;
    font-size: 14px;
    font-weight: 400;
    appearance: none;
}

.sorting-price {
    display: flex;
    flex-direction: column;
    gap: 8px;
}*/

.assortment.carousel.container {
    margin-right: 0;
    margin-left: 0;
}

.assortment__option {
    display: flex;
    overflow: hidden;
    height: 52px;
    border: 1px solid var(--background-block);
    border-radius: 12px;
    background: var(--base-white);
}

button.assortment__button {
    line-height: 10px;
    box-sizing: border-box;
    padding: 12px 20px;
    border-radius: 0;
    background: var(--base-white);
}

    button.assortment__button.assortment__button--active,
    button.assortment__button.assortment__button--active:hover,
    button.assortment__button.assortment__button--active:focus,
    button.assortment__button.assortment__button--active:active {
        color: var(--base-white);
        background: var(--accent);
    }

.assortment__button--active path {
    fill: var(--base-white);
}

.button-table.assortment__button--active path,
.button-table.assortment__button--active path:hover,
.button-table.assortment__button--active path:focus,
.button-table.assortment__button--active path:active {
    stroke: var(--base-white);
}

.assortment__button span {
    display: none;
}

.assortment__flat .swiper-wrapper .swiper-slide,
.assortment__flat .swiper-wrapper .flat__item {
    margin: 0;
    width: 100%;
}

.assortment__flat {
    flex-direction: column;
    margin: 0 16px;
}

.assortment__flat-card .separator {
    display: none;
}

.assortment__flat-table .separator {
    line-height: 24px;
    margin: 0 16px;
    color: var(--base-text);
    font-family: "Geologica", Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
}

.assortment__flat .flat__list {
    align-items: center;
    flex-direction: column;
    margin-bottom: 24px;
    gap: 16px;
}

.assortment__flat .flat__item.swiper-slide {
    min-width: 343px;
    height: auto;
    min-height: 571px;
    padding-bottom: 16px;
    margin: 0;
}

.flat__item-name {
    display: none;
}

.assortment__flat .flat__image {
    height: 225px;
    padding: 38px 0 0;
    margin-top: 0;
    margin-bottom: 6px;
}

.assortment__flat .object-subtitle.flat-subtitle {
    line-height: 29px;
    text-wrap: balance;
    font-size: 24px;
}

.flat__description-wrapper {
    display: flex;
    justify-content: space-between;
}

.flat__area-description {
    display: none;
    line-height: 19px;
    margin-left: 6px;
    color: var(--base-text);
    font-size: 16px;
    font-weight: 300;
}

.assortment__flat .flat__price span {
    line-height: 29px;
    font-size: 24px;
}

.assortment__flat .flat__description-list {
    margin-top: auto;
    gap: 12px;
}


.button-flats {
    line-height: 20px;
    border: 1px solid var(--accent);
    color: var(--base-text);
    background: var(--base-white);
    font-size: 14px;
    font-weight: 400;
}

.button-flats-desktop {
    display: none;
}

.button-flats:hover {
    border: 1px solid var(--accent);
    color: var(--base-text);
    background: var(--base-white);
}

.button-flats:focus,
.button-flats:active {
    background: var(--color-action);
}

.carousel__gorizontal {
    margin-bottom: 48px;
    margin-left: 16px;
}

.button-carousel {
    display: none;
}

.button-phone {
    width: auto;
    margin: 0 16px 16px;
}

/* Table */


.assortment__flat-table .flat__area-description {
    display: block;
}

.assortment__flat-table .flat__list {
    border-top: 1px solid var(--background-block);
    gap: 0;
}

.assortment__flat-table .swiper-slide {
    min-height: 124px;
    padding: 12px 12px 12px 0;
    border-bottom: 1px solid var(--background-block);
}

.assortment__flat-table .flat__item {
    display: grid;
    grid-template-areas:
        "card subtitle"
        "card description";
    grid-auto-columns: 25.68% 1fr;
    column-gap: 4px;
    margin: 0;
    padding: 0;
    border: unset;
    width: 100%;
}

.assortment__flat-table .flat__card {
    align-self: center;
    min-width: 85px;
    justify-self: center;
    grid-area: card;
}

.assortment__flat-card .flat__description-wrapper .special-offer {
    position: absolute;
    top: 16px;
}

.assortment__flat-table .flat__description-wrapper .special-offer {
    display: none;
}

.assortment__flat-table .object-subtitle.flat-subtitle {
    width: min-content;
    line-height: 19px;
    font-size: 16px;
    grid-area: subtitle;
}

.assortment__flat-table .flat__description-item {
    line-height: 14px;
    font-size: 10px;
}

.assortment__flat-table .flat__description-list {
    position: static;
    margin-top: 0;
    grid-area: description;
    gap: 8px;
}

.assortment__flat-table .flat__image {
    height: auto;
    padding: 0 8px;
    margin: auto;
}

    .assortment__flat-table .flat__image .flat__image-object {
        max-height: 100px;
    }

.assortment__flat-table .flat__price span {
    line-height: 19px;
    font-size: 16px;
}

.assortment__flat-table .flat__price {
    margin-top: auto;
}


.assortment__flat-table .flat__advantages,
.assortment__flat-table .flat__user,
.assortment__flat-table .flat__card::before,
.assortment__flat-table .flat__deadline,
.assortment__flat-table .flat__design,
.assortment__flat-table .flat__area {
    display: none;
}

    .assortment__flat-table .flat__area .data {
        line-height: 19px;
        font-size: 16px;
    }

.flat__design ul {
    display: flex;
    list-style: none;
}

.assortment .assortment__flat-table .flat__design ul li {
    text-align: start;
}

.assortment .flat__design ul li {
    text-align: end;
}

.assortment__flat-card .flat__design ul li:not(:first-child) span::before {
    display: inline;
    margin: 0 3px 0 3px;
    content: "/";
}

.flat__location .flat__location-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0;
    list-style: none;
}


    .flat__location .flat__location-list .flat__location-item {
        position: relative;
        display: block;
        text-wrap: nowrap;
    }

.assortment__flat-table .flat__area .description {
    display: none;
}

.page__background-shadow-gray {
    display: none;
}

    .page__background-shadow-gray.page__background-shadow-gray--active {
        position: fixed;
        /* Задний фон при открытии фильтра*/
        z-index: 1000;
        display: block;
        width: 100%;
        height: 100%;
        background: rgba(33, 33, 33, 0.5);
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }

.filter-toggle {
    position: relative;
    z-index: 1002;
    width: 48px;
    height: 48px;
    padding: 12px;
    margin: 0;
    border: 1px solid var(--background-block);
    border-radius: 900px;
    background: rgba(208, 208, 208, 0.5);
}

.filter--active .filter-toggle::before {
    position: absolute;
    z-index: 3;
    top: 23px;
    left: 12px;
    width: 22px;
    height: 2px;
    border: none;
    border-radius: 1px;
    background-color: var(--base-text);
    box-shadow: none;
    content: "";
    transform: rotate(45deg);
}

.filter--active .filter-toggle::after {
    position: absolute;
    top: 23px;
    right: 12px;
    width: 22px;
    height: 2px;
    border: none;
    border-radius: 1px;
    background-color: var(--base-text);
    box-shadow: none;
    content: "";
    transform: rotate(-45deg);
}

.filter-description {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    margin-bottom: 26px;
}

.filter.container {
    width: auto;
    padding-bottom: 24px;
    margin: 48px 16px 32px;
    border-bottom: 1px solid var(--background-block);
}

    .filter.container h1 {
        margin-bottom: 21px;
    }

form ul.filters {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    margin-bottom: 24px;
    gap: 16px;
}

.filter {
    display: none;
}

.filter__title {
    line-height: 19px;
    margin-bottom: 0;
    font-size: 16px;
}

.filter .filters-wrapper label {
    position: absolute;
    top: 10px;
    left: 16px;
    line-height: 14px;
    margin-bottom: 4px;
    font-size: 10px;
}

.filter select {
    width: 100%;
    line-height: 20px;
    padding: 30px 16px 12px;
    border: 1px solid var(--background-block);
    border-radius: 12px;
    color: var(--base-text);
    background-color: var(--base-white);
    background-image: url(/Images/icons/DropDown_black.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 24px;
    font-size: 14px;
    appearance: none;
}

    .filter select:checked {
        background-image: url(/Images/icons/DropDown__active.svg);
    }


    .filter select:focus {
        border-color: #aaa;
        outline: none;
    }

.filters-wrapper {
    position: relative;
}

.room-count-item .plus {
    display: inline;
}

.room-count-item label {
    max-width: 58px;
    line-height: 20px;
    color: var(--base-text);
    background-color: var(--base-white);
    font-size: 14px;
}

.room-count .room-count-list {
    justify-content: flex-start;
    list-style: none;
    column-gap: 0;
}

ul.filters .price {
    margin-bottom: 0;
}

.filter--active .controls button {
    top: -7px;
    border: 1px solid var(--accent-1);
}

.advantages__link {
    display: none;
}

    .advantages__link .text-hidden {
        display: none;
    }

.advantages-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.advantages__toggle {
    display: flex;
    justify-content: space-between;
    line-height: 20px;
    padding: 20px 12px;
    margin: 0;
    border: 1px solid var(--background-block);
    border-radius: 12px;
    background: var(--base-white);
    font-size: 14px;
    gap: 12px;
}

    .advantages__toggle.aux-advantage {
        display: none;
    }

    .advantages__toggle.aux-advantage-active {
        display: flex;
    }


.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    min-width: 48px;
    height: 24px;
}

.advantages__toggle-description {
    line-height: 22px;
    margin: 0;
    color: var(--base-text);
    font-size: 16px;
}

.switch input {
    display: none;
}

input:checked + .slider {
    border: 1px solid #85DCF0;
    background-color: #E0ECF7;
}

.slider.round {
    border-radius: 34px;
}

.switch .slider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px solid #D0D0D0;
    background: #FFFFFF;
    cursor: pointer;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider:before {
    border: 1px solid var(--accent);
    background: var(--accent);
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round:before {
    position: absolute;
    top: -1px;
    bottom: 0;
    left: -1px;
    width: 24px;
    height: 24px;
    border: 1px solid var(--gray-text);
    border-radius: 50%;
    background: var(--background-color);
    content: "";
    -webkit-transition: .4s;
    transition: .4s;
}

.assorment-advantages {
    display: flex;
    flex-direction: column;
    margin: 0 16px 98px;
    gap: 8px;
}

    .assorment-advantages .title {
        line-height: 24px;
        margin-bottom: 16px;
        font-size: 20px;
    }

.button-apply {
    width: 100%;
}

button.button-reset {
    border: 1px solid var(--accent);
}

    button.button-reset:hover {
        border: 1px solid var(--accent-1);
        color: var(--base-text);
    }

    button.button-reset:active,
    button.button-reset:focus {
        border: 1px solid var(--accent-1);
        color: var(--base-text);
        background-color: var(--color-action);
    }

.carousel-viewed {
    display: none;
}

/* COMMERCE */

.page__assortment-commerce .filters .room-count.filters-item,
.page__assortment-commerce .filters .floor.filters-item {
    display: none;
}

.page__assortment-commerce .assortment-title.title {
    white-space: normal;
}

.no-image-text {
    text-align: center;
}

@media (min-width: 644px) {
    .assortment__flat-card .flat__list {
        align-items: normal;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .assortment__flat-card .swiper-wrapper .swiper-slide {
        width: 298px;
    }
}

@media (max-width: 959px) {

    .assortment__flat-card .swiper-slide {
        width: 100%;
    }

    .assortment__flat-card .flat__item {
        width: 100%;
    }
}

@media (min-width: 960px) {

    .no-image-text {
        font-size: 16px;
    }

    /*.assortment-title span {
        display: none;
    }*/

    .assortment__flat-card .swiper-wrapper .flat__item.swiper-slide,
    .assortment__flat-card .swiper-wrapper .flat__item {
        width: 298px;
    }


    form ul.filters {
        flex-direction: row;
        justify-content: flex-start;
    }

    .room-count .room-count-list {
        width: 300px;
    }

    .filters li:first-child {
        padding-right: 0;
    }

    .filters .room-title {
        z-index: 150;
    }

    .filters .multi-select-container .multi-select-button,
    .filters-item {
        min-width: 298px;
    }

    .carousel-viewed {
        display: block;
    }

    .page-main .button-phone-wrapper {
        margin-bottom: 80px;
    }

    .filters {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-bottom: 48px;
    }

    form .filters-item {
        width: 298px;
    }

    .assorment-advantages {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        margin: 0 16px 48px;
        gap: 24px;
    }

    .advantages-wrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .advantages__toggle {
        width: 298px;
    }

    .filter.container.filter--active {
        position: absolute;
        margin-top: 133px;
    }

    .assortment-title.title {
        line-height: 38px;
        font-size: 32px;
    }

    .filter__chooser .filter__title {
        display: block;
        line-height: 29px;
        font-size: 24px;
    }

    .page__header-white.page__header-wrapper--closed {
        border-bottom: none;
    }

    .assortment__flat.assortment__flat-table .flat__list {
        position: static;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .assortment__flat.assortment__flat-table .swiper-slide {
        position: relative;
        min-width: 100%;
    }

    .assortment__flat.assortment__flat-table .flat__item {
        position: relative;
        min-width: 100%;
    }


    .assortment__flat-table .flat__item {
        height: auto;
        height: auto;
        min-height: 181px;
        grid-template-areas:
            "card subtitle description"
            "card . description"
            "card advantages description";
        grid-auto-columns: 193px 30% 1fr;
        grid-template-rows: auto 32px auto;
        column-gap: 16px;
    }

    .assortment__flat-table .flat__description-wrapper {
        position: relative;
        align-items: center;
        justify-content: space-between;
        padding-right: 50px;
    }

    .assortment__flat-table .flat__description-list {
        position: static;
        display: grid;
        align-items: center;
        justify-content: space-between;
        padding-right: 56px;
        padding-left: 16px;
        margin-top: 12px;
        border-left: 1px solid var(--background-block);
        grid-template-columns: 100px auto 120px;
        grid-template-rows: repeat(5, 1fr);
        grid-template-areas: "design project price"
            "design project price"
            "design location price"
            "design location price"
            "design location price";
        row-gap: 0;
        column-gap: 12px;
    }

    .assortment__flat-table .flat__design {
        grid-area: design;
    }

    .assortment__flat-table .flat__project {
        align-self: self-end;
        margin-bottom: 10px;
        grid-area: project;
    }

    .assortment__flat-table .flat__location {
        align-self: self-start;
        margin-top: 2px;
        grid-area: location;
    }

    .assortment__flat-table .flat__price {
        align-self: center;
        flex-direction: column;
        margin: 0 0 0 8px;
        justify-self: end;
        grid-area: price;
        gap: 4px;
    }

    .assortment__flat-table .flat__image .flat__image-object {
        max-height: 157px;
    }

    .assortment__flat-table .flat__advantages {
        display: flex;
        max-width: 266px;
        height: auto;
        padding-top: 16px;
        margin: auto 0 0;
        grid-area: advantages;
    }

    .assortment__flat-table .flat__advantages-title {
        line-height: 17px;
        font-size: 12px;
    }

    .assortment__flat-table .flat__deadline {
        position: absolute;
        top: 40%;
        left: 209px;
        display: flex;
        justify-content: space-between;
        width: 230px;
        gap: 49px;
    }

        .assortment__flat-table .flat__deadline .description {
            line-height: 22px;
            font-size: 16px;
        }

        .assortment__flat-table .flat__deadline .data {
            line-height: 22px;
            font-size: 16px;
        }

    .assortment__flat-table .flat__design {
        display: block;
    }

        .assortment__flat-table .flat__design .data {
            line-height: 20px;
            text-wrap: nowrap;
            font-size: 14px;
        }

        .assortment__flat-table .flat__design ul {
            display: flex;
            flex-direction: column;
            padding: 0;
            gap: 12px;
        }

        .assortment__flat-table .flat__project .description,
        .assortment__flat-table .flat__location .description,
        .assortment__flat-table .flat__design .description {
            display: none;
        }

    .assortment__flat-table .flat__location .flat__location-list {
        flex-direction: column;
        margin-top: 2px;
        gap: 12px;
    }

        .assortment__flat-table .flat__location .flat__location-list .data-list::before {
            display: none;
        }

    .assortment__flat-table .flat__design ul li:not(:first-child)::before {
        display: none;
    }

    .assortment__flat-table ul.data-list li span {
        line-height: 20px;
        font-size: 14px;
        font-weight: 400;
    }

    .assortment__flat-table ul.data-list li:last-child span {
        text-transform: capitalize;
    }

    .assortment__flat-table .flat__location .data-list li:last-child {
        order: -1;
    }

    .assortment__flat-table .flat__project .data {
        line-height: 19px;
        font-size: 16px;
        font-weight: 600;
    }

    .assortment__flat-table .data {
        width: auto;
        max-width: 240px;
        text-align: unset;
    }

    .assortment__flat-table .flat__location .flat__location-list .data {
        line-height: 20px;
        font-size: 14px;
        font-weight: 400;
    }

    .assortment__flat-table .flat__price del {
        align-self: flex-end;
        line-height: 17px;
        font-size: 12px;
    }

    .assortment__flat-table .flat__price span {
        align-self: flex-end;
        line-height: 24px;
        margin: 0;
        text-wrap: nowrap;
        font-size: 20px;
    }

    .assortment__flat-table .flat__description-wrapper .special-offer {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-right: 50px;
    }

    .assortment__flat-table .flat__card {
        position: static;
    }

    .assortment__flat-table .flat__user {
        position: absolute;
        top: 12px;
        right: 0px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .assortment__flat-table ..favorite-popup,
    .assortment__flat-table .comparison-link {
        position: relative;
        top: 0;
    }

    .carousel__gorizontal .carousel-title {
        margin-bottom: 23px;
    }
}

.advantages__link {
    display: block;
    line-height: 19px;
    color: var(--accent);
    font-family: "Geologica", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
}

@media (min-width: 1440px) {
    .page__header-white.page__header-wrapper--closed {
        border-bottom: 1px solid var(--background-block);
    }

    .breadcrumbs-list {
        width: 1240px;
        margin: 0 auto;
    }

    .filter.container {
        display: block;
        width: 1240px;
        margin: 0 auto 24px;
    }

    form ul.filters {
        padding: 0;
        margin-bottom: 40px;
    }

    .filter-toggle {
        display: none;
    }

    .filters {
        padding: 0;
        margin-bottom: 40px;
    }

    .filter-description {
        padding: 0;
        margin: 0;
    }

    .assortment__description {
        width: 1240px;
        padding-bottom: 0;
        margin: 0 auto;
        border-bottom: none;
    }

    .assorment-advantages {
        margin: 0;
        gap: 20px;
    }

    .advantages-wrapper {
        margin-bottom: 4px;
    }

    .button__search {
        display: none;
    }

    .assortment.carousel.container {
        margin-right: auto;
        margin-left: auto;
    }

    .carousel__gorizontal {
        margin-left: auto;
    }

    .assortment__flat {
        margin: 0;
    }

    .filter__chooser .filter__title.title-arguments {
        display: none;
    }

    .assortment-title.title {
        line-height: 56px;
        font-size: 40px;
    }

    .filter .filters-wrapper label {
        line-height: 16px;
        font-size: 12px;
    }

    .filter select {
        line-height: 22px;
        font-size: 16px;
    }

    .sorting-description {
        line-height: 22px;
        font-size: 16px;
    }

    .sorting-list {
        line-height: 22px;
        background-position: 153px center;
        font-size: 16px;
        font-weight: 500;
    }

    .sorting__description {
        line-height: 22px;
        margin-bottom: 12px;
        font-size: 16px;
    }

    .filter-sorting {
        line-height: 22px;
        font-size: 16px;
    }

    .assortment__sorting {
        padding-left: 0;
    }

    .assortment__button span {
        display: block;
        color: var(--gray-text);
        font-weight: 400;
    }

    button.assortment__button.assortment__button--active span,
    button.assortment__button.assortment__button--active:hover span,
    button.assortment__button.assortment__button--active:focus span,
    button.assortment__button.assortment__button--active:active span {
        color: var(--base-white);
    }

    .assortment__button svg {
        display: none;
    }

    .assortment__button {
        padding: 16px 20px;
    }

    .assortment__flat.assortment__flat-card .flat__item {
        height: 100%;
    }

    .assortment__flat.assortment__flat-card.assortment__flat .flat__image {
        height: 261px;
        padding: 38px 0 0;
    }

    .assortment__flat.assortment__flat-card.assortment__flat .flat__description-list {
        gap: 16px;
    }

    .assortment__flat-card .flat__location .flat__location-list {
        align-items: flex-end;
    }

    .flat__location .flat__location-list .flat__location-item {
        text-wrap: wrap;
    }

    .flat__location .data-list span {
        text-wrap: balance;
    }

    .flat__description-list .data {
        text-align: right;
    }

    .flat__location .data-list {
        line-height: 20px;
        font-size: 14px;
    }

    .button-flats-desktop {
        display: inline-block;
    }

    .button-flats-mobile {
        display: none;
    }

    .carousel__gorizontal .carousel-title {
        line-height: 38px;
        padding-top: 13px;
        margin-bottom: 48px;
        font-size: 32px;
    }

    .carousel__gorizontal .carousel__slider {
        top: -99px;
    }

        .carousel__gorizontal .carousel__slider svg {
            z-index: 100;
        }

    .carousel__gorizontal .flat__description-list {
        gap: 16px;
    }

    .carousel__gorizontal .flat__design {
        margin-bottom: 8px;
    }

    .carousel__gorizontal .object-subtitle.flat-subtitle {
        line-height: 29px;
        font-size: 24px;
    }

    section.container.carousel-viewed {
        margin-bottom: 48px;
    }

    .button-phone {
        width: 407px;
        margin: 0 auto;
    }

    .assortment__flat-table .flat__item-name {
        display: block;
        width: 100%;
        padding: 24px;
        border: 1px solid var(--background-block);
        border-radius: 16px 16px 0 0;
        background: var(--background-color);
    }

    .assortment__flat-table .flat__description-wrapper .special-offer {
        top: 50%;
        right: 230px;
        transform: translate(0, -50%);
    }

    .name__list {
        display: flex;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
        list-style: none;
        gap: 16px;
    }

    .name__item {
        line-height: 19px;
        font-family: "Geologica", Arial, sans-serif;
        font-size: 16px;
        font-weight: 300;
    }

        .name__item:first-child {
            width: 185px;
        }

        .name__item:nth-child(2) {
            width: 180px;
        }

        .name__item:nth-child(3) {
            width: 165px;
            padding-left: 20px;
        }

        .name__item:nth-child(4) {
            width: 130px;
        }

        .name__item:nth-child(5) {
            width: 223px;
        }

    .assortment__flat-table .flat__item.swiper-slide {
        grid-auto-columns: 209px 350px 1fr;
        column-gap: 16px;
    }

    .assortment__flat-table .object-subtitle.flat-subtitle {
        max-width: 180px;
        line-height: 24px;
        text-wrap: nowrap;
        font-size: 20px;
    }

    .assortment__flat-table .flat__area-description {
        line-height: 24px;
        text-wrap: nowrap;
        font-size: 20px;
    }

    .assortment__flat-table .flat__deadline {
        top: 45%;
        /*left: 225px;*/
        width: 300px;
    }

    .assortment__flat-table .flat__design .data {
        line-height: 22px;
        font-size: 16px;
    }

    .assortment__flat-table .flat__project .data {
        line-height: 24px;
        margin-bottom: 10px;
        font-size: 20px;
        text-align: start;
    }

    .assortment__flat-table .flat__location .flat__location-list .data {
        line-height: 22px;
        font-size: 16px;
    }

    .assortment__flat-table ul.data-list li span {
        line-height: 22px;
        font-size: 16px;
    }

    .assortment__flat-table .flat__price del {
        align-self: start;
        line-height: 20px;
        font-size: 14px;
    }

    .assortment__flat-table .flat__price span {
        line-height: 29px;
        margin-right: 56px;
        font-size: 24px;
    }

    .assortment__flat-table .flat__description-list {
        padding-right: 0;
        padding-left: 20px;
        margin-top: 0;
        grid-template-columns: 125px 220px 1fr;
        column-gap: 12px;
    }

    .assortment__flat-table .flat__price {
        padding-left: 10px;
        margin: 0;
        justify-self: self-start;
    }

    .assortment__flat.assortment__flat-table .flat__list {
        overflow: hidden;
        box-sizing: border-box;
        border: 1px solid var(--background-block);
        border-top: none;
        border-radius: 0 0 16px 16px;
    }

    .assortment__flat-table .flat__description-wrapper::before {
        top: 50%;
        right: 230px;
        transform: translate(0, -50%);
    }

    .assortment__flat-table .flat__description-wrapper {
        position: static;
    }

    .assortment__flat-table .object-subtitle.flat-subtitle::after {
        margin-left: 4px;
    }

    .assortment__flat-table .flat__user {
        top: 50%;
        right: 24px;
        transform: translate(0, -50%);
    }

    .filter-options {
        padding: 20px;
    }

        .filter-options li {
            line-height: 22px;
            font-size: 16px;
        }

    .assorment-advantages .title {
        margin-bottom: 0;
    }

    .assortment__flat-table .flat__item.swiper-slide:last-child,
    .assortment__flat-table .flat__item:last-child {
        border-bottom: none;
    }

    .assortment__flat-table .swiper-slide:first-child {
        z-index: -1;
        border-top: none;
        border-bottom: 1px solid var(--background-block);
    }

    .page__header-white.page__header-wrapper--closed {
        border-bottom: 1px solid var(--background-block);
    }
}
