.property-column {
    max-width: 1064px;
}

.property-features-item {
    min-width: 167px;
}

@media (min-width: 769px) {
    .property-detail .property-features-desktop {
        display: grid !important;
        grid-template-columns: repeat(5, max-content);
        align-items: center;
        gap: 10px 27px;
    }

    .property-features-row {
        display: contents;
    }
}

.property-gallery-image {
    object-fit: cover;
}

.property-notice {
    padding: 24px;
    background: #fff;
    border-radius: 14px;
    font-size: 16px;
    color: #000;
}

.property-notice--form {
    max-width: 357px;
    padding: 14px 20px;
    margin: 0 0 14px auto;
    color: #b3261e;
}

.property-lead {
    max-width: 357px;
    margin-left: auto;
    padding: 24px 30px 20px;
}

.property-lead__title {
    margin-bottom: 16px;
}

.property-lead__fields {
    gap: 13px;
}

.property-lead__send {
    margin-top: 47px;
}

.property-amenities {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    gap: 40px 0;
    padding-left: 16px;
}

.property-amenity {
    align-items: center;
    min-width: 77px;
}

.property-amenity__line {
    width: 56px;
    height: 77px;
    padding: 10px 0;
}

.property-location {
    margin-top: 12px;
}

.gallery-count,
.gallery-strip,
.breadcrumb-district,
.property-place__pin,
.property-place--phone,
.property-map-place {
    display: none;
}

.listing-price-bar {
    display: none;
}

@media (max-width: 768px) {
    .property-detail {
        display: flex;
        flex-direction: column;
    }

    .property-detail > .row {
        display: contents;
    }

    .property-detail > .row > .col-sm-8 {
        margin-top: 26px;
    }

    .property-detail .property-detail-form {
        order: 1;
        margin-top: 36px;
    }

    .property-detail .property-detail-amenities {
        gap: 18px !important;
        margin-top: 34px !important;
    }

    .property-detail .property-detail-amenities h2,
    .property-detail .property-detail-location h2 {
        font-size: 32px !important;
    }

    .property-detail .property-amenities {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px 6px;
        padding-left: 0;
    }

    .property-detail .property-amenity {
        min-width: 0;
        height: auto !important;
        gap: 8px;
    }

    .property-detail .property-amenity img {
        width: 38px;
        height: 38px !important;
        padding: 0;
    }

    .property-detail .property-amenity span {
        font-size: 10px !important;
        color: #4d4d4d;
    }

    .property-detail .property-detail-location {
        gap: 18px !important;
        margin-top: 34px !important;
    }

    .property-detail .property-detail-location #map {
        height: auto !important;
        aspect-ratio: 350 / 200;
    }

    .property-detail .property-map-place {
        display: block;
    }

    .property-detail .property-detail-message {
        margin-top: 20px;
    }

    .property-detail .property-detail-message hr {
        display: none;
    }

    .property-detail .property-detail-message p {
        font-size: 14px !important;
        line-height: 18px;
        color: #808080 !important;
    }

    .property-detail-details-list > dl + dl {
        margin-top: 16px;
    }

    .property-lead,
    .property-notice--form {
        max-width: none;
    }

    .property-detail .property-detail-carousel .row {
        margin-right: 0;
        margin-left: 0;
    }

    .property-detail > .row > .col-sm-8 {
        padding-right: 20px;
        padding-left: 20px;
    }

    .property-detail .property-description {
        padding-right: 0 !important;
    }

    .property-detail .property-detail-form {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .property-detail .property-detail-location {
        padding: 0 20px;
    }

    .property-detail .property-features-mobile {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 20px 0;
    }

    .property-feature {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
    }

    .property-feature img {
        flex: none;
        width: 18px;
        height: 18px;
    }

    .property-detail .breadcrumb-property-detail {
        display: flex !important;
        align-items: center;
        padding: 15px 20px;
    }

    .property-detail .breadcrumb-property-detail img {
        width: 18px;
    }

    .property-detail .breadcrumb-property-detail a span {
        font-size: 14px;
    }

    .property-detail .breadcrumb-path-info {
        display: flex !important;
    }

    .property-detail .breadcrumb-path-info .breadcrumb-item {
        font-size: 13px !important;
        color: #808080 !important;
    }

    .property-detail .breadcrumb-district {
        display: list-item;
    }

    .property-detail .breadcrumb-district + .breadcrumb-title {
        display: none;
    }

    .property-detail .carousel-back-button-mobile {
        display: none !important;
    }

    .property-detail .property-detail-carousel {
        margin-top: 0 !important;
    }

    .property-detail .property-detail-carousel .images-main {
        height: auto !important;
        aspect-ratio: 390 / 280;
        padding: 0;
    }

    .property-detail .property-detail-carousel .images-main img {
        height: 100%;
        object-fit: cover;
    }

    .property-detail .images-main a > .position-absolute {
        left: 14px !important;
        bottom: 14px !important;
        height: 30px;
        padding: 0 14px !important;
        gap: 10px !important;
    }

    .property-detail .images-main a > .position-absolute img {
        width: 18px !important;
        height: 18px !important;
    }

    .property-detail .gallery-count {
        position: absolute;
        top: 14px;
        right: 14px;
        display: block;
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.55);
        color: #fff;
        font-family: Helvetica, sans-serif;
        font-size: 13px;
    }

    .property-detail .gallery-strip {
        display: flex;
        gap: 8px;
        margin-top: 8px;
        padding: 0 20px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .gallery-strip::-webkit-scrollbar {
        display: none;
    }

    .gallery-strip__thumb,
    .gallery-strip__more {
        flex: none;
        width: 80px;
        height: 56px;
        padding: 0;
        border: 0;
        border-radius: 4px;
        overflow: hidden;
    }

    .gallery-strip__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-strip__more {
        display: grid;
        place-items: center;
        background: #3a3a3a;
        color: #fff;
        font-family: Helvetica, sans-serif;
        font-size: 15px;
    }

    .property-detail .property-detail-name {
        margin-bottom: 14px !important;
        font-size: 32px !important;
        line-height: 1 !important;
        height: auto !important;
    }

    .property-detail .property-place {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 0;
        margin-bottom: 12px !important;
        color: #808080 !important;
        font-size: 15px !important;
    }

    .property-detail .property-place__pin {
        display: block;
    }

    .listing-price-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin: 28px -20px 0;
        padding: 16px 20px;
        background: #fff;
    }

    .listing-price-bar__label {
        color: #808080;
        font-size: 14px;
    }

    .listing-price-bar__value {
        font-size: 19px;
    }

    .listing-price-bar__button {
        min-height: 44px;
        padding: 8px 28px;
    }
}

.property-detail {
    background-color: #F9F7F5 !important;
}

.property-lead input,
.property-lead select {
    color: #000000 !important;
}

.property-lead input::placeholder,
.property-lead__select:invalid {
    color: #808080 !important;
}

.property-lead__select {
    padding: 1px 0;
    background: transparent;
}

.property-detail-other-properties .related-card {
    min-width: 0;
}

.property-detail-other-properties .carousel {
    overflow: hidden;
    border-radius: 4px;
    background: #D9D9D9;
}

@media (max-width: 1320px) {
    .property-detail-other-properties {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .property-detail-other-properties h3 {
        font-size: 56px !important;
    }
}
