#kraftmetal-map-container {
    height: 800px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5; /* Light background before tiles load */
}

@media (max-width: 767px) {
    #kraftmetal-map-container {
        height: 400px;
    }
}

/* Light Grayscale Map Tiles */
.leaflet-tile-pane {
    filter: grayscale(100%) brightness(110%) contrast(85%) opacity(0.8);
}

.leaflet-container {
    background: #f5f5f5 !important;
}

.km-map-popup {
    min-width: 200px;
    font-family: 'Poppins', sans-serif;
}

.km-popup-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #333;
    border-bottom: 2px solid #d60b2d;
    padding-bottom: 5px;
}

.km-popup-location {
    margin-bottom: 8px;
    font-size: 1em;
    color: #d60b2d; /* Red color for location */
    font-weight: 600;
    line-height: 1.4;
}

.km-popup-phones, .km-popup-hours {
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #555;
    line-height: 1.4;
}

/* Custom Red Marker Icon for Leaflet */
.km-custom-marker {
    background-color: #d60b2d;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    width: 20px;
    height: 20px;
}

.km-popup-footer {
    margin-top: 15px;
    text-align: center;
}

.km-route-btn {
    display: inline-block;
    background-color: #d60b2d;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.km-route-btn:hover {
    background-color: #b50926;
}

/* Adjust marker cluster color if needed */
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large {
    background-color: rgba(214, 11, 45, 0.6) !important;
}

.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div {
    background-color: rgba(214, 11, 45, 0.9) !important;
    color: white !important;
}
