/* Stripe-style Mega Menu - Clean Floating Background */

.wdt-mega-menu-wrapper {
    position: fixed;
    overflow: hidden;
    pointer-events: none;
    visibility: visible;
    visibility: visible;
    transform: translateY(-12px);
    border-top: 0px solid var(--wdtPrimaryColor);
    border-radius:var(--wdtRadius_1X);
    transition: all 1s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 9999;
    height:fit-content !important;
    max-width:1680px;
    width: 100% !important;
    right:0px !important;
    left: 0px !important;
    margin:0 auto;
   
 }

.wdt-mega-menu-wrapper.active {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; 
}

.wdt-mega-menu-container {
    margin: 0 30px;
}

.wdt-mega-menu-panel {display:none; width:100% !important; height: fit-content !important;  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);}

.wdt-mega-menu-panel.active { display:block; transition: all 1s ease; width: 100% !important; }

.wdt-mega-menu-inner { min-width: 250px; }

.wdt-cus-header:has(.wdt-mega-menu-wrapper.active)::before{
    transform: translateY(0%);
}


/* Content styling for Elementor */

.wdt-mega-menu-inner .elementor-section { margin: 0 !important; }


/* Menu item indicator */

.has-mega-menu > a { position: relative; }

.wdt-mega-menu-wrapper .elementor-widget-text-editor a,
.wdt-mega-menu-wrapper .elementor-widget-text-editor a:hover { background-image: none; }


@media (max-width: 768px) {
    .mobile-menu .wdt-mega-menu-inner {
        display: block !important; position: relative !important; width: 100% !important; opacity: 1 !important; 
        visibility: visible !important; transform: none !important; padding: 15px; background: var(--wdtAccentTxtColor); }
}

.wdt-mega-menu-wrapper.is-full-width { width: 100% !important; left: 0 !important; }

.wdt-mega-menu-wrapper.is-centered { margin: 0 auto; }

/* Active menu item styling */
.wdt-mega-active {
    position: relative;
}

.wdt-mega-active:hover {
    color: var(--wdtPrimaryColor);
}

.current-mega-menu.wdt-active,
.current-mega-menu.wdt-active a{
    color: var(--wdtPrimaryColor) !important;
    position: relative;
}

.current-mega-menu.wdt-active:hover,
.current-mega-menu.wdt-active a:hover {
    background-color: rgba(var(--wdtPrimaryColorRGB), 0.12);
    color: var(--wdtPrimaryColor);
}

.wdt-mega-active,
.current-mega-menu.wdt-active {
    transition: all 0.3s ease;
}

 @media only screen and (min-width:1281px) {
        #header .wdt-elementor-container-fluid .wdt-header-menu ul.wdt-primary-nav li.has-mega-menu>ul.sub-menu>li.menu-item-object-wdt_mega_menus {
        margin: 0 auto;
        width: 100%;
        max-width: 1620px;
        background-color: var(--wdtTertiaryColor);
        display: block;
        padding: 0px;
        border-radius: var(--wdtRadius_Zero);
        overflow: hidden;
}

#header .wdt-elementor-container-fluid .wdt-header-menu ul.wdt-primary-nav li.has-mega-menu>ul.sub-menu {background-color: transparent; padding: 0 30px;  pointer-events:none;}

}


