/* Planet Map Packages — Stili mappa */

.planet-map-wrap {
    position: relative;
}

.planet-map-container {
    background: #f0eeeb;
}

/* Popup personalizzato */
.planet-popup {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-width: 200px;
    max-width: 240px;
}

.planet-popup__img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
    display: block;
}

.planet-popup__dest {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 3px;
}

.planet-popup__name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px;
    line-height: 1.3;
}

.planet-popup__price {
    font-size: 15px;
    font-weight: 600;
    color: #185FA5;
    margin: 0 0 10px;
}

.planet-popup__btn {
    display: inline-block;
    background: #185FA5;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.15s;
}

.planet-popup__btn:hover {
    background: #0C447C;
}

/* Override stili Leaflet popup */
.leaflet-popup-content-wrapper {
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
    padding: 0 !important;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 14px 14px 14px 14px !important;
    width: auto !important;
}

.leaflet-popup-tip-container {
    margin-top: -1px;
}

/* Pin SVG — nessun extra style necessario, viene da JS */

/* Loading state */
.planet-map-container.planet-map--loading::after {
    content: "Caricamento mappa…";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #888;
    pointer-events: none;
}

/* Cluster badge (se abilitato in futuro) */
.planet-cluster {
    background: #185FA5;
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
