.negocios-map-panel {
    margin: 0 0 32px;
}

.negocios-map-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #cfd6e6;
    background: #fff;
    color: var(--header-dark, #0b3d5c);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow, 0 10px 30px rgba(15, 23, 42, 0.08));
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.negocios-map-toggle:hover,
.negocios-map-toggle:focus-visible {
    background: #f4f6fb;
    border-color: var(--accent, #00a2ed);
    color: var(--accent, #00a2ed);
    outline: none;
}

.negocios-map-toggle .fa {
    font-size: 1.05rem;
    color: var(--accent, #00a2ed);
}

.negocios-map-shell {
    position: relative;
}

.negocios-map-close {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #0f172a;
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.negocios-map-close:hover,
.negocios-map-close:focus-visible {
    background: #f4f6fb;
    color: var(--accent, #00a2ed);
    outline: none;
    transform: scale(1.04);
}

.negocios-explore__map {
    width: 100%;
    min-height: 420px;
    height: min(56vh, 520px);
    border-radius: var(--card-radius, 16px);
    overflow: hidden;
    box-shadow: var(--shadow, 0 10px 30px rgba(15, 23, 42, 0.08));
    background: linear-gradient(145deg, #e8edf5 0%, #dbe4ee 100%);
}

.negocios-explore__map.is-loading {
    display: grid;
    place-items: center;
    color: var(--muted, #64748b);
    font-size: 0.92rem;
}

.negocios-map-marker {
    position: relative;
    display: block;
    width: 46px;
    height: 58px;
    cursor: pointer;
    text-decoration: none;
    transform: translate(-50%, -100%);
}

.negocios-map-marker:focus-visible {
    outline: 2px solid #00a2ed;
    outline-offset: 2px;
    border-radius: 8px;
}

.negocios-map-marker__pin {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 34px;
    height: 34px;
    margin-left: -17px;
    background: #00a2ed;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 12px rgba(22, 46, 61, 0.22);
}

.negocios-map-marker__img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 36px;
    height: 36px;
    margin-left: -18px;
    border-radius: 50%;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(22, 46, 61, 0.18);
}

.negocios-map-marker--no-logo .negocios-map-marker__img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b3d5c, #1a4d6e);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
}

.negocios-map-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #00a2ed;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    line-height: 1;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(22, 46, 61, 0.24);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.negocios-map-cluster--large {
    width: 56px;
    height: 56px;
    font-size: 14px;
}

.negocios-map-info {
    font-family: Inter, system-ui, sans-serif;
    max-width: 240px;
    padding: 2px 0;
}

.negocios-map-info__title {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
}

.negocios-map-info__addr {
    margin: 0 0 10px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #64748b;
}

.negocios-map-info__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #00a2ed;
    text-decoration: none;
}

.negocios-map-info__link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .negocios-map-panel {
        margin-bottom: 24px;
    }

    .negocios-map-panel--mobile-collapsed:not(.negocios-map-panel--open) .negocios-explore__map {
        display: none !important;
    }

    .negocios-map-panel--mobile-collapsed:not(.negocios-map-panel--open) .negocios-map-close {
        display: none !important;
    }

    .negocios-map-panel--mobile-collapsed:not(.negocios-map-panel--open) .negocios-map-toggle {
        display: inline-flex;
    }

    .negocios-map-panel--open .negocios-explore__map {
        display: block;
    }

    .negocios-map-panel--open .negocios-map-close {
        display: inline-flex;
    }

    .negocios-map-panel--open .negocios-map-toggle {
        display: none;
    }

    .negocios-explore__map {
        min-height: 320px;
        height: 48vh;
    }
}

@media (min-width: 769px) {
    .negocios-map-toggle,
    .negocios-map-close {
        display: none !important;
    }

    .negocios-explore__map {
        display: block !important;
    }

    .negocios-explore__map[hidden] {
        display: block !important;
    }
}
