.ie-mobile-added,
.ie-total-building-floors {
    display: none;
}

@media (max-width: 991.98px) {
    .single-property .mobile-property-contact {
        border-top: 2px solid #b58f54;
        background: #fff;
        padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -5px 20px #14284920;
        color: #152849;
        font: 600 .86rem/1.25 system-ui, sans-serif;
    }

    .single-property .mobile-property-contact > .d-flex { gap: .35rem; align-items: center; }
    .single-property .mobile-property-contact .agent-details { min-width: 0; }
    .single-property .mobile-property-contact .agent-details .d-flex { gap: .45rem !important; }
    .single-property .mobile-property-contact .agent-image { flex: 0 0 auto; }
    .single-property .mobile-property-contact .agent-image img { width: 40px; height: 40px; object-fit: cover; }
    .single-property .mobile-property-contact .agent-name { overflow-wrap: anywhere; }
    .single-property .mobile-property-contact .btn {
        flex: 0 0 44px;
        display: grid;
        place-items: center;
        width: 44px;
        min-height: 44px;
        padding: 0;
        margin: 0;
        border-radius: 9px;
        background: #edf2f8;
        border-color: #d8e2ed;
        color: #152849;
    }
    .single-property .mobile-property-contact [data-bs-target="#mobile-property-form"] {
        background: #152849;
        color: #fff;
        border-color: #152849;
    }
    .single-property .mobile-property-contact :is(a[href*="whatsapp.com"], a[href*="wa.me"]) {
        background: #dcefe4;
        border-color: #b4d5c3;
        color: #205e45;
    }
}

@media (max-width: 767.98px) {
    .single-property {
        --ie-property-ink: #152849;
        --ie-property-muted: #506078;
        --ie-property-border: #e0e6ed;
        --ie-property-sand: #f6ecd8;
        --ie-property-gold-line: #dfc99f;
        --ie-property-gold-ink: #624820;
        --ie-property-card-blue: #e0eaf8;
        --ie-property-card-blue-border: #a4b8d4;
        --ie-property-icon-blue: #cdddf2;
        --ie-property-icon-gold: #ebd7b0;
    }

    .single-property .ie-mobile-added { display: revert; }
    .single-property .ie-total-building-floors { display: block; }

    .single-property .property-wrap {
        background: #f6f8fb;
        color: var(--ie-property-ink);
    }
    .single-property .property-wrap .property-view > .property-section-wrap {
        scroll-margin-top: 5.5rem;
        margin-block: 0 1rem;
    }
    .single-property .property-view > .property-section-wrap > .block-wrap {
        border: 1px solid var(--ie-property-border);
        border-radius: 14px;
        padding: 1rem;
        background: #fff;
    }
    .single-property .property-wrap :is(.block-title-wrap > h2, .sch-title) {
        color: var(--ie-property-ink);
        font: 700 1.16rem/1.25 system-ui, sans-serif;
    }
    .single-property .property-view .mobile-property-title.block-wrap {
        display: flex;
        flex-direction: column;
        gap: .35rem;
        padding: .725rem 0 .35rem !important;
        margin: 0;
        background: transparent;
    }
    .single-property .mobile-property-title > .page-title { order: -2; margin: 0 !important; }
    .single-property .mobile-property-title .page-title-mobile {
        margin: 0;
        color: var(--ie-property-ink);
        font: 750 clamp(1.35rem, 5.3vw, 1.65rem)/1.17 system-ui, sans-serif;
        overflow-wrap: anywhere;
    }
    .single-property :is(.mobile-property-title, .ie-summary-metadata) > .item-address {
        order: -1;
        margin: 0 !important;
        color: var(--ie-property-muted);
        font: 500 .81rem/1.3 system-ui, sans-serif;
    }
    .single-property :is(.mobile-property-title, .ie-summary-metadata) > .d-flex:has(.property-labels-wrap) { margin: 0 !important; }
    .single-property :is(.mobile-property-title, .ie-summary-metadata) .property-labels-wrap { flex-wrap: wrap; }
    .single-property :is(.mobile-top-wrap, .ie-summary-metadata) :is(.label, .hz-label) {
        white-space: normal;
        border-radius: 5px;
        padding: .24rem .42rem;
        background: #eaf0f7;
        color: var(--ie-property-ink);
        font: 650 .65rem/1.15 system-ui, sans-serif;
    }
    .single-property :is(.mobile-top-wrap, .ie-summary-metadata) :is(.label-status, [href*="/status/"]):first-child {
        background: var(--ie-property-sand);
        color: var(--ie-property-gold-ink);
    }
    .single-property .property-view .mobile-top-wrap {
        display: flex;
        flex-direction: column;
        gap: .15rem;
    }
    .single-property :is(.mobile-top-wrap, .ie-summary-metadata) .mobile-property-tools.block-wrap {
        order: 1;
        margin: 0;
        padding: 0 !important;
        background: transparent;
    }
    .single-property .ie-summary-metadata {
        display: grid;
        gap: .35rem;
        margin-bottom: .4rem;
    }
    .single-property .ie-summary-metadata > .item-address { order: 0; }
    .single-property .mobile-property-tools .houzez-media-tabs-4 { flex-wrap: wrap; }
    .single-property .mobile-property-tools .property-item-tools { margin-inline-start: auto !important; }
    .single-property .mobile-property-tools .item-tool :is(.item-tool-share, .item-tool-favorite) {
        min-height: 38px;
        background: transparent;
    }
    .single-property .ie-gallery-frame { position: relative; }
    .single-property .ie-gallery-price {
        position: absolute;
        z-index: 4;
        left: .75rem;
        bottom: .7rem;
        width: max-content;
        max-width: calc(100% - 6rem);
        padding: .48rem .67rem;
        border: 1px solid var(--ie-property-gold-line);
        border-radius: 9px;
        background: var(--ie-property-sand);
        box-shadow: 0 2px 9px #101b3260;
        color: var(--ie-property-ink);
        overflow-wrap: anywhere;
        pointer-events: none;
        font: 750 clamp(1.02rem, 4.4vw, 1.42rem)/1.16 system-ui, sans-serif;
    }
    .single-property .ie-gallery-price > .item-price-wrap {
        position: static !important;
        inset: auto;
        transform: none;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .single-property .ie-gallery-price .price { white-space: nowrap; overflow-wrap: normal; }
    .single-property .ie-gallery-price :is(.price-postfix, .price-prefix) { font-size: .72em; }
    .single-property .ie-gallery-price li,
    .single-property .ie-gallery-price .item-price { color: inherit; font: inherit; margin: 0 !important; }
    .single-property .ie-gallery-price li + li { margin-top: .18rem !important; font-size: .7em; }
    .single-property .ie-gallery-price a { pointer-events: auto; color: inherit; }
    .single-property .ie-gallery-price:empty { display: none; }

    .single-property :is(.property-overview-data, .detail-wrap > ul.list-lined) {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .45rem;
        margin: 0;
    }
    .single-property :is(.property-overview-data, .detail-wrap > ul.list-lined) > * {
        width: auto;
        max-width: none;
        min-width: 0;
        padding: .55rem;
        margin: 0;
        border: 1px solid var(--ie-property-card-blue-border);
        border-radius: 9px;
        background: var(--ie-property-card-blue);
        box-shadow: 0 1px 2px #15284918;
        color: var(--ie-property-ink);
        overflow-wrap: anywhere;
        font-family: system-ui, sans-serif;
    }
    .single-property :is(.property-overview-data > :has(.h-property-ids), #property-detail-wrap .list-lined > .ie-detail-reference) {
        background: var(--ie-property-sand);
        border-color: #c6a66b;
        color: var(--ie-property-gold-ink);
    }
    .single-property .property-view > .property-overview-wrap:has(.property-overview-data) {
        margin-bottom: .65rem;
    }
    .single-property .property-view > .property-overview-wrap:has(.property-overview-data) > .block-wrap {
        padding: 0;
        background: transparent;
        border: 0;
    }
    .single-property .property-overview-wrap:has(.property-overview-data > *) .block-title-wrap {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .single-property .property-overview-wrap .ie-map-relocated { display: none; }
    .single-property .property-overview-data ul {
        margin-bottom: 0;
        flex-direction: column;
        align-items: flex-start !important;
        gap: .2rem !important;
    }
    .single-property .property-overview-data .property-overview-item:has(i) {
        display: inline-grid;
        place-items: center;
        min-width: 1.6rem;
        min-height: 1.6rem;
        padding: .15rem;
        border-radius: 6px;
        color: inherit;
        background: var(--ie-property-icon-blue);
        font-size: .95rem;
        line-height: 1;
    }
    .single-property .property-overview-data > :has(.h-property-ids) .property-overview-item:has(i) {
        background: var(--ie-property-icon-gold);
    }
    .single-property .property-overview-description {
        display: flex;
        flex-direction: column-reverse;
        gap: .22rem;
    }
    .single-property .property-overview-description br { display: none; }
    .single-property .property-overview-description strong { color: inherit; font-size: .91rem; }
    .single-property .property-overview-description .hz-meta-label,
    .single-property .detail-wrap .list-lined-item strong {
        color: var(--ie-property-muted);
        font-size: .72rem;
        font-weight: 550;
    }
    .single-property :is(.property-overview-data :has(.h-property-ids) .hz-meta-label, #property-detail-wrap .ie-detail-reference .list-lined-item > :is(strong, span)) {
        color: var(--ie-property-gold-ink);
    }
    .single-property .detail-wrap .list-lined-item {
        flex-direction: column;
        justify-content: flex-start !important;
        gap: .25rem;
        padding-block: 0 !important;
        border: 0;
    }
    .single-property .detail-wrap .list-lined-item > span {
        color: var(--ie-property-ink);
        font-size: .88rem;
        font-weight: 650;
    }

    .single-property #property-detail-wrap .block-wrap {
        padding: .9rem;
        background: #fff;
    }
    .single-property #property-detail-wrap .block-title-wrap {
        margin-bottom: .6rem;
        padding-bottom: 0;
        border: 0;
    }
    .single-property #property-detail-wrap .detail-wrap {
        padding: 0 !important;
        margin: 0;
        background: transparent;
        border: 0;
    }
    .single-property #property-detail-wrap .list-lined-item {
        align-items: flex-start;
        text-align: start;
    }
    .single-property #property-detail-wrap .list-lined-item > span {
        width: 100%;
        text-align: start;
    }
    .single-property #property-detail-wrap .list-lined > li {
        padding: .48rem .55rem;
    }
    .single-property #property-detail-wrap .block-title-wrap > h2,
    .single-property #property-detail-wrap .updated-on { margin-bottom: .25rem; }

    .single-property #property-description-wrap .block-title-wrap {
        margin-bottom: .65rem;
        padding-bottom: .55rem;
        border-bottom: 1px solid var(--ie-property-border);
    }
    .single-property #property-description-wrap .description-content {
        color: var(--ie-property-muted);
        font: 400 .93rem/1.65 system-ui, sans-serif;
        overflow-wrap: anywhere;
    }
    .single-property #property-description-wrap .description-content :is(h2, h3, h4, h5, h6) {
        color: var(--ie-property-ink);
        margin: .75rem 0 .4rem;
        font: 700 1rem/1.35 system-ui, sans-serif;
    }
    .single-property #property-description-wrap .description-content > :first-child { margin-top: 0; }
    .single-property #property-description-wrap .description-content p { margin-bottom: .7rem; }
    .single-property .ie-description-disclosure > summary {
        display: list-item;
        min-height: 44px;
        width: fit-content;
        max-width: 100%;
        padding: .65rem .85rem;
        border: 1px solid var(--ie-property-ink);
        border-radius: 8px;
        background: var(--ie-property-ink);
        color: #fff;
        font: 700 .86rem/1.4 system-ui, sans-serif;
        cursor: pointer;
    }
    .single-property .ie-description-disclosure[open] .ie-description-full { padding-top: .45rem; }

    .single-property .property-view .ie-property-jumps {
        display: flex;
        overflow-x: auto;
        gap: .4rem;
        margin: 0 0 .85rem;
        padding: .2rem .15rem .38rem;
        scrollbar-width: thin;
    }
    .single-property .ie-property-jumps a {
        display: inline-flex;
        flex: 0 0 auto;
        white-space: nowrap;
        align-items: center;
        min-height: 44px;
        padding: .4rem .65rem;
        border: 1px solid var(--ie-property-border);
        border-radius: 8px;
        background: #fff;
        color: var(--ie-property-ink);
        font: 650 .77rem/1.15 system-ui, sans-serif;
    }
    .single-property .ie-property-jumps a:first-child {
        background: var(--ie-property-ink);
        color: #fff;
    }
    .single-property .ie-location-card {
        padding: 1rem;
        margin-bottom: 1rem;
        border: 1px solid var(--ie-property-gold-line);
        border-radius: 12px;
        background: #fffbf2;
        scroll-margin-top: 5.5rem;
    }
    .single-property .ie-location-card h2,
    .single-property .ie-feature-highlights h3 {
        margin: 0 0 .6rem;
        color: var(--ie-property-gold-ink);
        font: 700 1rem/1.25 system-ui, sans-serif;
    }
    .single-property .ie-measurements { display: grid; gap: .3rem; margin: 0; }
    .single-property .ie-measurement-row {
        display: flex;
        justify-content: space-between;
        gap: .65rem;
        padding: .5rem 0;
        color: var(--ie-property-ink);
        font: 550 .84rem/1.3 system-ui, sans-serif;
    }
    .single-property .ie-measurement-row + .ie-measurement-row { border-top: 1px solid var(--ie-property-gold-line); }
    .single-property .ie-measurement-row dd { margin: 0; flex: 0 0 auto; font-weight: 700; }
    .single-property .ie-location-map { margin-bottom: .6rem; }
    .single-property .ie-location-map:last-child { margin-bottom: 0; }
    .single-property .ie-location-map > #houzez-overview-listing-map {
        width: 100%;
        height: 210px;
        border-radius: 9px;
        overflow: hidden;
        isolation: isolate;
    }

    .single-property .ie-feature-highlights { margin-bottom: .9rem; }
    .single-property .ie-feature-highlights h3 {
        background: var(--ie-property-sand);
        border: 1px solid var(--ie-property-gold-line);
        border-radius: 8px;
        padding: .64rem .7rem;
    }
    .single-property .ie-feature-tiles {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .single-property .ie-feature-tiles a {
        display: flex;
        align-items: center;
        min-height: 44px;
        height: 100%;
        gap: .35rem;
        padding: .5rem;
        border: 1px solid var(--ie-property-border);
        border-radius: 8px;
        color: var(--ie-property-ink);
        background: #f7f9fc;
        overflow-wrap: anywhere;
        font: 650 .79rem/1.2 system-ui, sans-serif;
    }
    .single-property .ie-feature-tiles a::before { content: '✓' / ''; color: #3c6853; }
    .single-property .ie-feature-source-heading { display: none; }
    .single-property .ie-feature-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        gap: .5rem;
        min-height: 44px;
        margin-top: .62rem;
        padding: .6rem .7rem;
        text-align: start;
        border: 1px solid var(--ie-property-border);
        border-radius: 8px;
        background: #f7f9fc;
        color: var(--ie-property-ink);
        font: 700 .86rem/1.25 system-ui, sans-serif;
    }
    .single-property .ie-feature-count {
        margin-inline-start: auto;
        color: var(--ie-property-muted);
        font-size: .72rem;
    }
    .single-property .ie-feature-arrow {
        display: grid;
        flex: 0 0 1rem;
        width: 1rem;
        height: 1rem;
        place-items: center;
    }
    .single-property .ie-feature-arrow::after {
        content: '';
        width: .44rem;
        height: .44rem;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: translateY(-1px) rotate(45deg);
    }
    .single-property .ie-feature-toggle[aria-expanded="true"] .ie-feature-arrow::after {
        transform: translateY(1px) rotate(225deg);
    }
    .single-property .ie-feature-list { margin: .25rem 0 .65rem; padding-inline: .6rem !important; }
    .single-property .ie-feature-list > li {
        display: flex;
        align-items: baseline;
        width: 100%;
        margin-top: .5rem;
        overflow-wrap: anywhere;
        font: 500 .83rem/1.35 system-ui, sans-serif;
    }
    .single-property .ie-feature-list-collapsed > li:nth-child(n+5) { display: none; }

    .single-property :is(#property-schedule-tour-wrap, #property-contact-agent-wrap) {
        font: 400 .91rem/1.45 system-ui, sans-serif;
    }
    .single-property :is(#property-schedule-tour-wrap, #property-contact-agent-wrap) .block-wrap {
        padding: 1rem;
    }
    .single-property :is(#property-schedule-tour-wrap, #property-contact-agent-wrap) :is(.form-control, .dropdown-toggle, .btn) {
        min-height: 44px;
        border-radius: 9px;
        font-family: inherit;
    }
    .single-property :is(#property-schedule-tour-wrap, #property-contact-agent-wrap) .form-control {
        border: 1px solid var(--ie-property-border);
        color: var(--ie-property-ink);
        background-color: #fbfcfe;
    }
    .single-property :is(#property-schedule-tour-wrap, #property-contact-agent-wrap) .form-control::placeholder {
        color: var(--ie-property-muted);
        opacity: 1;
    }
    .single-property :is(#property-schedule-tour-wrap, #property-contact-agent-wrap) textarea.form-control {
        display: block;
        min-height: 7.5rem;
        line-height: 1.5;
        resize: vertical;
    }
    .single-property :is(#property-schedule-tour-wrap, #property-contact-agent-wrap) :is(button[type="submit"], button.schedule_contact_form, button.houzez_agent_property_form) {
        min-height: 46px;
        margin-top: .65rem;
        padding: .55rem .8rem;
        border-color: var(--ie-property-ink);
        background-color: var(--ie-property-ink);
        color: #fff;
        font: 700 .87rem/1.3 system-ui, sans-serif;
    }

    .single-property #property-schedule-tour-wrap .property-schedule-tour-form-wrap {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
    }
    .single-property #property-schedule-tour-wrap .property-schedule-tour-form-wrap > * { grid-column: 1 / -1; min-width: 0; }
    .single-property #property-schedule-tour-wrap .property-schedule-tour-form-wrap > :is(.sch-title, .form-group, .property-schedule-tour-type-form) {
        margin-bottom: 0 !important;
    }
    .single-property #property-schedule-tour-wrap .property-schedule-tour-form-wrap .sch-title { margin-top: 0; }
    .single-property #property-schedule-tour-wrap .property-schedule-tour-form-title {
        margin: .25rem 0 0 !important;
        font-weight: 700;
        color: var(--ie-property-ink);
    }
    .single-property #property-schedule-tour-wrap .property-schedule-tour-day-form-slide-wrap {
        padding-inline: .8rem;
    }
    .single-property #property-schedule-tour-wrap .tour-day-form-slide-arrow {
        border-radius: 50%;
        color: var(--ie-property-ink);
        background: #fff;
        border: 1px solid var(--ie-property-border);
    }
    .single-property #property-schedule-tour-wrap :is(.property-schedule-tour-day-form, .property-schedule-tour-type-form) .control__indicator {
        min-height: 42px;
        border: 1px solid var(--ie-property-border);
        border-radius: 8px;
        color: var(--ie-property-ink);
        background: #f7f9fc;
        font: 650 .83rem/1.22 system-ui, sans-serif;
    }
    .single-property #property-schedule-tour-wrap .property-schedule-tour-day-form .control__indicator_day {
        font-size: 1rem;
        font-weight: 750;
    }
    .single-property #property-schedule-tour-wrap .property-schedule-tour-day-form input:checked + .control__indicator {
        border-color: var(--ie-property-gold-line);
        background: var(--ie-property-sand);
        color: var(--ie-property-gold-ink);
    }
    .single-property #property-schedule-tour-wrap .property-schedule-tour-type-form input:checked + .control__indicator {
        border-color: var(--ie-property-ink);
        background: var(--ie-property-ink);
        color: #fff;
    }
    .single-property #property-schedule-tour-wrap .control input:focus-visible + .control__indicator {
        outline: 2px solid #315b9f;
        outline-offset: -2px;
    }
    .single-property #property-schedule-tour-wrap .bootstrap-select > .dropdown-toggle {
        background: #fbfcfe;
        color: var(--ie-property-ink);
    }
    @media (min-width: 400px) {
        .single-property #property-schedule-tour-wrap .property-schedule-tour-form-wrap > .form-group:has(> input[name="name"], input[name="phone"]) {
            grid-column: span 1;
        }
    }

    .single-property #property-contact-agent-wrap .block-wrap > .block-title-wrap {
        gap: .45rem .75rem;
        flex-wrap: wrap;
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: .7rem;
    }
    .single-property #property-contact-agent-wrap .block-title-wrap h2 { margin: 0; }
    .single-property #property-contact-agent-wrap .block-title-wrap > a.btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        margin: 0;
        padding: .45rem .7rem;
        border: 1px solid #cfdae8;
        background: #f4f7fc;
        color: var(--ie-property-ink);
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
        font: 700 .77rem/1.2 system-ui, sans-serif;
    }
    .single-property #property-contact-agent-wrap .agent-details {
        margin: 0 0 .85rem;
        padding: .65rem;
        border: 1px solid var(--ie-property-border);
        border-radius: 11px;
        background: #f7f9fc;
        color: var(--ie-property-ink);
        overflow-wrap: anywhere;
    }
    .single-property #property-contact-agent-wrap .agent-details > .d-flex { gap: .65rem !important; }
    .single-property #property-contact-agent-wrap .agent-details .agent-image { flex: 0 0 54px; }
    .single-property #property-contact-agent-wrap .agent-details .agent-image img {
        width: 54px;
        height: 54px;
        object-fit: cover;
        border-radius: 8px;
    }
    .single-property #property-contact-agent-wrap .agent-name { font-weight: 700; }
    .single-property #property-contact-agent-wrap h3.block-title-wrap {
        margin: .85rem 0 .65rem;
        padding-bottom: .45rem;
        border-bottom: 1px solid var(--ie-property-border);
        color: var(--ie-property-ink);
        font: 700 1rem/1.3 system-ui, sans-serif;
    }
    .single-property #property-contact-agent-wrap .form-label {
        font-size: .83rem;
        font-weight: 650;
    }
    .single-property .property-wrap .similar-property-wrap .item-wrap {
        overflow: hidden;
        border-radius: 12px;
    }
    .single-property .footer-wrap {
        padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
        border-top: 2px solid #b58f54;
        background: #152849;
    }
    .single-property .footer-wrap :is(.footer-top-wrap, .footer-bottom-wrap, .footer-widget) {
        background-color: #152849;
        color: #e6edf6;
    }
    .single-property .footer-wrap :is(a, .widget-title) { color: #fff; }
    .single-property :is(.ie-feature-toggle, .ie-feature-tiles a, .ie-property-jumps a, .mobile-property-contact .btn):focus-visible {
        outline: 2px solid #315b9f;
        outline-offset: 2px;
    }
}

@media (max-width: 375px) {
    .single-property :is(.property-overview-data, .detail-wrap > ul.list-lined) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
