        /* Personalizzazioni locali della lista: card, controlli Leaflet e responsive. */
        .propertyList .cards .propertyThumb .thumbSlide .owl-dots {
            display: none !important;
        }

        .propertyList .thumb-slider-manual img[data-wimmo-src] {
            visibility: hidden;
        }

        .map-navigation-hint {
            position: absolute;
            bottom: calc(16px + env(safe-area-inset-bottom, 0px));
            left: 50%;
            z-index: 800;
            max-width: calc(100% - 32px);
            padding: 8px 14px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 999px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
            color: #172b4d;
            font-size: 12px;
            font-weight: 600;
            line-height: 1.3;
            text-align: center;
            pointer-events: none;
            transform: translateX(-50%);
        }

/* Header dedicato alla ricerca e barra risultati della lista/mappa. */
.header.header-search-page,
.header.header-search-page.header-fixed[data-sticky-element] {
    position: sticky;
    top: 0 !important;
    width: 100%;
    z-index: 1024;
    animation: none;
}

.header-search-page .header-search-controls {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    max-width: 680px;
}

.header-search-page .map-search-wrap {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0.3rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 50px;
    background: var(--bs-body-bg);
}

.header-search-page .map-search-wrap .form-control {
    min-width: 0;
    height: 42px;
    padding: 0.4rem 0.8rem;
    border: 0;
    background: transparent;
}

.header-search-page .map-search-wrap.has-drawn-area {
    border-color: var(--bs-primary-border-subtle);
    background: var(--bs-primary-bg-subtle);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--bs-primary), transparent 88%);
}

.header-search-page .map-search-wrap.has-drawn-area .form-control {
    padding-left: 2.4rem;
    color: var(--bs-primary-text-emphasis);
    font-weight: 600;
}

.header-search-page .list-drawn-area-icon {
    display: none;
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1;
    color: var(--bs-primary);
    transform: translateY(-50%);
}

.header-search-page .map-search-wrap.has-drawn-area .list-drawn-area-icon {
    display: block;
}

.header-search-page .map-search-wrap .btn-search,
.header-search-page .btn-map-filter {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--bs-primary-border-subtle);
    border-radius: 50%;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}

.header-search-page .btn-map-filter {
    width: 48px;
    height: 48px;
    border-color: var(--bs-border-color);
    background: var(--bs-body-bg);
    color: var(--bs-dark);
}

.header-search-page .map-search-wrap .btn-search:hover,
.header-search-page .btn-map-filter:hover {
    border-color: var(--bs-primary);
    background: var(--bs-primary);
    color: var(--bs-white);
}

.header-search-page .badge-selected {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 12px;
}

.header-search-page .list-map-search-menu {
    top: calc(100% + 8px);
    z-index: 1055;
}

.header-search-page .list-map-edit-link:not(.d-none) {
    display: flex;
}

.header-search-page .header-search-desktop-menu {
    display: none;
}

.header-search-page .header-search-desktop-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    background: var(--bs-body-bg);
    color: var(--bs-nav-color);
    font-size: 24px;
}

.header-search-page .header-search-desktop-menu-toggle:hover,
.header-search-page .header-search-desktop-menu-toggle:focus-visible {
    border-color: var(--bs-primary-border-subtle);
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}

.header-search-page .header-search-desktop-links {
    min-width: 230px;
    padding: 6px;
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    background: var(--bs-body-bg);
    box-shadow: 0 8px 20px rgba(33, 37, 41, 0.15);
}

.header-search-page .header-search-desktop-links .dropdown-item {
    padding: 10px 12px;
    border-radius: 6px;
}

.map-list-wrap .list-results-toolbar {
    position: sticky;
    top: var(--list-search-header-height, 78px);
    z-index: 4;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
}

.map-list-wrap .list-sort-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 170px;
    height: 38px;
    padding: 0 15px;
    border: 1px solid var(--bs-border-color);
    border-radius: 50px;
    background-color: var(--bs-light);
    color: var(--bs-body-color);
    font-size: 0.875rem;
    text-align: left;
}

.map-list-wrap .list-sort-label-mobile {
    display: none;
}

.map-list-wrap .list-sort-menu {
    min-width: 170px;
    padding: 6px;
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    background: var(--bs-body-bg);
    box-shadow: 0 8px 20px rgba(33, 37, 41, 0.15);
}

.map-list-wrap .list-sort-menu .dropdown-item {
    border-radius: 6px;
    font-size: 0.875rem;
}

.map-list-wrap .list-sort-menu .dropdown-item.active {
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
}

#offcanvasScrolling .list-filter-submit,
#offcanvasScrolling .list-filter-submit:hover,
#offcanvasScrolling .list-filter-submit:focus,
#offcanvasScrolling .list-filter-submit:focus-visible {
    border-color: var(--bs-secondary) !important;
    background-color: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

@media (min-width: 992px) {
    .header-search-page .navigation-landscape {
        gap: 16px;
    }

    .header-search-page .navigation-landscape .header-search-controls {
        margin-right: auto;
        margin-left: 0;
    }

    .header-search-page .navigation-landscape .nav-menus-wrapper {
        flex: 0 0 auto;
        width: auto;
        gap: 12px;
    }

    .header-search-page .navigation-landscape .header-search-institutional-menu {
        display: none;
    }

    .header-search-page .header-search-desktop-menu {
        display: block;
    }

    .map-content-wrapper .map-wrapper {
        top: var(--list-search-header-height, 78px);
        height: calc(100vh - var(--list-search-header-height, 78px));
    }
}

@media (max-width: 991.98px) {
    #main-wrapper {
        padding-top: var(--list-search-header-height, 130px);
    }

    .header.header-search-page,
    .header.header-search-page.header-fixed[data-sticky-element] {
        position: fixed;
    }

    .header-search-page .navigation-portrait {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .header-search-page .navigation-portrait .nav-header {
        position: relative;
    }

    .header-search-page .header-search-controls {
        order: 2;
        flex-basis: 100%;
        max-width: none;
    }

    .map-list-wrap .map-content-bxo {
        padding-top: var(--list-search-toolbar-height, 100px);
    }

    .map-list-wrap .list-results-toolbar {
        position: fixed;
        top: calc(var(--list-search-header-height, 130px) - 2px);
        right: 0;
        left: 0;
        z-index: 1023;
        margin: 0;
    }

    .map-list-wrap .list-results-toolbar .showingOption {
        gap: 8px;
    }

    /* Prova mobile: i filtri rapidi restano nel markup, ma non nella barra sticky. */
    .map-list-wrap .list-results-toolbar .list-active-filters {
        display: none;
    }

    .map-list-wrap .list-results-toolbar .flexShorting {
        flex: 0 0 auto !important;
    }

    .select2-container--open .select2-search__field {
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .map-list-wrap .list-sort-toggle {
        width: 112px;
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .map-list-wrap .list-sort-label-full {
        display: none;
    }

    .map-list-wrap .list-sort-label-mobile {
        display: inline;
    }
}

@media (max-width: 359.98px) {
    .map-list-wrap .list-results-toolbar .showingResults {
        flex-basis: 100%;
    }
}

        .project-result-cover {
            position: relative;
            height: 100%;
            min-height: 250px;
        }

        .project-result-cover > img {
            width: 100%;
            height: 100%;
            min-height: 250px;
            object-fit: cover;
        }

        .project-result-label {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 5px 11px;
            border-radius: 999px;
            background: var(--bs-primary);
            color: #fff;
            font-size: .75rem;
            font-weight: 700;
        }

        .project-result-card {
            cursor: pointer;
        }

        .project-result-heading {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            width: 100%;
        }

        .project-result-heading .price {
            min-width: 0;
        }

        .project-result-prices {
            min-width: 0;
        }

        .project-result-prices .price {
            margin-bottom: 0;
        }

        .project-result-price-secondary {
            display: block;
            color: var(--bs-primary);
            font-size: .9rem;
            font-weight: 600;
        }

        .project-result-agency {
            display: block;
            flex: 0 0 clamp(88px, 25vw, 150px);
            height: 60px;
            overflow: hidden;
            border: 1px solid var(--bs-border-color);
            border-radius: 0.4rem;
            background-color: var(--bs-white);
        }

        .project-result-agency img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .project-result-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 16px;
            margin: 8px 0 14px;
            font-size: .82rem;
        }

        .project-result-meta i {
            color: var(--bs-primary);
        }

        .project-result-units-title {
            margin-bottom: 8px;
            font-weight: 700;
        }

        .project-unit-preview {
            display: flex;
            align-items: center;
            gap: 10px;
            min-height: 80px;
            padding: 7px;
            border: 1px solid var(--bs-border-color);
            border-radius: 8px;
            color: inherit;
            text-decoration: none;
        }

        .project-unit-preview:hover {
            border-color: var(--bs-primary);
            color: inherit;
        }

        .project-unit-preview img {
            width: 70px;
            height: 64px;
            flex: 0 0 70px;
            border-radius: 5px;
            object-fit: cover;
        }

        .project-unit-preview__body,
        .project-unit-preview__body span {
            display: block;
        }

        .project-unit-preview__body {
            min-width: 0;
            font-size: .78rem;
        }

        .project-unit-preview__body strong {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .project-units-carousel .owl-nav {
            margin-top: 5px;
            text-align: right;
        }

        .project-units-carousel .owl-nav button {
            font-size: 1.4rem !important;
            line-height: 1 !important;
        }

        @media (hover: hover) and (pointer: fine) {
            .propertyList .cards {
                transition: border-color .2s ease;
            }

            .propertyList .cards:hover {
                border-color: rgba(13, 110, 253, 0.55);
            }
        }

        .list-active-filters {
            display: flex;
            flex: 1 1 auto;
            align-items: center;
            min-width: 0;
            margin: 0 12px;
            gap: 6px;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .list-active-filters::-webkit-scrollbar {
            display: none;
        }

        #list-filter-stati-immobile {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            grid-gap: 0.8rem;
        }

        #list-filter-stati-immobile .form-checks,
        #list-filter-stati-immobile .btn-selection {
            min-width: 0;
        }

        #list-filter-stati-immobile .btn-selection {
            overflow-wrap: anywhere;
        }

        @media (hover: none), (pointer: coarse) {
            .property-type-picker .btn-check:not(:checked) + .btn-selection:hover,
            .property-type-picker .btn-check:not(:checked) + .btn-selection:focus,
            .property-type-picker .btn-check:not(:checked) + .btn-selection:focus-visible {
                color: var(--bs-body-color);
                background: transparent;
                border-color: var(--bs-border-color);
            }
        }

        .list-active-filter,
        .list-active-filters .list-open-filters {
            display: inline-flex;
            flex: 0 0 auto;
            align-items: center;
            gap: 5px;
            padding: 0.4rem 0.65rem;
            border: 1px solid var(--bs-border-color);
            border-radius: 999px;
            background: var(--bs-body-bg);
            color: var(--bs-body-color);
            font-size: 0.78rem;
            font-weight: 600;
            line-height: 1;
            text-decoration: none;
            white-space: nowrap;
        }

        .list-active-filters .list-open-filters {
            border-color: var(--bs-primary);
            color: var(--bs-primary);
        }

        .list-active-filter-remove {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 17px;
            height: 17px;
            margin: -2px -3px -2px 1px;
            padding: 0;
            border: 0;
            border-radius: 50%;
            background: transparent;
            color: currentColor;
            font-size: 0.9rem;
            line-height: 1;
        }

        .list-active-filter-remove:hover {
            background: var(--bs-secondary-bg);
        }

        .list-active-filter-prezzo-toggle,
        .list-active-filter-superficie-toggle {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            height: 38px;
            padding: 0 15px;
            border: 1px solid var(--bs-border-color);
            border-radius: 50px;
            background-color: var(--bs-light);
            color: var(--bs-body-color);
            font-size: 0.875rem;
            font-weight: 400;
            line-height: 1;
            white-space: nowrap;
        }

        .list-active-filters .list-active-filter-prezzo-wrap,
        .list-active-filters .list-active-filter-superficie-wrap {
            flex: 0 0 auto;
            margin: 0;
        }

        .showingOption #list-active-filter-tipologia + .select2-container .select2-selection--multiple {
            position: relative;
            height: 38px;
            min-height: 38px;
            padding: 0 36px 0 15px;
            border: 1px solid var(--bs-border-color);
            border-radius: 50px;
            background-color: var(--bs-light);
        }

        .list-active-filters .list-active-filter-tipologia-wrap {
            flex: 0 0 170px;
        }

        .showingOption #list-active-filter-tipologia + .select2-container {
            width: 170px !important;
        }

        .list-active-filters .list-active-filter-contratto-wrap {
            flex: 0 0 140px;
        }

        .showingOption #list-active-filter-contratto + .select2-container {
            width: 140px !important;
        }

        .showingOption #list-active-filter-tipologia + .select2-container .select2-selection--multiple::after {
            position: absolute;
            top: 15px;
            right: 12px;
            width: 0;
            height: 0;
            border-top: 5px solid currentColor;
            border-right: 4px solid transparent;
            border-left: 4px solid transparent;
            content: '';
        }

        .showingOption #list-active-filter-tipologia + .select2-container .select2-selection--multiple::before {
            color: var(--bs-body-color);
            font-size: 0.875rem;
            line-height: 1;
            content: attr(data-tipologie-label);
        }

        .showingOption #list-active-filter-tipologia + .select2-container .select2-selection__rendered {
            display: none !important;
        }

        .showingOption #list-active-filter-tipologia + .select2-container .select2-selection__choice,
        .showingOption #list-active-filter-tipologia + .select2-container .select2-search--inline {
            display: none !important;
        }

        .select2-results__option .list-tipologia-opzione {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .select2-results__option .list-tipologia-checkbox {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 16px;
            height: 16px;
            border: 1px solid var(--bs-gray-400);
            border-radius: 3px;
            background: var(--bs-body-bg);
        }

        .select2-results__option--selected .list-tipologia-checkbox {
            border-color: var(--bs-primary);
            background: var(--bs-primary);
        }

        .select2-results__option--selected .list-tipologia-checkbox::after {
            color: var(--bs-white);
            font-size: 0.72rem;
            line-height: 1;
            content: '✓';
        }

        body .select2-dropdown.list-tipologie-dropdown .select2-results > .select2-results__options {
            max-height: 420px !important;
            overflow-y: auto;
        }

        .list-active-filter-prezzo-toggle:hover,
        .list-active-filter-prezzo-toggle:focus,
        .list-active-filter-superficie-toggle:hover,
        .list-active-filter-superficie-toggle:focus {
            border-color: var(--bs-primary);
            color: var(--bs-body-color);
        }

        .list-active-filter-prezzo-chevron {
            margin-left: 3px;
            font-size: 0.7rem;
        }

        .list-active-filter-prezzo-menu,
        .list-active-filter-superficie-menu {
            position: fixed;
            z-index: 1080;
            width: 255px;
            padding: 14px;
            border: 1px solid var(--bs-border-color);
            border-radius: 8px;
            box-shadow: 0 8px 20px rgba(33, 37, 41, 0.15);
        }

        .list-active-filter-input-wrap {
            position: relative;
        }

        .list-active-filter-input-wrap .form-control {
            padding-right: 38px;
        }

        .list-active-filter-input-clear {
            position: absolute;
            top: 50%;
            right: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            padding: 0;
            border: 0;
            border-radius: 50%;
            background: transparent;
            color: var(--bs-secondary-color);
            transform: translateY(-50%);
        }

        .list-active-filter-input-clear:hover,
        .list-active-filter-input-clear:focus {
            background: var(--bs-secondary-bg);
            color: var(--bs-body-color);
        }

        #offcanvasScrolling .list-active-filter-input-wrap .form-control:not(:placeholder-shown) {
            border-color: rgba(var(--bs-primary-rgb), 0.45);
            background: rgba(var(--bs-primary-rgb), 0.07);
        }

        .list-price-suggestions-menu {
            position: fixed;
            z-index: 1090;
            display: none;
            max-height: 240px;
            overflow-y: auto;
            padding: 5px;
            border: 1px solid var(--bs-border-color);
            border-radius: 7px;
            background: var(--bs-body-bg);
            box-shadow: 0 8px 20px rgba(33, 37, 41, 0.15);
        }

        .list-price-suggestions-menu.show {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 3px;
        }

        .list-price-suggestion {
            padding: 6px 8px;
            border: 0;
            border-radius: 4px;
            background: transparent;
            color: var(--bs-body-color);
            font-size: 0.8rem;
            text-align: left;
        }

        .list-price-suggestion:hover,
        .list-price-suggestion:focus {
            background: var(--bs-secondary-bg);
            color: var(--bs-primary);
        }

        @media (max-width: 575.98px) {
            .list-active-filters {
                order: 3;
                flex-basis: 100%;
                margin: 8px 0 0;
            }

            .showingOption {
                flex-wrap: wrap;
            }
        }

        .propertyList .cards {
            box-shadow: 0 5px 16px rgba(33, 37, 41, 0.12);
        }

        .propertyList .cards .propertyDescription p {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }

        .propertyList .cards .propertyInfo ul li {
            font-weight: 700;
        }

        .propertyList .cards .propertyInfo ul li .fa-solid {
            font-weight: 900;
        }

        .propertyList .cards .propertyInfo ul li .bi {
            font-weight: 400;
        }

        .propertyList[data-detail-url] .cards {
            cursor: pointer;
        }

        .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap .property-contact-action,
        .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap .property-contact-action:hover,
        .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap .property-contact-action:focus,
        .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap .property-contact-action:active {
            background-color: var(--bs-secondary);
            border-color: var(--bs-secondary);
            color: var(--bs-white) !important;
        }

        @media (max-width: 767.98px) {
            .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap a.property-contact-action[href^="tel"],
            .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap a.property-contact-action[href^="tel"]:hover,
            .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap a.property-contact-action[href^="tel"]:focus,
            .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap a.property-contact-action[href^="tel"]:active {
                background-color: var(--bs-primary);
                border-color: var(--bs-primary);
            }
        }

.lista-contact-submit,
.lista-contact-submit:hover,
.lista-contact-submit:focus,
.lista-contact-submit:active {
    color: #ffffff !important;
}

        .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap {
            align-items: center;
        }

        .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap > .annuncio-energy-badge {
            margin-right: 10px;
        }

        @media (min-width: 768px) {
            .propertyList .cards .propertyCaption .titleWrap .headUp {
                display: flex;
                align-items: center;
                column-gap: 14px;
                flex-wrap: wrap;
            }

            .propertyList .cards .propertyCaption .titleWrap .headUp .subInfo,
            .propertyList .cards .propertyCaption .titleWrap .headUp .propertyAddress {
                flex-basis: 100%;
            }
        }

        .propertyList .cards .propertyCaption .propertyAddress {
            display: flex;
            align-items: center;
            column-gap: 6px;
            margin-top: 4px;
            color: var(--bs-secondary-color);
            font-size: 14px;
        }

        .propertyList .cards .ribbonWrap .resale__ribbon {
            background: color-mix(in srgb, #fd7e14, transparent 80%);
            color: #fd7e14;
        }

        .propertyList .cards .ribbonWrap .emi__ribbon {
            background: #d5f4e8;
            color: #1e8f62;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, calc(100% - 54px) 50%);
        }

        .propertyList .cards .ribbonWrap .energy-class-ribbon {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 42px;
            height: 24px;
            padding: 0 10px;
            border: 2px solid #ffffff;
            border-right: 0;
            border-radius: 999px 0 0 999px;
            font-size: 11px;
            font-weight: 700;
            line-height: 1;
            color: #ffffff;
            text-transform: uppercase;
        }

        .propertyList .cards .ribbonWrap .energy-class-ribbon.energy-class-a4,
        .propertyList .cards .ribbonWrap .energy-class-ribbon.energy-class-a3 { background-color: #00833e; }
        .propertyList .cards .ribbonWrap .energy-class-ribbon.energy-class-a2 { background-color: #35a84a; }
        .propertyList .cards .ribbonWrap .energy-class-ribbon.energy-class-a1 { background-color: #91c83e; color: #1d3b20; }
        .propertyList .cards .ribbonWrap .energy-class-ribbon.energy-class-b { background-color: #c8d72e; color: #26320e; }
        .propertyList .cards .ribbonWrap .energy-class-ribbon.energy-class-c { background-color: #f2de22; color: #4b4100; }
        .propertyList .cards .ribbonWrap .energy-class-ribbon.energy-class-d { background-color: #f6b52c; color: #4c2e00; }
        .propertyList .cards .ribbonWrap .energy-class-ribbon.energy-class-e { background-color: #ef832b; }
        .propertyList .cards .ribbonWrap .energy-class-ribbon.energy-class-f { background-color: #df562d; }
        .propertyList .cards .ribbonWrap .energy-class-ribbon.energy-class-g { background-color: #cc2e2e; }

        @media (max-width: 991.98px) {
            .map-wrapper .map-mobile-visible {
                visibility: visible;
                transform: none;
            }

            .propertyList .cards .ribbonWrap .resale__ribbon {
                background: #fd7e14;
                color: #ffffff;
            }

            .propertyList .cards .propertyDescription {
                display: none !important;
            }
        }

        /* Vista mappa mobile e card desktop ridotte quando la mappa viene estesa. */
        .map-compact-favorite {
            display: none;
        }

        @media (min-width: 992px) {
            .map-content-wrapper .map-wrapper,
            .map-content-wrapper .map-list-wrap {
                transition: width 0.25s ease;
            }

            .map-content-wrapper.map-expanded .map-wrapper {
                width: 70%;
            }

            .map-content-wrapper.map-expanded .map-list-wrap {
                width: 30%;
                min-width: 0;
            }

            .map-content-wrapper.map-expanded .showingOption {
                align-items: flex-start;
            }

            .map-content-wrapper.map-expanded .list-active-filters {
                order: 3;
                flex: 1 1 100%;
                width: 100%;
                min-width: 0;
                margin: 8px 0 0;
                flex-wrap: wrap;
                row-gap: 6px;
                overflow-x: visible;
            }

            .map-content-wrapper.map-expanded .flexShorting {
                order: 2;
                flex: 0 0 auto !important;
                margin-left: auto;
            }

    .map-content-wrapper.map-expanded .propertyList .cards {
        padding: 14px;
        cursor: pointer;
    }

            .map-content-wrapper.map-expanded .propertyList .cards > .row {
                align-items: center;
                --bs-gutter-x: 12px;
                --bs-gutter-y: 0;
            }

            .map-content-wrapper.map-expanded .propertyList .cards > .row > .col-xl-4 {
                flex: 0 0 138px;
                max-width: 138px;
            }

            .map-content-wrapper.map-expanded .propertyList .cards > .row > .col-xl-8 {
                flex: 1 1 0;
                max-width: calc(100% - 138px);
            }

            .map-content-wrapper.map-expanded .propertyList .propertyThumb {
                width: 124px;
                height: 124px;
                min-height: 0;
                overflow: hidden;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyThumb .thumbSlide,
            .map-content-wrapper.map-expanded .propertyList .propertyThumb .thumb-slider,
            .map-content-wrapper.map-expanded .propertyList .propertyThumb .owl-stage-outer,
            .map-content-wrapper.map-expanded .propertyList .propertyThumb .owl-stage,
            .map-content-wrapper.map-expanded .propertyList .propertyThumb .owl-item,
            .map-content-wrapper.map-expanded .propertyList .propertyThumb .single-carousel,
            .map-content-wrapper.map-expanded .propertyList .propertyThumb .list-thumb {
                height: 100% !important;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyThumb .list-thumb {
                width: 100%;
                object-fit: cover;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyThumb .upperInfo,
            .map-content-wrapper.map-expanded .propertyList .propertyThumb .property-concluso-badge,
            .map-content-wrapper.map-expanded .propertyList .propertyThumb .property-trattativa-badge,
            .map-content-wrapper.map-expanded .propertyList .propertyThumb .property-gallery-counter,
            .map-content-wrapper.map-expanded .propertyList .propertyThumb .bookmarkProperty {
                display: none;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyCaption {
                padding: 0;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyCaption .price {
                margin-bottom: 4px;
                font-size: 1rem;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyCaption .subInfo {
                font-size: 0.75rem;
                line-height: 1.3;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyDescription {
                display: none;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyInfo {
                margin-top: 8px;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyInfo li {
                margin-bottom: 3px;
                font-size: 0.72rem;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyInfo li:nth-child(n + 4) {
                display: none;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter {
                display: block;
                margin-top: 8px;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter .footCaps,
            .map-content-wrapper.map-expanded .propertyList .propertyFooter .contactWrap {
                display: flex;
                align-items: center;
            }

            .map-content-wrapper.map-expanded .propertyList .cards .propertyCaption .propertyFooter .footCaps {
                justify-content: space-between;
                flex-wrap: nowrap;
                gap: 8px;
            }

            .map-content-wrapper.map-expanded .propertyList .cards .propertyCaption .propertyFooter .footCaps .agencyWraps {
                flex: 0 1 96px;
                width: 96px;
                min-width: 0;
            }

            .map-content-wrapper.map-expanded .propertyList .cards .propertyCaption .propertyFooter .footCaps .agencyWraps .agencyImg {
                height: 36px;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter .agency-private-label,
            .map-content-wrapper.map-expanded .project-result-agency {
                display: none !important;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter .annuncio-energy-badge {
                display: none !important;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter .contactWrap {
                flex: 0 0 auto;
                gap: 6px;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter .contactWrap .btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 32px;
                height: 32px;
                padding: 0;
                font-size: 0;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter .contactWrap .btn i {
                margin: 0 !important;
                font-size: 1rem;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter .map-card-action-label {
                display: none;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter .map-compact-favorite.is-active {
                color: var(--bs-danger);
            }
        }

        @media (min-width: 992px) and (max-width: 1399.98px) {
            .map-content-wrapper.map-expanded .propertyList .cards .propertyCaption .propertyFooter .footCaps {
                gap: 4px;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter .contactWrap {
                gap: 4px;
            }

            .map-content-wrapper.map-expanded .propertyList .propertyFooter .contactWrap .btn {
                width: 28px;
                height: 28px;
            }
        }

        .wimmo-map-popup {
            min-width: 260px;
        }

        .wimmo-map-popup-gallery {
            position: relative;
            height: 145px;
            margin: -1px -1px 12px;
            overflow: hidden;
            border-radius: 6px 6px 0 0;
            background: #f1f3f5;
        }

        .wimmo-map-popup-image {
            width: 100%;
            height: 145px;
            object-fit: cover;
        }

        .wimmo-map-popup-gallery-button {
            position: absolute;
            top: 50%;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            padding: 0;
            background: rgba(255, 255, 255, 0.9);
            border: 0;
            border-radius: 50%;
            color: #212529;
            transform: translateY(-50%);
        }

        .wimmo-map-popup-gallery-button--previous {
            left: 8px;
        }

        .wimmo-map-popup-gallery-button--next {
            right: 8px;
        }

        .wimmo-map-popup-gallery-counter {
            position: absolute;
            right: 8px;
            bottom: 8px;
            padding: 3px 7px;
            background: rgba(33, 37, 41, 0.78);
            border-radius: 10px;
            color: #ffffff;
            font-size: 11px;
            line-height: 1;
        }

        .wimmo-map-popup-features {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin: 0 0 12px;
            padding: 0;
            list-style: none;
        }

        .wimmo-map-popup-features li {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 7px;
            background: #f1f3f5;
            border-radius: 4px;
            color: #495057;
            font-size: 11px;
            line-height: 1.2;
        }

        .wimmo-map-popup-features i {
            color: #0d6efd;
        }

        .wimmo-map-popup-actions {
            display: grid;
            gap: 6px;
        }

        .wimmo-map-popup-action {
            background: #0d6efd;
            border-color: #0d6efd;
            color: #ffffff !important;
            font-weight: 700 !important;
        }

        .wimmo-map-popup-action:hover,
        .wimmo-map-popup-action:focus {
            background: #0b5ed7;
            border-color: #0b5ed7;
            color: #ffffff !important;
        }

        .wimmo-map-control-button,
        .wimmo-map-control-button:hover,
        .wimmo-map-control-button:focus {
            color: #ffffff !important;
        }

        .wimmo-map-price-marker {
            background: transparent;
            border: 0;
        }

        .wimmo-map-price-marker__label {
            position: relative;
            display: inline-flex;
            align-items: center;
            min-height: 32px;
            padding: 6px 11px;
            background: #0d6efd;
            border: 2px solid #ffffff;
            border-radius: 18px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
            color: #ffffff;
            font-size: 12px;
            font-weight: 700;
            line-height: 1;
            white-space: nowrap;
            transform: translate(-50%, -100%);
        }

        .wimmo-map-price-marker__label::after {
            position: absolute;
            bottom: -7px;
            left: 50%;
            width: 0;
            height: 0;
            border-top: 7px solid #0d6efd;
            border-right: 6px solid transparent;
            border-left: 6px solid transparent;
            content: '';
            transform: translateX(-50%);
        }

        .wimmo-map-price-marker--highlighted .wimmo-map-price-marker__label,
        .wimmo-map-price-marker--card-hover .wimmo-map-price-marker__label {
            background: #dc3545;
            transform: translate(-50%, -100%) scale(1.12);
        }

        .wimmo-map-price-marker--highlighted .wimmo-map-price-marker__label::after,
        .wimmo-map-price-marker--card-hover .wimmo-map-price-marker__label::after {
            border-top-color: #dc3545;
        }

        .wimmo-map-project-marker .wimmo-map-price-marker__label {
            gap: 5px;
            background: #b45309;
        }

        .wimmo-map-project-marker .wimmo-map-price-marker__label::after {
            border-top-color: #b45309;
        }

        .wimmo-map-project-popup > .wimmo-map-popup-image {
            margin-bottom: 10px;
        }

        .wimmo-map-project-popup__type {
            display: block;
            margin-bottom: 4px;
            color: #b45309;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .wimmo-map-agency-marker {
            background: transparent;
            border: 0;
        }

        .wimmo-map-group-marker__label {
            gap: 6px;
            min-width: 42px;
            justify-content: center;
            font-size: 15px;
        }

        .wimmo-map-group-marker__label strong {
            font-size: 13px;
        }

        .wimmo-map-popup-group-navigation {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin: 0 0 8px;
            padding: 0 2px;
        }

        .wimmo-map-popup-group-navigation__button {
            width: 26px;
            height: 26px;
            padding: 0;
            border: 0;
            border-radius: 50%;
            background: #e9ecef;
            color: #212529;
        }

        .wimmo-map-popup-group-navigation__counter {
            color: #495057;
            font-size: 12px;
            font-weight: 700;
        }

        .wimmo-map-agency-marker__logo {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 108px;
            height: 46px;
            padding: 6px 10px;
            overflow: hidden;
            background: #ffffff;
            border: 2px solid #198754;
            border-radius: 9px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
        }

        .wimmo-map-agency-marker__logo::after {
            position: absolute;
            bottom: -8px;
            left: 50%;
            width: 0;
            height: 0;
            border-top: 8px solid #198754;
            border-right: 6px solid transparent;
            border-left: 6px solid transparent;
            content: '';
            transform: translateX(-50%);
        }

        .wimmo-map-agency-marker__logo img {
            display: block;
            position: relative;
            z-index: 1;
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
            max-height: 100%;
            object-fit: contain;
        }

        .wimmo-map-agency-popup {
            min-width: 200px;
            text-align: center;
        }

        .wimmo-map-agency-popup__logo {
            display: block;
            width: 100%;
            height: 100px;
            margin: -1px -1px 12px;
            object-fit: contain;
        }

        .wimmo-map-empty {
            position: absolute;
            top: 50%;
            left: 50%;
            z-index: 500;
            width: min(280px, calc(100% - 32px));
            padding: 16px;
            background: rgba(255, 255, 255, 0.96);
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            text-align: center;
            transform: translate(-50%, -50%);
        }

        .map-mobile-pagination {
            position: absolute;
            top: 10px;
            left: 50%;
            z-index: 1100;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 5px;
            background: rgba(255, 255, 255, 0.96);
            border-radius: 999px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            transform: translateX(-50%);
        }

        .map-mobile-pagination__button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            color: #212529;
            text-decoration: none;
        }

        .map-mobile-pagination__button:hover,
        .map-mobile-pagination__button:focus {
            background: #e9ecef;
            color: #0d6efd;
        }

        .map-mobile-pagination__button.is-disabled {
            color: #adb5bd;
            pointer-events: none;
        }

        .map-mobile-pagination__current {
            min-width: 74px;
            color: #212529;
            font-size: 12px;
            font-weight: 700;
            text-align: center;
            white-space: nowrap;
        }

        @media (max-width: 767.98px) {
            .propertyList .cards .propertyCaption {
                position: relative;
            }

            .propertyList .cards .propertyCaption .titleWrap {
                padding-right: 76px;
            }

            .propertyList.project-result-card .cards .propertyCaption .titleWrap {
                padding-right: 0;
            }

            .propertyList .cards .propertyCaption .propertyFooter .footCaps {
                justify-content: space-between;
            }

            .propertyList .cards .propertyCaption .propertyFooter .footCaps .agencyWraps {
                position: absolute;
                top: 0;
                right: 0;
                width: 64px;
            }

            .propertyList .cards .propertyCaption .propertyFooter .footCaps .agencyWraps .agencyImg {
                height: 48px;
            }

            .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap {
                justify-content: flex-end;
                column-gap: 5px;
            }

            .propertyList .cards .propertyCaption .propertyFooter .footCaps .contactWrap .btn {
                padding: 0 10px;
                font-size: 12px;
            }
        }

