/* Stripe-style Mega Menu - Clean Floating Background */

.wdt-mega-menu-wrapper { left: 0 !important;
    position: absolute; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; width: 100% !important;
    background-color: transparent; transform: translateY(-8px); border-top: 0px solid var(--wdtPrimaryColor);
    box-shadow: none; transition: all 1s cubic-bezier(0.2, 0.9, 0.4, 1.1); z-index: 9999; }

body .wdt-mega-menu-wrapper { top: calc(var(--header-height) - 10px) !important; position: fixed; }
body:has( .sticky-header-active.wdt-header-top.wdt-header-scroll) .wdt-mega-menu-wrapper { top: calc(var(--sticky-header-height) + 10px) !important; }

.wdt-mega-menu-wrapper.active {
    opacity: 1; visibility: visible; transform: translateY(0); }

.wdt-mega-menu-container { display: flex; position: relative; width: 100%; height: 100%; margin: 0 auto; pointer-events: all; }

.wdt-mega-menu-panel { display: none; width: 100% !important; }

.wdt-mega-menu-panel.active { display: block; transition: all 1s ease; }

.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-inner div[data-elementor-type="wp-post"] > .e-con { background-color: var(--wdtTertiaryColor); }

.wdt-mega-menu-wrapper .elementor-widget-text-editor a,
.wdt-mega-menu-wrapper .elementor-widget-text-editor a:hover { background-image: none; }


@media (min-width: 1281px) {
    .wdt-mega-menu-container { max-width: 1620px; }
}
@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 */
a.wdt-mega-active { color: var(--wdtPrimaryColor) !important; position: relative; }

a.wdt-mega-active:hover, 
.wdt-mega-menu-container a: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; }