#propertyMap {
    width: 100%;
    height: 800px;
    background: #fff;
}

.leaflet-container {
    width: 100%;
    height: 100%;
}
.marker-cluster-small {
    background: rgba(108, 192, 74, 0.25);
}

.marker-cluster-small div {
    background: #6cc04a;
    color: #fff;
    font-weight: 700;
}

.marker-cluster-medium {
    background: rgba(255, 193, 7, 0.25);
}

.marker-cluster-medium div {
    background: #ffc107;
    color: #fff;
    font-weight: 700;
}

.marker-cluster-large {
    background: rgba(255, 152, 0, 0.25);
}

.marker-cluster-large div {
    background: #ff9800;
    color: #fff;
    font-weight: 700;
}
.property-main-wrap{
    display:flex;
    gap:20px;
    width:100%;
}

#propertySection{
    width:70%;
    transition:0.3s ease;
}

#mapSection{
    width:30%;
    display:block;   /* map visible by default */
}

#propertyMap{
    width:100%;
    height:100vh;
    min-height:700px;
}

.leaflet-container{
    width:100%;
    height:100%;
}
   .property-main-wrap {
    display: flex;
    align-items: flex-start;
}

#propertySection {
    width: 70%;
}

#mapSection {
    width: 40%;
    position: sticky;
    top: 125px;
    height: 100vh;
}

#propertyMap {
    width: 100%;
    height: 100%;
}
@media (max-width:1199px) {
    #mapSection {
        top: 155px;
    }
}

@media (max-width:991px) {
    #mapSection {
        top: 100px;
    }
}
@media (max-width: 767px) {
    .property-view-tabs .nav-item {
        margin: 0;
    }

    .property-view-tabs .nav-link {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        margin: 0;
        min-width: 140px;
        padding: 12px 30px;
        border-radius: 4px;
        background: var(--theme-color) !important;
        color: var(--white-color) !important;
    }
    .property-view-tabs .nav-link{
        display: none !important;
    }
}
#mapSectionMobile {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
#propertyMap-mobile {
    width: 100% !important;
    margin: 0 !important;
}
.leaflet-container a {
    color: #333333;
}
.map-popup-price{
    margin-top: 15px;
}
.leaflet-popup-content {
    width: 300px !important;

}
.map-popup-link {
    display: block;
    font-size: 16px;
}
.map-popup {
    width: 100%;
    max-height: 180px;  
    overflow: hidden;
    margin-bottom: 20px;
}
.map-popup img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;  
    padding: 0;
}
@media (min-width: 992px) {
    #propertyMap-mobile {
        display: none !important;
    }
}
@media (max-width: 991px) {
    #propertyMap-mobile {
        display: block !important;
    }
    
}
@media (max-width: 767px) {

    .leaflet-popup-content {
        width: 200px !important;
    }
    .map-popup {
        max-height: 120px;
    }
}
