.header-top-wrapper {
    background: $color_black;
    .header-top-inner {
        display: flex;
        align-items: center;
        height: 40px;
        position: relative;
        .header-top-menu {
            flex-grow: 1;
            ul{
                @media screen and (max-width: 600px) {
                    display: none;
                }
                li{
                    a{
                        padding: 6px 10px;
                        color: $color_white;
                        font-size: 14px;
                        &:hover{
                            color: $color_primary;
                            background-color: $color_white;
                        }
                    }
                }
            }
        }
        .header-top-social{
            ul {
                margin: 0;
                padding: 0;
                list-style: none;
                li {
                    display: inline-block;
                    margin-left: 15px;
                    a {
                        font-size: 14px;
                        color: $color_white;
                        &:hover{
                            color: $color_primary;
                        }
                    }
                }
            }
        }
    }
}
.header-logo-wrapper{
    .site-branding{
        .site-title{
            margin: 0;
            padding: 0;
            font-size: 50px;
        }
        p{
            margin: 0;
        }
    }
}
.header-center-wrapper{
    padding: 20px 0;
    background-color: $color_white;
}
.header-two{
    .header-center-wrapper{
        z-index: 1;
        background-image: url(../image/header/header-bg.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        background-color: rgba(0, 0, 0, 0.76);
        &::after{
            content: "";
            background: rgba(0, 0, 0, 0.76);
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
        }
        .header-logo-wrapper {
            text-align: center;
            .site-branding {
                .site-title {
                    font-size: 70px;
                    line-height: 110%;
                    font-weight: 500;
                    a{
                        color: $color_white;
                    }
                }
                .site-description{
                    color: $color_white;
                }
            }
        }
        .with-ads{
            .header-logo-wrapper{
                text-align: left;
            }
        }
    }
    
}
.header-menu-wrapper{
    background-color: $color_primary;
}
.main-navigation {
    padding-bottom: 0;
    padding-top: 0;
    
    .navbar-collapse.nav-menu {
        ul {
            @media screen and (max-width: 991px) {
                display: none;
            }
            li {
                a {
                    font-size: 16px;
                    font-weight: 500;
                    color: $color_white;

                    &:hover {
                        background-color: $color_black;
                        color: $color_white;
                    }
                }
            }
        }

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

    // Drak And Light Mode
    .switch-dark-lite {
        display: flex;

        .switch {
            position: relative;
            display: inline-block;
            width: 65px;
            height: 26px;

            input {
                width: 100%;
                display: block;
                height: 100%;
            }

            .slider {
                position: absolute;
                cursor: pointer;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                background-color: $color_white;
                border-radius: 34px;
                transition: 0.4s;
                filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.08));

                &::before {
                    content: "\f186";
                    position: absolute;
                    left: 8px;
                    border-radius: 50%;
                    transition: 0.4s;
                    font-family: "Font Awesome 5 Free";
                    font-size: 16px;
                    box-sizing: border-box;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    top: auto;
                    bottom: auto;
                    color: $color_primary;
                    font-weight: 700;
                }

                &::after {
                    content: 'light';
                    font-size: 14px;
                    right: 6px;
                    left: auto;
                    position: absolute;
                    font-weight: 500;
                    color: $color_primary;
                    -webkit-transition: .4s;
                    transition: .4s;
                }
            }

            input:checked+.slider {
                background: $color_white;
            }

            input:checked+.slider::before {
                transform: translateX(22px);
                content: "\f185";
                right: 6px;
                left: 0;

            }

            input:checked+.slider::after {
                content: "Dark";
                transform: translateX(-22px);
                -webkit-transition: .4s;
                transition: .4s;
            }
        }
    }

    // Notification Icon
    .notification-icon {
        a {
            width: 30px;
            height: 30px;
            display: block;
            text-align: center;
            background: $color_white;
            border-radius: 100%;
            margin-left: 15px;
            font-size: 14px;
            padding: 3px;
            color: $color_primary;
            filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.08));

            &:hover {
                background-color: $color_black;
                color: $color_white;
            }
        }
    }

    // Search Icon
    .header-search-box{
        a{
            width: 30px;
            height: 30px;
            display: block;
            text-align: center;
            background: $color_white;
            border-radius: 100%;
            font-size: 14px;
            padding: 3px;
            margin-left: 15px;
            color: $color_primary;
            filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.08));
            cursor: pointer;
            -webkit-transition: .4s;
            transition: .4s;

            &:hover {
                background-color: $color_black;
                color: $color_white;
            }
        }
    }
}


// Search PopUp
.header-search-popup {
    position: fixed;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 30%;
    z-index: 9999;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    top: 0;
    left: 0;
    transform: translateY(-130%);
    transition: transform 600ms ease, opacity 600ms ease;

    .header-search-popup-content {
        width: 100%;
        max-width: 550px;
        position: relative;

        form {
            display: flex;
            flex-wrap: wrap;
            position: relative;
            background-color: $color_white;
            overflow: hidden;

            input[type="search"] {
                min-width: 500px;
                width: 100%;
                margin: 0;
            }

            button[type="submit"] {
                position: absolute;
                background: var(--color-black);
                right: 0;
                border-top-left-radius: 0;
                border-bottom-left-radius: 0;
                border: 1px solid;
                padding: 0;
                width: 55px;
                height: 50px;
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                position: absolute;
                top: 5px;
                border-radius: 0;
                background-color: $color_black;
                color: $color_white;
                right: 5px;
                i {
                    margin-left: 0;
                }

                &:hover {
                    i {
                        margin: 0;
                    }
                }
                &:focus{
                    outline: 2px dotted $color_primary;
                }
            }
        }
    }

    .header-search-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: $color_primary;
        opacity: 0.98;
        cursor: pointer;
        z-index: -1;

        .closes-button {
            a{
                width: 50px;
                height: 50px;
                margin: 0 auto;
                position: absolute;
                bottom: -22px;
                left: 0;
                right: 0;
                border-radius: 100%;
                text-align: center;
                color: $color_white;
                background: $color_primary;
                padding: 14px 0;
                box-shadow: 0px 0px 33px 0px #0000004f;
                -webkit-transition: .4s;
                transition: .4s;

                &:hover {
                    background-color: $color_black;
                    color: $color_white;
                }
            }
        }
    }
}

.header-search-popup.active {
    transform: translateY(0%);
}
.mini-cart-header {
    span.fa-shopping-cart {
        background-color: $color_white;
        width: 30px;
        height: 30px;
        border-radius: 100%;
        text-align: center;
        padding: 9px 0;
        font-size: 14px;
        vertical-align: middle;
        color: $color_primary;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.08));
        &:hover{
            background-color: $color_black;
            color: $color_white;
        }
    }
    .woocommerce-mini-cart {
        overflow-y: scroll;
        max-height: 310px;
        overflow-x: hidden;
    }
    .woocommerce-mini-cart::-webkit-scrollbar {
        width: 2px;
    }
}



::-webkit-scrollbar-track {
    background-color: $color_thard;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background-color: $color_primary;
}

@media screen and (min-width: 992px) {
    #mobile {
        display: none;
    }
}
@media screen and (max-width: 992px) {
    
    .right-section {
        position: absolute;
        left: 0;
        top: 12px;
    }
    div#mobile, div#topheader {
        width: 100%;
        text-align: right;
        .slicknav_menu {
            background: transparent;
            text-align: left;
            ul {
                background: $color_black;
                li{
                    border-bottom: 1px solid #4c4c4c;
                    &:last-child{
                        border-bottom: none;
                    }
                }
            }
        }
        .slicknav_menu > ul{
            padding: 15px;
        }
        .slicknav_nav .slicknav_row:hover{
            background-color: transparent;
        }
        .slicknav_nav .slicknav_arrow {
            float: right;
        }
    }
    
    
}
@media screen and (min-width: 601px) {
    div#topheader{
        display: none;
    }
}
@media screen and (max-width: 600px) {
    div#topheader{
        position: absolute;
        top: 0;
        z-index: 999;
        width: 97%;
        .slicknav_menu{
            margin: 0;
            padding: 0;
            .slicknav_btn{
                float: left;
                margin:10px 0;
                padding: 0;
            }
        }
        
    }
}
@media screen and (max-width: 575px) {
    .site-branding {
        text-align: center;
        margin-bottom: 20px;
    }
}
.header-menu-wrapper.sticky-bar {
    position: fixed;
    width: 100%;
    z-index: 999;
    top: 0;
}
.logged-in .header-menu-wrapper.sticky-bar{
    top: 30px;
}