.aplus-svg-world svg {
    width: 100% !important;
    height: 100% !important;
    min-height: 620px !important;
}

.aplus-svg-wrapper {
    height: 620px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa;
}

/* Ensure both maps fill the space exactly like geniefilters.com */
.aplus-svg-world svg *,
.aplus-svg-usa svg * {
    vector-effect: non-scaling-stroke;
}

/* A+ DISTRIBUTOR MAP — FINAL v1.8.0 — PERFECT SCALING & CENTERED */
#aplus-map { 
    font-family: "alternate-gothic-no--d", Arial, sans-serif !important; 
}

.aplus-distributor-map { 
    display: flex; 
    gap: 50px; 
    margin: 60px 0; 
    flex-wrap: wrap; 
    align-items: flex-start;
}

.aplus-sidebar { 
    flex: 0 0 300px; 
    padding: 0; 
    background: transparent; 
}

.aplus-region-list a { 
    display: block; 
    color: #003366 !important; 
    font-size: 24px !important; 
    padding: 14px 0 !important; 
    border-bottom: 0px solid #e0e0e0 !important; 
    text-decoration: none !important; 
    transition: color 0.3s ease !important;
}

.aplus-region-list a:hover { 
    color: #00aaff !important; 
}

.aplus-map-container { 
    flex: 1; 
    min-width: 300px; 
    background: white; 
    padding: 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aplus-back-btn { 
    background: #002856; 
    color: white; 
    border: none; 
    padding: 14px 32px; 
    font-size: 18px; 
    border-radius: 0; 
    cursor: pointer; 
    margin: 20px 0px 0px 325px;
    align-self: flex-start;
}

.aplus-svg-wrapper { 
    width: 100%; 
    height: 620px !important; 
    overflow: hidden; 
    border: 1px solid #ddd;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aplus-svg-world svg,
.aplus-svg-usa svg {
    width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
}

/* Mobile */
@media (max-width: 768px) {
    .aplus-distributor-map { flex-direction: column; gap: 30px; }
    .aplus-svg-wrapper { height: 400px !important; }
}

/* Force both maps to always have the correct container size */
.aplus-distributor-map .aplus-svg-wrapper {
    height: 620px !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    border: 0px solid #ddd !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

/* Make sure the actual SVG fills the space */
.aplus-svg-world svg,
.aplus-svg-usa svg {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* ============================================================= */
/* A+ DISTRIBUTOR MAP POPUP — EXACT GENIEFILTERS.COM STYLING   */
/* ============================================================= */

.aplus-popup .content {
    padding: 3rem !important;
    max-height: 80vh;
    overflow-y: auto;
}

/* Main distributor title (post title) */
.aplus-popup .content h3:first-of-type,
.map-popup-content > h3:first-child {
    font-family: "alternate-gothic-no--d", Arial, sans-serif !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    margin: 0 0 .25rem 0 !important;
    color: #333 !important;
    font-weight: 700 !important;
}

/* Company name (the <h3> inside the post content) */
.aplus-popup .content h3,
.mapplic-lightbox-description h3,
.map-popup-content h3 {
    font-family: "alternate-gothic-no--d", Arial, sans-serif !important;
    font-size: 20px !important;
    margin: 1.8rem 0 0.4rem 0 !important;
    color: #333 !important;
    font-weight: 700 !important;
}

/* Contact person name (usually in <strong> or just plain text) */
.aplus-popup .content strong,
.aplus-popup .content b,
.map-popup-content strong {
    font-family: "alternate-gothic-no--d", Arial, sans-serif !important;
    font-size: 12px !important;
    color: #002856 !important;
    font-weight: 400 !important;
}

/* All regular body text */
.aplus-popup .content p,
.mapplic-lightbox-description p,
.map-popup-content > div {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    margin: 0.8rem 0 !important;
}

/* Lists (phone, email, web, industry, region) */
.aplus-popup .content ul,
.aplus-popup .content ol,
.mapplic-lightbox-description ul,
.mapplic-lightbox-description li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.connect-section-2 #addresses .span4 h3 {
    color: #005288;
    font-size: 17px;
    margin: 0 0 0.25em 0;
    font-family: alternate-gothic-no--d, sans-serif !important;
}

.connect-section-2 #addresses .span4 h3 {
    color: #555;
    font-size: 17px;
    margin: 0;
    font-family: alternate-gothic-no--d, sans-serif !important;
}

.aplus-popup .content li {
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    margin: 0.0rem 0 !important;
    padding-left: 10px !important;
} 

/* Links */
.aplus-popup .content a {
    color: #0073aa !important;
    text-decoration: underline !important;
    transition: color 110ms ease-in-out !important;
}
.aplus-popup .content a:hover {
    color: #00aaff !important;
}

/* Horizontal rules between distributors */
.aplus-popup .content hr {
    border: none !important;
    border-top: 1px solid #eee !important;
    margin: 2.5rem 0 !important;
}

/* Country/Region headings when multiple distributors */
.map-popup-content > h3:nth-child(4),
.map-popup-content > h3:nth-child(6) {
    font-size: 24px !important;
    margin-top: 3rem !important;
    padding-top: 1rem !important;
    border-top: 2px solid #002856 !important;
}

/* Final fallback — force everything inside the popup */
.aplus-popup * {
    box-sizing: border-box !important;
}

/* FINAL FIX — REMOVE 1000PX CAP IN USA MODE */
body.usa-map-active .aplus-svg-wrapper {
    max-width: none !important;
}