/* Ensure the parent nav item can anchor the absolute dropdown correctly */
.e4a-nav-item.e4a-has-mega-menu {
    position: relative;
}

/* Mega Menu Dropdown */
.e4a-mega-menu-dropdown {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 70vw;
    max-width: 1000px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    padding: 30px;
    z-index: 9999;
    
    /* Use website font */
    font-family: Montserrat ;

    transition: visibility 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

/* Invisible bridge hover area */
.e4a-has-mega-menu::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    display: none;
}

.e4a-has-mega-menu:hover::after {
    display: block;
}

/* Open Mega Menu */
.e4a-has-mega-menu:hover .e4a-mega-menu-dropdown,
.e4a-mega-menu-dropdown:hover {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}


/* Columns */
.e4a-mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 25px;
    margin-bottom: 25px;
}


/* Column Header */
.e4a-column-header {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.e4a-column-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 4px 0;
}

.e4a-column-desc {
    font-size: 13px;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}


/* Product List - Remove bullets */
.e4a-submenu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.e4a-submenu-list li {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.e4a-submenu-list li::before {
    content: none !important;
    display: none !important;
}


/* Product Links */
.e4a-submenu-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #2d3748;
    text-decoration: none;
    border-bottom: 1px solid #f7fafc;
    transition: color 0.2s, padding-left 0.2s;
}

.e4a-submenu-list li a:hover {
    color: #0022ff;
    padding-left: 4px;
}


.e4a-arrow-right {
    color: #a0aec0;
}


/* View All Link */
.e4a-view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: #0022ff;
    text-decoration: none;
}


/* Bottom Banner */
.e4a-mega-menu-banner {
    background: #f0f4f8;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.e4a-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.e4a-banner-content h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #1a202c;
}

.e4a-banner-content p {
    margin: 0;
    font-size: 13px;
    color: #4a5568;
}


/* CTA Button */
.e4a-btn-primary {
    background: #0022ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}