/* MercadoAgro Mapa Vivo - Estilos Oficiales v2.1.5 (Posicionamiento Celular & Acento Violeta #5B38ED) */

:root {
    --ma-purple-primary: #5B38ED;
    --ma-purple-hover: #7B5CFF;
    --ma-state-idle: #1e252b;
    --ma-state-border: #3b424a;
}

/* VISTA HOME - CONTENEDOR TRANSPARENTE CON POSITION RELATIVE */
.ma-home-svg-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    overflow: visible !important;
    width: 100% !important;
}

#ma-svg-mexico-container {
    width: 100% !important;
    margin: 0 auto !important;
    background: transparent !important;
    overflow: visible !important;
}

#ma-svg-mexico {
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    display: block !important;
}

/* ESTADOS DEL MAPA - ESTADO REPOSO */
#ma-svg-mexico path,
#ma-svg-mexico polygon,
.ma-state {
    fill: #1e252b !important;
    stroke: #3b424a !important;
    stroke-width: 1px !important;
    cursor: pointer !important;
    transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease !important;
}

/* ESTADOS DEL MAPA - RESALTADO Y ESTADO SELECCIONADO (.active / :hover) */
#ma-svg-mexico path:hover,
#ma-svg-mexico polygon:hover,
#ma-svg-mexico path.active,
#ma-svg-mexico polygon.active,
.ma-state:hover,
.ma-state.active {
    fill: #5B38ED !important;
    stroke: #ffffff !important;
    stroke-width: 2.5px !important;
    filter: drop-shadow(0px 0px 14px rgba(91, 56, 237, 1)) !important;
}

/* BADGES DE CONTEO EN EL MAPA HOME */
.ma-state-badge {
    pointer-events: none !important;
    cursor: pointer !important;
}
.ma-state-badge circle {
    fill: #5B38ED !important;
    stroke: #ffffff !important;
    stroke-width: 2px !important;
    r: 13px !important;
}
.ma-state-badge text {
    fill: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    text-anchor: middle !important;
    dominant-baseline: central !important;
}

/* TOOLTIP FLOTANTE (ABSOLUTE INTERNO AL CONTENEDOR DEL MAPA EN MÓVIL, FIXED EN DESKTOP) */
#ma-map-tooltip {
    background: rgba(24, 28, 31, 0.96) !important;
    border: 1px solid #5B38ED !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    max-width: 90% !important;
    text-align: center !important;
}

@media screen and (max-width: 768px) {
    .ma-home-svg-wrapper #ma-map-tooltip {
        position: absolute !important;
        left: 50% !important;
        top: var(--ma-mobile-top, -15px) !important;
        transform: translateX(-50%) !important;
    }
}

#ma-map-tooltip.ma-tooltip-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#ma-tooltip-state {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
}

#ma-tooltip-count {
    color: #A0AEC0 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
}

/* VISTA COMPLETA LEAFLET */
.ma-map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111518;
}

/* DESPLAZAMIENTO NATIVO EN MÓVILES SOBRE EL MAPA */
.ma-map-wrapper,
#ma-leaflet-map,
#ma-pub-picker-map,
.leaflet-container,
.leaflet-pane {
    touch-action: pan-y !important;
    -ms-touch-action: pan-y !important;
}

/* CONTENEDOR PRINCIPAL DEL MAPA LEAFLET */
.ma-map-wrapper,
#ma-leaflet-map,
#ma-pub-picker-map,
#ma-product-minimap,
.leaflet-container {
    background: #242424 !important;
}

/* Las capas y paneles internos de Leaflet DEBEN ser transparentes para permitir capas vectoriales (GeoJSON) y mosaicos sin bloqueos */
.leaflet-pane,
.leaflet-layer,
.leaflet-tile-pane,
.leaflet-overlay-pane,
.leaflet-marker-pane,
.leaflet-shadow-pane,
.leaflet-tooltip-pane,
.leaflet-popup-pane,
.leaflet-tile-container {
    background: transparent !important;
}

.leaflet-tile {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.leaflet-container img.leaflet-tile {
    max-width: none !important;
    max-height: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: baseline !important;
}

/* FIX CRÍTICO: ELIMINAR BORDE CUADRADO, FONDO BLANCO Y PREVENIR RECORTE DE BORDES EN PINES */
.leaflet-marker-icon,
.leaflet-div-icon,
.ma-clean-purple-pin,
.ma-custom-div-icon,
.ma-single-pin-icon,
.ma-cluster-div-icon {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    overflow: visible !important;
}

.leaflet-marker-icon *,
.leaflet-div-icon *,
.ma-clean-purple-pin *,
.ma-single-pin-icon *,
.ma-cluster-div-icon * {
    overflow: visible !important;
}

.ma-marker-badge {
    background: #5B38ED !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 3px 12px rgba(91, 56, 237, 0.8) !important;
    overflow: visible !important;
}

.ma-map-wrapper .ma-map-filter-bar,
.ma-map-filter-bar {
    position: absolute !important;
    bottom: 20px !important;
    left: 15px !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    background: rgba(18, 20, 24, 0.85) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    padding: 6px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.18), 0 12px 32px rgba(0, 0, 0, 0.55) !important;
    max-width: 130px !important;
}

.ma-map-filter-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #A0AEC0;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.ma-map-filter-btn:hover {
    color: #ffffff;
    background: rgba(91, 56, 237, 0.2);
}

.ma-map-filter-btn.active {
    background: #5B38ED;
    color: #ffffff;
}

/* OVERLAY TÁCTIL PARA MÓVILES (DOS DEDOS / TOCA PARA INTERACTUAR) */
.ma-map-touch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 21, 24, 0.82);
    backdrop-filter: blur(4px);
    z-index: 2500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    border-radius: 12px;
}

.ma-map-touch-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.ma-touch-msg {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 0 16px;
}

.ma-touch-unlock-btn {
    background: #5B38ED;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(91, 56, 237, 0.6);
    transition: transform 0.15s ease;
}

.ma-touch-unlock-btn:active {
    transform: scale(0.95);
}

/* OCULTAR MARCAS DE AGUA Y TEXTO DE ATRIBUCIÓN EN MAPA LEAFLET */
.leaflet-control-attribution,
.leaflet-container .leaflet-control-attribution {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* CONTENEDOR 2 COLUMNAS (SPLIT PAGE LAYOUT) */
.ma-map-split-page-container {
    display: flex;
    gap: 24px;
    width: 100%;
    align-items: flex-start;
}

.ma-split-col-map {
    flex: 1 1 68%;
    min-width: 0;
}

.ma-split-col-filters {
    flex: 0 0 32%;
    max-width: 400px;
    position: sticky;
    top: 90px;
}

/* PANEL DE FILTROS CASCADA ESTILO CRISTAL OSCURO DE PÁGINA DE INICIO (DARK GLASS) */
.ma-filter-panel-wrapper {
    background: rgba(18, 20, 24, 0.85) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 18px !important;
    padding: 22px !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.18), 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

.ma-filter-title {
    font-size: 17px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 16px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.ma-filter-step {
    margin-bottom: 18px;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.35s ease;
}

.ma-step-collapsed {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

.ma-step-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.ma-filter-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.ma-filter-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ma-filter-select option {
    background: #181c1f !important;
    color: #ffffff !important;
}

.ma-filter-select:focus {
    border-color: #5B38ED !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* ACORDEÓN JERÁRQUICO Y DESPLIEGUE FLUIDO EN CRISTAL */
.ma-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ma-accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ma-accordion-item.active {
    border-color: #5B38ED !important;
    box-shadow: 0 4px 14px rgba(91, 56, 237, 0.3) !important;
}

.ma-accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05) !important;
    border: none;
    color: #ffffff !important;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.ma-accordion-header:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.ma-accordion-body {
    display: none;
    padding: 12px 14px;
    border-top: 1px solid var(--ma-filter-border, #2a323d);
    animation: maSlideDown 0.3s ease forwards;
}

@keyframes maSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ma-accordion-item.active .ma-accordion-body {
    display: block;
}

.ma-subcat-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ma-radio-option, .ma-checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #CBD5E0;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.ma-radio-option:hover, .ma-checkbox-option:hover {
    color: #ffffff;
}

.ma-checkbox-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #111518;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--ma-filter-border, #2a323d);
}

/* ESTILOS BOTONES PILLS Y GRUPOS DE ATRIBUTOS */
.ma-pills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 6px;
}

.ma-pills-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ma-pills-group-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #A0AEC0;
}

.ma-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ma-pill-btn {
    background: #111518;
    border: 1px solid var(--ma-filter-border, #2a323d);
    color: #A0AEC0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
    outline: none;
}

.ma-pill-btn:hover {
    border-color: var(--ma-filter-accent, #5B38ED);
    color: #ffffff;
}

.ma-pill-btn.active {
    background: var(--ma-filter-accent, #5B38ED);
    border-color: var(--ma-filter-accent, #5B38ED);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(91, 56, 237, 0.4);
}

/* CHIPS DE FILTROS ACTIVOS */
.ma-active-chips-wrapper {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--ma-filter-border, #2a323d);
}

.ma-active-chips-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ma-chips-title {
    font-size: 12px;
    font-weight: 700;
    color: #A0AEC0;
}

.ma-clear-chips-btn {
    background: transparent;
    border: none;
    color: #E53E3E;
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.ma-active-chips-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ma-chip {
    background: rgba(91, 56, 237, 0.15);
    border: 1px solid rgba(91, 56, 237, 0.4);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
}

.ma-chip-remove {
    cursor: pointer;
    font-weight: 700;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.ma-chip-remove:hover {
    opacity: 1;
}

.ma-filter-submit-btn {
    width: 100%;
    background: var(--ma-filter-accent, #5B38ED);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.1s ease;
    margin-top: 14px;
}

.ma-filter-submit-btn:hover {
    filter: brightness(1.15);
}

.ma-filter-submit-btn:active {
    transform: scale(0.98);
}

/* MÓVIL (DRAWER Y BOTÓN FLOTANTE) */
.ma-mobile-drawer-btn {
    display: none;
}

@media screen and (max-width: 768px) {
    .ma-map-split-page-container {
        flex-direction: column;
        width: 100% !important;
    }

    .ma-split-col-map {
        width: 100% !important;
        flex: 1 1 100% !important;
        min-height: 480px !important;
    }

    .ma-map-wrapper,
    #ma-leaflet-map {
        width: 100% !important;
        height: 520px !important;
        min-height: 420px !important;
        position: relative !important;
    }
    
    .ma-split-col-filters {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        z-index: 100000;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .ma-split-col-filters.open {
        transform: translateY(0);
    }

    .ma-mobile-drawer-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 99999;
        background: var(--ma-filter-accent, #5B38ED);
        color: #ffffff;
        border: none;
        padding: 12px 24px;
        border-radius: 30px;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
        cursor: pointer;
    }
}

/* FIX: ELIMINAR FRANJA O LÍNEA BLANCA ENTRE EL MAPA Y EL PIE DE PÁGINA (SOLO EN PÁGINA DE MAPA) */
body.page-slug-mapa #content,
body.page-slug-mapa #main,
body.page-id-mapa #content,
body.page-id-mapa #main,
.page-id-mapa .entry-content,
.page-slug-mapa .entry-content {
    background-color: #111518 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#ma-map-page-wrapper,
.ma-map-split-page-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    background: #111518 !important;
}

/* Ocultar margen/padding blanco antes del footer */
footer.site-footer,
#site-footer,
.footer-wrapper,
.site-footer,
footer {
    margin-top: 0 !important;
    border-top: none !important;
}

/* POPUP MODERNO Y ELEGANTE EN CRISTAL OSCURO (DARK GLASSMORPHISM) */
.leaflet-popup-content-wrapper {
    background: rgba(18, 20, 24, 0.85) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    color: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.18), 0 16px 40px rgba(0, 0, 0, 0.55) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.leaflet-popup-content {
    margin: 10px 12px !important;
    width: 250px !important;
    line-height: 1.4 !important;
}

.leaflet-popup-tip {
    background: rgba(18, 20, 24, 0.85) !important;
    backdrop-filter: blur(24px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-container a.leaflet-popup-close-button {
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 4px 6px 0 0 !important;
    top: 8px !important;
    right: 10px !important;
    font-size: 16px !important;
    z-index: 10 !important;
    transition: color 0.15s ease !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    color: #ffffff !important;
}

/* CARRUSEL DE POPUP Y PAGINACIÓN CENTRADA EN CRISTAL */
.ma-popup-carousel-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 8px !important;
    margin-bottom: 8px !important;
    padding-right: 22px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.ma-popup-carousel-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #8C71FF !important;
    white-space: nowrap !important;
}

.ma-popup-carousel-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    margin: 0 auto !important;
}

.ma-popup-nav-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease !important;
}

.ma-popup-nav-btn:hover {
    background: #5B38ED !important;
    border-color: #5B38ED !important;
    transform: scale(1.08) !important;
}

.ma-popup-nav-counter {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 700 !important;
    margin: 0 2px !important;
}

/* SLIDE DE TARJETA */
.ma-popup-slide {
    display: none !important;
}

.ma-popup-slide.active {
    display: block !important;
}

.ma-popup-card {
    position: relative !important;
    padding-bottom: 4px !important;
}

.ma-badge-featured {
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    background: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%) !important;
    color: #000000 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
    z-index: 2 !important;
}

.ma-popup-card-img {
    width: 100% !important;
    height: 95px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    margin-bottom: 6px !important;
    display: block !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.ma-popup-title {
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.ma-popup-sub {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 2px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.ma-popup-price {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    margin: 2px 0 6px 0 !important;
}

.ma-popup-plan-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #5B38ED !important;
    background: rgba(91, 56, 237, 0.12) !important;
    border: 1px solid rgba(91, 56, 237, 0.35) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    letter-spacing: 0.2px !important;
}

.ma-popup-actions {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
}

.ma-popup-wa-btn {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    color: #111518 !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
}

.ma-popup-wa-btn:hover {
    background: #e2e8f0 !important;
    color: #111518 !important;
    transform: translateY(-1px) !important;
    box-shadow: none !important;
}

.ma-popup-filter-all-btn {
    width: 100% !important;
    margin-top: 8px !important;
    background: rgba(91, 56, 237, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(91, 56, 237, 0.6) !important;
    padding: 7px 10px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-align: center !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.15s ease !important;
}

.ma-popup-filter-all-btn:hover {
    background: #5B38ED !important;
    border-color: #5B38ED !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(91, 56, 237, 0.5) !important;
}

/* CIRCULO DE COBERTURA DINÁMICA DEL ANUNCIO */
.ma-ad-coverage-circle {
    filter: drop-shadow(0 0 10px rgba(91, 56, 237, 0.45));
    transition: all 0.3s ease;
    pointer-events: none !important;
}


