@media all {
    .citrus-sf:not(._open) .citrus-sf-more {
        display: block;
    }

    .filter-more-link {
        display: none;
    }

    .line-sections {
        display: none;
    }

    /*Квартиры*/
    ._apartments .citrus-sf__fields-block > .row {
        display: flex;
        flex-wrap: wrap;
    }

    ._apartments .col-lg-4:nth-child(1) {
        order: 4;
    }

    ._apartments .col-lg-4:nth-child(2) {
        order: 5;
    }

    ._apartments .col-lg-4:nth-child(3) {
        order: 6;
    }

    ._apartments .col-lg-4:nth-child(4) {
        order: 1;
    }

    ._apartments .col-lg-4:nth-child(5) {
        order: 2;
    }

    ._apartments .col-lg-4:nth-child(6) {
        order: 3;
    }

    /*Дома*/
    ._houses .citrus-sf__fields-block > .row {
        display: flex;
        flex-wrap: wrap;
    }

    ._houses .col-lg-4:nth-child(1) {
        order: 5;
    }

    ._houses .col-lg-4:nth-child(2) {
        order: 1;
    }

    ._houses .col-lg-4:nth-child(3) {
        order: 3;
    }

    ._houses .col-lg-4:nth-child(4) {
        order: 2;
    }

    ._houses .col-lg-4:nth-child(5) {
        order: 4;
    }

    ._houses .col-lg-4:nth-child(6) {
        order: 6;
    }

    /*Коммерческая недвижимость*/
    ._estate .citrus-sf__fields-block > .row {
        display: flex;
        flex-wrap: wrap;
    }

    ._estate .col-lg-4:nth-child(1) {
        order: 4;
    }

    ._estate .col-lg-4:nth-child(2) {
        order: 5;
    }

    ._estate .col-lg-4:nth-child(3) {
        order: 1;
    }

    ._estate .col-lg-4:nth-child(4) {
        order: 3;
    }

    ._estate .col-lg-4:nth-child(5) {
        order: 2;
    }

    ._estate .col-lg-4:nth-child(6) {
        /*order: 6;*/
    }

    /*Аренда*/
    ._rent .citrus-sf__fields-block > .row {
        display: flex;
        flex-wrap: wrap;
    }

    ._rent .col-lg-4:nth-child(1) {
        order: 1;
    }

    ._rent .col-lg-4:nth-child(2) {
        order: 2;
    }

    ._rent .col-lg-4:nth-child(3) {
        order: 3;
    }

    ._rent .col-lg-4:nth-child(4) {
        order: 4;
    }

    ._rent .col-lg-4:nth-child(5) {
        order: 5;
    }

    ._rent .col-lg-4:nth-child(6) {
        order: 6;
    }

    #set_filter {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 30px;
        width: auto;
        height: 40px;
        font-family: "Manrope", sans-serif;
        font-weight: 400;
        font-size: 13px;
        line-height: 123%;
        text-align: center;
        color: #fff;
        text-decoration: none;
        border-radius: 4px;
        background: var(--dark-blue);
        border: none;
        transition: color .3s, background-color .3s;
        cursor: pointer;
    }

    #set_filter:hover,
    #set_filter:focus,
    #set_filter:active {
        background-color: var(--light-blue);
    }

    #modef_num {
        font-size: 13px;
        color: var(--dark-blue);
        transition: color .3s, background-color .3s;
    }

    #set_filter:hover #modef_num,
    #set_filter:focus #modef_num,
    #set_filter:active #modef_num {
        color: #fff;
        background-color: transparent;
    }

    .catalog-card {
        position: relative;
        box-shadow: 0 0 0 0 transparent;
        background: #fff;
        border-radius: 20px;
        transition: box-shadow .3s;
    }

    .catalog-card:hover {
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .15);
    }

    ._item-list .catalog-card {
        display: flex;
        padding: 20px;
        width: 100%;
    }

    .catalog-card__image-w {
        position: relative
    }

    ._item-list .catalog-card__image-w {
        max-width: 225px;
        width: 100%;
    }

    .catalog-card__image {
        display: block;
        height: 340px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 20px 20px 0 0;
    }

    ._item-list .catalog-card__image {
        height: 225px;
        border-radius: 20px;
    }

    .catalog-card__body {
        padding: 22px 20px;
        width: 100%;
    }

    ._item-list .catalog-card__body {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        width: 100%;
    }

    .catalog-card__block {
        width: 100%;
    }

    ._item-list .catalog-card__block {
        max-width: 330px;
    }

    .catalog-card__hidden-content {
        display: none;
    }

    ._item-list .catalog-card__hidden-content {
        display: block;
        width: 100%;
    }

    .catalog-card__name.h3 {
        display: block;
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 16px;
        color: var(--dark-blue);
        margin-bottom: 14px;
        text-decoration: none;
        text-transform: none;
        transition: .2s ease-out
    }

    .catalog-card:hover .catalog-card__name.h3 {
        color: var(--dark-blue);
    }

    .catalog-card__address {
        transition: .2s ease-in-out
    }

    .catalog-card:hover .catalog-card__address {
        min-height: 0 !important
    }

    .catalog-card__address .map-link {
        text-decoration: none;
        display: inline-block;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.4;
        max-height: 36px;
        overflow: hidden;
        padding-left: 15px;
        transition: .2s ease-out
    }

    .catalog-card:hover .catalog-card__address .map-link {
        max-height: 1000px !important;
        transition: .2s ease-in
    }

    .catalog-card__address .map-link__icon {
        position: absolute;
        margin-top: 2px;
        margin-left: -15px
    }

    .catalog-card__date {
        font-size: 13px;
        color: #888
    }

    .catalog-card__properties {
        font-size: 13px;
        color: #333;
        margin: 10px 0 12px
    }

    .catalog-card__property {
        display: flex;
        justify-content: space-between
    }

    .catalog-card__property + .catalog-card__property {
        margin-top: 11px
    }

    .catalog-card__property-name {
        margin-right: 3px
    }

    .catalog-card__property-value {
        color: #888
    }

    .catalog-card__footer {
        color: #333;
        max-height: 59px;
        padding: 14px 0 0 0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px 18px;
        text-decoration: none;
        border-top: 1px solid #e0dfe4;
        margin-top: 12px
    }

    .catalog-card__price {
        display: block;
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 24px;
        line-height: 108%;
        color: var(--dark-blue);
        max-width: 100%;
    }

    .catalog-card__coast-square {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 14px;
        line-height: 140%;
        color: rgba(29, 46, 74, 0.7);
    }

    .catalog-card__favorite-link {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f5f5f5;
        border-radius: 10px;
    }

    ._item-list .catalog-card__favorite-link {
        top: 25px;
        left: 25px;
    }

    .catalog-card__favorite-link svg {
        fill: #D1C0AC;
        transition: fill .3s;
    }

    .catalog-card__favorite-link:hover svg,
    .catalog-card__favorite-link:focus svg,
    .catalog-card__favorite-link:active svg,
    .catalog-card__favorite-link.added svg {
        fill: #2a3c64;
    }

    .catalog-card__footer-icon {
        margin-left: 5px;
        font-size: 34px;
        color: #ccc
    }

    body .section._with-padding .section-inner {
        padding-top: 0;
    }

    body .sorting-item._selected {
        color: var(--blue);
    }

    body .favorite-button-group .js-citrus-fav-print {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0 30px;
        width: auto;
        height: 40px;
        font-family: "Manrope", sans-serif;
        font-weight: 400;
        font-size: 13px;
        line-height: 123%;
        text-align: center;
        color: #fff;
        text-decoration: none;
        border-radius: 10px;
        background: var(--blue);
        border: none;
        transition: color .3s, background-color .3s;
        cursor: pointer;
    }

    body .favorite-button-group > a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0 30px;
        width: auto;
        height: 40px;
        font-family: "Manrope", sans-serif;
        font-weight: 400;
        font-size: 13px;
        line-height: 123%;
        text-align: center;
        color: var(--blue);
        text-decoration: none;
        border-radius: 10px;
        border: 1px solid var(--blue);
        transition: color .3s, border-color .3s;
        cursor: pointer;
    }

    body .favorite-button-group > a:hover,
    body .favorite-button-group > a:focus,
    body .favorite-button-group > a:active {
        color: var(--light-blue);
        border-color: var(--light-blue);
    }

    .views-btn {
        transition: color .3s;
    }

    .views-btn.is-active {
        color: var(--blue);
    }

}

@media (max-width: 992px) {
    ._item-list .catalog-card__block {
        max-width: 270px;
    }
}

@media (max-width: 768px) {
    ._item-list .catalog-card__hidden-content {
        display: none;
    }

    ._item-list .catalog-card__body {
        flex-direction: column;
        padding: 0 20px;
    }

    ._item-list .catalog-card__name.h3 {
        text-align: start;
    }

    ._item-list .catalog-card__block {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .catalog-card__name.h3 {
        text-align: left
    }
}

@media (max-width: 480px) {
    ._item-list .catalog-card {
        flex-wrap: wrap;
        padding: 10px;
    }

    ._item-list .catalog-card__body {
        padding: 20px 0;
    }

    ._item-list .catalog-card__image-w {
        max-width: 100%;
    }

    ._item-list .catalog-card__image {
        height: 260px;
    }
}