@media all {
    body .section._with-padding .section-inner {
        margin-bottom: 120px;
        padding-top: 0;
        padding-bottom: 0;
    }

    body .page-title-blue {
        margin-bottom: 40px;
    }

    body .calculator-mortgages-title {
        margin-bottom: 39px;
        font-family: var(--second-family);
        font-weight: 500;
        font-size: 35px;
        line-height: 110%;
        letter-spacing: 0.01em;
        text-transform: uppercase;
        color: var(--dark-blue);
        text-align: start;
    }

    .object-info {
        padding: 25px;
        border-radius: 20px;
        background-color: #fff;
    }

    .object-info .h4 {
        font-family: "Open Sans", sans-serif;
        text-transform: uppercase;
    }

    .object-info .object-info_footer {
        display: flex;
    }

    .object-info .btn-primary {
        width: auto;
        font-size: 16px;
    }

    .object-footer {
        margin: 30px 0 -15px 0;
        font-size: 0;
    }

    .object-footer .btn {
        margin: 0 15px 15px 0;
    }

    .object-text {
        margin-top: 30px;
    }

    .object-address {
        margin-bottom: 15px;
        font-size: 15px;
    }

    .object-option.dl-menu .dl_element a {
        text-decoration: none;
        color: var(--primary-color);
        border-bottom: 1px solid var(--primary-color);
        display: inline-block;
        margin-bottom: -1px;
    }

    .object-option.dl-menu .dl_element a:hover {
        color: var(--hover-color);
        border-bottom: 1px solid var(--hover-color);
    }

    .object-price_new {
        display: inline-block;
        font-family: var(--second-family);
        font-weight: 600;
        font-size: 24px;
        line-height: 120%;
        color: var(--dark-blue);
    }

    .object-price_new span {
        font-family: var(--second-family);
        font-weight: 600;
        font-size: 24px;
        line-height: 120%;
        color: var(--dark-blue);
        white-space: nowrap;
    }

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

    .object-price_new span.btn-icon {
        font-size: 30px;
        vertical-align: -10px;
    }

    .object-option.dl-menu .dl_element {
        display: flex;
    }

    .object-gallery {
        position: relative;
    }

    .object-gallery-previews {
        position: relative;
    }

    .object-gallery-previews figure {
        background-color: #f3f1ec;
        -webkit-transition: .3s;
        -moz-transition: .3s;
        -ms-transition: .3s;
        -o-transition: .3s;
        transition: .3s;
        display: none;
        opacity: 0;
    }

    .object-gallery-previews figure.is-active {
        display: block;
        margin: 0;
        opacity: 1;
    }

    .object-gallery-previews figcaption {
        display: none;
    }

    .object-gallery-previews .embed-responsive-item {
        object-fit: cover;
    }

    .object-gallery-thumbs a.gallery-thumbs img {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        left: 0;
        right: 0;
        max-height: 90%;
        max-width: 90%;
    }

    .object-gallery-thumbs {
        position: relative;
        margin-top: 10px;
    }

    .object-gallery-thumbs a.gallery-thumbs {
        display: block;
        padding-bottom: 56.25%;
        overflow: hidden;
        position: relative;
        background-color: #f3f1ec;
        border: 2px solid transparent;
        margin-bottom: 15px;
    }

    .object-gallery-thumbs .swiper-slide {
        width: 33.3333333%;
    }

    .object-gallery-thumbs .swiper-container-horizontal > .swiper-scrollbar {
        left: 0;
        width: 100%;
    }

    .image-actions {
        position: relative;
        padding: 16px;
        background-color: #f5f5f5;
        display: flex;
        justify-content: space-evenly;
        margin-bottom: 5px;
    }

    .image-actions__link {
        margin: 0 20px 20px auto;
        width: max-content;
    }

    .add2favourites {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: #fff;
        border-radius: 10px;
    }

    .product-slider {
        position: relative;
        margin-bottom: 29px;
        width: 100%;
    }

    .product-slider-pagination {
        position: absolute;
        right: 25px;
        bottom: 28px;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        min-width: 47px;
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 15px;
        line-height: 140%;
        text-align: center;
        color: #fff;
        background: rgba(29, 46, 74, 0.7);
        border-radius: 10px;
    }

    .product-slider-navigation {
        position: absolute;
        left: 20px;
        bottom: 28px;
        z-index: 2;
        display: flex;
        gap: 15px;
    }

    .product-slider-button {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0.56px solid #5582C5;
        width: 31px;
        height: 31px;
        border-radius: 50%;
        background: #fff;
        transition: opacity .3s;
    }

    .product-slider-button.swiper-button-disabled {
        opacity: .5;
    }

    .product-slider .product-slider-slide {
        height: 410px;
    }

    .product-slider-slide a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .product-slider-slide img {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 20px;
        object-fit: cover;
    }

    .product-slider-control .product-slider-control-slide {
        height: 95px;
        border-radius: 10px;
    }

    .product-slider-control .product-slider-control-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .object-from {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
        padding: 16px 12px;
        width: 295px;
        height: 56px;
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 16px;
        line-height: 140%;
        color: var(--dark-blue);
        text-decoration: none;
        border-radius: 20px;
        background: #f6f6f6;
        transition: color .3s;
    }

    .object-desc-more {
        position: relative;
        display: none;
        margin-top: 20px;
        padding: 0;
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 16px;
        line-height: 140%;
        color: #5582c5;
        background-color: transparent;
        border: none;
        transition: color .5s;
    }

    .object-desc-more:hover,
    .object-desc-more:focus,
    .object-desc-more:active {
        color: #2a3c64;
    }

    .object-desc-more.visible {
        display: block;
    }

    .object-desc-more svg {
        stroke: #5582C5;
        transition: stroke .3s, transform .3s;
    }

    .object-desc-more:hover svg,
    .object-desc-more:focus svg,
    .object-desc-more:active svg {
        stroke: #2a3c64;
    }

    .object-desc-text.expanded + .object-desc-more svg {
        transform: rotate(180deg);
    }

    .object-option-top {
        display: flex;
        gap: 20px;
    }

    .object-option-name {
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 25px;
        line-height: 110%;
        letter-spacing: 0.02em;
        color: var(--dark-blue);
        text-align: start;
    }

    .object-option-price {
        display: flex;
        flex-direction: column;
    }

    .object-desc {
        width: 100%;
    }

    .object-desc-title {
        margin-bottom: 6px;
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 18px;
        line-height: 140%;
        color: var(--dark-blue);
        text-align: start;
    }

    .object-desc-text,
    .object-desc-text p {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 14px;
        line-height: 120%;
        color: rgba(29, 46, 74, 0.7);
    }

    .object-desc-text {
        max-height: 50px;
        transition: max-height .3s;
        overflow: hidden;
    }

    .object-desc-text.expanded {
        max-height: 5000px;
    }

    .product_manager {
        display: flex;
        align-items: center;
        padding: 14px;
        background: #f6f6f6;
        border-radius: 20px;
    }

    .product_manager-image {
        display: block;
        margin-right: 18px;
        width: 77px;
        height: 57px;
        border-radius: 15px;
    }

    .product_manager-image img {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 15px;
        object-fit: cover;
        object-position: top;
    }

    .product-manager-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-right: 10px;
    }

    .product-manager-name {
        margin: 0;
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 24px;
        line-height: 120%;
        color: var(--dark-blue);
    }

    .product-manager-position {
        margin: 0;
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 16px;
        color: rgba(29, 46, 74, 0.7);
    }

    .product-manager-link {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 22px;
        width: 100%;
        max-width: 238px;
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 16px;
        color: var(--dark-blue);
        text-decoration: none;
        border-radius: 10px;
        background: #fff;
        transition: color .3s, background-color .3s;
    }

    .product-manager-link:hover,
    .product-manager-link:focus,
    .product-manager-link:active {
        color: #ffffff;
        background-color: #5582C5;
    }

    .object-block {
        margin-bottom: 39px;
    }

    .product-center {
        display: flex;
        gap: 30px;
        width: 100%;
    }

    .product-center-block {
        width: 50%;
        height: 100%;
    }

    .product-center-block-title {
        margin: 0;
        padding: 8px 22px;
        width: max-content;
        max-width: 100%;
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 18px;
        line-height: 140%;
        color: var(--dark-blue);
        background-color: #fff;
        border-radius: 20px 20px 0 0;
    }

    .product-center-block-wrapper {
        border-radius: 0 20px 20px 20px;
        background-color: #fff;
    }

    .product-attributes {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 50px;
        padding: 50px 19px;
    }

    .product-center-block-attribute {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        width: calc((100% - 50px) / 2);
        height: max-content;
    }

    .product-center-block-attribute span:first-child {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 14px;
        line-height: 140%;
        color: rgba(29, 46, 74, 0.7);
    }

    .product-center-block-attribute span:last-child {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 14px;
        line-height: 140%;
        color: var(--dark-blue);
    }

    .product-center-block-map {
        width: 100%;
    }

    #map {
        width: 100%;
    }

    #map > * {
        border-radius: 20px;
        overflow: hidden;
    }

    .image-actions__link-icon {
        display: flex;
        font-size: 24px;
    }

    .image-actions__link-text {
        margin-left: 14px;
        text-decoration: underline;
    }

    .personal_manager_link,
    .mortgage_link {
        display: inline-flex;
        align-items: center;
        margin-left: 28px;
        height: 60px;
        vertical-align: middle;
        font-size: 14px;
        text-decoration: none;
    }

    .personal_manager_link i,
    .mortgage_link i {
        font-size: 40px;
    }

    .personal_manager_link .btn-label,
    .mortgage_link .btn-label {
        margin-left: 8px;
        text-decoration: underline;
    }

    .desc_complex .section__content .section__content_img {
        flex-shrink: 0;
        margin-right: 50px;
    }

    .desc_complex .section__content .title {
        font-size: 35px;
        font-weight: 300;
        font-family: 'Merriweather', serif;
    }

    .desc_complex .section__content {
        display: flex;
    }

    .desc_complex .section__content p + ul {
        margin-top: -15px;
    }

    .desc_complex .section__content .btn_block {
        margin-top: 40px;
    }

    .share-social {
        position: relative;
    }

    .share-social__popup {
        position: absolute;
        top: 55px;
        display: none;
        min-width: 250px;
        padding: 10px 20px;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .js-popup.js-popup_open .share-social__popup {
        display: block;
    }

    .share-social__popup:before {
        content: '';
        position: absolute;
        top: -20px;
        left: calc(50% - 10px);
        border: 10px solid transparent;
        border-bottom: 10px solid #fff;
    }

    .share-social__link {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .share-social__title {
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .share-social__social-component {
        margin-bottom: 20px;
    }

    .share-social__print-link {
        font-size: 13px;
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    .share-social__link-icon {
        font-size: 18px;
    }

    .share-social__link-text {
        margin-left: 10px;
        text-decoration: underline;
    }

    .js-popup__close {
        position: absolute;
        right: 3px;
        top: 3px;
        width: 30px;
        height: 30px;
        padding: 0;
        font-size: 30px;
        line-height: 30px;
        background-color: transparent;
        border: none;
        color: #999;
        transform: rotate(45deg);
    }

    .share-social__icon {
        width: 25px;
        min-width: 25px;
        height: 25px;
        fill: var(--primary-color);
    }

    .embed-responsive-item.print {
        display: none;
    }

    .product-slider-slide a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .product-slider-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .product-center-block-map {
        height: 250px;
    }

    .share-social__link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
    }

    .section-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 120px;
        width: 100%;
    }

    .section-top .section__header {
        margin-bottom: 0;
    }

    footer.section-footer {
        margin: 0 66px 0 auto;
    }

    footer.section-footer-mobile {
        display: none;
    }

    footer.section-footer a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 44px;
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 15px;
        line-height: 160%;
        letter-spacing: -0.02em;
        color: #fff;
        border-radius: 10px;
        background: var(--dark-blue);
        border: 1px solid var(--dark-blue);
        transition: background-color .3s, color .3s;
    }

    footer.section-footer a:hover,
    footer.section-footer a:focus,
    footer.section-footer a:active {
        color: var(--dark-blue);
        background-color: transparent;
    }

    .swiper-control-offers {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .swiper-control-offers .swiper-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1.20px solid var(--dark-blue);
        border-radius: 50%;
        transition: background-color .3s, opacity .3s;
        background-color: transparent;
        cursor: pointer;
    }

    .swiper-control-offers .swiper-button.swiper-button-disabled {
        opacity: .5;
        pointer-events: none;
    }

    .swiper-control-offers .swiper-button:hover,
    .swiper-control-offers .swiper-button:focus,
    .swiper-control-offers .swiper-button:active {
        background-color: var(--dark-blue);
    }

    .swiper-control-offers .swiper-button svg {
        stroke: var(--dark-blue);
    }

    .swiper-control-offers .swiper-button:hover svg,
    .swiper-control-offers .swiper-button:focus svg,
    .swiper-control-offers .swiper-button:active svg {
        stroke: #fff;
    }

    .section__content ._nav-offset--small .swiper-container {
        width: 100%;
    }

    .section__content ._nav-offset .swiper-container {
        height: auto;
    }

    .section__content .offers-pagination {
        display: none;
    }
}

@media screen and (max-width: 1279px) {
    .product-manager-link {
        max-width: 196px;
    }

    .product-manager-name {
        font-size: 18px;
    }

    .object-option.dl-menu dd, .object-option.dl-menu dt, .object-address {
        /*font-size: 14px;*/
    }

    .object-price_new span, .object-price_new span.btn-icon, .object-price_new span.btn-label {
        font-size: 20px;
    }

    .object-text {
        margin-top: 15px;
        font-size: 14px;
    }

    .image-actions__link {
        flex-direction: column;
        justify-content: flex-start;
    }

    .image-actions__link-text {
        margin-left: 0;
    }

    .share-social__link {
        flex-direction: column;
        justify-content: flex-start;
    }

    .share-social__popup {
        position: absolute;
        top: 70px;
    }

    .calculator-mortgages-title {
        font-size: 30px;
    }
}

@media screen and (max-width: 1023px) {
    body .section._with-padding .section-inner {
        margin-bottom: 50px;
    }

    .product_manager {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 20px;
    }

    .product-manager-link {
        margin: 0;
    }

    .section-top {
        margin-top: 50px;
    }

    .object-option-name {
        font-size: 20px;
    }

    .desc_complex .section__content {
        flex-direction: column;
    }

    .desc_complex .section__content .section__content_img {
        text-align: center;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .desc_complex .section__content .btn_block {
        text-align: center;
    }

    .image-actions__link {
        justify-content: center;
    }

    .image-actions__link-text {
        display: none;
    }

    .image-actions__link-icon {
        font-size: 30px;
    }

    .object-info {
        padding: 20px 10px;
    }

    .share-social__popup {
        top: 55px;
    }
}

@media screen and (max-width: 767px) {
    .object-option.dl-menu dd, .object-option.dl-menu dt {
        width: 50%;
    }

    .product-center {
        flex-wrap: wrap;
    }

    .product-center-block {
        width: 100%;
    }

    footer.section-footer-desktop {
        display: none;
    }

    footer.section-footer-mobile {
        display: flex;
        justify-content: center;
        margin: 40px auto 0 auto;
    }

    .section__content .offers-pagination {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-top: 20px;
    }

    .section__content .offers-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background-color: var(--dark-blue);
        border-radius: 50%;
        transition: width .3s, background-color .3s;
    }

    .section__content .offers-pagination .swiper-pagination-bullet-active {
        width: 21px;
        border-radius: 25px;
        background: var(--light-blue);
    }
}

@media screen and (max-width: 650px) {
    .share-social__popup {
        right: calc(50% - 37px);
    }

    .share-social__popup:before {
        left: auto;
        right: 27px;
    }

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

@media screen and (max-width: 576px) {
    .object-option-name {
        margin: 0;
        font-size: 18px;
    }

    .object-price_new span, .object-price_new span.btn-icon, .object-price_new span.btn-label {
        font-size: 24px;
    }

    .object-from {
        margin-bottom: 40px;
        border-radius: 10px;
    }

    .product-manager-position {
        font-size: 14px;
    }

    .product-center-block-title {
        text-transform: none;
    }

    .object-option-top {
        flex-direction: column;
        margin-bottom: 20px;
    }

    @media (max-width: 576px) {
        .calculator-mortgages-title {
            font-size: 24px;
            margin-bottom: 20px;
        }
    }
}

@media screen and (max-width: 479px) {
    .personal_manager_link,
    .mortgage_link {
        margin-left: 20px;
        height: 50px;
    }

    .object-footer .btn {
        margin: 0 0 15px;
        float: left;
        width: auto;
        clear: left;
    }

    .object-footer {
        overflow: hidden;
    }

    .object-footer .btn {
        width: 100%;
    }

    .image-actions {
        padding: 10px 0;
    }

    .share-social {
        position: static;
    }

    .share-social__popup {
        left: 0;
        right: 0;
    }

    .share-social__popup:before {
        display: none;
    }

    .swiper-control-offers {
        display: none;
    }

    .object-block:first-child {
        margin-bottom: 0;
    }

    .product-slider-control {
        display: none !important;
    }

    .product-slider-navigation {
        display: none;
    }

    .product-center-block-attribute {
        width: 100%;
    }
}

@media screen and (max-width: 360px) {
    .object-info .object-info_footer {
        flex-direction: column;
        align-items: center;
    }

    .personal_manager_link,
    .mortgage_link {
        margin-left: 0;
        margin-top: 15px;
    }

    .object-gallery-thumbs .swiper-slide {
        width: 50%;
    }
}

@media print {
    @page {
        margin: 1cm;
    }

    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .section__border-top,
    .main-menu-line .jk-menu-w,
    .main-menu-line,
    .btn {
        display: none !important;
    }

    .embed-responsive-item.print {
        display: block !important;
    }

    .h__top._fixed {
        position: static !important;
        margin-bottom: 20px;
    }

    .section-description {
        line-height: 30px;
    }

    .section._with-padding .section-inner {
        padding-top: 0 !important;
        padding-bottom: 30px !important;
    }

    .object-option.dl-menu {
        columns: 2;
    }

    .object-option.dl-menu span:first-child {
        white-space: nowrap;
    }

    .object-info,
    .page-break-inside {
        page-break-inside: avoid;
    }

    .bx-firefox .section__content .row {
        display: block !important;
    }

    .desc_complex .section__content {
        display: block;
    }

    .desc_complex .section__content .section__content_img {
        text-align: center;
    }

    .section__content_text {
        font: 15px/1.5 Tahoma, serif !important;
        margin-top: 15px;
    }

    .catalog-slider.p__swiper .swiper-slide.catalog-slider__item {
        width: calc(50% - 15px) !important;
    }

    iframe {
        max-width: 100%;
    }

    .manager-row {
        box-shadow: none !important;
    }
}
