.ar-map-layout {
            display: grid;
            grid-template-columns: 430px minmax(0, 1fr);
            gap: 0;
            min-height: calc(100vh - 190px);
            background: #fff;
            border: 1px solid #dce3eb;
            border-radius: 10px;
            overflow: hidden;
        }

        .ar-map-list {
            max-height: calc(100vh - 190px);
            overflow: auto;
            border-right: 1px solid #dce3eb;
            background: #f7f9fb;
            padding: 14px;
        }

        .ar-map-card {
            display: grid;
            grid-template-columns: 120px 1fr;
            gap: 12px;
            background: #fff;
            border: 1px solid #dce3eb;
            border-radius: 8px;
            padding: 10px;
            margin-bottom: 10px;
            color: #25313d;
            text-decoration: none;
        }

        .ar-map-card:hover {
            border-color: #3f7f46;
        }

        .ar-map-card img {
            width: 120px;
            height: 88px;
            object-fit: cover;
            object-position: center;
            border-radius: 6px;
            background: #e9eef3;
        }

        .ar-map-card strong {
            display: block;
            font-size: 15px;
            line-height: 1.25;
            margin-bottom: 5px;
        }

        .ar-map-card span {
            display: block;
            color: #607080;
            font-size: 13px;
        }

        #ar-map {
            width: 100%;
            height: calc(100vh - 190px);
            min-height: 620px;
        }

        .ar-map-price {
            background: #fff;
            border: 1px solid #2f6f36;
            color: #173d1c;
            border-radius: 999px;
            padding: 5px 9px;
            font-weight: 800;
            box-shadow: 0 3px 12px rgba(0,0,0,.22);
        }

        .ar-map-popup {
            width: 230px;
        }

        .ar-map-popup img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 6px;
            margin-bottom: 8px;
        }

        .ar-map-popup strong {
            display: block;
            margin-bottom: 5px;
        }

        @media(max-width: 900px) {
            .ar-map-layout {
                grid-template-columns: 1fr;
            }

            .ar-map-list {
                max-height: none;
                border-right: 0;
                border-bottom: 1px solid #dce3eb;
            }

            #ar-map {
                height: 520px;
                min-height: 520px;
            }
        }


/* MAP_CLUSTERING_OPTIMIZATION_START */

.ar-map-cluster-icon {
    background: transparent;
    border: 0;
}

.ar-map-cluster {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #3f7f46;
    color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 8px 26px rgba(0,0,0,.30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 15px;
}

.ar-map-price {
    white-space: nowrap;
    min-width: 54px;
    text-align: center;
}

.leaflet-popup-content-wrapper {
    border-radius: 12px;
}

.leaflet-popup-content {
    margin: 12px;
}

@media(max-width: 900px) {
    .ar-map-layout {
        display: flex;
        flex-direction: column;
    }

    #ar-map {
        order: 1;
        height: 62vh;
        min-height: 460px;
    }

    .ar-map-list {
        order: 2;
        max-height: none;
    }

    .ar-map-card {
        grid-template-columns: 105px 1fr;
    }

    .ar-map-card img {
        width: 105px;
        height: 82px;
    }
}

/* MAP_CLUSTERING_OPTIMIZATION_END */


/* MAP_AJAX_VISIBLE_CARDS_START */

.ar-map-list__status {
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 10px;
    padding: 14px;
    color: #607080;
    font-weight: 700;
    line-height: 1.35;
}

.ar-map-card__plan {
    display: inline-block !important;
    width: fit-content;
    margin-top: 7px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef8df;
    border: 1px solid #cfe3ac;
    color: #3e6416 !important;
    font-size: 12px !important;
    font-weight: 800;
}

.ar-map-popup--lite {
    width: 210px;
}

.ar-map-popup--lite strong {
    font-size: 15px;
}

/* MAP_AJAX_VISIBLE_CARDS_END */


/* MAP_UX_DESKTOP_MOBILE_START */

.ar-map-marker-highlight {
    z-index: 9999 !important;
}

.ar-map-marker-highlight .ar-map-price {
    background: #eef8df;
    border-color: #244f29;
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(0,0,0,.30);
}

.ar-map-mobile-list-toggle {
    display: none;
}

@media(max-width: 900px) {
    .ar-map-layout {
        position: relative;
        display: block;
        min-height: 68vh;
        overflow: hidden;
    }

    #ar-map {
        height: 68vh;
        min-height: 520px;
        order: initial;
    }

    .ar-map-list {
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 650;
        max-height: 46vh;
        overflow: auto;
        border: 1px solid #dce3eb;
        border-radius: 18px;
        background: #f7f9fb;
        box-shadow: 0 18px 46px rgba(0,0,0,.26);
        padding: 12px 12px 82px;
        transform: translateY(calc(100% + 18px));
        opacity: 0;
        pointer-events: none;
        transition: transform .22s ease, opacity .22s ease;
    }

    .ar-map-layout.is-list-open .ar-map-list {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .ar-map-mobile-list-toggle {
        position: absolute;
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        z-index: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: calc(100% - 36px);
        max-width: 420px;
        min-height: 54px;
        border: 1px solid #dce3eb;
        border-radius: 999px;
        background: #ffffff;
        color: #18381d;
        font-size: 15px;
        font-weight: 900;
        box-shadow: 0 12px 34px rgba(0,0,0,.24);
    }

    .ar-map-mobile-list-toggle strong {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 26px;
        height: 26px;
        padding: 0 8px;
        border-radius: 999px;
        background: #3f7f46;
        color: #fff;
        font-size: 13px;
        line-height: 1;
    }

    .ar-map-card {
        grid-template-columns: 96px 1fr;
        margin-bottom: 9px;
    }

    .ar-map-card img {
        width: 96px;
        height: 74px;
    }

    .ar-map-card strong {
        font-size: 14px;
    }

    .ar-map-card span {
        font-size: 12px;
    }
}

/* MAP_UX_DESKTOP_MOBILE_END */


/* MAP_CLUSTER_CARD_HOVER_START */

.ar-map-cluster-highlight {
    z-index: 9999 !important;
}

.ar-map-cluster-highlight .ar-map-cluster {
    background: #244f29;
    transform: scale(1.16);
    box-shadow: 0 12px 34px rgba(0,0,0,.38);
}

.ar-map-hover-popup .leaflet-popup-content-wrapper {
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(0,0,0,.28);
}

.ar-map-hover-popup .leaflet-popup-content {
    margin: 10px 12px;
}

.ar-map-hover-popup__inner {
    min-width: 190px;
}

.ar-map-hover-popup__inner strong {
    display: block;
    color: #173d1c;
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 4px;
}

.ar-map-hover-popup__inner span {
    display: block;
    color: #607080;
    font-size: 12px;
    margin-bottom: 6px;
}

.ar-map-hover-popup__inner em {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-style: normal;
    line-height: 1.3;
}

/* MAP_CLUSTER_CARD_HOVER_END */

