/* ===================== CANVAS ===================== */
.mc-map-canvas {
    width: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    z-index: 0;
    position: relative;
}

/* ===================== PIN PERSONALIZADO ===================== */
.mc-pin {
    width: 36px;
    height: 44px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mc-pin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #285711;
    border-radius: 50% 50% 50% 0;
    transform: translateX(-50%) rotate(-45deg);
    box-shadow: 0 3px 8px rgba(40, 87, 17, 0.4);
    transition: background 0.2s;
}

.mc-pin:hover::before {
    background: #8eba3d;
}

.mc-pin-dot {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    z-index: 1;
}

/* ===================== POPUP ===================== */
.mc-leaflet-popup .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    border: none;
}

.mc-leaflet-popup .leaflet-popup-content {
    margin: 0;
    width: 240px !important;
}

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

.mc-popup {
    font-family: 'Montserrat', 'Inter', sans-serif;
    overflow: hidden;
    border-radius: 8px;
}

.mc-popup-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.mc-popup-placeholder {
    width: 100%;
    height: 90px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.mc-popup-body {
    padding: 12px 14px 14px;
}

.mc-popup-title {
    font-size: 14px;
    font-weight: 700;
    color: #0E0E0E;
    margin: 0 0 6px;
    line-height: 1.3;
}

.mc-popup-address {
    font-size: 11px;
    color: #777;
    line-height: 1.5;
    margin: 0 0 12px;
}

.mc-popup-btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    background: #285711;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background 0.2s;
    box-sizing: border-box;
}

.mc-popup-btn:hover {
    background: #8eba3d !important;
    color: #fff !important;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .mc-map-canvas { border-radius: 4px; }
    .mc-leaflet-popup .leaflet-popup-content { width: 210px !important; }
    .mc-popup-img, .mc-popup-placeholder { height: 100px; }
}

@media (max-width: 480px) {
    .mc-map-canvas { border-radius: 0; }
}
