.brazil-map-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#brazil-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.state-path {
    fill: #cccccc;
    stroke: #ffffff;
    stroke-width: 1;
    transition: fill 0.25s ease;
    cursor: pointer;
}

.state-group:hover .state-path {
    fill: #E30016;
}

.state-label {
    font-size: 9px !important;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    fill: #2b2b2b;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
    user-select: none;
}

.state-group:hover .state-label {
    fill: #ffffff;
}

/* MODAL */
.bdm-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.55);
    padding: 24px;
    box-sizing: border-box;
    overflow-y: auto;
}

.bdm-modal-content {
    background-color: #fff;
    width: min(92vw, 520px);
    margin: 6vh auto;
    padding: 28px 30px 30px;
    border: 0;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 16px 45px rgba(0,0,0,.22);
    box-sizing: border-box;
}

/* BOTÃO FECHAR */
.bdm-close,
.bdm-close:hover,
.bdm-close:focus {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #333 !important;
    font-size: 22px !important;
    line-height: 32px !important;
    text-align: center !important;
    cursor: pointer !important;
}

.bdm-close:hover {
    color: #fff !important;
    background: #E30016 !important;
    border-color: #E30016 !important;
}

/* TÍTULO */
#bdm-state-name {
    margin: 0 48px 18px 0;
    color: #E30016 !important;
    border-bottom: 2px solid #6B6B6B !important;
    padding-bottom: 12px;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
}

/* REMOVE LINHA AZUL DO ELEMENTOR */
.bdm-modal hr,
.bdm-modal .elementor-divider,
.bdm-modal .elementor-divider-separator {
    border-color: #6B6B6B !important;
    background-color: #6B6B6B !important;
}

/* CONTEÚDO */
#bdm-distributor-info {
    display: block !important;
    color: #6b6b6b;
    font-size: 16px;
    line-height: 1.5;
    white-space: normal !important;
}

#bdm-distributor-info p {
    display: block !important;
    margin: 0 0 16px !important;
}

#bdm-distributor-info strong {
    display: block !important;
    font-weight: 700;
    margin-bottom: 4px;
}

#bdm-distributor-info a {
    color: #E30016;
    text-decoration: none;
}

#bdm-distributor-info a:hover {
    text-decoration: underline;
}

/* BOTÕES */
.bdm-button {
    display: inline-block;
    padding: 10px 16px;
    background: #E30016;
    color: #fff !important;
    border: 1px solid #E30016;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 700;
}

.bdm-button:hover {
    opacity: .85;
}

.bdm-button-outline {
    background: #fff;
    color: #E30016 !important;
}

/* RESPONSIVO */
@media (max-width: 600px) {
    .bdm-modal {
        padding: 14px;
    }

    .bdm-modal-content {
        margin: 4vh auto;
        padding: 24px 20px;
    }

    #bdm-state-name {
        font-size: 30px;
    }
}