/*
 Theme Name: Homeid Child
 Theme URI: https://homeId.g5plus.net/
 Description: HomeId theme gracefully presents properties information to website visitors and facilitates real estate business owners by making properties management easier. HomeID is a handcrafted WordPress theme for real estate businesses, It is regularly updated and well-maintained.
 Author: G5 Theme
 Author URI: https://themeforest.net/user/g5theme
 Template: homeid
 Version: 1.3.9
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.form-valutazione form {
    background: #fff;
    padding: 20px;
}

.form-valutazione form .title-form {
    font-weight: bold;
    font-size: 25px;
    color: #295b6a;
}

.form-valutazione form .title-block {
    font-size: 20px;
    display: block;
}

.form-valutazione form .item-contact {
    margin-bottom: 25px;
}

.form-valutazione form .item-contact:first-child {
    margin-bottom: 0;
}

.form-valutazione form .tipologia .wpcf7-radio .wpcf7-list-item:first-child {
    margin-left: 0;
}

.form-valutazione form .tipologia .wpcf7-radio .wpcf7-list-item input {
    display: none;
}

.form-valutazione form .tipologia .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label {
    padding: 10px 20px;
    border: 1px solid #295b6a;
    background: #eee;
    transition: all .8s;
}

.form-valutazione form .tipologia .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label:hover {
    padding: 10px 20px;
    border: 1px solid #478ea4;
    background: #478ea4;
    transition: all .8s;
    color: #fff;
}

.form-valutazione form .tipologia .wpcf7-radio .wpcf7-list-item input:checked + .wpcf7-list-item-label {
    border: 1px solid #295b6a ;
    background: #295b6a;
    color: #fff;
}

.form-valutazione form .checkbox-items {
    display: flex;
    flex-wrap: wrap;
}

.form-valutazione form .checkbox-items > div {
    flex: 0 0 48%;
    max-width: 48%;
    margin-right: 2%
}

.form-valutazione form .checkbox-items .item-contact {
    padding: 0 !important;
}

.form-valutazione form .checkbox-items .item-contact .wpcf7-list-item {
    margin: 0;
    width: 100%;
}

.form-valutazione form .checkbox-items .item-contact .wpcf7-list-item input {
    display: none;
}

.form-valutazione form .checkbox-items .item-contact .wpcf7-list-item label {
    width: 100%;
}

.form-valutazione form .checkbox-items .item-contact .wpcf7-list-item .wpcf7-list-item-label {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    border: 1px solid #295b6a;
    background: #eee;
    transition: all .8s;
}

.form-valutazione form .checkbox-items .item-contact .wpcf7-list-item .wpcf7-list-item-label:hover {
    padding: 10px 20px;
    border: 1px solid #478ea4;
    background: #478ea4;
    transition: all .8s;
    color: #fff;
}

.form-valutazione form .checkbox-items .item-contact .wpcf7-list-item.checked .wpcf7-list-item-label {
    border: 1px solid #295b6a ;
    background: #295b6a;
    color: #fff;
}

.form-valutazione form .cf7mls-btns {
    justify-content: center;
    display: flex;
}

.form-valutazione form .cf7mls-btns button.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #295b6a;
}

.form-valutazione form .item-contact .wpcf7-submit {
    border: 1px solid #295b6a ;
    background: #295b6a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    line-height: 13px;
    font-size: 13px;
}

.form-valutazione form .cf7mls_back.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    line-height: 13px;
    font-size: 13px;
}

a.iubenda-tp-btn.iubenda-cs-preferences-link {
    position: absolute !important;
    bottom: 0 !important;
    right: auto !important;
    left: 0 !important;
    width: fit-content !important;
}

body {
    position: relative;
}

.g5ere__ordering .dropdown-menu.show .bs-searchbox {
    display: none;
}

.g5ere__ordering .dropdown-menu.show .inner .dropdown-menu li.selected.active a {
    background-color: #00934a !important;
}

/* Modern property archive */
.g5ere__listing-wrap.g5ere__property_layout-grid,
.g5ere__listing-wrap.g5ere__property_layout-list {
    --lf-property-ink: #172426;
    --lf-property-muted: #647173;
    --lf-property-line: #dfe8e5;
    --lf-property-surface: #ffffff;
    --lf-property-soft: #f5f8f7;
    --lf-property-accent: #00934a;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__listing-inner,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__listing-inner {
    row-gap: 28px;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 {
    flex: 0 0 100%;
    max-width: 100%;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__property-item-inner,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__property-item-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 42%) 1fr;
    gap: 0;
    overflow: hidden;
    min-height: 300px;
    border: 1px solid var(--lf-property-line);
    border-radius: 8px;
    background: var(--lf-property-surface);
    box-shadow: 0 18px 44px rgba(23, 36, 38, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__property-item-inner:hover,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__property-item-inner:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 147, 74, .35);
    box-shadow: 0 24px 58px rgba(23, 36, 38, .13);
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5core__post-featured,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5core__post-featured {
    width: 100%;
    height: 100%;
    min-height: 300px;
    margin: 0;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5core__entry-thumbnail,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5core__entry-thumbnail {
    height: 100%;
    min-height: 300px;
    background-position: center;
    background-size: cover;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5core__entry-thumbnail img,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5core__entry-thumbnail img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5core__post-featured::after,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5core__post-featured::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(180deg, rgba(23, 36, 38, .05), rgba(23, 36, 38, .18));
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-content,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 30px 34px;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-title,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-property-title {
    margin-bottom: 8px;
    color: var(--lf-property-ink);
    font-size: 26px;
    line-height: 1.18;
    letter-spacing: 0;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-title a,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-property-title a {
    color: inherit;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-address,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-property-address {
    margin-bottom: 14px;
    color: var(--lf-property-muted);
    font-size: 15px;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__property-excerpt,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__property-excerpt {
    display: -webkit-box;
    overflow: hidden;
    color: var(--lf-property-muted);
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__lpc-bottom,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__lpc-bottom {
    gap: 18px;
    align-items: flex-end !important;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--lf-property-line);
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-price,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-property-price {
    color: var(--lf-property-accent);
    font-size: 28px;
    line-height: 1.1;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-meta,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-meta > span,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-property-meta > span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid var(--lf-property-line);
    border-radius: 999px;
    background: var(--lf-property-soft);
    color: var(--lf-property-ink);
    font-size: 13px;
    line-height: 1;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-actions,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-property-actions {
    right: 18px;
    bottom: 18px;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__property-badge,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__property-badge {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

@media (max-width: 991px) {
    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__property-item-inner,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__property-item-inner {
        grid-template-columns: 1fr;
    }

    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5core__post-featured,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5core__post-featured,
    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5core__entry-thumbnail,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5core__entry-thumbnail,
    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5core__entry-thumbnail img,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5core__entry-thumbnail img {
        min-height: 260px;
    }

    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-content,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-content {
        padding: 24px;
    }
}

@media (max-width: 575px) {
    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__property-item-inner,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__property-item-inner {
        min-height: 0;
    }

    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5core__post-featured,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5core__post-featured,
    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5core__entry-thumbnail,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5core__entry-thumbnail,
    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5core__entry-thumbnail img,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5core__entry-thumbnail img {
        min-height: 220px;
    }

    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-title,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-property-title {
        font-size: 22px;
    }

    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-price,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-property-price {
        font-size: 24px;
    }

    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-meta,
    .g5ere__listing-wrap.g5ere__property_layout-list .g5ere__property-skin-list-04 .g5ere__loop-property-meta {
        justify-content: flex-start;
    }
}

/* Casatua-style property results */
.g5ere__listing-wrap.g5ere__property_layout-grid,
.g5ere__listing-wrap.g5ere__property_layout-list {
    --lf-property-ink: #171717;
    --lf-property-muted: #626262;
    --lf-property-line: #e5e5e5;
    --lf-property-soft: #f7f7f7;
    --lf-property-accent: #00934a;
    --lf-property-accent-dark: #05753e;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__listing-inner,
.g5ere__listing-wrap.g5ere__property_layout-list .g5ere__listing-inner {
    row-gap: 34px;
}

.g5ere__listing-wrap .lf-property-card .g5ere__property-item-inner {
    display: grid !important;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    min-height: 315px;
    overflow: hidden;
    border: 1px solid var(--lf-property-line);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.g5ere__listing-wrap .lf-property-card .g5ere__property-item-inner:hover {
    transform: none;
    border-color: #d7d7d7;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .08);
}

.g5ere__listing-wrap .lf-property-card .g5ere__property-content,
.g5ere__listing-wrap .lf-property-card .g5ere__loop-content {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.g5ere__listing-wrap .lf-property-card .g5ere__property-featured,
.g5ere__listing-wrap .lf-property-card .g5core__entry-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 315px;
}

.g5ere__listing-wrap .lf-property-card .g5core__entry-thumbnail {
    background-position: center;
    background-size: cover;
}

.g5ere__listing-wrap .lf-property-card .g5core__entry-thumbnail img {
    width: 100%;
    height: 100%;
    min-height: 315px;
    object-fit: cover;
}

.g5ere__listing-wrap .lf-property-card .g5core__post-featured::after {
    display: none;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 32px 26px;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-title {
    max-width: 760px;
    margin: 0 0 10px;
    color: var(--lf-property-ink);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.16;
    text-transform: uppercase;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-title a:hover {
    color: var(--lf-property-accent);
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-address {
    margin-bottom: 18px;
    color: var(--lf-property-muted);
    font-size: 14px;
    line-height: 1.45;
}

.g5ere__listing-wrap .lf-property-card .g5ere__property-badge,
.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-primary-status {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 14px;
    padding: 6px 10px;
    border-radius: 0;
    background: var(--lf-property-accent) !important;
    color: #fff !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.g5ere__listing-wrap .lf-property-card .g5ere__property-excerpt {
    display: -webkit-box;
    max-width: 820px;
    margin-top: 16px;
    overflow: hidden;
    color: #4f4f4f;
    font-size: 15px;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end !important;
    margin-top: 22px;
    padding-top: 0;
    border-top: 0;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__facts {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-price {
    order: 2;
    color: var(--lf-property-accent);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta {
    order: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    justify-content: flex-start;
    margin: 0;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta > span {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta i,
.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta svg {
    margin-right: 7px;
    color: var(--lf-property-accent);
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 44px;
    padding: 12px 24px;
    border: 2px solid var(--lf-property-accent);
    background: var(--lf-property-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__cta:hover {
    border-color: var(--lf-property-accent-dark);
    background: rgba(0, 147, 74, .08);
    color: var(--lf-property-accent-dark);
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-actions {
    right: 16px;
    bottom: 16px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__copy {
    min-width: 0;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 100%;
    text-align: right;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
    padding-top: 24px;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-address {
    margin-bottom: 14px;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 34px;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 2px 0 20px;
    padding: 0;
    list-style: none;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta > li {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 74px;
    min-height: 58px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #171717;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta .lf-property-meta__icon,
.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta i,
.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta svg {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 34px;
    min-width: 34px;
    margin: 0 0 8px;
    color: var(--lf-property-accent);
    font-size: 28px;
    line-height: 1;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta svg {
    width: 28px;
    height: 28px;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta .lf-property-meta__value {
    display: block;
    color: #171717;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-primary-status {
    margin-top: 2px;
    margin-bottom: 0;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-price {
    order: initial;
    margin: 0;
    color: var(--lf-property-accent);
    font-size: 38px;
    font-weight: 900;
    line-height: .98;
    text-align: right;
    letter-spacing: 0;
}

.g5ere__listing-wrap .lf-property-card .g5ere__lpp-postfix {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 700;
    color: #4f4f4f;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__cta {
    margin-top: 0;
    background: transparent;
    color: var(--lf-property-accent);
}

@media (max-width: 991px) {
    .g5ere__listing-wrap .lf-property-card .g5ere__property-item-inner {
        grid-template-columns: 1fr;
    }

    .g5ere__listing-wrap .lf-property-card .g5ere__property-featured,
    .g5ere__listing-wrap .lf-property-card .g5core__entry-thumbnail,
    .g5ere__listing-wrap .lf-property-card .g5core__entry-thumbnail img {
        min-height: 260px;
    }

    .g5ere__listing-wrap .lf-property-card .lf-property-card__side {
        align-items: flex-start;
        text-align: left;
    }

    .g5ere__listing-wrap .lf-property-card .g5ere__loop-property-price {
        text-align: left;
    }

    .g5ere__listing-wrap .lf-property-card .lf-property-card__bottom {
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .g5ere__listing-wrap .lf-property-card .g5ere__loop-content {
        padding: 22px 20px;
    }

    .g5ere__listing-wrap .lf-property-card .g5ere__loop-property-title {
        font-size: 21px;
    }

    .g5ere__listing-wrap .lf-property-card .lf-property-card__cta {
        width: 100%;
    }

    .g5ere__listing-wrap .lf-property-card .lf-property-card__bottom {
        flex-direction: column-reverse;
        gap: 18px;
    }

    .g5ere__listing-wrap .lf-property-card .g5ere__loop-property-price {
        font-size: 32px;
    }
}

/* Property archive filters */
.g5ere__listing-wrap.g5ere__property_layout-grid,
.g5ere__listing-wrap.g5ere__property_layout-list {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.g5ere__listing-wrap.g5ere__property_layout-grid > .gel-heading-title,
.g5ere__listing-wrap.g5ere__property_layout-list > .gel-heading-title,
.g5ere__listing-wrap.g5ere__property_layout-grid > .g5core__paging,
.g5ere__listing-wrap.g5ere__property_layout-list > .g5core__paging,
.g5ere__listing-wrap.g5ere__property_layout-grid > .g5core-pagination,
.g5ere__listing-wrap.g5ere__property_layout-list > .g5core-pagination,
.g5ere__listing-wrap.g5ere__property_layout-grid > .g5core__not-found,
.g5ere__listing-wrap.g5ere__property_layout-list > .g5core__not-found {
    grid-column: 1 / -1;
}

.g5ere__listing-wrap.g5ere__property_layout-grid > .g5ere__listing-inner,
.g5ere__listing-wrap.g5ere__property_layout-list > .g5ere__listing-inner {
    grid-column: 2;
    grid-row: 3;
    min-width: 0;
}

.g5ere__toolbar.g5ere__property-toolbar.boxed {
    display: none !important;
}

.lf-property-ordering {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
}

.lf-property-ordering__label {
    color: #707070;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.lf-property-ordering .g5ere__ordering {
    margin: 0;
}

.lf-property-ordering .bootstrap-select,
.lf-property-ordering .g5ere__orderby {
    width: auto !important;
    min-width: 170px;
}

.lf-property-ordering .bootstrap-select > .dropdown-toggle,
.lf-property-ordering .g5ere__orderby {
    min-height: 34px;
    padding: 6px 30px 6px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 0;
    background-color: #fff;
    color: #171717;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: none;
}

.lf-property-ordering .bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lf-property-ordering .bootstrap-select > .dropdown-toggle::after {
    margin-top: 0;
}

.lf-property-filters {
    position: sticky;
    top: 0px;
    grid-column: 1;
    grid-row: 2 / span 2;
    margin: 0;
    padding: 24px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.lf-property-filters__toggle {
    display: none;
}

.lf-property-no-results > .lf-property-filters {
    grid-row: 1;
}

.lf-property-no-results > .lf-property-ordering {
    grid-row: 1;
}

.lf-property-no-results > .g5core__not-found {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    background: #fff;
    color: #171717;
    font-size: 18px;
    font-weight: 800;
}

.lf-property-filters__head {
    display: block;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ededed;
}

.lf-property-filters__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    background: #00934a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.lf-property-filters__title {
    margin: 10px 0 0;
    color: #171717;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.18;
    text-transform: uppercase;
}

.lf-property-filters__contract-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.lf-property-filters__contract-button {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: #fff !important;
    color: #171717 !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    border-radius: 0;
    box-shadow: none;
}

.lf-property-filters__contract-button + .lf-property-filters__contract-button {
    border-left: 1px solid #e5e5e5;
}

.lf-property-filters__contract-button:hover,
.lf-property-filters__contract-button:focus {
    color: #171717;
    text-decoration: none;
}

.lf-property-filters__contract-button.is-active {
    border-bottom-color: #00934a;
    color: #00934a;
}

.lf-property-filters .row {
    row-gap: 14px;
}

.lf-property-filters .form-group {
    margin-bottom: 0;
}

.lf-property-filters .g5ere__s-label {
    display: block;
    margin-bottom: 7px;
    color: #202020;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.lf-property-filters .form-control,
.lf-property-filters .bootstrap-select > .dropdown-toggle {
    width: 100%;
    min-height: 46px;
    border: 1px solid #dcdcdc;
    border-radius: 0;
    background-color: #f8f8f8;
    color: #242424;
    font-size: 14px;
}

.lf-property-filters .form-control:focus,
.lf-property-filters .bootstrap-select > .dropdown-toggle:focus {
    border-color: #00934a;
    box-shadow: none;
}

.lf-property-filters__submit {
    display: flex;
    align-items: end;
}

.lf-property-filters__submit .g5ere__sf-submit-button {
    width: 100%;
}

.lf-property-filters .g5ere__sf-btn-submit {
    width: 100%;
    min-height: 46px;
    border: 2px solid #00934a;
    border-radius: 0;
    background: #00934a;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.lf-property-filters .g5ere__sf-btn-submit:hover {
    border-color: #05753e;
    background: #05753e;
    color: #fff;
}

@media (min-width: 992px) {
    .lf-property-filters .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .g5ere__listing-wrap.g5ere__property_layout-grid,
    .g5ere__listing-wrap.g5ere__property_layout-list {
        display: block;
    }

    .lf-property-filters {
        position: sticky;
        top: 0px;
        z-index: 8;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .lf-property-filters__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: auto;
        min-height: 54px;
        padding: 0 16px;
        border: 1px solid #dcdcdc;
        background: #fff;
        color: #171717;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
        font-size: 14px;
        font-weight: 900;
        line-height: 1 !important;
        text-transform: uppercase;
    }

    .lf-property-filters__toggle:hover,
    .lf-property-filters__toggle:focus {
        border-color: #00934a;
        background: #fff;
        color: #171717;
        outline: 0;
        box-shadow: 0 14px 32px rgba(0, 0, 0, .1);
    }

    .lf-property-filters__toggle-text {
        display: inline-flex;
        align-items: center;
        min-width: 0;
    }

    .lf-property-filters__toggle-text::before {
        width: 18px;
        height: 18px;
        margin-right: 10px;
        background:
            linear-gradient(#00934a, #00934a) 2px 4px / 14px 2px no-repeat,
            linear-gradient(#00934a, #00934a) 2px 9px / 14px 2px no-repeat,
            linear-gradient(#00934a, #00934a) 2px 14px / 14px 2px no-repeat;
        content: "";
    }

    .lf-property-filters__count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 24px;
        height: 24px;
        margin-left: auto;
        margin-right: 12px;
        padding: 0 7px;
        background: #00934a;
        color: #fff;
        font-size: 12px;
        font-weight: 900;
    }

    .lf-property-filters__toggle-icon {
        position: relative;
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
    }

    .lf-property-filters__toggle-icon::before,
    .lf-property-filters__toggle-icon::after {
        position: absolute;
        top: 7px;
        left: 2px;
        width: 12px;
        height: 2px;
        background: #171717;
        content: "";
        transition: transform .2s ease;
    }

    .lf-property-filters__toggle-icon::after {
        transform: rotate(90deg);
    }

    .lf-property-filters.is-open .lf-property-filters__toggle-icon::after {
        transform: rotate(0);
    }

    .lf-property-filters__panel {
        max-height: 0;
        overflow: hidden;
        border: 0 solid #dcdcdc;
        border-top: 0;
        background: #fff;
        opacity: 0;
        transform: translateY(-6px);
        transition: max-height .28s ease, opacity .18s ease, transform .18s ease, border-width .18s ease, padding .18s ease;
    }

    .lf-property-filters.is-open .lf-property-filters__panel {
        max-height: 82vh;
        overflow-y: auto;
        padding: 20px;
        border-width: 0 1px 1px;
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 18px 34px rgba(0, 0, 0, .12);
    }

    .lf-property-filters__head {
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .lf-property-toolbar {
        justify-self: stretch;
        width: 100%;
    }

    .lf-property-ordering {
        justify-self: stretch;
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 22px;
    }

    .lf-property-contract-switch {
        width: 100%;
        margin-bottom: 10px;
    }

    .lf-property-contract-switch__button {
        flex: 1 1 0;
        min-width: 0;
    }

    .lf-property-no-results > .g5core__not-found {
        margin-bottom: 0;
    }
}

@media (max-width: 575px) {
    .lf-property-filters__head {
        display: block;
    }

    .lf-property-filters__title {
        margin-top: 10px;
        font-size: 20px;
    }
}

/* Final property card alignment */
.g5ere__listing-wrap .lf-property-card {
    position: relative;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-status {
    margin: 2px 0 16px;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-status .g5ere__property-badge,
.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-primary-status,
.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-primary-status .g5ere__property-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    margin: 0 0 16px;
    padding: 7px 12px;
    border: 0;
    border-radius: 0;
    background: var(--lf-property-accent) !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-top: 2px;
    padding-top: 22px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__bottom + .g5ere__property-excerpt {
    margin-top: 22px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__bottom-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__bottom-left .g5ere__loop-property-meta {
    margin: 0 0 20px;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-price {
    flex: 0 0 auto;
    min-width: 185px;
    margin: 0;
    color: var(--lf-property-accent);
    font-size: 42px;
    font-weight: 900;
    line-height: .95;
    text-align: right;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__cta {
    min-width: 116px;
    min-height: 42px;
}

.g5ere__listing-wrap .lf-property-card--unavailable .g5ere__property-featured,
.g5ere__listing-wrap .lf-property-card--unavailable .g5ere__loop-content {
    opacity: .54;
    transition: opacity .25s ease;
}

.g5ere__listing-wrap .lf-property-card--unavailable:hover .g5ere__property-featured,
.g5ere__listing-wrap .lf-property-card--unavailable:hover .g5ere__loop-content {
    opacity: .38;
}

.g5ere__listing-wrap .lf-property-card--unavailable::after {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 58px;
    padding: 12px 28px;
    border: 5px solid rgba(170, 25, 25, .86);
    background: rgba(255, 255, 255, .96);
    color: rgba(170, 25, 25, .92);
    content: attr(data-stamp);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-10deg) scale(.86);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.g5ere__listing-wrap .lf-property-card--unavailable:hover::after {
    transform: translate(-50%, -50%) rotate(-10deg) scale(1);
    opacity: 1;
}

@media (max-width: 575px) {
    .g5ere__listing-wrap .lf-property-card .lf-property-card__bottom {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 18px;
    }

    .g5ere__listing-wrap .lf-property-card .g5ere__loop-property-price {
        min-width: 0;
        font-size: 34px;
        text-align: left;
    }
}

/* Final polish: ordering, image hover, unavailable stamp */
.g5ere__listing-wrap .lf-property-card .g5core__post-featured::after,
.g5ere__listing-wrap .lf-property-card .g5core__entry-thumbnail::after,
.g5ere__listing-wrap .lf-property-card .g5ere__property-featured::after,
.g5ere__listing-wrap .lf-property-card:hover .g5core__post-featured::after,
.g5ere__listing-wrap .lf-property-card:hover .g5core__entry-thumbnail::after,
.g5ere__listing-wrap .lf-property-card:hover .g5ere__property-featured::after {
    display: none !important;
    background: transparent !important;
    opacity: 0 !important;
}

.g5ere__listing-wrap .lf-property-card .g5core__entry-thumbnail,
.g5ere__listing-wrap .lf-property-card .g5core__entry-thumbnail img,
.g5ere__listing-wrap .lf-property-card:hover .g5core__entry-thumbnail,
.g5ere__listing-wrap .lf-property-card:hover .g5core__entry-thumbnail img {
    filter: none !important;
    opacity: 1 !important;
}

.lf-property-toolbar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
}

.lf-property-contract-switch {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.lf-property-contract-switch__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid #d7ddd9;
    background: linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
    color: #171717;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(23, 36, 38, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}

.lf-property-contract-switch__button:hover,
.lf-property-contract-switch__button:focus {
    border-color: #00934a;
    background: linear-gradient(180deg, #ffffff 0%, #edf8f1 100%);
    color: #00934a;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 147, 74, .14);
}

.lf-property-contract-switch__button.is-active {
    border-color: #00934a;
    background: linear-gradient(135deg, #00934a 0%, #05753e 100%);
    color: #fff;
    box-shadow: 0 20px 38px rgba(0, 147, 74, .22);
}

.lf-property-contract-switch__button.is-active:hover,
.lf-property-contract-switch__button.is-active:focus {
    color: #fff;
}

.lf-property-ordering {
    justify-self: end;
    display: flex;
    align-items: center;
    width: fit-content;
    min-height: 38px;
    gap: 8px;
    margin-bottom: 0;
    padding: 5px 6px 5px 12px;
    border: 1px solid #e2e2e2;
    background: #fff;
}

.lf-property-ordering__label {
    padding-right: 10px;
    border-right: 1px solid #e8e8e8;
    color: #5f5f5f;
    font-size: 10px;
    letter-spacing: .04em;
}

.lf-property-ordering .g5ere__ordering {
    display: flex;
    align-items: center;
}

.lf-property-ordering .bootstrap-select,
.lf-property-ordering .g5ere__orderby {
    width: auto !important;
    min-width: 145px;
    height: 28px !important;
}

.lf-property-ordering .bootstrap-select > .dropdown-toggle,
.lf-property-ordering .g5ere__orderby {
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 26px 0 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #171717 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 28px !important;
    box-shadow: none !important;
}

.lf-property-ordering .bootstrap-select > .dropdown-toggle:focus,
.lf-property-ordering .g5ere__orderby:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

.g5ere__listing-wrap .lf-property-card--unavailable::after {
    transform: translate(-50%, -50%) rotate(-10deg) scale(1);
    opacity: 1;
}

.g5ere__listing-wrap .lf-property-card--unavailable:hover::after {
    transform: translate(-50%, -50%) rotate(-10deg) scale(1);
    opacity: 1;
}

/* Final meta/price row */
.g5ere__listing-wrap .lf-property-card .lf-property-card__bottom {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 22px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__bottom-left {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__bottom-left .g5ere__loop-property-meta {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px 24px;
    width: 100%;
    margin: 0 0 18px;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta > li {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-price {
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
    text-align: right;
}

@media (max-width: 575px) {
    .g5ere__listing-wrap .lf-property-card .lf-property-card__bottom-left .g5ere__loop-property-meta {
        flex-wrap: wrap;
    }
}

.g5ere__property-skin-list-04 .g5ere__lpp-price{
    font-size: 28px !important;
}

@media only screen and (min-width: 1200px) {
    #wrapper_content #primary-content .container {
        max-width: 1540px !important;
    }
}
.g5ere__search-field .g5ere__s-label {
    margin-bottom: 5px !important;
}

.dropdown-menu.show{ min-height: auto !important; }

#main-content .g5ere__listing-wrap .g5core__embed-responsive:before,
#main-content .lf-property-card .g5core__embed-responsive:before,
#main-content .lf-single-property .g5core__embed-responsive:before{
    display: none !important;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta > li.floor {
    min-height: 58px;
    font-size: 16px;
    font-weight: 800;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta > li.floor .lf-property-meta__icon {
    width: 34px;
    min-width: 34px;
    height: 44px;
    min-height: 44px;
    margin: 0 0 8px;
    align-items: center;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta > li.floor .lf-property-meta__floor-icon {
    width: 34px !important;
    height: 34px !important;
    transform: none;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta > li.floor .lf-property-meta__value {
    display: block;
    color: #171717;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta > li.floor .g5ere__loop-property-floor {
    display: inline-block;
    font: inherit;
    line-height: inherit;
}

/* Keep sold/rented stamp inside the visible listing card */
.g5ere__listing-wrap .lf-property-card--unavailable::after {
    display: none !important;
    content: none !important;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__inner--unavailable {
    position: relative;
    overflow: hidden;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__inner--unavailable::after {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 58px;
    padding: 12px 28px;
    border: 5px solid rgba(170, 25, 25, .86);
    background: rgba(255, 255, 255, .96);
    color: rgba(170, 25, 25, .92);
    content: attr(data-stamp);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-10deg);
    opacity: 1;
    pointer-events: none;
}

.lf-single-property__virtual-tour {
    padding: 0 !important;
    overflow: hidden;
}

.lf-single-property__virtual-tour .lf-single-property__section-head {
    padding: 30px 30px 0;
}

.lf-single-property__virtual-tour iframe,
.lf-single-property__virtual-tour .g5ere__property-virtual-tour > * {
    display: block;
    width: 100%;
    min-height: 560px;
    border: 0;
}

@media (max-width: 575px) {
    .lf-single-property__virtual-tour .lf-single-property__section-head {
        padding: 22px 22px 0;
    }

    .lf-single-property__virtual-tour iframe,
    .lf-single-property__virtual-tour .g5ere__property-virtual-tour > * {
        min-height: 360px;
    }
}

.lf-single-property__agency-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.lf-single-property__agency-logo {
    display: flex;
    flex: 0 0 92px;
    width: 92px;
    height: 72px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #e8efe9;
    background: #fff;
}

.lf-single-property__agency-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lf-single-property__agency-logo--text {
    background: var(--lf-single-accent);
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
}

.lf-single-property__agency-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--lf-single-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.lf-single-property__agency-head h2 {
    margin: 0;
    color: var(--lf-single-ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.lf-single-property__agency-contacts {
    display: grid;
    gap: 15px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.lf-single-property__agency-contacts li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 46px;
    color: #313131;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.lf-single-property__agency-contacts i {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: #eff7f1;
    color: var(--lf-single-accent);
    font-size: 14px;
}

.lf-single-property__agency-contacts a {
    color: inherit;
}

.lf-single-property__agency-contacts a:hover {
    color: var(--lf-single-accent);
}

.lf-single-property__agency-cta {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: var(--lf-single-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.lf-single-property__agency-cta:hover {
    background: #1b3322;
    color: #fff;
}

.lf-single-property__agency-cta.is-disabled,
.lf-single-property__agency-cta.is-disabled:hover {
    background: #edf0f2;
    color: #8a949b;
    cursor: not-allowed;
    pointer-events: none;
}

.lf-single-property__floor-plans .g5ere__property-floors-accordion {
    display: grid;
    gap: 16px;
}

.lf-single-property__floor-plans .g5ere__property_floors-item {
    border: 1px solid var(--lf-single-line) !important;
    border-radius: 0;
    overflow: hidden;
}

.lf-single-property__floor-plans .card-header {
    padding: 0;
    border: 0;
    background: #f8faf8;
}

.lf-single-property__floor-plans .g5ere__property_floors-item-heading {
    gap: 18px;
    padding: 18px 20px;
}

.lf-single-property__floor-plans .g5ere__property_floors-title {
    margin: 0;
    color: var(--lf-single-ink);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.lf-single-property__floor-plans .g5ere__property_floors-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: flex-end;
    margin: 0;
    color: var(--lf-single-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.lf-single-property__floor-plans .g5ere__property_floors-details .value {
    color: var(--lf-single-ink);
}

.lf-single-property__floor-plans .card-body {
    padding: 22px;
}

.lf-single-property__floor-plans .g5ere__property-floor-image {
    margin-bottom: 16px;
}

.lf-single-property__floor-plans .g5ere__property-floor-image img {
    width: 100%;
    max-height: 680px;
    object-fit: contain;
    background: #fff;
}

.lf-single-property__floor-plans .g5ere__property-floor-description p:last-child {
    margin-bottom: 0;
}

.lf-single-property__section-head {
    margin-bottom: 22px;
}

.lf-single-property__section-head span {
    display: inline-flex;
    margin-bottom: 9px;
    color: var(--lf-single-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.lf-single-property__section-head h2 {
    margin: 0;
    color: var(--lf-single-ink);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.lf-single-property__virtual-tour {
    padding: 0;
    overflow: hidden;
}

.lf-single-property__virtual-tour .lf-single-property__section-head {
    padding: 30px 30px 0;
}

.lf-single-property__virtual-tour .g5ere__property-virtual-tour {
    background: #101612;
}

.lf-single-property__virtual-tour iframe,
.lf-single-property__virtual-tour .g5ere__property-virtual-tour > * {
    display: block;
    width: 100%;
    min-height: 560px;
    border: 0;
}

@media (max-width: 575px) {
    .lf-single-property__agency-head {
        align-items: flex-start;
    }

    .lf-single-property__agency-logo {
        flex-basis: 76px;
        width: 76px;
        height: 62px;
    }

    .lf-single-property__floor-plans .g5ere__property_floors-item-heading {
        display: block !important;
    }

    .lf-single-property__floor-plans .g5ere__property_floors-details {
        justify-content: flex-start;
        margin-top: 12px;
    }

    .lf-single-property__virtual-tour .lf-single-property__section-head {
        padding: 22px 22px 0;
    }

    .lf-single-property__virtual-tour iframe,
    .lf-single-property__virtual-tour .g5ere__property-virtual-tour > * {
        min-height: 360px;
    }
}

.wpcf7 input[readonly] {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

body.lf-property-modal-open {
    overflow: hidden;
}

.lf-property-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}

.lf-property-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lf-property-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .62);
}

.lf-property-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    overflow-y: auto;
    padding: 34px;
    border: 1px solid #e1e1e1;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
    transform: translateY(12px);
    transition: transform .18s ease;
}

.lf-property-modal.is-open .lf-property-modal__dialog {
    transform: translateY(0);
}

.lf-property-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-height: 0;
    padding: 0;
    border: 1px solid #dedede;
    border-radius: 0;
    background: #fff;
}

.lf-property-modal__close::before,
.lf-property-modal__close::after {
    position: absolute;
    width: 16px;
    height: 2px;
    background: #171717;
    content: "";
}

.lf-property-modal__close::before {
    transform: rotate(45deg);
}

.lf-property-modal__close::after {
    transform: rotate(-45deg);
}

.lf-property-modal__head {
    margin-bottom: 24px;
    padding-right: 42px;
}

.lf-property-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 12px;
    padding: 6px 10px;
    background: #00934a;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.lf-property-modal__head h2 {
    margin: 0 0 8px;
    color: #171717;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.lf-property-modal__head p {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.lf-property-modal .wpcf7 form p {
    margin-bottom: 14px;
}

.lf-property-modal .wpcf7 label {
    width: 100%;
    color: #202020;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.lf-property-modal__body input[type="text"],
.lf-property-modal__body input[type="tel"],
.lf-property-modal__body input[type="email"],
.lf-property-modal__body textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lf-property-modal .wpcf7 textarea.wpcf7-form-control {
    min-height: 130px;
    padding-top: 12px;
}

.lf-property-modal .wpcf7-submit {
    width: 100%;
    border-radius: 0;
    background: #00934a;
    border-color: #00934a;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}

@media (max-width: 575px) {
    .lf-property-modal {
        align-items: flex-end;
        padding: 0;
    }

    .lf-property-modal__dialog {
        width: 100%;
        max-height: 88vh;
        padding: 28px 20px 22px;
    }

    .lf-property-modal__head h2 {
        font-size: 25px;
    }
}

/* Modern single property */
.lf-single-property {
    --lf-single-ink: #171717;
    --lf-single-muted: #666;
    --lf-single-line: #e5e5e5;
    --lf-single-soft: #f7f7f7;
    --lf-single-accent: #00934a;
    color: var(--lf-single-ink);
}

.lf-single-property__gallery {
    margin: 0 0 34px;
}

.lf-single-property__image-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr) minmax(280px, 1fr);
    grid-template-rows: repeat(2, minmax(230px, 18vw));
    gap: 10px;
    width: min(1540px, calc(100% - 40px));
    margin: 0 auto;
}

.lf-single-property__image-tile {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f3f3f3;
    color: #fff;
}

.lf-single-property__image-tile.is-main {
    grid-row: 1 / span 2;
}

.lf-single-property__image-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.lf-single-property__image-tile:hover img {
    transform: scale(1.035);
}

.lf-single-property__image-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .46);
    color: #fff;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.lf-single-property__image-grid--count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(360px, 42vw);
}

.lf-single-property__image-grid--count-1 .lf-single-property__image-tile.is-main {
    grid-row: auto;
}

.lf-single-property__image-grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lf-single-property__image-grid--count-2 .lf-single-property__image-tile {
    grid-row: 1 / span 2;
}

.lf-single-property__image-grid--count-3 {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.lf-single-property__summary-wrap,
.lf-single-property__body,
.lf-single-property__similar {
    width: min(1540px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.lf-single-property__summary-wrap {
    margin-bottom: 20px;
}

.lf-single-property__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 34px;
    align-items: end;
    padding-bottom: 0px !important;
    border-bottom:0px !important;
}

.lf-single-property__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.lf-single-property__badge,
.lf-single-property__type {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.lf-single-property__badge {
    background: var(--lf-single-accent);
    color: #fff;
}

.lf-single-property__type {
    border: 1px solid var(--lf-single-line);
    background: #fff;
    color: var(--lf-single-ink);
}

.lf-single-property__title {
    max-width: 980px;
    margin: 0 0 14px;
    color: var(--lf-single-ink);
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.02;
    text-transform: uppercase;
}

.lf-single-property__address {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--lf-single-muted);
    font-size: 15px;
    font-weight: 700;
}

.lf-single-property__address .g5ere__property-address {
    margin: 0;
}

.lf-single-property__price-card {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.lf-single-property__price-label {
    margin-bottom: 7px;
    color: var(--lf-single-muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.lf-single-property__price-card .g5ere__property-price {
    color: var(--lf-single-accent);
    font-size: clamp(34px, 3.4vw, 54px);
    font-weight: 900;
    line-height: .95;
}

.lf-single-property__price-card .g5ere__pp-postfix {
    display: block;
    margin-top: 5px;
    color: var(--lf-single-muted);
    font-size: 14px;
    font-weight: 800;
}

.lf-single-property__contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 18px;
    padding: 0 20px;
    border: 2px solid var(--lf-single-accent);
    background: var(--lf-single-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.lf-single-property__contact-link:hover {
    border-color: #05753e;
    background: #05753e;
    color: #fff;
}

.lf-single-property__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 24px 0 0;
    list-style: none;
}

.lf-single-property__facts > li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 14px;
    align-items: center;
    min-height: 76px;
    padding: 0 24px;
    border-left: 1px solid var(--lf-single-line);
}

.lf-single-property__facts > li:first-child {
    padding-left: 0;
    border-left: 0;
}

.lf-single-property__fact-icon {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 44px;
    height: 44px;
    color: var(--lf-single-accent);
}

.lf-single-property__fact-icon svg {
    width: 34px;
    height: 34px;
}

.lf-single-property__fact-label {
    color: var(--lf-single-muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.lf-single-property__fact-value {
    color: var(--lf-single-ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.05;
}

.lf-single-property__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 46px;
    align-items: start;
}

.lf-single-property__section,
.lf-single-property__contact-card,
.lf-single-property__share-card,
.lf-single-property__similar .g5ere__single-block {
    margin: 0 0 30px;
    padding: 30px;
    border: 1px solid var(--lf-single-line);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.lf-single-property__section > h2,
.lf-single-property__contact-card > h2,
.lf-single-property__share-card > h2,
.lf-single-property .card-header h2 {
    margin: 0 0 22px;
    color: var(--lf-single-ink);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.12;
    text-transform: uppercase;
}

.lf-single-property__back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--lf-property-accent);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lf-single-property__back-link:hover,
.lf-single-property__back-link:focus {
    color: var(--lf-property-accent-dark);
}

.lf-single-property__floor-plans .lf-floor-plans {
    margin-top: 6px;
}

.lf-single-property__text {
    color: #3f3f3f;
    font-size: 16px;
    line-height: 1.85;
}

.lf-single-property__text p:last-child {
    margin-bottom: 0;
}

.lf-single-property .g5ere__property-details-list,
.lf-single-property .g5ere__property-address-list {
    row-gap: 0;
    margin-bottom: 0;
}

.lf-single-property .g5ere__property-details-list > li,
.lf-single-property .g5ere__property-address-list > li {
    padding-top: 0;
    padding-bottom: 0;
}

.lf-single-property .g5ere__property-detail-item,
.lf-single-property .g5ere__property-address-item {
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    padding: 14px 0;
    border-bottom: 1px solid var(--lf-single-line);
}

.lf-single-property .g5ere__property-detail-item strong,
.lf-single-property .g5ere__property-address-item strong {
    flex: 0 0 44%;
    margin: 0 !important;
    color: var(--lf-single-muted);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.lf-single-property .g5ere__property-detail-item > :last-child,
.lf-single-property .g5ere__property-address-item > span {
    color: var(--lf-single-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-align: right;
}

.lf-single-property__map {
    overflow: hidden;
    padding: 0;
}

.lf-single-property__map .g5ere__map-canvas,
.lf-single-property__map .g5ere__single-map {
    min-height: 420px;
}

.lf-single-property__sticky {
    position: sticky;
    top: 96px;
}

.lf-single-property__contact-card {
    border-color: #d9eadf;
}

.lf-single-property__contact-card .g5ere__property-contact-agent {
    display: block;
}

.lf-single-property__contact-card .form-control,
.lf-single-property__contact-card input[type="text"],
.lf-single-property__contact-card input[type="email"],
.lf-single-property__contact-card input[type="tel"],
.lf-single-property__contact-card textarea {
    border: 1px solid #dedede;
    border-radius: 0;
    background: #f8f8f8;
}

.lf-single-property__contact-card button,
.lf-single-property__contact-card input[type="submit"] {
    width: 100%;
    border-radius: 0;
    background: var(--lf-single-accent);
    border-color: var(--lf-single-accent);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}

.lf-single-property__share-card .g5ere__single-property-actions,
.lf-single-property__share-card .g5ere__property-actions {
    display: flex;
    gap: 10px;
}

.lf-single-property__similar {
    margin-top: 26px;
    margin-bottom: 50px;
}

.lf-single-property__similar .g5ere__single-block {
    padding: 0;
    border: 0;
}

.lf-single-property__similar .card-header {
    padding: 0;
    border: 0;
    background: transparent;
}

@media (max-width: 991px) {
    .lf-single-property__image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(330px, 54vw) repeat(2, minmax(150px, 26vw));
    }

    .lf-single-property__image-tile.is-main {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .lf-single-property__summary,
    .lf-single-property__body {
        grid-template-columns: 1fr;
    }

    .lf-single-property__price-card {
        align-items: flex-start;
        text-align: left;
    }

    .lf-single-property__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 0;
    }

    .lf-single-property__facts > li:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .lf-single-property__sticky {
        position: static;
    }
}

@media (max-width: 575px) {
    .lf-single-property__image-grid {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: minmax(260px, 68vw) repeat(2, minmax(118px, 32vw));
        gap: 4px;
    }

    .lf-single-property__summary-wrap,
    .lf-single-property__body,
    .lf-single-property__similar {
        width: calc(100% - 28px);
    }

    .lf-single-property__title {
        font-size: 30px;
    }

    .lf-single-property__facts {
        grid-template-columns: 1fr;
        padding-top: 20px;
    }

    .lf-single-property__facts > li {
        padding: 0;
        border-left: 0;
    }

    .lf-single-property__section,
    .lf-single-property__contact-card,
    .lf-single-property__share-card {
        padding: 22px;
    }
}

ul.g5ere__loop-property-meta span{
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--g5-color-muted) !important;
}

.g5ere__listing-wrap .lf-property-card--unavailable::after {
    display: none !important;
    content: none !important;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__inner--unavailable {
    position: relative;
    overflow: hidden;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__inner--unavailable::after {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 58px;
    padding: 12px 28px;
    border: 5px solid rgba(170, 25, 25, .86);
    background: rgba(255, 255, 255, .96);
    color: rgba(170, 25, 25, .92);
    content: attr(data-stamp);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-10deg);
    opacity: 1;
    pointer-events: none;
}

.lf-single-property__facts>li {
    gap: 0px 14px !important;
    min-height: 50px !important;
}

span.lf-property-meta__icon {
    height: 44px !important;
    justify-content: center !important;
}
.floor img{
    height: 28px !important;
}

.lf-single-property__virtual-tour-demo {
    position: relative;
}

.lf-single-property__virtual-tour-demo-label {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 8px 11px;
    background: rgba(0, 147, 74, .94);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    line-height: 1;
    text-transform: uppercase;
}

/* Immobiliare.it-inspired archive card */
.g5ere__listing-wrap .lf-property-card .g5ere__property-item-inner {
    display: grid !important;
    grid-template-columns: minmax(340px, 46%) minmax(0, 1fr);
    gap: 0;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
}

.g5ere__listing-wrap .lf-property-card .g5ere__property-featured {
    position: relative;
    display: block;
    min-height: 360px;
    margin: 0;
    background: #f2f2f2;
}

.lf-property-gallery {
    position: relative;
    display: grid;
    grid-template-rows: 260px 92px;
    gap: 2px;
    width: 100%;
    overflow: hidden;
}

.lf-property-gallery__main {
    position: relative;
    display: block;
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    overflow: hidden;
    background: #f0f0f0;
}

.lf-property-gallery__image {
    display: block !important;
    width: 100%;
    height: 100%;
    min-height: 260px;
    max-height: 260px;
    object-fit: cover;
    object-position: center;
    transition: opacity .18s ease;
}

.lf-property-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    min-height: 92px;
}

.lf-property-gallery__thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 92px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #ececec;
    cursor: pointer;
}

.lf-property-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.lf-property-gallery__thumb:hover img,
.lf-property-gallery__thumb.is-active img {
    transform: scale(1.05);
}

.lf-property-gallery__thumb.is-active::after {
    position: absolute;
    inset: 0;
    border: 3px solid var(--lf-property-accent);
    content: "";
}

.lf-property-gallery__nav {
    position: absolute;
    top: calc((100% - 96px) / 2);
    z-index: 3;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    cursor: pointer;
    transform: translateY(-50%);
}

.lf-property-gallery__nav::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #1f1f1f;
    border-left: 2px solid #1f1f1f;
    content: "";
}

.lf-property-gallery__nav--prev {
    left: 12px;
}

.lf-property-gallery__nav--prev::before {
    transform: translate(-35%, -50%) rotate(-45deg);
}

.lf-property-gallery__nav--next {
    right: 12px;
}

.lf-property-gallery__nav--next::before {
    transform: translate(-65%, -50%) rotate(135deg);
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-content {
    display: block;
    min-width: 0;
    padding: 24px 28px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__main {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__price {
    margin: 0 0 12px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__price .g5ere__loop-property-price {
    min-width: 0;
    margin: 0;
    color: #00934a;
    font-size: 30px !important;
    font-weight: 800;
    line-height: 1.05;
    text-align: left;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__price .g5ere__lpp-price {
    font-size: inherit !important;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-title {
    margin: 0 0 5px;
    color: #171717;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.22;
    text-transform: none;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-address {
    margin: 0 0 12px;
    color: #626262;
    font-size: 14px;
    line-height: 1.35;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-primary-status {
    margin: 0 0 14px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__meta .g5ere__loop-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin: 0 0 16px;
    padding: 0;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta > li {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 34px;
    white-space: nowrap;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta .lf-property-meta__icon,
.g5ere__listing-wrap .lf-property-card span.lf-property-meta__icon {
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    margin: 0 !important;
    align-items: center !important;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta .lf-property-meta__icon img {
    max-width: 26px;
    max-height: 26px;
    object-fit: contain;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta .lf-property-meta__value,
.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-meta span {
    color: #333 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__excerpt .g5ere__property-excerpt,
.g5ere__listing-wrap .lf-property-card .lf-property-card__excerpt .ere-property-excerpt,
.g5ere__listing-wrap .lf-property-card .lf-property-card__excerpt p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #585858;
    font-size: 14px;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: inherit !important;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 18px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__cta {
    min-width: 108px;
    min-height: 38px;
    padding: 10px 18px;
    border: 1px solid #00934a;
    border-radius: 4px;
    background: transparent;
    color: #00934a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .g5ere__listing-wrap .lf-property-card .g5ere__property-item-inner {
        grid-template-columns: 1fr;
    }

    .g5ere__listing-wrap .lf-property-card .g5ere__property-featured,
    .lf-property-gallery {
        min-height: 356px;
        max-height: 356px;
    }
}

@media (max-width: 575px) {
    .g5ere__listing-wrap .lf-property-card .g5ere__property-item-inner {
        min-height: 0;
        border-radius: 6px;
    }

    .lf-property-gallery {
        grid-template-rows: 260px 72px;
        min-height: 336px;
        max-height: 336px;
    }

    .lf-property-gallery__main {
        height: 260px;
        min-height: 260px;
        max-height: 260px;
    }

    .lf-property-gallery__image {
        min-height: 260px;
        max-height: 260px;
    }

    .lf-property-gallery__thumb,
    .lf-property-gallery__thumbs {
        min-height: 72px;
        height: 72px;
    }

    .g5ere__listing-wrap .lf-property-card .g5ere__loop-content {
        padding: 20px;
    }

    .g5ere__listing-wrap .lf-property-card .lf-property-card__price .g5ere__loop-property-price {
        font-size: 26px !important;
    }

    .g5ere__listing-wrap .lf-property-card .g5ere__loop-property-title {
        font-size: 19px;
    }
}

/* Immobiliare-style feature icons */
.FeatureList_list__99TDu.lf-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    margin: 0 0 16px;
    padding: 0;
}

.FeatureList_item__D3KYH {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 28px;
    color: #202020;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.FeatureList_icon__nNGZr {
    flex: 0 0 auto;
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.FeatureList_label__text {
    display: inline-block;
    color: #202020;
    white-space: nowrap;
}

/* Premium Immobiliare-style listing and single gallery */
.g5ere__listing-wrap .lf-property-card .g5ere__property-item-inner {
    grid-template-columns: minmax(360px, 47%) minmax(0, 1fr) !important;
    min-height: 286px !important;
    border-radius: 22px !important;
    box-shadow: 0 2px 10px rgba(0, 49, 81, .12), 0 14px 34px rgba(0, 49, 81, .08) !important;
}

.g5ere__listing-wrap .lf-property-card .g5ere__property-featured {
    min-height: 286px !important;
    padding: 12px 0 12px 12px;
    background: transparent;
}

.lf-property-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    grid-template-rows: repeat(3, 86px);
    gap: 3px !important;
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.lf-property-gallery__main {
    grid-row: 1 / -1;
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    border-radius: 18px 0 0 18px;
}

.lf-property-gallery__image {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
}

.lf-property-gallery__thumbs {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 3px !important;
    min-height: 260px;
    height: 260px;
}

.lf-property-gallery__thumb {
    height: auto;
    min-height: 0;
    border-radius: 0 !important;
}

.lf-property-gallery__thumb:first-child {
    border-top-right-radius: 18px !important;
}

.lf-property-gallery__thumb:last-child {
    border-bottom-right-radius: 18px !important;
}

.lf-property-gallery--count-1 {
    grid-template-columns: 1fr;
}

.lf-property-gallery--count-1 .lf-property-gallery__main,
.lf-property-gallery--count-1 .lf-property-gallery__image {
    border-radius: 18px;
}

.lf-property-gallery--count-1 .lf-property-gallery__thumbs {
    display: none;
}

.lf-property-gallery--count-2 .lf-property-gallery__thumbs {
    grid-template-rows: 1fr;
}

.lf-property-gallery--count-2 .lf-property-gallery__thumb {
    border-top-right-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
}

.lf-property-gallery--count-3 .lf-property-gallery__thumbs {
    grid-template-rows: repeat(2, 1fr);
}

.lf-property-gallery__nav {
    top: 50%;
}

.lf-property-gallery__nav--next {
    right: 104px;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-content {
    padding: 24px 30px 22px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__price .g5ere__loop-property-price {
    color: #000;
    font-size: 29px !important;
}

.g5ere__listing-wrap .lf-property-card .g5ere__loop-property-title {
    font-size: 22px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-card__cta {
    border-radius: 999px;
}


.lf-single-property__gallery {
    margin: 8px 0 34px;
}

.lf-single-property__image-grid {
    grid-template-columns: minmax(0, 1fr) minmax(118px, 180px) !important;
    grid-template-rows: repeat(3, minmax(126px, 11.6vw)) !important;
    gap: 1px;
    width: min(1540px, calc(100% - 40px));
    max-height: 610px;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 49, 81, .12), 0 16px 44px rgba(0, 49, 81, .10);
}

.lf-single-property__image-tile {
    border-radius: 0;
}

.lf-single-property__image-tile.is-main {
    grid-column: 1;
    grid-row: 1 / -1;
}

.lf-single-property__image-tile:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.lf-single-property__image-tile:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.lf-single-property__image-tile:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
}

.lf-single-property__image-tile.is-main,
.lf-single-property__image-tile.is-main img {
    border-radius: 30px 0 0 30px;
}

.lf-single-property__image-tile:nth-child(2),
.lf-single-property__image-tile:nth-child(2) img {
    border-top-right-radius: 30px;
}

.lf-single-property__image-tile:nth-child(4),
.lf-single-property__image-tile:nth-child(4) img {
    border-bottom-right-radius: 30px;
}

.lf-single-property__image-grid--count-1 {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(420px, 46vw) !important;
}

.lf-single-property__image-grid--count-1 .lf-single-property__image-tile.is-main,
.lf-single-property__image-grid--count-1 .lf-single-property__image-tile.is-main img {
    grid-column: 1;
    grid-row: 1;
    border-radius: 30px;
}

.lf-single-property__image-grid--count-2 {
    grid-template-rows: repeat(2, minmax(150px, 16vw)) !important;
}

.lf-single-property__image-grid--count-2 .lf-single-property__image-tile:nth-child(2) {
    grid-row: 1 / -1;
}

.lf-single-property__image-grid--count-2 .lf-single-property__image-tile:nth-child(2),
.lf-single-property__image-grid--count-2 .lf-single-property__image-tile:nth-child(2) img {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.lf-single-property__image-grid--count-3 {
    grid-template-rows: repeat(2, minmax(160px, 17vw)) !important;
}

.lf-single-property__image-grid--count-3 .lf-single-property__image-tile:nth-child(2) {
    grid-row: 1;
}

.lf-single-property__image-grid--count-3 .lf-single-property__image-tile:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.lf-single-property__image-grid--count-3 .lf-single-property__image-tile:nth-child(3),
.lf-single-property__image-grid--count-3 .lf-single-property__image-tile:nth-child(3) img {
    border-bottom-right-radius: 30px;
}

.lf-single-property__image-tile img {
    display: block;
    min-height: 100%;
}

.lf-single-property__image-tile:hover img {
    transform: none;
}

.lf-single-property__image-more {
    background: rgba(0, 0, 0, .56);
    font-size: 30px;
}

.lf-single-property__summary-wrap {
    padding: 28px 30px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 49, 81, .09);
}

.lf-single-property__summary {
    align-items: center;
    padding: 0;
    border-bottom: 0;
}

.lf-single-property__title {
    font-size: clamp(32px, 3vw, 50px);
    text-transform: none;
}

.lf-single-property__price-card {
    align-items: stretch;
    padding: 22px;
    border: 1px solid #e8edf0;
    border-radius: 22px;
    background: #fbfcfd;
    text-align: left;
}

.lf-single-property__price-card .g5ere__property-price {
    color: #008c45;
    font-size: clamp(32px, 3vw, 48px);
}

.lf-single-property__contact-link,
.lf-single-property__agency-cta {
    border-radius: 999px;
}

.lf-single-property__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 22px;
}

.lf-single-property__facts > li {
    display: inline-grid;
    grid-template-columns: 34px minmax(0, 1fr);
    min-width: 180px;
    min-height: 64px !important;
    padding: 12px 16px !important;
    border: 1px solid #e8edf0 !important;
    border-radius: 18px;
    background: #fbfcfd;
}

.lf-single-property__fact-icon {
    width: 30px;
    height: 30px;
}

.lf-single-property__section,
.lf-single-property__contact-card,
.lf-single-property__share-card {
    border: 1px solid #e8edf0;
    border-radius: 24px;
    box-shadow: 0 2px 10px rgba(0, 49, 81, .06);
}

@media (max-width: 991px) {
    .g5ere__listing-wrap .lf-property-card .g5ere__property-item-inner {
        grid-template-columns: 1fr !important;
    }

    .g5ere__listing-wrap .lf-property-card .g5ere__property-featured {
        padding: 12px 12px 0;
    }

    .lf-single-property__summary-wrap {
        padding: 22px;
    }
}

@media (max-width: 575px) {
    .lf-property-gallery {
        grid-template-columns: minmax(0, 1fr) 76px;
        grid-template-rows: repeat(3, 86px);
    }

    .lf-property-gallery__nav--next {
        right: 88px;
    }

    .lf-single-property__image-grid {
        width: calc(100% - 24px);
        grid-template-columns: minmax(0, 1fr) 82px !important;
        grid-template-rows: repeat(3, 96px) !important;
        border-radius: 22px;
    }

    .lf-single-property__image-tile.is-main,
    .lf-single-property__image-tile.is-main img {
        border-radius: 22px 0 0 22px;
    }

    .lf-single-property__image-tile:nth-child(2),
    .lf-single-property__image-tile:nth-child(2) img {
        border-top-right-radius: 22px;
    }

    .lf-single-property__image-tile:nth-child(4),
    .lf-single-property__image-tile:nth-child(4) img {
        border-bottom-right-radius: 22px;
    }

    .lf-single-property__summary-wrap {
        width: calc(100% - 24px);
        padding: 18px;
        border-radius: 22px;
    }

    .lf-single-property__facts > li {
        width: 100%;
    }
}

/* Single hero: compact gallery beside agency box */
.lf-single-property__hero-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 24px;
    align-items: stretch;
    width: min(1540px, calc(100% - 40px));
    margin: 8px auto 28px;
}

.lf-single-property__hero-wrap .lf-single-property__gallery {
    min-width: 0;
    margin: 0;
}

.lf-single-property__hero-wrap .lf-single-property__image-grid {
    width: 100%;
    height: 350px;
    border-radius: 24px;
}

.lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 {
    grid-template-columns: 1fr !important;
    grid-template-rows: 330px !important;
}

.lf-single-property__hero-wrap .lf-single-property__image-grid--count-2 {
    grid-template-rows: repeat(2, 163px) !important;
}

.lf-single-property__hero-wrap .lf-single-property__image-grid--count-3 {
    grid-template-rows: repeat(2, 163px) !important;
}

.lf-single-property__hero-wrap .lf-single-property__image-tile.is-main,
.lf-single-property__hero-wrap .lf-single-property__image-tile.is-main img {
    border-radius: 24px 0 0 24px;
}

.lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 .lf-single-property__image-tile.is-main,
.lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 .lf-single-property__image-tile.is-main img {
    border-radius: 24px;
}

.lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(2),
.lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(2) img {
    border-top-right-radius: 24px;
}

.lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(4),
.lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(4) img,
.lf-single-property__hero-wrap .lf-single-property__image-grid--count-3 .lf-single-property__image-tile:nth-child(3),
.lf-single-property__hero-wrap .lf-single-property__image-grid--count-3 .lf-single-property__image-tile:nth-child(3) img,
.lf-single-property__hero-wrap .lf-single-property__image-grid--count-2 .lf-single-property__image-tile:nth-child(2),
.lf-single-property__hero-wrap .lf-single-property__image-grid--count-2 .lf-single-property__image-tile:nth-child(2) img {
    border-bottom-right-radius: 24px;
}

.lf-single-property__sidebar--hero {
    min-width: 0;
}

.lf-single-property__sidebar--hero .lf-single-property__sticky {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: auto !important;
}

.lf-single-property__sidebar--hero .lf-single-property__contact-card {
    flex: 1 1 auto;
    margin: 0;
    padding: 24px;
    border-radius: 24px;
}

.lf-single-property__sidebar--hero .lf-single-property__share-card {
    flex: 0 0 auto;
    margin: 0;
    padding: 18px 20px;
    border-radius: 20px;
}

.lf-single-property__sidebar--hero .lf-single-property__agency-head {
    align-items: center;
}

.lf-single-property__sidebar--hero .lf-single-property__agency-logo {
    width: 72px;
    height: 72px;
}

.lf-single-property__body {
    grid-template-columns: 1fr;
}

.lf-single-property__main {
    min-width: 0;
}

@media (max-width: 991px) {
    .lf-single-property__hero-wrap {
        grid-template-columns: 1fr;
        width: min(1540px, calc(100% - 28px));
    }

    .lf-single-property__hero-wrap .lf-single-property__image-grid {
        height: 342px;
        max-height: 342px;
        grid-template-columns: minmax(0, 1fr) 104px !important;
        grid-template-rows: repeat(3, 112px) !important;
    }
}

@media (max-width: 575px) {
    .lf-single-property__hero-wrap {
        width: calc(100% - 24px);
        gap: 16px;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-grid {
        height: 286px;
        max-height: 286px;
        grid-template-columns: minmax(0, 1fr) 82px !important;
        grid-template-rows: repeat(3, 94px) !important;
        border-radius: 20px;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-tile.is-main,
    .lf-single-property__hero-wrap .lf-single-property__image-tile.is-main img {
        border-radius: 20px 0 0 20px;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 .lf-single-property__image-tile.is-main,
    .lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 .lf-single-property__image-tile.is-main img {
        border-radius: 20px;
    }
}

/* Single intro actions and flat summary */
.lf-single-property__media-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.lf-single-property__media-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #edf1f4;
    border-radius: 12px;
    background: #fff;
    color: #17212b;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 49, 81, .12);
    cursor: pointer;
    transition: box-shadow .18s ease, transform .18s ease;
}

.lf-single-property__media-action svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.lf-single-property__media-action:hover {
    box-shadow: 0 5px 18px rgba(0, 49, 81, .16);
    transform: translateY(-1px);
}

.lf-single-property__summary-wrap {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.lf-single-property__summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    padding: 0 0 22px;
    border-bottom: 1px solid #e8edf0;
}

.lf-single-property__title {
    max-width: 820px;
    margin-bottom: 10px;
    font-size: clamp(26px, 2.15vw, 36px);
    font-weight: 800;
    line-height: 1.14;
}

.lf-single-property__price-card {
    min-width: 220px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: right;
}

.lf-single-property__price-label {
    display: none;
}

.lf-single-property__price-card .g5ere__property-price {
    color: #111;
    font-size: clamp(28px, 2.35vw, 40px);
    font-weight: 800;
    line-height: 1.05;
}

.lf-single-property__price-card .g5ere__pp-postfix {
    color: #515b63;
}

.lf-media-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.lf-media-modal.is-open {
    display: flex;
}

.lf-media-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 17, 24, .62);
}

.lf-media-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1040px, 100%);
    max-height: 88vh;
    overflow: auto;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.lf-media-modal__dialog--tour {
    width: min(1180px, 100%);
}

.lf-media-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 49, 81, .16);
    cursor: pointer;
}

.lf-media-modal__close::before,
.lf-media-modal__close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 2px;
    background: #111;
    content: "";
}

.lf-media-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.lf-media-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.lf-media-modal__body .lf-single-property__section,
.lf-media-modal__body .single-property-element {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.lf-media-modal__body iframe {
    min-height: 68vh;
    border: 0;
    border-radius: 16px;
}

#lf-property-video-modal .embed-responsive,
#lf-property-video-modal .g5core__embed-responsive {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

#lf-property-video-modal .embed-responsive::before,
#lf-property-video-modal .g5core__embed-responsive::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

#lf-property-video-modal .embed-responsive iframe,
#lf-property-video-modal .g5core__embed-responsive iframe,
#lf-property-video-modal .embed-responsive embed,
#lf-property-video-modal .g5core__embed-responsive embed,
#lf-property-video-modal .embed-responsive object,
#lf-property-video-modal .g5core__embed-responsive object {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    border: 0;
    border-radius: 16px;
}

body.lf-media-modal-open {
    overflow: hidden;
}

@media (max-width: 575px) {
    .lf-single-property__summary {
        grid-template-columns: 1fr;
    }

    .lf-single-property__price-card {
        min-width: 0;
        text-align: left;
    }

    .lf-single-property__media-action {
        flex: 1 1 auto;
    }

    .lf-media-modal {
        padding: 12px;
    }

    .lf-media-modal__dialog {
        padding: 22px 16px;
        border-radius: 18px;
    }
}

/* Listing gallery: thumbnails below main image. Single gallery keeps side thumbnails. */
.g5ere__listing-wrap .lf-property-card .lf-property-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 260px 82px;
    gap: 2px !important;
    height: 345px;
    min-height: 345px;
    max-height: 345px;
    border-radius: 18px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery__main {
    grid-row: auto;
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    border-radius: 18px 18px 0 0;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery__image {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 2px !important;
    height: 82px;
    min-height: 82px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery__thumb {
    height: 82px;
    min-height: 82px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery__thumb:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 18px !important;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery__thumb:last-child {
    border-bottom-right-radius: 18px !important;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery--count-1 {
    grid-template-rows: 260px;
    height: 260px;
    min-height: 260px;
    max-height: 260px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery--count-1 .lf-property-gallery__main,
.g5ere__listing-wrap .lf-property-card .lf-property-gallery--count-1 .lf-property-gallery__image {
    border-radius: 18px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery__nav {
    top: 130px;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery__nav--next {
    right: 12px;
}

@media (max-width: 575px) {
    .g5ere__listing-wrap .lf-property-card .lf-property-gallery {
        grid-template-rows: 260px 72px;
        height: 335px;
        min-height: 335px;
        max-height: 335px;
    }

    .g5ere__listing-wrap .lf-property-card .lf-property-gallery__thumb,
    .g5ere__listing-wrap .lf-property-card .lf-property-gallery__thumbs {
        height: 72px;
        min-height: 72px;
    }
}

/* Listing reset: no gap between gallery and content, square gallery edges */
.g5ere__listing-wrap .lf-property-card .g5ere__property-item-inner {
    gap: 0 !important;
    border-radius: 0 !important;
}

.g5ere__listing-wrap .lf-property-card .g5ere__property-featured {
    padding: 0 !important;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery {
    border-radius: 0 !important;
    background: transparent;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery__main,
.g5ere__listing-wrap .lf-property-card .lf-property-gallery__image,
.g5ere__listing-wrap .lf-property-card .lf-property-gallery--count-1 .lf-property-gallery__main,
.g5ere__listing-wrap .lf-property-card .lf-property-gallery--count-1 .lf-property-gallery__image {
    border-radius: 0 !important;
}

.g5ere__listing-wrap .lf-property-card .lf-property-gallery__thumb,
.g5ere__listing-wrap .lf-property-card .lf-property-gallery__thumb:first-child,
.g5ere__listing-wrap .lf-property-card .lf-property-gallery__thumb:last-child {
    border-radius: 0 !important;
}

.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__property-item-inner{
    border-radius: 1.6rem !important;
    background-color: white !important;
    box-shadow: 0 0 2px 0 #00315129, 0 1px 4px 0 #0031511f !important;
    border: 0px !important;
}
.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__property-item-inner:hover{
    box-shadow: 0 4px 12px 0 #0000001f !important;
}
.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__listing-inner {
    row-gap: 0px !important;
}
.lf-property-gallery__thumbs,
.lf-property-gallery{
    gap: 2px !important;
}
.lf-property-gallery__thumb{
    border-radius: 0px !important;
}
.lf-property-gallery__thumb:hover img,
.lf-property-gallery__thumb.is-active img{
    transform:inherit !important;
}
.lf-property-gallery__thumb.is-active::after{
    display: none;
}
.g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-content{
    padding: 14px 18px !important;
}
h3.g5ere__loop-property-title{
    margin-bottom:0px !important;
}
@media screen and (max-width:991px){
    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-title{
        font-size: 16px !important;
    }
    .lf-property-contract-switch{ order: 2; }
    .lf-property-ordering{ order: 1; }
    .lf-property-toolbar{ margin-bottom: 20px !important;}
}
@media screen and (min-width:992px){
    .g5ere__listing-wrap.g5ere__property_layout-grid .g5ere__property-skin-list-04 .g5ere__loop-property-title{
        font-size: 18px !important;
    }
}

.FeatureList_icon__nNGZr{
    width: 28px !important;
    height: 28px !important;
}
.FeatureList_list__99TDu.lf-meta-info{
    display: grid !important;
    gap: 10px 10px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 20px 0px !important;
}
@media screen and (max-width:757px){
    .FeatureList_list__99TDu.lf-meta-info{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lf-property-ordering {
        justify-self: inherit;
        width: inherit;
        padding-top: 4px !important;
        margin: 15px 0;
    }
    h3.g5ere__loop-property-title{
        font-size: 16px !important;
    }
}
@media screen and (min-width:758px){
    .lf-property-card__price{
        margin-bottom: 25px !important;
    }
}
.FeatureList_item__D3KYH{
    display: flex !important;
    justify-content: start !important;
}

.g5core__post-featured{
    position: relative;
}
.g5ere__loop-property-status{
    position: absolute;
    top: -2px !important;
    right: 0px;
    z-index: 999;
    left: inherit !important;
}

ul.g5ere__property-actions.list-inline.d-flex.align-items-center {
    justify-content: end;
    margin-top: 10px;
}

/* Single polish: taller hero, badge on photo, listing-style facts, dry description */
.lf-single-property__hero-wrap .lf-single-property__image-grid {
    height: 392px !important;
    max-height: 392px !important;
    /*grid-template-columns: minmax(0, 1fr) 150px !important;
    grid-template-rows: repeat(3, 152px) !important;*/
}

.lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 {
    grid-template-columns: 1fr !important;
    grid-template-rows: 460px !important;
}

.lf-single-property__hero-wrap .lf-single-property__image-grid--count-2,
.lf-single-property__hero-wrap .lf-single-property__image-grid--count-3 {
    grid-template-rows: repeat(2, 229px) !important;
}

.lf-single-property__sidebar--hero .lf-single-property__sticky,
.lf-single-property__sidebar--hero .lf-single-property__contact-card {
    height: 100%;
}


.lf-single-property__image-tile.is-main {
    position: relative;
}

.lf-single-property__photo-badges {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: calc(100% - 36px);
    pointer-events: none;
}

.lf-single-property__photo-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 0px;
    background: #00934a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.lf-single-property__image-tile--unavailable::after {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 62px;
    padding: 12px 30px;
    border: 5px solid rgba(170, 25, 25, .92);
    background: rgba(255, 255, 255, .96);
    color: rgba(170, 25, 25, .96);
    content: attr(data-stamp);
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-10deg);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .16);
    pointer-events: none;
}

.lf-single-property__feature-list {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px 22px !important;
    align-items: center;
    margin: 22px 0 0 !important;
    padding: 20px 0 0;
    border-top: 1px solid #edf0f2;
}

.lf-single-property__feature-list .FeatureList_item__D3KYH {
    display: inline-flex !important;
    gap: 8px;
    align-items: center;
    min-height: 34px;
    padding: 0;
    border-bottom: 0;
    color: #202020;
}

.lf-single-property__feature-list .FeatureList_icon__image {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.lf-single-property__feature-list .FeatureList_label__text {
    color: #202020;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.lf-single-property__feature-copy,
.lf-single-property__details-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.lf-single-property__feature-copy strong,
.lf-single-property__details-copy strong {
    color: #1f1f1f;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.lf-single-property__feature-copy span,
.lf-single-property__details-copy span {
    color: #555f66;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}

.lf-single-property__details {
    padding: 22px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lf-single-property__details-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #edf0f2;
}

.lf-single-property__details-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    min-height: 58px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f2;
}

.lf-single-property__details-icon img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.lf-single-property__description {
    position: relative;
    margin-top: 0;
    padding: 20px 0 !important;
    border: 0 !important;
    border-top: 1px solid #e7ebee !important;
    border-bottom: 1px solid #e7ebee !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lf-single-property__description h2 {
    margin-bottom: 10px;
}

.lf-single-property__description .lf-single-property__text {
    position: relative;
    color: #2a2a2a;
    font-size: 16px;
    line-height: 1.6;
}

.lf-single-property__description--collapsed:not(.is-expanded) .lf-single-property__text {
    max-height: 155px;
    overflow: hidden;
}

.lf-single-property__description--collapsed:not(.is-expanded) .lf-single-property__text::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 86%);
    content: "";
    pointer-events: none;
}

.lf-single-property__read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: transparent !important;
    color: #006ce5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
}

.lf-single-property__read-more:hover,
.lf-single-property__read-more:focus {
    color: #004fa8;
    text-decoration: underline;
    outline: 0;
}

@media (max-width: 991px) {
    .lf-single-property__hero-wrap .lf-single-property__image-grid {
        height: 370px !important;
        max-height: 370px !important;
        grid-template-columns: minmax(0, 1fr) 112px !important;
        grid-template-rows: repeat(3, 122px) !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 {
        grid-template-rows: 370px !important;
    }

    .lf-single-property__sidebar--hero .lf-single-property__contact-card {
        min-height: 0;
    }
}

@media (max-width: 575px) {
    .lf-single-property__summary-wrap,
    .lf-single-property__body,
    .lf-single-property__similar {
        width: calc(100% - 24px) !important;
    }

    .lf-single-property__section,
    .lf-single-property__share-card {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .lf-single-property__description {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    .lf-single-property__description .lf-single-property__text {
        font-size: 15px;
        line-height: 1.5;
    }

    .lf-single-property__description--collapsed:not(.is-expanded) .lf-single-property__text {
        max-height: 108px;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-grid {
        height: 306px !important;
        max-height: 306px !important;
        grid-template-columns: minmax(0, 1fr) 86px !important;
        grid-template-rows: repeat(3, 101px) !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 {
        grid-template-rows: 306px !important;
    }

    .lf-single-property__photo-badges {
        top: 12px;
        right: 12px;
    }

    .lf-single-property__photo-badge {
        min-height: 28px;
        padding: 6px 9px;
        font-size: 11px;
    }

    .lf-single-property__image-tile--unavailable::after {
        min-width: 164px;
        min-height: 52px;
        padding: 10px 20px;
        border-width: 4px;
        font-size: 24px;
    }

    .lf-single-property__feature-list {
        gap: 10px 14px !important;
    }

    .lf-single-property__details-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .lf-single-property__details-item {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 8px;
        min-height: 52px;
        padding: 9px 0;
    }

    .lf-single-property__details-icon img {
        width: 24px;
        height: 24px;
    }

.lf-single-property__details-copy strong,
.lf-single-property__details-copy span {
    font-size: 13px;
    }
}

/* Single map and mobile agency placement */
.lf-single-property__map {
    padding: 22px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e7ebee !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
}

.lf-single-property__map > h2 {
    margin: 0 0 14px;
    color: #171717;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.lf-single-property__map-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: #626262;
    font-size: 15px;
    line-height: 1.4;
}

.lf-single-property__map-address-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #f7f7f7;
    color: #00934a;
    flex-shrink: 0;
}

.lf-single-property__map-address-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.lf-single-property__map-address-text {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.lf-single-property__map-address-text .g5ere__property-address {
    display: inline;
    margin: 0;
}

.lf-single-property__map .g5ere__map-canvas,
.lf-single-property__map .g5ere__single-map,
.lf-single-property__map iframe {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.lf-property-contact-mobile {
    display: none;
}

@media (max-width: 575px) {
    #lf-property-contact {
        display: none !important;
    }

    .lf-property-contact-mobile {
        display: block;
        width: calc(100% - 24px);
        margin: 16px auto 24px;
    }

    .lf-property-contact-mobile .lf-single-property__sticky {
        position: static !important;
        height: auto !important;
    }

    .lf-property-contact-mobile .lf-single-property__contact-card {
        min-height: 0 !important;
        height: auto !important;
        margin: 0;
    }

    .lf-single-property__map {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }

    .lf-single-property__map > h2 {
        margin-bottom: 10px;
        font-size: 21px;
    }
}

/* Mobile single compact layout */
@media (max-width: 575px) {
    .lf-single-property__hero-wrap,
    .lf-single-property__summary-wrap,
    .lf-single-property__body,
    .lf-single-property__similar {
        margin-top: 14px !important;
        margin-bottom: 14px !important;
    }

    .lf-single-property__summary-wrap {
        padding-top: 4px !important;
        padding-bottom: 0 !important;
    }

    .lf-single-property__summary {
        gap: 10px !important;
    }

    .lf-single-property__feature-list {
        margin-top: 12px !important;
        padding-top: 12px !important;
    }

    .lf-single-property__description,
    .lf-single-property__details,
    .lf-single-property__map {
        margin-bottom: 14px !important;
        padding-top: 14px !important;
        padding-bottom: 2px !important;
    }

    .lf-single-property__section > h2,
    .lf-single-property__map > h2 {
        margin-bottom: 8px !important;
    }

    .lf-single-property__media-actions {
        margin-top: 18px !important;
        gap: 8px !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-grid {
        height: 370px !important;
        max-height: 370px !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: 278px 90px !important;
        gap: 2px !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-tile.is-main {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(2),
    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(3),
    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(4) {
        grid-row: 2 !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(2) {
        grid-column: 1 !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(3) {
        grid-column: 2 !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(4) {
        grid-column: 3 !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-tile.is-main,
    .lf-single-property__hero-wrap .lf-single-property__image-tile.is-main img {
        border-radius: 20px 20px 0 0 !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(2),
    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(2) img,
    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(3),
    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(3) img {
        border-radius: 0 !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(4),
    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(4) img {
        border-radius: 0 0 20px 0 !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(2),
    .lf-single-property__hero-wrap .lf-single-property__image-tile:nth-child(2) img {
        border-radius: 0 0 0 20px !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 {
        grid-template-columns: 1fr !important;
        grid-template-rows: 306px !important;
        height: 306px !important;
        max-height: 306px !important;
    }

    .lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 .lf-single-property__image-tile.is-main,
    .lf-single-property__hero-wrap .lf-single-property__image-grid--count-1 .lf-single-property__image-tile.is-main img {
        border-radius: 20px !important;
    }

    .g5ere__property-actions {
        margin-top: -30px !important;
        margin-bottom: 0 !important;
    }
}

/* Single media actions: desktop normal, mobile equal columns */
.lf-single-property__media-actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px !important;
}

.lf-single-property__media-action {
    width: auto;
    justify-content: center;
}

@media (max-width: 575px) {
    .lf-single-property__media-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lf-single-property__media-action {
        width: 100%;
    }

    .lf-single-property__media-action:only-child {
        grid-column: 1 / -1;
    }
}

/* Cleaner media modals and floor-plan accordion */
.lf-media-modal {
    padding: 22px;
    backdrop-filter: blur(2px);
}

.lf-media-modal__overlay {
    background: rgba(8, 12, 18, .68) !important;
}

.lf-media-modal__dialog {
    width: min(980px, 100%) !important;
    padding: 28px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24) !important;
}

.lf-media-modal__dialog--tour {
    width: min(1180px, 100%) !important;
}

.lf-media-modal__close {
    top: 14px !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 1px solid #e5e8eb !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12) !important;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.lf-media-modal__close:hover,
.lf-media-modal__close:focus {
    transform: scale(1.04);
    background: #f6f8fa !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .16) !important;
    outline: 0;
}

.lf-media-modal__close::before,
.lf-media-modal__close::after {
    width: 15px !important;
    height: 2px !important;
    border-radius: 99px;
    background: #171717 !important;
}

.lf-media-modal__body .lf-floor-plans {
    display: grid;
    gap: 12px;
}

.lf-floor-plans__item {
    overflow: hidden;
    border: 1px solid #e7ebee !important;
    border-radius: 14px !important;
    background: #fff;
}

.lf-floor-plans__header {
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
}

.lf-floor-plans__heading {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 16px 18px !important;
    cursor: default;
}

.lf-floor-plans__heading[role="button"] {
    cursor: pointer;
}

.lf-floor-plans__heading[role="button"]::after {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #30363a;
    border-bottom: 2px solid #30363a;
    content: "";
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.lf-floor-plans__heading[aria-expanded="true"]::after {
    transform: rotate(225deg);
}

.lf-floor-plans__title {
    margin: 0 !important;
    padding-right: 28px;
    color: #171717 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.lf-floor-plans__details {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px 14px !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #59636b;
    font-size: 13px;
}

.lf-floor-plans__details .label {
    color: #6b747c !important;
    font-weight: 600;
}

.lf-floor-plans__details .value {
    color: #171717 !important;
    font-weight: 700;
}

.lf-floor-plans__body {
    padding: 0 18px 18px !important;
}

.lf-floor-plans__image {
    margin: 0 !important;
    padding: 14px;
    border-radius: 12px;
    background: #f7f8f9;
}

.lf-floor-plans__image img {
    display: block;
    width: 100%;
    max-height: 68vh;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.lf-floor-plans__description {
    margin-top: 12px;
    color: #4d565e;
    font-size: 15px;
    line-height: 1.55;
}

@media (max-width: 575px) {
    .lf-media-modal {
        padding: 10px;
    }

    .lf-media-modal__dialog {
        max-height: 92vh;
        padding: 18px 14px !important;
        border-radius: 16px !important;
    }

    .lf-media-modal__close {
        top: 10px !important;
        right: 10px !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }

    .lf-floor-plans__heading {
        padding: 14px !important;
    }

    .lf-floor-plans__title {
        font-size: 17px !important;
    }

    .lf-floor-plans__body {
        padding: 0 14px 14px !important;
    }

    .lf-floor-plans__image {
        padding: 10px;
    }
}

@media screen and (max-width:991px){
    .invisible-mobile{
        display: none !important;
    }
    body.single-property #primary-content{
        padding-top: 20px !important;
    }
}

/* Mobile property archive toolbar */
.lf-property-mobile-actions,
.lf-property-ordering-panel,
.lf-property-panel__close {
    display: none;
}

.lf-property-filters__head,
.lf-property-ordering-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.lf-property-filters__head-main,
.lf-property-ordering-panel__head-main {
    min-width: 0;
}

.lf-property-ordering-panel__body .g5ere__ordering,
.lf-property-ordering-panel__body .bootstrap-select,
.lf-property-ordering-panel__body .g5ere__orderby {
    width: 100% !important;
}

.lf-property-ordering-panel__body .bootstrap-select > .dropdown-toggle,
.lf-property-ordering-panel__body .g5ere__orderby {
    min-height: 48px;
    border: 1px solid #dcdcdc;
    border-radius: 0;
    background: #f8f8f8;
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
}

@media screen and (max-width:991px){
    body.lf-property-panel-open {
        overflow: hidden;
    }

    .g5ere__listing-wrap.g5ere__property_layout-grid > .gel-heading-title,
    .g5ere__listing-wrap.g5ere__property_layout-list > .gel-heading-title {
        display: none;
    }

    .lf-property-toolbar {
        margin-bottom: 18px !important;
        background: #fff;
    }

    .lf-property-mobile-actions {
        position: sticky;
        top: 0;
        z-index: 3;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
        padding: 0;
        background: #fff;
    }

    .lf-property-mobile-actions__row {
        display: grid;
        width: 100%;
        gap: 0;
        background: #fff;
    }

    .lf-property-mobile-actions__row--contract {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-bottom: 1px solid #e5e5e5;
    }

    .lf-property-mobile-actions__row--tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lf-property-mobile-actions__contract-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 12px 10px;
        border-bottom: 3px solid transparent;
        background: #fff;
        color: #171717;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.1;
        text-align: center;
    }

    .lf-property-mobile-actions__contract-link:hover,
    .lf-property-mobile-actions__contract-link:focus {
        color: #171717;
        text-decoration: none;
    }

    .lf-property-mobile-actions__contract-link.is-active {
        border-bottom-color: #00934a;
        color: #00934a;
    }

    .lf-property-mobile-actions__button {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 48px;
        padding: 10px 12px;
        border: 0;
        border-bottom: 1px solid #e5e5e5;
        background: #fff;
        color: #171717;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.1;
        text-align: center;
        text-transform: none;
        box-shadow: none;
        width: 100%;
    }

    .lf-property-mobile-actions__row--tools .lf-property-mobile-actions__button:first-child {
        border-right: 1px solid #e5e5e5;
    }

    .lf-property-mobile-actions__button:hover,
    .lf-property-mobile-actions__button:focus {
        color: #171717;
        text-decoration: none;
    }

    .lf-property-mobile-actions__button.is-active {
        border-color: #00934a;
        background: #00934a;
        color: #fff;
    }

    .lf-property-mobile-actions__row.lf-property-mobile-actions__row--tools{
        border: 1px solid #e5e5e5;
    }

    .lf-property-mobile-actions__button--filter,
    .lf-property-mobile-actions__button--ordering {
        gap: 8px;
        padding-left: 14px;
        padding-right: 14px;
        border-bottom: 0px !important;
        border-radius: 0px !important;
    }

    .lf-property-mobile-actions__button--filter::before,
    .lf-property-mobile-actions__button--ordering::before {
        display: inline-block;
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
        content: "";
    }

    .lf-property-mobile-actions__button--filter::before {
        background:
            linear-gradient(#171717, #171717) 1px 3px / 14px 2px no-repeat,
            linear-gradient(#171717, #171717) 1px 8px / 14px 2px no-repeat,
            linear-gradient(#171717, #171717) 1px 13px / 14px 2px no-repeat;
    }

    .lf-property-mobile-actions__button--ordering::before {
        background:
            linear-gradient(#171717, #171717) 2px 3px / 10px 2px no-repeat,
            linear-gradient(#171717, #171717) 2px 8px / 14px 2px no-repeat,
            linear-gradient(#171717, #171717) 2px 13px / 7px 2px no-repeat;
    }

    .lf-property-mobile-actions__button--filter[aria-expanded="true"],
    .lf-property-mobile-actions__button--ordering[aria-expanded="true"] {
        background: #fff;
        color: #00934a;
    }

    .lf-property-mobile-actions__count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        background: #00934a;
        color: #fff;
        font-size: 10px;
        font-weight: 900;
        line-height: 1;
    }

    .lf-property-contract-switch,
    .lf-property-ordering {
        display: none;
    }

    .lf-property-filters {
        position: static;
        z-index: auto;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .lf-property-filters__panel,
    .lf-property-ordering-panel {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        display: block;
        max-height: min(82vh, 720px);
        padding: 22px 18px 24px;
        border: 0;
        border-radius: 20px 20px 0 0;
        background: #fff;
        box-shadow: 0 -16px 40px rgba(0, 0, 0, .18);
        opacity: 0;
        pointer-events: none;
        transform: translateY(104%);
        transition: opacity .22s ease, transform .22s ease;
        overflow-y: auto;
    }

    .lf-property-filters__panel.is-open,
    .lf-property-ordering-panel.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .lf-property-filters__panel::before,
    .lf-property-ordering-panel::before {
        position: fixed;
        inset: 0;
        z-index: -1;
        background: #fff;
        content: "";
    }

    .lf-property-filters__head,
    .lf-property-ordering-panel__head {
        margin-bottom: 18px;
        padding-bottom: 14px;
        border-bottom: 1px solid #ededed;
    }

    .lf-property-panel__close {
        position: relative;
        display: inline-flex;
        width: 40px !important;
        height: 40px;
        flex: 0 0 40px;
        padding: 0px !important;
        border: 1px solid #dcdcdc;
        background: #fff;
    }

    .lf-property-panel__close::before,
    .lf-property-panel__close::after {
        position: absolute;
        top: 18px;
        left: 10px;
        width: 18px;
        height: 2px;
        background: #171717;
        content: "";
    }

    .lf-property-panel__close::before {
        transform: rotate(45deg);
    }

    .lf-property-panel__close::after {
        transform: rotate(-45deg);
    }

    .lf-property-filters__eyebrow {
        min-height: 24px;
        padding: 4px 10px;
        font-size: 11px;
    }

    .lf-property-filters__title {
        margin-top: 10px;
        font-size: 22px;
    }

    .lf-property-ordering-panel__source {
        display: none;
    }

    .lf-property-ordering-panel__options {
        display: grid;
        gap: 0;
    }

    .lf-property-ordering-option {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        min-height: 54px;
        padding: 14px 2px;
        border-bottom: 1px solid #ededed;
        background: #fff;
        color: #171717;
        text-decoration: none;
    }

    .lf-property-ordering-option:hover,
    .lf-property-ordering-option:focus {
        color: #171717;
        text-decoration: none;
    }

    .lf-property-ordering-option__radio {
        position: relative;
        width: 18px;
        height: 18px;
        border: 2px solid #c9d0cc;
        border-radius: 50%;
    }

    .lf-property-ordering-option.is-active .lf-property-ordering-option__radio {
        border-color: #00934a;
    }

    .lf-property-ordering-option.is-active .lf-property-ordering-option__radio::after {
        position: absolute;
        top: 3px;
        left: 3px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #00934a;
        content: "";
    }

    .lf-property-ordering-option__label {
        color: inherit;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
    }

    .lf-property-filters .row {
        row-gap: 12px;
    }

    .lf-property-filters .form-control,
    .lf-property-filters .bootstrap-select > .dropdown-toggle,
    .lf-property-ordering-panel .bootstrap-select > .dropdown-toggle,
    .lf-property-ordering-panel .g5ere__orderby {
        min-height: 48px;
    }

    .lf-property-ordering-panel__body .bootstrap-select,
    .lf-property-ordering-panel__body .g5ere__orderby {
        min-width: 0;
    }
}
