.megh-presenca-global-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: inherit;
    padding: 20px 0;
}

.megh-pg-map-container {
    position: relative;
    width: 100%;
    margin-bottom: -12px;
}

.megh-pg-world-map {
    width: 100%;
    height: auto;
    display: block;
}

.megh-pg-pin {
    position: absolute;
    width: 2.5%; /* responsive sizing */
    min-width: 20px;
    max-width: 32px;
    transform: translate(-50%, -100%);
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 10;
}

.megh-pg-pin img {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.megh-pg-pin:hover {
    transform: translate(-50%, -110%) scale(1.1);
    z-index: 20;
}

/* Info Overlay */
.megh-pg-info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    z-index: 999999;
}

.megh-pg-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    cursor: pointer;
    opacity: 0.8;
    line-height: 1;
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.megh-pg-no-pin {
    flex-direction: column;
    text-align: center;
}

.megh-pg-no-pin .megh-pg-info-text {
    text-align: center;
}

.megh-pg-close-btn:hover {
    opacity: 1;
}

/* Centered wrapper */
.megh-pg-info-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    color: #fff;
    text-align: left;
    max-width: 90%;
    z-index: 105;
}

.megh-pg-info-icon {
    margin-right: 25px;
    flex-shrink: 0;
}

.megh-pg-info-icon img {
    width: 35px;
    height: auto;
}

.megh-pg-info-text h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.megh-pg-info-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

/* Representatives List Toggle */
.megh-pg-reps-section {
    text-align: center;
}

.megh-pg-toggle-reps-btn {
    border: none;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 1px;
}

.megh-pg-toggle-reps-btn:hover {
    filter: brightness(0.85);
    opacity: 1;
}

.megh-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 12px;
    margin-left: 8px;
}

.megh-pg-toggle-reps-btn.active .megh-arrow {
    transform: rotate(180deg);
}

/* Reps List Container */
.megh-pg-reps-container {
    display: none; /* Initially hidden, toggled by JS */
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 40px;
    text-align: left;
    gap: 15px;
    overflow-x: auto;
}

/* Force flex display when toggled visible by jQuery */
.megh-pg-reps-container[style*="display: block"] {
    display: flex !important;
}

.megh-pg-rep-col {
    flex: 1 1 0;
    min-width: 140px;
    text-align: center;
}

.megh-pg-rep-col h4 {
    color: #888;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.megh-pg-rep-content {
    color: #999;
    font-size: 11px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    /* Lista Vertical Corrida no Mobile */
    .megh-pg-reps-container {
        display: flex;
        flex-direction: column; /* Volta para vertical */
        flex-wrap: wrap;
        overflow-x: hidden;
        gap: 30px;
        padding: 0 15px 40px 15px;
        align-items: center;
        justify-content: center;
    }

    .megh-pg-rep-col {
        flex: 1 1 100%;
        width: 100%;
        max-width: 400px;
        padding: 0;
        scroll-snap-align: none;
    }
}
