@media only screen and (max-width:1559px) {}

@media only screen and (max-width:1440px) {}

@media only screen and (min-width:1351px) and (max-width:1620px) {}

@media only screen and (min-width:1200px) and (max-width:1350px) {}

@media only screen and (min-width:768px) and (max-width:1199px) {}

@media only screen and (min-width:768px) and (max-width:991px) {}

@media only screen and (min-width:601px) and (max-width:768px) {}

@media only screen and (max-width:1380px) {}

@media only screen and (max-width:1199px) {}

@media only screen and (min-width:992px) {

    ul.header-menu li {
        position: relative;
    }

    ul.header-menu li ul.sub-menu li {
        padding: 0;
    }

    ul.header-menu li ul.sub-menu {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: absolute;
        top: 40px;
        left: 0;
        right: 0;
        margin: 0 auto;
        padding: 24px;
        border-radius: 14px;
        background: #FFF;
        box-shadow: 0px 14px 23.9px 0px #1292BC24;
        width: max-content;
        z-index: 1;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-10px);
        transition: all 0.35s ease;
        pointer-events: none;
    }

    ul.header-menu li:hover>ul.sub-menu {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    li.menu-item-has-children::after {
        content: "";
        position: absolute;
        width: 8px;
        height: 8px;
        background-image: url("/wp-content/themes/hello-elementor-child/modules/header-module/images/arrow-down.svg");
        background-repeat: no-repeat;
        background-size: contain;
        top: 0;
        bottom: 0;
        margin: auto;
        right: -12px;
        transition: transform 0.3s ease;
    }

    li.menu-item-has-children:hover::after {
        transform: rotate(180deg);
    }

}

@media only screen and (max-width:991px) {

    body.menu-open {
        overflow: hidden;
    }

    .header-col.header-col-toggle {
        display: block;
    }


    body .header-col-menu,
    body .header-col-btn {
        display: none !important;
    }

    body .menu-toggle {
        display: block;
        position: relative;
        z-index: 9;
    }

    body .mobile-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 76px;
        background: #f5f5f5;
        padding: 30px 35px 50px 35px;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.45s ease, opacity 0.35s ease, visibility 0.35s ease;
        z-index: 1000;
        display: block;
        box-shadow: 0px 14px 23.9px rgb(115 123 126 / 14%);
    }

    /* OPEN STATE */
    body.menu-open .mobile-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }


    body .mobile-menu .ck26-header-menu {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    body .mobile-menu .buy-template-btn {
        margin-top: 30px;
        display: inline-block;
    }

    /* HAMBURGER → CROSS */
    body.menu-open .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 2px);
    }

    body.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    body .menu-toggle span {
        transition: transform 0.35s ease, opacity 0.25s ease;
    }

    .header-wrapper {
        width: 100%;
        padding: 20px;
        background: #f5f5f5;
        position: relative;
        z-index: 99999;
    }

    .header-row {
        padding: 15px;
    }

    .header-col.header-col-logo img {
        width: 100%;
        max-width: 145px;
    }

    .header-row {
        background: rgba(1, 2, 5, .1);
        transition:
            transform 0.35s ease,
            background-color 0.35s ease,
            backdrop-filter 0.35s ease;
    }

    /* MENU OPEN STATE */
    body.menu-open .header-row {
        background-color: transparent;
    }


    .mobile-menu .ck26-header-menu li a {
        font-size: var(--body-font);
        line-height: var(--line-height-heading);
        font-weight: var(--font-weight-400);
        color: var(--color-primary-black);
        text-transform: uppercase;
    }

    .mobile-menu ul.header-menu {
        flex-direction: column;
        display: flex;
        align-items: flex-start;
        gap: 6px;
    }

    .mobile-menu ul.header-menu li {
        position: relative;
        padding: 6px 0 !important;
        display: block;
        width: 100%;
    }

    .mobile-menu li.menu-item-has-children::after {
        content: "";
        position: absolute;
        width: 10px;
        height: 10px;
        background-image: url("/wp-content/themes/hello-elementor-child/modules/header-module/images/arrow-down.svg");
        background-repeat: no-repeat;
        background-size: contain;
        right: 0;
        top: 9px;
        transition: transform 0.3s ease;
        margin: unset;
    }

    .mobile-menu li.menu-item-has-children.open::after {
        transform: rotate(180deg);
    }

    .mobile-menu li.menu-item-has-children {
        position: relative;
    }

    .mobile-menu ul.header-menu li ul.sub-menu {
        display: none;
        position: unset;
        padding: 20px 0 0 20px;
    }

    .mobile-menu ul.header-menu li ul.sub-menu li {
        padding: 9px 0 !important;
    }

    /* desktop submenu reset */
    ul.header-menu li ul.sub-menu {
        position: static;
        display: none;
        max-height: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin: 0;
        width: 100%;
        border-radius: 0;
        gap: 0;
    }

}

@media only screen and (max-width:768px) {}

@media only screen and (max-width:500px) {}