/* Top bar */
.top-bar {
    background-color: var(--k4u-black);
    padding: 10px 60px;
}

.top-bar span {
    color: #BABABA;
    font-size: 14px;
}

.top-bar .right {
    gap: 0 52px;
}

.top-bar .socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar .socials i {
    color: #BABABA;
    font-size: 17px;
}

.top-bar img {
    opacity: 0.6;
    height: 21px;
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
    }
}



/* Nav bar */
.navbar {
    padding: 0 60px 0 60px;
    background-color: white;
    box-shadow: 0px 0px 24px -11px rgba(0, 0, 0, 0.14);
    -webkit-box-shadow: 0px 0px 24px -11px rgba(0, 0, 0, 0.14);
    -moz-box-shadow: 0px 0px 24px -11px rgba(0, 0, 0, 0.14);
    z-index: 2020;
}

.navbar.mob {
    box-shadow: unset;
    -webkit-box-shadow: unset;
    -moz-box-shadow: unset;
    position: fixed;
    width: 100%;
}

.navbar .navbar-brand {
    margin-right: 98px;
}

.navbar .nav-item .nav-link {
    padding: 34px 28px;
    font-size: 18px;
    line-height: 32px;
    font-weight: 300;
    position: relative;
}

.navbar .nav-item .nav-link span {
    position: relative;
}

.navbar .nav-item .nav-link span:before {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--k4u-black);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.navbar .nav-item .nav-link:hover span:before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar .nav-item .nav-link span {
    color: var(--k4u-black);
}

.navbar .dropdown-toggle::after,
.navbar .megamenu-outer span::after {
    border: none;
    content: url('data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22m4.5%207.75%204.5%204.5%204.5-4.5%22%20stroke%3D%22%23000%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E');
    font-size: 12px;
    position: absolute;
    margin-left: 3px;
    margin-top: 5px;
    color: var(--k4u-black);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 0;
    padding: 11px 25px;
    display: block;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0px 0px 24px -11px rgba(0, 0, 0, 0.14);
    -webkit-box-shadow: 0px 0px 24px -11px rgba(0, 0, 0, 0.14);
    -moz-box-shadow: 0px 0px 24px -11px rgba(0, 0, 0, 0.14);
}

.navbar .dropdown-menu li {
    margin: 0 0 0 0;
}

.navbar .dropdown-menu li a {
    padding: 5px 0;
    transition: background-color 0.3s;
}

.navbar .dropdown-menu li a span {
    color: var(--k4u-black);
    font-weight: 300;
    font-size: 17px;
    line-height: 17px;
    position: relative;
}

.navbar .dropdown-menu li a span:before {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--k4u-black);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.navbar .dropdown-menu li a:hover span:before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar .dropdown-menu li:hover {
    background-color: unset;
}

.navbar .dropdown-menu li a:hover {
    background-color: transparent;
}

.navbar .cart-icon {
    display: inline-block;
    padding: 15px;
    background: #E8E8E8;
    margin-right: 19px;
}

.navbar .cart-icon i {
    font-size: 17px;
}



@media (max-width: 1600px) {
    .navbar .navbar-brand {
        margin-right: 38px;
    }

    /* .navbar .nav-item .nav-link {
        padding: 34px 20px;
    } */

    .navbar .btn-1 {
        padding: 12px 40px;
    }
}


@media (max-width: 1440px) {
    .navbar .nav-item .nav-link {
        padding: 34px 24px;
    }

    .navbar .cart-icon {
        margin-right: 0;
        padding: 12px;
    }
}



@media (max-width: 1368px) {
    .navbar {
        padding: 15px 25px 15px 20px;
    }
}


@media (max-width: 1280px) {
    .navbar .cart-icon {
        padding: 10px;
        margin-right: 0;
    }

    .navbar .nav-item .nav-link {

        padding: 34px 16px;

    }
}


@media (max-width: 992px) {
    .navbar {
        padding: 15px 25px 15px 20px;
    }

    .navbar .navbar-brand {
        margin-right: 0px;
    }

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

    .navbar .cart-icon {
        padding: 7px 11px;
        margin-right: 17px;
    }

    .navbar .cart-icon i {
        font-size: 17px;
    }
}



/* Mega menu */
.navbar .megamenu {
    z-index: 500;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid var(--k4u-black);
    border-bottom: 1px solid var(--k4u-black);
    padding-top: 43px;
    padding-bottom: 66px;
}

.navbar .megamenu .nav-link {
    border-bottom: 1px solid transparent;
    padding: 0 0 14px 0;
    text-transform: uppercase;
    border: none;
    color: var(--k4u-black);
    font-weight: 400;
    font-size: 18px;
    margin-right: 42px;
    transition: border 0.3s;
}

.navbar .megamenu .nav-link.active {
    border-bottom: 1px solid var(--k4u-black);
    font-weight: 600;
}

.navbar .megamenu .tab-content {
    padding-top: 42px;
}

.navbar .megamenu .items-container {
    margin: -15px -15px;
}

.navbar .megamenu .item-container {
    padding: 15px 15px;
}

.navbar .megamenu .item img {
    width: 100%;
    height: 178px;
    object-fit: cover;
    margin-bottom: 15px;
}

.navbar .megamenu .item h5 {
    font-size: 18px;
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
}

.navbar .megamenu .itm {
    background-color: var(--k4u-light-gray);
    height: 178px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 48px;
}




/* Mobile menu */
@media (max-width: 992px) {


    /* Toggle */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 3000;
        -webkit-user-select: none;
        user-select: none;
        padding-top: 7px;
    }

    .mobile-toggle input {
        display: flex;
        width: 28px;
        height: 32px;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        z-index: 2;
    }

    .mobile-toggle span {
        display: flex;
        width: 24px;
        height: 2px;
        margin-bottom: 5px;
        position: relative;
        background: #ffffff;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 5px 0px;
        /* transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
        opacity 0.55s ease; */
    }

    .mobile-toggle.light span {
        background: var(--def-black);
    }

    .mobile-toggle span:first-child {
        transform-origin: 0% 0%;
    }

    .mobile-toggle span:nth-last-child(1) {
        transform-origin: 0% 100%;
    }

    .mobile-toggle input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-1px, 2px);
        background: var(--def-black) !important;
    }

    .mobile-toggle input:checked~span:nth-last-child(2) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    .mobile-toggle input:checked~span:nth-last-child(1) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    .mobile-toggle input:checked~ul {
        transform: none;
    }


    /* Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 0;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0);
        transition: background-color 0.3s ease-in-out;
        z-index: 100;
    }



    /* Menu itself */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        overflow: scroll;
        background-color: white;
        transform: translateX(-100vw);
        /* transition: all 0.4s ease-out; */
        z-index: 1030;
        padding: 90px 25px 15px 20px;
        /* box-shadow: 5px 0px 20px -5px rgba(0,0,0,0.09);
        -webkit-box-shadow: 5px 0px 20px -5px rgba(0,0,0,0.09);
        -moz-box-shadow: 5px 0px 20px -5px rgba(0,0,0,0.09); */
    }

    /* .mobile-menu img {
        width: 161px;
        margin-bottom: 50px;
    } */
    .mobile-menu ul {
        margin: 0;
        padding: 0;
    }

    .mobile-menu ul li {
        font-weight: 300;
        font-size: 20px;
        line-height: 24px;
        color: var(--def-black);
        overflow: hidden;
        position: relative;
        text-align: left;
        margin-bottom: 25px;
        border-bottom: 1px solid var(--k4u-light-gray);
        padding-bottom: 25px;
    }

    .mobile-menu li.menu-item-has-children::after {
        content: '\f078';
        font-weight: 900;
        font: var(--fa-font-solid);
        font-size: 15px;
        position: absolute;
        right: 0;
        top: 4px;
    }

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

    .mobile-menu li a {
        text-decoration: none;
        color: black;
    }

    .sub-menu {
        display: none;
    }

    .mobile-menu .sub-menu li {
        padding-top: 25px;
        margin-bottom: 0;
        border-bottom: none;
        font-size: 17px;
        padding-bottom: 0;
    }

    .mobile-menu .sub-menu li:last-child {
        margin-bottom: 15px;
    }

    .mobile-menu .aspire-btn {
        width: 100%;
        text-align: center;
    }

    .mobile-menu .divider {
        width: 100%;
        height: 1px;
        background-color: var(--k4u-light-gray);
        margin: 30px 0;
    }

    .mobile-menu .bottom {
        text-align: center;
    }

    .mobile-menu span {
        font-size: 23px;
    }

    .mobile-menu .socials {
        margin-top: 15px;
    }

    .mobile-menu .socials a {
        margin: 0 10px;
    }

    .mobile-menu .socials i {
        font-size: 25px;
    }

}