/*===========================
      02.Header css 
===========================*/


.header-nav {
    position: relative;
    padding: 18px 0;
    border-bottom: 1px solid $border-color;
    z-index: 9;
    margin: 0;
}

.header-nav-wrapper {

    & .header-static-nav {
        & p {
            font-size: 16px;
            color: $body-color;

            @media #{$lg} {
                font-size: 15px;
            }

            & .text {
                font-weight: 500;
                color: #000;
            }
        }
    }

    & .header-menu-nav {
        & .menu-nav {
            & li {
                display: inline-block;
                position: relative;

                & + li {
                    margin-left: 30px;

                    @media #{$lg} {
                        margin-left: 20px;
                    }

                    &::before{
                        position: absolute;
                        content: '|';
                        top: 7px;
                        left: -18px;
                        line-height: 13px;
                        font-size: 13px;
                        color: $body-color;
                    }
                }

                & a {
                    font-weight: 400;
                    color: $body-color;
                    text-shadow: none;
                    cursor: pointer;
                    line-height: 13px;
                    font-size: 16px;
                    text-transform: capitalize;

                    @media #{$lg} {
                        font-size: 15px;
                    }
                }

                & .dropdown {
                    & button {
                        border: 0;
                        background: none;
                        font-weight: 400;
                        color: $body-color;
                        text-shadow: none;
                        cursor: pointer;
                        line-height: 13px;
                        font-size: 16px;
                        text-transform: capitalize;

                        @media #{$lg} {
                            font-size: 15px;
                        }

                        & i {
                            font-size: 12px;
                            margin-left: 5px;
                        }
                    }

                    & .dropdown-menu {
                        margin: 0;
                        top: 175% !important;
                        left: auto !important;
                        right: 0 !important;
                        @include transform(translate(0) !important);
                        min-width: 130px;
                        overflow: hidden;
                        padding: 0 15px;
                        background: $white;
                        border-radius: 0;
                        border: none;
                        box-shadow: 0px 2px 7.44px 0.56px rgba(0, 0, 0, 0.1);

                        & li {
                            margin-left: 0;
                            display: block;

                            & + li{
                                margin-left: 0;
                            }

                            & a {
                                padding: 0 10px;
                                color: $body-color;
                                line-height: 40px;
                                font-size: 13px;
                                border-bottom: 1px solid $border-color;
                                display: block;
                            }

                            &:last-child{
                                & a{
                                    border-bottom: 0;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

.header-middle {
    position: relative;
    padding: 37px 0;

    & .desktop-logo {}
}

.header-contact {
    & i {
        font-size: 48px;
        color: $black;

        @media #{$lg} {
            font-size: 42px;
        }
    }

    & .phone {
        padding-left: 15px;

        & p {
            font-size: 14px;
            color: $black;
            font-weight: 500;
            line-height: 14px;
            margin-bottom: 4px;
            letter-spacing: 0.2em;
            text-transform: uppercase;

            @media #{$lg} {
                font-size: 12px;
            }
        }

        & a {
            color: $theme-color;
            font-size: 18px;
            line-height: 18px;
            font-weight: 500;

            @media #{$lg} {
                font-size: 14px;
            }
        }
    }
}

.header-search {
    position: relative;
    margin-left: 10%;

    @media #{$laptop} {
        margin-left: 6%;
    }

    @media #{$lg} {
        margin-left: 2%;
    }

    & .search-category {
        position: absolute;
        left: 2px;
        top: 2px;
        display: inline-block;
        width: 150px;
        margin: 0;
        background: transparent;
        
        @media #{$xs}{
            width: 120px;
        }
        @media #{$sm}{
            width: 170px;
        }

        &::before {
            font-family: "Ionicons";
            content: "\f3d0";
            font-size: 20px;
            color: $black;
            position: absolute;
            right: -8px;
            top: 50%;
            @include transform(translateY(-50%));
            
            @media #{$xs}{
                right: 5px;
                font-size: 16px;
            }
            @media #{$sm}{
                right: 8px;
                font-size: 20px;
            }
        }

        & select {
            width: 170px;
            height: 45px;
            line-height: 25px;
            margin: 0;
            border: 0;
            padding: 0 38px 0 20px;
            color: #333333;
            font-size: 16px;
            font-weight: 500;
            border-right: 1px solid #d9d9d9;
            border-radius: 30px 0px 0px 30px;
            -webkit-user-select: none;
            -moz-user-select: -moz-none;
            -ms-user-select: none;
            user-select: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            
            @media #{$xs}{
                width: 120px;
                padding: 0 20px 0 5px;
                font-size: 13px;
                height: 35px;
            }
            @media #{$sm}{
                width: 170px;
                padding: 0 38px 0 20px;
                font-size: 16px;
                height: 45px;
            }
        }

    }

    & input {
        padding: 10px 60px 10px 180px;
        width: 100%;
        height: 50px;
        font-size: 16px;
        background: $white;
        color: #999;
        border: 2px solid $border-color;
        
        @media #{$xs}{
            padding-left: 125px;
            padding-right: 50px;
            font-size: 14px;
            height: 40px;
        }
        @media #{$sm}{
            padding: 10px 60px 10px 180px;
            font-size: 16px;
            height: 50px;
        }
    }

    & button {
        position: absolute;
        top: 0;
        right: 0;
        height: 50px;
        width: 50px;
        line-height: 50px;
        text-align: center;
        color: $white;
        padding: 0;
        font-weight: 700;
        background: $theme-color;
        border: 0;
        @include transition(0.3s);
        font-size: 28px;
        
        @media #{$xs}{
            height: 40px;
            width: 40px;
            line-height: 40px;
            font-size: 22px;
        }
        @media #{$sm}{
            height: 50px;
            width: 50px;
            line-height: 50px;
            font-size: 28px;
        }

        &:hover {
            background: $black;
        }
    }
}

.header-cart {
    & .cart-btn {
        position: relative;
        padding: 0 40px 0 18px;
        border: 2px solid $border-color;
        margin-left: 30px;
        display: inline-block;
        background-color: $white;

        & a {
            display: block;
            position: relative;
            font-size: 14px;
            font-weight: 500;
            text-align: center;
            height: 46px;
            padding-left: 55px;
            color: #444444;
            padding-top: 3px;
            padding-bottom: 4px;

            &::before {
                font-family: "Ionicons";
                content: "\f3d0";
                font-size: 20px;
                color: #000000;
                position: absolute;
                right: -25px;
                top: 50%;
                @include transform(translateY(-50%));
            }

            & i {
                font-size: 27px;
                display: inline-block;
                margin-right: 13px;
                vertical-align: -5px;
                position: absolute;
                left: 0;
            }

            & .text,
            & .total {
                display: block;
            }

            & .count {
                width: 18px;
                height: 18px;
                line-height: 18px;
                font-size: 11px;
                color: $white;
                position: absolute;
                top: 8px;
                text-align: center;
                font-weight: 500;
                left: 15px;
                background: $theme-color;
                border-radius: 100%;
            }
        }
    }
}





.header-menu {
    background-color: #000;
    position: relative;

    &.menu-gradient{
        background: -webkit-linear-gradient(left, rgba(188, 110, 255, 1) 0%, rgba(101, 226, 255, 1) 100%);
        background: -o-linear-gradient(left, rgba(188, 110, 255, 1) 0%, rgba(101, 226, 255, 1) 100%);
        background: linear-gradient(to right, rgba(188, 110, 255, 1) 0%, rgba(101, 226, 255, 1) 100%);
    }
    
    &.sticky{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        @include animation(sticky 1s);
        @include box-shadow (2px 4px 8px rgba($black, 0.25));
    }
}

@-webkit-keyframes sticky {
    0%{
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }
    100%{
        -webkit-transform: translateY(0%);
        transform: translateY(0%)
    }
}

@keyframes sticky {
    0%{
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%)
    }
    100%{
        -webkit-transform: translateY(0%);
        transform: translateY(0%)
    }
}



.header-menu-vertical {
    position: relative;
    z-index: 9;

    & .menu-title {
        color: $white;
        font-size: 20px;
        font-weight: 500;
        text-transform: capitalize;
        height: 68px;
        padding: 14px 25px 10px 68px;
        cursor: pointer;
        margin: 0;
        background: -webkit-linear-gradient(left, rgba(188, 110, 255, 1) 0%, rgba(101, 226, 255, 1) 100%);
        background: -o-linear-gradient(left, rgba(188, 110, 255, 1) 0%, rgba(101, 226, 255, 1) 100%);
        background: linear-gradient(to right, rgba(188, 110, 255, 1) 0%, rgba(101, 226, 255, 1) 100%);
        position: relative;
        
        @media #{$lg}{
            font-size: 18px;
        }

        &.menu-title-solid{
            background: $black;
        }

        &::before {
            content: '\f394';
            display: inline-block;
            font-size: 40px;
            font-family: "Ionicons";
            font-weight: 400;
            position: absolute;
            top: 0;
            left: 20px;
            line-height: 68px;
            vertical-align: -4px;
            
            @media #{$lg}{
                font-size: 30px;
            }
        }

        &::after {
            content: '\f3d0';
            display: inline-block;
            font-size: 28px;
            font-family: "Ionicons";
            font-weight: 400;
            position: absolute;
            top: 0;
            right: 20px;
            line-height: 68px;
            vertical-align: -4px;
            
            @media #{$lg}{
                font-size: 20px;
            }
        }

        & span {
            display: block;
            font-size: 14px;
            color: $white;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            
            @media #{$lg}{
                font-size: 13px;
            }
        }
    }

    & .menu-content {
        width: 100%;
        background: $white;
        padding: 0;
        position: absolute;
        top: 100%;
        left: 0;
        @include box-shadow (0px 10px 30px 0px rgba(209, 209, 209, 0.5));
        display: none;
        
        &.menu-expand-2{
            display: block;
            @include box-shadow (none);
            border: 2px solid $border-color;
            border-top: 0;
            
            @media #{$lg}{
                display: none;
            }
        }

        & li {
            display: block;
            position: relative;

            & a {
                position: relative;
                display: block;
                overflow: hidden;
                line-height: 60px;
                text-transform: capitalize;
                word-wrap: break-word;
                background: $white;
                color: $black;
                margin: 0 20px;
                padding-left: 28px;
                font-size: 14px;
                font-weight: 500;
                transition: none;
                border-bottom: 1px solid rgba(0, 0, 0, 0.1);
                @include transition(0.3s);
                
                @media #{$lg}{
                    line-height: 50px;
                    margin: 0 10px;
                }

                &:hover {
                    color: $theme-color;
                }

                & i {
                    position: absolute;
                    right: 15px;
                    top: 50%;
                    @include transform(translateY(-50%));
                }
            }

            &:last-child {
                & a {
                    border-bottom: 0;
                    padding-left: 48px;

                    & i {
                        right: auto;
                        left: 28px;
                    }
                }
            }

            & .sub-menu {
                position: absolute;
                z-index: 9;
                text-align: left;
                top: 0;
                left: 100%;
                background: #fff;
                padding: 30px;
                display: inline-block;
                box-shadow: 0px 10px 30px 0px rgba(209, 209, 209, 0.5);
                width: 800px;
                display: -webkit-flex;
                display: -moz-flex;
                display: -ms-flex;
                display: -o-flex;
                display: flex;
                opacity: 0;
                visibility: hidden;
                @include transition(0.3s);
                
                @media #{$lg}{
                    width: 720px;
                }

                & li {
                    width: 30%;
                    
                    &:last-child {
                        width: 40%;
                    }
                    
                    a {
                        color: #666666;
                        line-height: 40px;
                        font-weight: 400;
                        font-size: 14px;
                        display: block;
                        padding: 0;
                        margin: 0;
                        border-bottom: 0;

                        & span {
                            font-weight: 500;
                            color: $black;
                            @include transition(0.3s);
                        }
                    }
                    
                    & img {
                        @include transition(0.3s);
                        width: 100%;
                    }

                    & .submenu-item {
                        & li {
                            width: 100%;

                            a {
                                color: #666666;
                                line-height: 40px;
                                font-weight: 400;
                                font-size: 14px;
                                display: block;
                                padding: 0;
                                margin: 0;
                                border-bottom: 0;

                                & span {
                                    font-weight: 500;
                                    color: $black;
                                    @include transition(0.3s);
                                }
                            }

                            &:hover {

                                & a {
                                    padding-left: 10px;
                                    color: $theme-color;

                                    & span {
                                        color: $theme-color;
                                    }
                                }

                                &:first-child {
                                    & a {
                                        padding-left: 0;
                                    }
                                }
                            }
                        }
                    }

                    &:hover {
                        & img {
                            @include transform(scale(1.05));
                        }
                    }
                }
            }

            &:hover {
                & .sub-menu {
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }
}

.sticky{
    & .header-menu-vertical {
        & .menu-content {
            &.menu-expand-2{
                display: none;
            }
        }
    }
}


.header-horizontal-menu {

    & .menu-content {
        & li {
            display: inline-block;
            position: relative;

            & a {
                display: block;
                padding: 0 25px;
                font-weight: 500;
                font-size: 16px;
                color: $white;
                background: transparent;
                text-transform: uppercase;
                line-height: 68px;
                height: 68px;
                position: relative;
                letter-spacing: 0.2em;
                @include transition(0.3s);
                
                @media #{$laptop}{
                    font-size: 14px;
                    padding: 0 12px;
                    letter-spacing: 1px;
                }
                @media #{$lg}{
                    font-size: 13px;
                    padding: 0 12px;
                    letter-spacing: 1px;
                }
            }

            &.active,
            &:hover {
                & > a {
                    color: $theme-color;
                }
            }
            
            & .sub-menu{
                box-shadow: 0px 2px 8px 0.56px rgba(0, 0, 0, 0.1);
                background: #fff;
                position: absolute;
                top: 100%;
                width: 240px;
                left: 0;
                -o-transform-origin: 0% 0%;
                -ms-transform-origin: 0% 0%;
                -moz-transform-origin: 0% 0%;
                -webkit-transform-origin: 0% 0%;
                transform-style: preserve-3d;
                -o-transform-style: preserve-3d;
                -moz-transform-style: preserve-3d;
                -webkit-transform-style: preserve-3d;
                @include transform(rotateX(-90deg));
                opacity: 0;
                visibility: hidden;
                @include transition(0);
                z-index: 999;
                padding: 12px 0;
                
                & li{
                    margin-left: 0;
                    padding: 0;
                    display: block;
                    position: relative;
                    
                    & a{
                        color: $black;
                        line-height: 40px;
                        height: auto;
                        display: block;
                        letter-spacing: 0;
                        font-size: 14px;
                        padding: 0 25px;
                        font-weight: 400;
                        position: relative;
                        
                        @media #{$laptop}{
                            line-height: 35px;
                        }
                        @media #{$lg}{
                            line-height: 35px;
                        }
                        
                        & i{
                            position: absolute;
                            top: 0;
                            right: 25px;
                            line-height: 40px;
                        }
                    }
                    
                    &:hover{
                        & > a{
                            color: $theme-color;
                        }
                    }
                    
                    & .sub-menu{
                        top: 20px;
                        left: 100%;
                        @include transition(0.3s);
                        opacity: 0;
                        visibility: hidden;
                    }
                    
                    &:hover{
                        & .sub-menu{
                            top: 0;
                            opacity: 1;
                            visibility: visible;
                        }
                    }
                }
            }

            &:nth-last-child(1),
            &:nth-last-child(2),
            &:nth-last-child(3){
                & .sub-menu{
                    & li{
                        & .sub-menu{
                            @media #{$lg}{
                                left: auto;
                                right: 100%;
                            }
                        }
                    }
                }
            }

            & .mega-sub-menu {
                box-shadow: 0px 2px 8px 0.56px rgba(0, 0, 0, 0.1);
                background: #fff;
                padding: 0px 30px 30px;
                position: absolute;
                top: 100%;
                width: 1110px;
                left: 300px;
                right: 0;
                margin: 0 auto;
                -o-transform-origin: 0% 0%;
                -ms-transform-origin: 0% 0%;
                -moz-transform-origin: 0% 0%;
                -webkit-transform-origin: 0% 0%;
                transform-style: preserve-3d;
                -o-transform-style: preserve-3d;
                -moz-transform-style: preserve-3d;
                -webkit-transform-style: preserve-3d;
                @include transform(rotateX(-90deg));
                opacity: 0;
                visibility: hidden;
                @include transition(0);
                z-index: 99;
                
                @media #{$laptop}{
                    width: 980px;
                    left: 0;
                }
                @media #{$lg}{
                    width: 900px;
                    left: 0;
                    padding: 0px 15px 15px;
                }

                & .menu-title {
                    font-size: 16px;
                    font-weight: 500;
                    color: $black;
                    text-transform: uppercase;
                    letter-spacing: 0;
                    padding: 0;
                    line-height: 28px;
                    display: inline-block;
                    height: auto;
                    
                    &:hover{
                        color: $theme-color;
                    }
                }
                
                & .custom-menu {
                    padding-top: 30px;
                    width: 100%;
                    
                    & .custom-title {
                        font-size: 16px;
                        font-weight: 500;
                        color: $black;
                        text-transform: uppercase;
                    }
                    
                    & .menu-block {
                        & p {
                            margin-top: 20px;
                            font-size: 13px;
                            font-weight: 400;
                            text-transform: capitalize;
                            line-height: 18px;
                        }
                    }
                }
                
                & .custom-banner {
                    margin-top: 30px;
                    width: 100%;

                    & a {
                        display: block;
                        line-height: inherit;
                        height: auto;
                        padding: 0;
                        margin: 0;
                        overflow: hidden;

                        & img {
                            width: 100%;
                            @include transition(0.3s);
                        }

                        &:hover {
                            & img {
                                @include transform(scale(1.03));
                            }
                        }
                    }
                }
                
                & li{
                    width: 25%;
                    padding-top: 30px;
                    
                    & .submenu-item{
                        padding-top: 20px;

                        & li{
                            margin-left: 0;
                            padding: 0;
                            display: block;
                            position: relative;
                            width: 100%;

                            & a{
                                color: $black;
                                line-height: 35px;
                                height: auto;
                                display: block;
                                letter-spacing: 0;
                                font-size: 14px;
                                padding: 0;
                                text-transform: capitalize;
                                font-weight: 400;

                                & i{
                                    display: block;
                                    float: right;
                                    line-height: 35px;
                                }
                            }

                            &:hover{
                                & > a{
                                    color: $theme-color;
                                }
                            }
                        }
                    }
                }
            }
            
            &:hover{
                & .sub-menu,
                & .mega-sub-menu {
                    @include transform(rotateX(0deg));
                    opacity: 1;
                    visibility: visible;
                    @include transition(0.3s);
                }
            }
        }
    }
}

/*=========== Mobile  ==========*/

.mobile-nav-top{
    padding: 15px 0;
}

.mobile-toggle{
    & a{
        color: $body-color;
        height: 39px;
        line-height: 39px;
        font-size: 24px;
    }
}

.mobile-account-cart{
    & .account-cart{
                
        & li{
            display: inline-block;
            
            & + li{
                margin-left: 20px;
            }
            
            & .dropdown {
                & button {
                    border: 0;
                    background: none;
                    font-weight: 400;
                    color: $body-color;
                    text-shadow: none;
                    cursor: pointer;
                    height: 39px;
                    line-height: 39px;
                    font-size: 24px;
                    text-transform: capitalize;

                    @media #{$lg} {
                        font-size: 15px;
                    }

                    & i {
                        font-size: 24px;
                    }
                }

                & .dropdown-menu {
                    margin: 0;
                    top: 130% !important;
                    left: auto !important;
                    right: 0 !important;
                    @include transform(translate(0) !important);
                    min-width: 130px;
                    overflow: hidden;
                    padding: 0 15px;
                    background: $white;
                    border-radius: 0;
                    border: none;
                    box-shadow: 0px 2px 7.44px 0.56px rgba(0, 0, 0, 0.1);

                    & li {
                        margin-left: 0;
                        display: block;

                        & a {
                            padding: 0 10px;
                            color: $body-color;
                            line-height: 40px;
                            font-size: 13px;
                            border-bottom: 1px solid $border-color;
                            display: block;
                            text-align: left;
                        }
                    }
                }
            }
            
            & a{
                display: block;
                position: relative;
                font-size: 24px;
                font-weight: 500;
                text-align: center;
                height: 40px;
                color: $body-color;
                line-height: 18px;
                
                & span{
                    width: 18px;
                    height: 18px;
                    line-height: 18px;
                    font-size: 11px;
                    color: $white;
                    position: absolute;
                    top: -8px;
                    text-align: center;
                    font-weight: 500;
                    left: 23px;
                    background: $theme-color;
                    border-radius: 100%;
                }
            }
        }
    }
}


.header-search {
    position: relative;
    margin-left: 10%;

    @media #{$laptop} {
        margin-left: 6%;
    }

    @media #{$lg} {
        margin-left: 2%;
    }

    & .search-category {
        position: absolute;
        left: 2px;
        top: 2px;
        display: inline-block;
        width: 150px;
        margin: 0;
        background: transparent;
        
        @media #{$xs}{
            width: 120px;
        }
        @media #{$sm}{
            width: 170px;
        }

        &::before {
            font-family: "Ionicons";
            content: "\f3d0";
            font-size: 20px;
            color: $black;
            position: absolute;
            right: -8px;
            top: 50%;
            @include transform(translateY(-50%));
            
            @media #{$xs}{
                right: 5px;
                font-size: 16px;
            }
            @media #{$sm}{
                right: 8px;
                font-size: 20px;
            }
        }

        & select {
            width: 170px;
            height: 45px;
            line-height: 25px;
            margin: 0;
            border: 0;
            padding: 0 38px 0 20px;
            color: #333333;
            font-size: 16px;
            font-weight: 500;
            border-right: 1px solid #d9d9d9;
            border-radius: 30px 0px 0px 30px;
            -webkit-user-select: none;
            -moz-user-select: -moz-none;
            -ms-user-select: none;
            user-select: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            
            @media #{$laptop}{
                padding: 0 28px 0 10px;
                font-size: 14px;
            }
            
            @media #{$xs}{
                width: 120px;
                padding: 0 20px 0 5px;
                font-size: 13px;
                height: 35px;
            }
            @media #{$sm}{
                width: 170px;
                padding: 0 38px 0 20px;
                font-size: 16px;
                height: 45px;
            }
        }

    }

    & input {
        padding: 10px 60px 10px 180px;
        width: 100%;
        height: 50px;
        font-size: 16px;
        background: $white;
        color: #999;
        border: 2px solid $border-color;
        
        @media #{$xs}{
            padding-left: 125px;
            padding-right: 50px;
            font-size: 14px;
            height: 40px;
        }
        @media #{$sm}{
            padding: 10px 60px 10px 180px;
            font-size: 16px;
            height: 50px;
        }
    }

    & button {
        position: absolute;
        top: 0;
        right: 0;
        height: 50px;
        width: 50px;
        line-height: 50px;
        text-align: center;
        color: $white;
        padding: 0;
        font-weight: 700;
        background: $theme-color;
        border: 0;
        @include transition(0.3s);
        font-size: 28px;
        
        @media #{$xs}{
            height: 40px;
            width: 40px;
            line-height: 40px;
            font-size: 22px;
        }
        @media #{$sm}{
            height: 50px;
            width: 50px;
            line-height: 50px;
            font-size: 28px;
        }

        &:hover {
            background: $black;
        }
    }
}

.header-cart {
    position: relative;
    
    & .mini-cart{
        position: absolute;
        top: 125%;
        right: 0;
        width: 345px;
        background-color: $white;
        @include box-shadow (0px 1px 3px 0px rgba(0, 0, 0, 0.2));
        z-index: 99;
        @include transition(0.3s);
        opacity: 0;
        visibility: hidden;
        
        @media #{$xs}{
            width: 270px;
        }
        @media #{$sm}{
            width: 345px;
        }
        
        & .cart-items{
            padding: 0 20px;
            
            @media #{$xs}{
                padding: 0 10px;
            }
            @media #{$sm}{
                padding: 0 20px;
            }
            
            & li{
                padding: 20px 0;
                border-bottom: 1px solid $border-color;
                margin-left: 0;
                
                @media #{$xs}{
                    padding: 10px 0;
                }
                @media #{$sm}{
                    padding: 20px 0;
                }
            }
            
            & .single-cart-item{
                & .cart-item-thumb{
                    width: 85px;
                    position: relative;
                    
                    & img{
                        width: 100%;
                    }
                    
                    & .product-quantity{
                        position: absolute;
                        top: 5px;
                        left: 5px;
                        min-width: 20px;
                        line-height: 20px;
                        border-radius: 100%;
                        padding: 0;
                        text-align: center;
                        color: $white;
                        font-size: 12px;
                        background-color: $theme-color;
                    }
                }
                & .cart-item-content{
                    position: relative;
                    padding-left: 15px;
                    padding-right: 30px;
                    text-align: left !important;
                    
                    & .product-name{
                        & a{
                            text-transform: capitalize;
                            font-size: 14px;
                            line-height: 20px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            font-weight: 400;
                            color: $black;
                            @include transition(0.3s);
                            text-align: left;

                            &:hover{
                                color: $theme-color;
                            }
                        }
                    }
                    & .product-price{
                        margin: 5px 0 0;
                        font-size: 18px;
                        font-weight: 500;
                        color: $theme-color;
                        display: block;
                    }
                    & .product-color{
                        display: block;
                        font-size: 14px;
                        line-height: 20px;
                        color: $body-color;
                        margin: 5px 0 0;
                    }
                    & .product-close{
                        position: absolute;
                        top: 0px;
                        right: 5px;
                        font-size: 18px;
                        color: $black;
                    }
                }
            }
        }
        
        & .price_content{
            padding: 20px;
            border-bottom: 1px solid $border-color;
            
            & .price_inline{
                display: -webkit-flex;
                display: -moz-flex;
                display: -ms-flex;
                display: -o-flex;
                display: flex;
                justify-content: space-between;
                border: 0;
                padding: 0;
                
                & .label{
                    font-size: 16px;
                    color: $black;
                    font-weight: 500;
                }
                
                & .value{
                    font-weight: 600;
                    color: $black;
                    font-size: 16px;
                }
            }
            
            & .cart-subtotals{}
            & .cart-total{
                &.price_inline{
                    & .value{
                        color: $theme-color;
                    }
                }
            }
        }
        
        & .checkout{
            padding: 20px;
            
            & .main-btn{
                background-color: $white;
                color: $black;
                border: 1px solid $border-color;
                border-radius: 50px;
                
                @media #{$md}{
                    height: 50px;
                    line-height: 50px;
                    font-size: 15px;
                    letter-spacing: 0;
                    display: inline-block;
                }
                @media #{$xs}{
                    height: 50px;
                    line-height: 50px;
                    font-size: 15px;
                    letter-spacing: 0;
                    display: inline-block;
                }
                
                &:hover{
                    background-color: $black;
                    color: $white;
                    border-color: $black;
                }
            }
        }
    }
    
    &:hover{
        & .mini-cart{
            opacity: 1;
            visibility: visible;
        }
    }
}

.overlay{
	content: "";
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: $black;
	z-index: 99;
	visibility: visible;
	@include transition(0.3s);
    opacity: 0;
    visibility: hidden;
    
    &.open{
        opacity: 0.6;
        visibility: visible;
    }
}

.mobile-nav{
    & .header-search{
        margin-left: 0;
        padding-bottom: 15px;
    }
}

.mobile-off-canvas-menu{
    position: fixed;
    top: 0;
    left: -350px;
    background-color: $white;
    z-index: 999;
    width: 350px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    @include transition(0.3s);
    
    @media #{$xs}{
        width: 280px;
    }
    @media #{$sm}{
        width: 300px;
    }
    
    &.open{
        left: 0;
    }
    
    & .mobile-canvas-menu-top{
        & .menu-nav{
            text-align: center;
            padding: 8px 0;
            
            & li{
                display: inline-block;
                margin: 0 15px;
                
                & a{
                    font-weight: 400;
                    color: $black;
                    cursor: pointer;
                    line-height: 20px;
                    font-size: 13px;
                    text-transform: capitalize;
                }
            }
        }
        
        & .dropdown{
            position: relative;
            
            & .menu-expand{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 41px;
                cursor: pointer;
            }
            
            & button{                
                background: transparent;
                border: none;
                border-top: 1px solid $border-color;
                width: 100%;
                text-align: left;
                display: block;
                color: $black;
                font-size: 13px;
                font-weight: 400;
                padding: 5px 35px;
                line-height: 30px;
                cursor: pointer;
                text-transform: uppercase;
                
                & i{
                    float: right;
                }
                
            }
            & .dropdown-menu{
                position: relative !important;
                border: 0;
                padding: 0;
                margin: 0;
                float: none;
                width: 100%;
                @include transform(translate3d(0, 0, 0)!important);
                z-index: 99;
                
                & li{
                    border-top: 1px solid $border-color;
                    
                    & a{
                        display: block;
                        color: $black;
                        font-size: 12px;
                        font-weight: 400;
                        padding: 5px 45px;
                        line-height: 30px;
                        text-transform: uppercase;
                    }
                }
            }
        }
    }
}


.mobile-canvas-close{
    background: $black;
    padding: 0 35px;
    
    & p{
        color: $white;
        line-height: 40px;
        height: 40px;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        pointer-events: none;
        position: relative;
        
        & i{
            position: absolute;
            right: 0;
            top: 0;
            line-height: 40px;
            height: 40px;
            cursor: pointer;
            z-index: 6;
        }
    }
}


.mobile-main-menu{
    & .menu-content{
        & li{
            position: relative;
            
            & a {
                display: block;
                color: $black;
                font-size: 14px;
                font-weight: 500;
                padding: 5px 35px;
                padding-right: 50px;
                line-height: 30px;
                text-transform: capitalize;
                border-top: 1px solid $border-color;
                
                & i{
                    display: none;
                }
            }
            
            & .mobile-menu-expand{
                position: absolute;
                right: 35px;
                top: 13px;
                width: 15px;
                height: 15px;
                cursor: pointer;
                
                &::before{
                    position: absolute;
                    content: '';
                    width: 100%;
                    height: 2px;
                    background-color: $black;
                    top: 50%;
                    @include transform(translateY(-50%));
                }
                
                &::after {
                    position: absolute;
                    content: '';
                    width: 2px;
                    height: 100%;
                    background-color: $black;
                    left: 50%;
                    bottom: 0;
                    @include transition(0.3s);
                    @include transform(translateX(-50%));
                }
            }
            
            &.active-expand{
                & > .mobile-menu-expand{
                    &::after {
                        height: 0;
                    }
                }
            }
            
            & .mega-sub-menu{
                padding: 5px 5px;
                
                & .menu-title {
                    display: block;
                    color: $black;
                    font-size: 14px;
                    font-weight: 500;
                    padding: 5px 45px;
                    padding-right: 50px;
                    line-height: 30px;
                    text-transform: capitalize;
                    border-top: 1px solid $border-color;
                }
                
                & .custom-menu {

                    & .menu-block {
                        margin-bottom: 20px;
                        padding-left: 30px;
                        
                        & .custom-title {
                            font-size: 14px;
                            font-weight: 500;
                            color: $black;
                            text-transform: capitalize;
                        }

                        & p {
                            margin-top: 20px;
                            font-size: 13px;
                            font-weight: 400;
                            text-transform: capitalize;
                            line-height: 18px;
                        }
                    }


                    & .custom-banner {
                        margin-top: 10px;

                        & a {
                            display: block;
                            line-height: inherit;
                            height: auto;
                            padding: 0;
                            margin: 0;
                            overflow: hidden;

                            & img {
                                width: 100%;
                                @include transition(0.3s);
                            }

                            &:hover {
                                & img {
                                    @include transform(scale(1.03));
                                }
                            }
                        }
                    }
                }
                
                & li{
                    border-bottom: 0;
                    padding-left: 0;
                    
                    & a{
                        padding-left: 60px;
                        font-weight: 400;
                    }
                }
                
                & .custom-banner {
                    & a {
                        display: block;
                        line-height: inherit;
                        height: auto;
                        padding: 10px 20px;
                        margin: 0;
                        overflow: hidden;

                        & img {
                            width: 100%;
                            @include transition(0.3s);
                        }

                        &:hover {
                            & img {
                                @include transform(scale(1.03));
                            }
                        }
                    }
                }
            }
            
            & .sub-menu {
                & li{
                    
                    & a{
                        font-weight: 400;
                        padding-left: 50px;
                    }
                    
                    & .submenu-item,
                    & .sub-menu {
                        & li{
                            & a{
                                padding-left: 65px;
                            }
                        }
                    }
                    
                    & img{
                        padding: 10px;
                        padding-right: 20px;
                    }
                }
            }
        }
    }
}

/*===== header 3 =====*/


.header-3{
    background-color: #1c2454;

    & .header-nav{
        background-color: #000;
        border-bottom: 0;
    
        & .header-nav-wrapper {
    
            & .header-static-nav {
                & p {
                    color: $white;    
                    & .text {
                        color: $white;
                    }
                }
            }
        
            & .header-menu-nav {
                & .menu-nav {
                    & li {    
                        & + li {
                            margin-left: 30px;
        
                            @media #{$lg} {
                                margin-left: 20px;
                            }
    
                            &::before{
                                color: rgba($white, 0.4);
                            }
                        }
                        
                        & a {
                            color: $white;
                        }
        
                        & .dropdown {
                            & button {
                                color: $white;
                            }
                        }
                    }
                }
            }
        }
    }

    & .header-contact {
        & i {
            color: $white;
        }
    
        & .phone {    
            & p {
                color: $white;
            }
            & a {}
        }
    }

    & .mobile-toggle{
        & a{
            color: $white;
        }
    }
    
    & .mobile-account-cart{
        & .account-cart{
            & li{
                & .dropdown {
                    & button {
                        color: $white;
    
                        & i {
                            font-size: 24px;
                        }
                    }
                }
                & a{
                    color: $white;
                    
                    & span{

                    }
                }
            }
        }
    }

    & .header-menu {
        background-color:#1c2454;
        border-top: 1px solid rgba($white, 0.4);
        
        &.sticky{
            border-top: 0;
        }
    }
}


.col-menu-left{
    width: 370px;
    padding: 0 15px;
    
    @media #{$laptop}{
        width: 300px;
    }
    @media #{$lg}{
        width: 270px;
    }
}
.col-menu-right{
    width: calc(100% - 370px);
    padding: 0 15px;
    
    @media #{$laptop}{
        width: calc(100% - 300px);
    }
    @media #{$lg}{
        width: calc(100% - 270px);
    }
}













