.leaflet-container {
    font-family: 'Roboto', sans-serif;
}

.elo-map-cluster-popup .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    max-width: 200px;
}

.leaflet-container .elo-map-cluster-popup a.leaflet-popup-close-button {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    padding: 0;
    font: 700 20px/28px 'Roboto', sans-serif;
    text-align: center;
    text-decoration: none;
    color: #fff !important;
    background: #076b82 !important;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: scale(1.06);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
    z-index: 1;
}

.leaflet-container .elo-map-cluster-popup a.leaflet-popup-close-button:hover,
.leaflet-container .elo-map-cluster-popup a.leaflet-popup-close-button:focus,
.leaflet-container .elo-map-cluster-popup a.leaflet-popup-close-button:active {
    color: #fff !important;
    background: #076b82 !important;
    transform: scale(1.06);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

.elo-map-cluster-popup .leaflet-popup-content {
    margin: 6px 8px;
    padding-top: 2px;
    padding-right: 24px;
}

.map-cluster-list-wrap {
    max-height: 320px;
    overflow: auto;
    min-width: 130px;
    max-width: 180px;
}

.map-cluster-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 4px;
    cursor: pointer;
    border-radius: 8px;
}

.map-cluster-item:hover {
    background: rgba(42, 111, 126, 0.08);
}

.map-cluster-item-img {
    width: 72px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f2f2f2;
}

.map-cluster-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-cluster-item-title {
    text-align: center;
    line-height: 1.15;
    max-width: 90px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .map-cluster-list-wrap {
        overflow: visible;
        max-height: none;
        max-width: 100%;
        min-width: 0;
    }

    .map-cluster-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    .map-cluster-item-img {
        flex-shrink: 0;
    }

    .map-cluster-item-title {
        text-align: left;
        max-width: none;
        align-self: center;
        flex: 1;
    }
}

.elo-street-view-btn {
    height: 42px;
    margin-left: auto;
    margin-right: 30px;
    color: #fff;
    background-color: #ff9a01;
    border: 0;
    padding: 0 24px;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.elo-street-view-btn:hover,
.elo-street-view-btn:focus {
    background-color: #e88a00;
    color: #fff;
}

.elo-street-view-btn[disabled],
.elo-street-view-btn[hidden] {
    display: none;
}

.address-title {
    gap: 12px;
}

.elo-street-view-panel {
    width: 100%;
    background: #111;
}

.elo-street-view-panel[hidden] {
    display: none !important;
}

.elo-map-has-street-view .leaflet-container,
.elo-map-has-street-view .elo-street-view-panel {
    height: 380px;
}

@media (max-width: 576px) {
    .elo-street-view-btn {
        margin-right: 10px;
        padding: 0 14px;
        font-size: 13px;
    }
}
