/* Stripe-style Mega Menu - Clean Floating Background */

.wdt-mega-menu-wrapper {
    position: fixed; overflow: hidden; /* pointer-events: none;  */ opacity: 0; visibility: hidden; 
    background-color:transparent !important; transform: translateY(-8px);   left:0 !important;
     transition: all .6s cubic-bezier(0.2, 0.9, 0.4, 1.1); z-index: 9999;
     
 }

.wdt-mega-menu-wrapper.active { opacity: 1; visibility: visible; transform: translateY(0); /* pointer-events: auto;  */ }

.wdt-mega-menu-panel {  width:100% !important;  padding:0 50px;  display: none; transition: all .6s cubic-bezier(0.2, 0.9, 0.4, 1.1); position: absolute; top: 0; left: 0; }

.wdt-mega-menu-panel.active { display: block; }

.wdt-mega-menu-inner { min-width: 250px; }


/* 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 { color: var(--wdtPrimaryColor) !important; position: relative; } */

.wdt-mega-active:hover { color: var(--wdtPrimaryColor); }

.current-mega-menu.wdt-active,
.current-mega-menu.wdt-active a{  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; }
