
.map-catalog-layout {
    display:grid;
    grid-template-columns:minmax(0, 1fr) 300px;
    gap:16px;
    align-items:start;
    margin-bottom:30px;
}

.map-panel {
    overflow:hidden;
    min-width:0;
}

.map-canvas {
    height:560px;
    max-height:72vh;
    background:#e8eee4;
    z-index:1;
}

.picker-canvas {
    height:370px;
    border-radius:10px;
    margin:15px 0;
}

.map-canvas[hidden] {
    display:none!important;
}

.map-note {
    padding:8px 0;
    font-size:12px;
    line-height:1.5;
}

.map-panel>.map-note {
    padding:10px 14px;
    margin:0;
}

.map-results-panel {
    padding:15px;
    min-width:0;
}

.map-results-panel h2 {
    font-size:17px;
    margin-bottom:8px;
}

#map-status {
    font-size:12px;
    margin-bottom:12px;
}

#map-results {
    max-height:475px;
    overflow-y:auto;
    margin-bottom:12px;
}

.map-result {
    display:grid;
    gap:5px;
    padding:11px 4px;
    border-bottom:1px solid #e1e8df;
    overflow-wrap:anywhere;
}

.map-result strong {
    color:#285f3d;
    font-size:15px;
}

.map-result span {
    font-size:13px;
}

.map-result small {
    font-size:11px;
    color:var(--muted);
}

.map-picker-actions,.listing-map-link {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
}

.listing-map-link {
    margin:0 0 18px;
    font-size:12px;
}

.map-coordinate-fields {
    font-size:13px;
    margin-top:12px;
}

.map-coordinate-fields .form-grid {
    margin-top:12px;
}

.geo-map-link {
    margin-left:auto;
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#316746;
}

.geo-map-link svg {
    width:15px;
    height:15px;
}

.ro-map-price {
    color:#fff;
    background:#316746;
    border:0;
    border-radius:14px;
    padding:4px 8px;
    font-weight:700;
    box-shadow:0 2px 5px #0003;
}

.ro-map-price.leaflet-tooltip-top:before {
    border-top-color:#316746;
}

.ro-map-popup {
    display:grid;
    gap:7px;
    overflow-wrap:anywhere;
    min-width:145px;
}

.ro-map-popup a {
    color:#316746;
    font-weight:700;
}

@media(max-width:850px) {
    .map-catalog-layout {
        grid-template-columns:1fr;
    }
    .map-canvas {
        height:430px;
    }
    #map-results {
        max-height:360px;
    }
}

@media(max-width:480px) {
    .map-canvas {
        height:360px;
    }
    .picker-canvas {
        height:300px;
    }
}


/* DaData address suggestions */

.ro-address-search {
    position:relative;
    margin:14px 0 18px;
}

.ro-address-suggestions {
    background:#fff;
    border:1px solid #d9e4d7;
    border-radius:9px;
    box-shadow:0 7px 22px rgba(35,55,39,.10);
    overflow:auto;
    max-height:250px;
    margin-top:5px;
}

.ro-address-suggestions[hidden] {
    display:none!important;
}

.ro-address-option {
    display:block;
    width:100%;
    text-align:left;
    background:#fff;
    color:var(--ink);
    border:0;
    border-bottom:1px solid #edf1eb;
    padding:11px 14px;
    font:inherit;
    font-size:13px;
    cursor:pointer;
}

.ro-address-option:hover,
.ro-address-option:focus-visible {
    background:#e8f0e4;
}

.ro-address-suggestions p {
    padding:12px;
    font-size:12px;
    color:var(--muted);
}

.ro-address-credit {
    text-align:right;
    font-size:10px;
    color:var(--muted);
    margin-top:8px;
}

.ro-address-credit a {
    color:#316746;
}
