.lytbox-wrapper {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.lytbox-button {
    --hamburger-color: #fff;
    --close-x-color: #fff;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    height: 24px;
    width: 24px;
    cursor: pointer;
    position: relative;
    z-index: 0;
}

.lytbox-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(100%);
    overflow: hidden;
    transition: transform 0.2s;
    width: 100%;
    height: 100vh;
    z-index: 100;
}

.lytbox-navigation [data-elementor-type="section"] {
    width: 100%;
    height: 100%;
}

.lytbox-navigation .elementor-nav-menu .menu-item:first-child {
    border-top: 1px solid #3B3B3B;
}

.lytbox-navigation .elementor-nav-menu .menu-item {
    border-bottom: 1px solid #3B3B3B;
}

.lytbox-navigation .elementor-nav-menu .elementor-item-anchor {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.lytbox-button .hamburguer {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 4px 0;
}

.lytbox-button .hamburguer span {
    display: block;
    height: 2px;
    width: 18px;
    border-radius: 18px;
    background: var(--hamburger-color);
    transform-origin: 50% 50%;
    transition: all 0.1s 0.2s ease, transform 0.2s ease;
}

.lytbox-nav_control {
    position: absolute;
    left: -9999px;
    width: 100%;
    clip: rect(0, 0, 0, 0);
}

.lytbox-nav_control:checked ~ .lytbox-navigation {
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.3s, opacity 0.3s;
}

.lytbox-nav_control:checked ~ .lytbox-button .hamburguer {
    transition: all 0.1s 0s ease;
}

html:has(.lytbox-nav_control:checked) {
    .lytbox-navigation {
        transform: translateX(0);
        opacity: 1;
        transition: transform 0.3s, opacity 0.3s;
    }

    .lytbox-button .hamburguer {
        transition: all 0.1s 0s ease;
    }

    .lytbox-button .hamburguer span {
        background: var(--close-x-color);
        transition: all 0.1s ease, transform 0.1s 0.2s ease;
    }

    .lytbox-button .hamburguer span:first-child {
        opacity: 0;
    }

    .lytbox-button .hamburguer span:nth-child(2) {
        transform: translate(0, 0px) rotate(45deg);
    }

    .lytbox-button .hamburguer span:nth-child(3) {
        transform: translate(0, -6px) rotate(-45deg);

    }
}

.mobile-menu {
    font-family: "Poppins", Sans-serif;
}

.mobile-menu a {
    font-size: 14px;
    font-weight: 600;
    color: var(--e-global-color-text);
}

.mobile-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.mobile-menu .menu .menu-item {
    border-bottom: 1px solid #3B3B3B;
    padding: 7px 26px;
}

.mobile-menu .menu .menu-item.menu-item-has-children a {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu .menu .menu-item.menu-item-has-children .sub-arrow {
    display: flex;
    fill: var(--e-global-color-text);
}

.mobile-menu .menu .menu-item.menu-item-has-children .sub-arrow svg {
    width: 20px;
    height: 20px;
}

.mobile-menu .menu .menu-item:hover > a {
    color: var(--e-global-color-accent);
}

.mobile-menu .menu .menu-item.menu-item-has-children:hover > a .sub-arrow {
    fill: var(--e-global-color-accent);
}

.mobile-menu .menu .menu-item:first-child {
    border-top: 1px solid #3B3B3B;
}

.mobile-menu .menu .menu-item.sub-menu-back .sub-arrow {
    fill: var(--e-global-color-accent);
}

.mobile-menu .menu .sub-menu {
    position: absolute;
    top: -1px;
    bottom: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: #161515;
    z-index: 3;
    transition: all 0.3s ease-in-out;
}

.mobile-menu .menu .sub-menu.open {
    left: 0;
}

.mobile-menu .menu .sub-menu .menu-item {
    font-size: 13px;
    font-weight: 400;
}

.mobile-menu .menu .sub-menu .menu-item.sub-menu-back {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--e-global-color-accent);
    cursor: pointer;
    position: relative;
}

.mobile-menu .menu .sub-menu .menu-item.sub-menu-back .sub-arrow {
    position: absolute;
    left: 5px;
}

.mobile-menu .menu .sub-menu .menu-item a {
    font-weight: 400;
}

body.admin-bar .lytbox-navigation {
    top: 32px;
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .lytbox-navigation {
        top: 46px;
        height: calc(100vh - 46px);
    }
}
