/* menu na kompa */
@media screen and (min-width:992px) {

    .mega-sub-menu li a:first-child,
    .mega-sub-menu li,
    .mega-sub-menu {
        border-radius: 12px !important;
    }

    .navbar-logo {
        display: flex;
        align-items: center;
    }

    /* .mega-sub-menu {
        border-radius: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        background: rgba(255, 255, 255, 0.10) !important;
        box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.08) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;

    } */


    .mega-sub-menu {
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }

    .mega-sub-menu li a {
        color: #D5C19A !important;
    }

    .mega-menu-horizontal {
        background-color: transparent !important;
        background: transparent !important;
        display: flex;
        gap: 16px;
    }

    .nav-item.is-open+.mega-sub-menu {
        top: var(--nav-height, 64px);
        left: var(--submenu-left, 0);
        /* ustawiane JS-em */
    }

    .mega-menu-wrap .mega-menu>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link {
        color: #FFF !important;
        font-family: Montserrat !important;
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 700 !important;
        /* 24px */
        letter-spacing: -0.32px !important;
        background: transparent !important;
    }

    .mega-menu-link {
        color: #FFF !important;
        font-family: Montserrat !important;
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 500 !important;
        /* 24px */
        letter-spacing: -0.32px !important;
        background: transparent !important;
    }

    .mega-sub-menu .mega-menu-link {
        background: transparent !important;
        margin: 0px 0px;
    }

    .mega-menu-wrap .mega-menu>li.mega-menu-item>a.mega-menu-link:hover {
        background: transparent !important;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link {
        background-color: transparent !important;
        background: transparent !important;
        font-weight: 600 !important;
    }

    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link {
        background-color: transparent !important;
        background: transparent !important;
        font-weight: 600 !important;
    }

    #mega-menu-wrap-header-menu {
        background-color: transparent !important;
        background: transparent !important;
    }

    .navbar-main {
        position: fixed;
        width: 100%;
        padding: 10px 96px;
    }

    .navbar-main__content {
        display: flex;
        justify-content: space-between;
    }

    #mega-menu-header-menu li a.mega-menu-link[aria-current="page"] {
        font-weight: 600 !important;
    }
}

/* menu na tel */
@media screen and (max-width:992px) {
    .navbar-main {
        position: fixed;
        width: 100%;
        padding: 8px 16px;
    }

    .navbar-main__content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mega-menu-toggle {
        background: transparent !important;

    }

    /* #mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link {
        background-color: transparent !important;
        background: transparent !important;
        font-weight: 600 !important;
    }

    #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link {
        background-color: transparent !important;
        background: transparent !important;
        font-weight: 600 !important;
    }
*/
    .mega-menu {
        padding: 32px 40px 32px 16px !important;
        border-radius: 24px 0 0 24px !important;
        border: 1px solid #E3E3E3 !important;
        background: rgba(255, 255, 255, 0.90) !important;
        box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.10) !important;
        backdrop-filter: blur(12px) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .mega-menu-wrap .mega-menu>li.mega-menu-flyout ul.mega-sub-menu,
    .mega-menu-wrap .mega-menu>li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
    .mega-menu-wrap .mega-menu>li.mega-menu-item.mega-toggle-on>a.mega-menu-link {
        background-color: transparent !important;
        background: transparent !important;
    }


    .mega-current-menu-item {
        font-weight: 600 !important;
        background: transparent !important;
    }

    .mega-menu-item a[aria-current="page"] {
        font-weight: 700 !important;
        background: transparent !important;
    }

    .mega-menu-link {
        text-align: end !important;
    }

    .mega-menu-item a {
        color: #D5C19A !important;
        font-family: Montserrat !important;
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 150% !important;
        letter-spacing: -0.32px !important;
    }

    .mega-menu-wrap .mega-menu>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link {
        background-color: transparent !important;
        background: transparent !important;
        color: #D5C19A !important;
    }

    .menu-btn {
        display: none !important;
    }

    .box-shadow-menu {
        display: flex;
        padding: 12px 0px;
    }

    .logo-main {
        width: 100%;
    }

    .mobile-padding-1 {
        order: 2;
    }

    #mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner,
    #mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before,
    #mega-menu-wrap-header-menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
        background: white !important;
    }

    .mega-current_page_parent a {
        font-weight: 600 !important;
        background: transparent !important;
    }

    .mega-sub-menu li {
        margin: 16px 0px !important;
    }

    .navbar-logo {
        display: flex;
        align-items: center;
    }

    #mega-menu-wrap-header-menu #mega-menu-header-menu>li.mega-menu-item.mega-current-page-ancestor>a.mega-menu-link {
        background: transparent !important;
    }
}

.navbar-main {
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

.navbar-main>* {
    position: relative;
    z-index: 1;
}

.navbar-main::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(0px);
    transition: all 0.3s ease-in-out;
    z-index: 0;
}

.navbar-main.sticky::after {
    backdrop-filter: blur(14px);
    background: rgba(213, 200, 175, 0.65);

}

.navbar-logo a {
    width: 65%;
}