@use '../utils' as *;

/*----------------------------------------*/
/*  24. header css start
/*----------------------------------------*/
.it-header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}
.it-header-top {
    &-ptb {
        padding: 10px 0;
        position: relative;
        &::after {
            position: absolute;
            content: '';
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, #1ab69d 0%, #ffd500 100%);
        }
        @media #{$lg,$md,$xs}{
            padding: 12px 0;
        }
    }
    &-contact {
        position: relative;
        padding-left: 28px;
        & span {
            display: inline-block;
            text-align: center; 
            position: absolute;
            top: -2px;
            left: 0;               
            & svg,i {
                position: relative;
                z-index: 1;
                transition: .3s;
                color: var(--it-theme-2);
            }
        }
        & a {
            font-weight: 400;
            font-size: 14px;
            color: var(--it-common-white);
        }
        &-wrap {
            & ul {
                & li {
                    list-style-type: none;
                    display: inline-block;
                    &:not(:last-child) {
                        padding-right: 27px;
                        margin-right: 27px;
                        border-right: 1px solid var(--it-text-body);
                        @media #{$xl}{
                            padding-right: 30px;
                            margin-right: 26px;
                        }
                        @media #{$md,$xs}{
                            padding-right: 0px;
                            margin-right: 0px;
                            border-right: none;
                        }
                    }
                    
                }
            }
        }
    }
    &-social-box {
        & a {            
            &:not(:last-child){
                margin-right: 18px;
            }            
            @media #{$sm}{
                width: 35px;
                height: 35px;
                line-height: 31px;
            }
            & svg,i {
                z-index: 1;
                transition: .3s;
                position: relative;
                color: var(--it-common-white);
                @media #{$sm}{
                    width: 14px;
                    height: 14px;
                }
            }
            &:hover {
                & svg,i {
                    color: var(--it-theme-2);
                }
            }
        }
        & span {
            font-size: 14px;
            display: inline;
            margin-right: 30px;
            color: var(--it-common-white);
            @media #{$xl,$lg,$md}{
                font-size: 15px;
            }
            @media #{$sm}{
                font-size: 13px;
            }
        }
    }
    &-list {
        &-box {
            @media #{$xs}{
                text-align: center;
            }
            @media #{$sm}{
                text-align: start;
            }
            & ul {
                & li {
                    display: inline-block;
                    list-style-type: none;
                    padding-left: 30px;
                    position: relative;
                    @media #{$xs}{
                        padding-right: 0;
                        margin-right: 0;
                        border-right: none;
                    }
                    &:not(:last-child) {
                        padding-right: 48px;
                        margin-right: 44px;
                        border-right: 1px solid rgba($color: #fff, $alpha: .2);
                        @media #{$xl}{
                            padding-right: 30px;
                            margin-right: 26px;
                        }
                        @media #{$md,$xs}{
                            padding-right: 0px;
                            margin-right: 0px;
                            border-right: none;
                        }
                    }
                    & span {
                        font-weight: 400;
                        font-size: 14px;
                        letter-spacing: 0.01em;
                        display: inline-block;
                        font-family: var(--it-ff-body);
                        color: var(--it-common-white);
                        @media #{$sm}{
                            font-size: 13px;
                        }
                        & svg,i {
                            position: absolute;
                            top: 1px;
                            left: 0;
                            font-size: 20px;
                            color: var(--it-theme-1);    
                            @media #{$sm}{
                                font-size: 16px;
                                top: 3px;
                            }              
                        }
                    }
                }
            }
        }
        &-text {
            margin-left: 10px;
            & span {
                font-weight: 400;
                font-size: 12px;
                display: block;
                margin-bottom: 6px;
            }
            & a {
                font-weight: 500;
                font-size: 14px;
                letter-spacing: 0.01em;
                color: var(--it-common-black);
            }
        }
        &-icon {
            & span {
                display: inline-block;
                height: 53px;
                width: 53px;
                line-height: 49px;
                text-align: center;
                border-radius: 50%;
                text-align: center;
                background-color: #F3F3F3;
                border: 1px solid rgba(121, 121, 121, 0.1);
                position: relative;
                overflow: hidden;
                & svg,i {
                    position: relative;
                    z-index: 1;
                    color: var(--it-theme-1);
                    transition: .3s;
                }
                &::after {
                    position: absolute;
                    content: "";
                    top: 0;
                    left: 50%;
                    height: 100px;
                    width: 100px;
                    border-radius: 50%;
                    transition: 0.5s ease;
                    transform: scale(0);
                    background-color: var(--it-theme-1);
                }
            }
        }
        &-wrap {
            & ul {
                & li {
                    list-style-type: none;
                    display: inline-block;
                    &:not(:last-child){
                        margin-right: 55px;
                        @media #{$sm}{
                            margin-right: 0;
                        }
                    }
                    & .it-header-top-list  {
                        &:hover {
                            & .it-header-top-list-icon {
                                & span {
                                    &::after {
                                        top: 50%;
                                        left: 50%;
                                        transform: scale(1) translate(-50%, -50%);
                                    }
                                    & svg,i {
                                        color: var(--it-common-white);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    &-login-box {
        padding-right: 30px;
        margin-right: 30px;
        border-right: 1px solid var(--it-text-body);
        @media #{$sm}{
            padding-right: 0;
            margin-right: 0;
            border-right: none;
        }
        & a {
            font-size: 14px;
            color: var(--it-common-white);
            &:hover {
                color: var(--it-theme-2);
            }
        }
        & span {
            margin: 0 8px;
            color: var(--it-common-white);
        }
    }
    &-style-2 {
        & .it-header-top-contact span svg,i {
            color: var(--it-theme-1);
        }
        & .it-header-top-ptb::after {
            background: linear-gradient(90deg, #1ab69d 0%, #ff4d4f 100%);
        }
    }
    &-area {
        &.it-header-style-6 {
            & .it-header-top-contact {
                & span {
                    & i,svg {
                        color: var(--it-theme-5);
                    }
                }
            }
            & .it-header-top-social-box a {
                & svg,i {
                    &:hover {
                        color: var(--it-theme-5);
                    }
                }
            }
        }
    }
}
.it-header-top-2 {
    &-area {
        padding: 14px 0;
        background-color: var(--it-theme-2);
        & .it-header-top-social-box {
            margin-left: 30px;
            @media #{$md,$xs}{
                margin-left: 0;
            }
            & a {
                height: auto;
                width: auto;
                line-height: 1;
                &:not(:last-child){
                    margin-right: 22px;
                }
                &:hover {
                    & svg,i {
                        color: var(--it-theme-3);
                    }
                }
            }
            & svg {
                color: var(--it-common-black);
            }
        }
    }
    &-text{
        & span {
            color: var(--it-common-black);
            @media #{$xl,$lg,$md}{
                font-size: 14px;
            }
            @media #{$sm}{
                font-size: 12px;
            }
        }
    }
}
.it-header {
    &-ptb {
        @media #{$lg,$md,$xs}{
            padding: 15px 0;
        }
        & .it-btn-yellow {
            @media #{$md,$xs}{
                padding: 16px 25px;
            }
        }
    }
    &-menu {
        & > nav{
            & > ul{
                padding-left: 20px;
                & > li{
                    list-style-type: none;
                    display: inline-block;
                    margin: 0px 19px;
                    @media #{$xxl}{
                        margin: 0px 10px;
                    }
                    @media #{$xl}{
                        margin: 0px 10px;
                    }
                    &:first-child {
                        margin-left: 0;
                    }                    
                    &:last-child {
                        margin-right: 0;
                    }                    
                    & > a {
                        line-height: 1;
                        font-weight: 500;
                        padding: 32px 0;
                        position: relative;
                        display: inline-block;
                        text-transform: capitalize;
                        color: var(--it-common-black);
                        font-family: var(--it-ff-jost);
                        @media #{$xl}{
                            font-size: 15px;
                        }  
                        &::after {
                            @media #{$xl}{
                                font-size: 10px;
                            } 
                        }                 
                    }
                    // &.has-dropdown a::after {
                    //     color: var(--it-common-black);
                    // }
                    &:hover {
                        & > a {
                            color: var(--it-theme-1);
                        }
                        &.has-dropdown a::after {
                            color: var(--it-theme-1) ;
                        }
                    }
                }
            }
        }
    }
    &-search-wrap {        
        border-radius: 10px;
        border: 1px solid rgba(108, 117, 125, 0.2);
        @media #{$xl,$lg}{
            margin-right: 25px;
        } 
    }
    &-search {
        position: relative;
        max-width: 175px;
        border-left: 1px solid rgba(108, 117, 125, 0.2);
        & input {
            height: 100%;
            height: 43px;
            line-height: 43px;
            padding-left: 20px;
            padding-right: 40px;
            background-color: transparent;
            font-size: 14px;
            &::placeholder {
                font-size: 14px;
            }
        }
        & .icon {
            position: absolute;
            right: 20px;
            top: 46%;
            transform: translateY(-50%);
        }
    }
    &-search-2 {
        & svg {
            height: 20px;
        }
    }
    &-search-3 {
        & button {
            height: 50px;
            width: 50px;
            line-height: 1;
            border-radius: 50%;
            padding: 0;
            text-align: center;
            margin-right: 30px;
            background-color: var(--it-gray-1);
            @media #{$md}{
                margin-right: 0;
            }
        }
    }
    &-user {
        & a {
            height: 50px;
            width: 50px;
            line-height: 43px;
            border-radius: 50%;
            display: inline-block;
            text-align: center;
            margin-right: 30px;
            background-color: var(--it-gray-1);
        }
    }
    &-categorie {
        font-size: 14px;
        padding: 0 20px 0 15px;
        color: var(--it-common-black);
        & span {
            display: inline-block;
            margin-right: 10px;
        }
        & i {
            display: inline-block;
            margin-left: 4px;
        }
        & .nice-select::after {
            top: 52%;
            right: 20px;
            border-bottom: 1px solid var(--it-common-black);
            border-right: 1px solid var(--it-common-black);
        }
    }
    &-ml {
        margin-left: 380px;
        @media #{$xxl}{
            margin-left: 350px;
        }
        @media #{$xl}{
            margin-left: 310px;
        }
        @media #{$lg,$md,$xs}{
            margin-left: 0;
        }
    }
    &-login {
        & button {
            padding: 0;
            font-weight: 500;
            margin-right: 40px;
            color: var(--it-common-black);
        }
    }   
    &-bar {
        & span {
            margin-left: 20px;
            height: 44px;
            width: 44px;
            text-align: center;
            line-height: 43px;
            transition: .3s;
            display: inline-block;
            border-radius: 5px;
            color: var(--it-common-white);
            background-color: var(--it-theme-1);
            font-size: 18px;
        }
    }
    &-cart {
        position: relative;
        display: inline-block;
        margin-left: 30px;
        margin-right: 42px;
        & span {
            position: absolute;
            top: -11px;
            right: -15px;
            height: 24px;
            width: 24px;
            line-height: 25px;
            font-weight: 500;
            font-size: 12px;
            border-radius: 50%;
            text-align: center;
            display: inline-block;
            font-family: var(--it-ff-jost);
            color: var(--it-common-white);
            background-color: var(--it-theme-1);
        }
    }
    &-right-action{
        margin-left: -50px;
        @media #{$xl}{
            margin-left: -80px;
        } 
    }
    &-area {
        & .it-header-style-2 {
            padding: 0 30px;
            margin-top: 25px;
            border-radius: 10px;
            background: var(--it-common-white);
            box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.05);
            @media #{$lg,$md}{
                padding: 15px 30px;
            }
            @media #{$xs}{
                padding: 15px 15px;
            }
            &::after {
                position: absolute;
                content: "";
                bottom: -7px;
                left: 0;
                width: 69%;
                height: 80%;
                z-index: -2;
                border-radius: 10px;
                background-color: var(--it-theme-1);
                right: 0;
                text-align: center;
                margin: 0 auto;
            }
            & .it-header-menu > nav > ul {
                padding-left: 95px;
                @media #{$xl}{
                    padding-left: 40px;
                }
                & > li {
                    @media #{$xxl,$xl}{
                        margin: 0px 17px;
                    }
                    & > a {
                        @media #{$xl}{
                           font-size: 16px;
                        }
                    }
                    &:hover {
                        & > a {
                            color: var(--it-theme-3);
                        }
                        &.has-dropdown {
                            & a::after {
                                color: var(--it-theme-3);
                            }
                        }
                    }
                }
            }
            & .it-header-search-2 {
                @media #{$xl}{
                    margin-right: 20px;
                }
                & svg {
                    @media #{$xl}{
                        height: 25px;
                    }
                }
            }
        }
        &.it-header-style-3 {
            border-bottom: 1px solid rgba($color: #1F2432, $alpha: .1);
            & .it-header-menu > nav > ul > li > a {
                padding: 36px 0;
            }
        }
        &.it-header-style-5 {
            & .it-header-menu > nav > ul {
                padding-left: 225px;
                @media #{$xxl}{
                    padding-left: 180px;
                }
                @media #{$xl}{
                    padding-left: 120px;
                }
                & > li {
                    @media #{$xxl,$xl}{
                        margin: 0 15px;
                    }
                    & > a {
                        padding: 42px 0;
                    }
                }
            }
            & .it-header-cart {
                margin-left: 0px;
                margin-right: 70px;
            }
        }
    }
    &-style-6 {
        & .it-header-menu > nav > ul {
            padding-left: 0;
            & > li {
                &:hover {
                    & > a {
                        color: var(--it-theme-5);
                    }
                    &.has-dropdown a::after {
                        color: var(--it-theme-5) ;
                    }
                }
            }
        }
        & .it-header-2-contact {
            & span {
                flex: 0 0 auto;
                margin-right: 10px;
                line-height: 40px;
                background-color: #F8F9FB;
                border: 1px solid rgba($color: #1F2432, $alpha: 0.1);
            }
            & i {
                display: block;
                font-size: 14px;
                font-style: normal;
                margin-bottom: 10px;
            }
            & a {
                display: block;
                margin-left: 0;
            }
        }
        & .it-header-bar {
            & button {
                & span {
                    border-radius: 0;
                    background-color: var(--it-theme-5);
                }
            }
        }
    }
    &-login {
        margin-right: 30px;
        margin-left: 26px;
        & a {
            color: var(--it-common-black);
            &:hover {
                color: var(--it-theme-3);
            }
        }
        & span {
            color: var(--it-common-black);
            display: inline-block;
            margin: 0 8px;
        }
    }
    &-area {
        &.header-fashion-style {
            box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.05);
            border-bottom: 1px solid rgba(205, 147, 90, 0.2);
            & .it-header-menu > nav > ul{
                margin-left: 75px; 
                padding-left: 0;
                @media #{$xxl}{
                    margin-left: 90px;
                }           
                @media #{$xl}{
                    margin-left: 50px;
                }           
                & > li {
                    @media #{$xxl,$xl}{
                        margin: 0px 19px;
                    }
                    & > a {
                        padding: 37px 0;
                        color: var(--it-common-white);
                        &::after {
                            font-weight: 400;
                            color: var(--it-common-white);
                        }
                        &::before {
                            content: '';
                            position: absolute;
                            bottom: -1px;
                            left: auto;
                            right: 0;
                            width: 0;
                            height: 1px;
                            transition: .3s;
                            background-color: var(--it-theme-6);
                        }
                    }
                    &:hover {
                        & > a {
                            color: var(--it-theme-6);
                            &::after {
                                color: var(--it-theme-6);
                            }
                            &::before {
                                left: 0;
                                right: auto;
                                width: 100%;
                            }
                        }
                    }
                }
            }
        }
        &.header-shop-style {
            & .it-header-menu > nav > ul{          
                & > li {
                    margin: 0px 19px;
                    @media #{$xl}{
                       margin: 0px 12px;
                    }
                    & > a {
                    }
                }
            }
            & .it-header-search {
                max-width: 254px;
            }
        }
    }
    &-logo-2 {
        background-color: var(--it-theme-5);
        position: absolute;
        top: 0;
        left: 15.2%;
        height: 100%;
        z-index: 1;
        display: flex;
        justify-content: center;
        padding: 0 37px;
        align-items: center;
        @media #{$xxxl}{
            left: 11%;
        } 
        @media #{$xxl}{
            left: 5%;
        } 
        @media #{$xl}{
            left: 3%;
        } 
    }
    &-logo-3 {
        display: none;
    }
}
.it-header-2 {
    &-area {
        & .it-header-menu > nav > ul {
            padding-left: 0;
            margin-left: -15px;
            @media #{$xxl}{
                margin-left: 30px;
            }
            @media #{$xl}{
                margin-left: 70px;
            }
            & > li {
                @media #{$xl}{
                    margin: 0px 15px;
                }
            }
        }
        & .it-header-search-2 {
            margin-left: 28px;
            & button {
                padding: 0;
                display: inline-block;
                height: 39px;
                width: 39px;
                line-height: 0;
                text-align: center;
                border-radius: 50%;
                background-color: #F0F4F5;
            }
        }
    }
    &-contact {
        margin-right: 40px;
        & span {
            position: relative;
            display: inline-block;
            height: 45px;
            width: 45px;
            line-height: 45px;
            text-align: center;
            border-radius: 50%;
            overflow: hidden;
            transition: .3s;
            color: var(--it-common-black);
            background-color: rgba($color: #1F2432, $alpha: .2);
            &::after {
                position: absolute;
                content: "";
                top: 0;
                left: 50%;
                height: 80px;
                width: 80px;
                border-radius: 50%;
                transition: 0.5s ease;
                transform: scale(0);
                background-color: var(--it-theme-1);
            }
            & svg,i {
                position: relative;
                z-index: 1;
            }
        }
        & a {
            margin-left: 10px;
            font-weight: 500;
            display: inline-block;
            color: var(--it-common-black);
            font-family: var(--it-ff-jost);
        }
        &:hover {
            & span {
                color: var(--it-common-white);
                &::after {
                    top: 50%;
                    left: 50%;
                    transform: scale(1) translate(-50%, -50%);
                }
            }
        }
    }
    &-style-2 {
        border-bottom: 1px solid rgba($color: #FFFFFF, $alpha: .2);
        &.it-header-2-area .it-header-menu > nav > ul{
            margin-left: 110px; 
            @media #{$xxl}{
                margin-left: 90px;
            }           
            @media #{$xl}{
                margin-left: 50px;
            }           
            & > li {
                @media #{$xxl,$xl}{
                    margin: 0px 19px;
                }
                & > a {
                    padding: 42px 0;
                    color: var(--it-common-white);
                    &::after {
                        color: var(--it-common-white);
                    }
                    &:hover {
                        &::after {
                            color: var(--it-common-white);
                        }
                    }
                }
            }
        }
        &.it-header-2-area .it-header-2-contact {
            & span {
                color: var(--it-common-white);
                background-color: rgba($color: #FFFFFF, $alpha: .2);
            }
            & a {
                color: var(--it-common-white);
            }
        }
        & .it-header-bar button span {
            color: var(--it-theme-4);
            background-color: var(--it-common-white);
        }
        & .it-header-2-contact {
            @media #{$md}{
                margin-right: 0;
            }
        }
    }
}

.header-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	opacity: 1;
	visibility: visible;
	width: 100%;
	z-index: 999;
	visibility: visible;
    background-color: var(--it-common-white);
    box-shadow: 0 2px 4px rgba(7, 37, 68, 0.1);
	animation: 0.95s ease 0s normal forwards 1 running headerSlideDown;
    & .it-header-menu > nav > ul > li > a {
        padding: 27px 0;
    }  
    & .it-header-style-2 {
        box-shadow: none;
        margin-top: 0;
        padding-left: 0;
        padding-right: 0;
        &::after {
            display: none;
        }
    }
    &.it-header-style-3,
    &.it-header-style-5 {
        & .it-header-menu > nav > ul > li > a {
            padding: 27px 0;
        }  
    }
    &.header-fashion-style {
        background-color: #2f2925;
        & .it-header-menu > nav > ul > li > a {
            padding: 27px 0;
        }  
    }
    &.it-header-2-style-3 {
        & .it-header-menu > nav > ul > li {
            & > a {
                padding: 30px 0;
                color: var(--it-common-black);
            }
            &.has-dropdown a::after {
                color: var(--it-theme-1) ;
            }
        }  
        & .it-header-logo {
            display: none;
        }
        & .it-header-logo-3 {
            display: block;
        }
        & .it-btn-yellow.white-bg {
            background-color: var(--it-theme-4);
            & span,svg {
                color: var(--it-common-white);
            }
        }
        & .it-header-2-contact a {
            color: var(--it-common-black);
        }
        & .it-header-2-contact span {
            color: var(--it-common-black);
            background-color: rgba($color: #1F2432, $alpha: 0.5);
            & svg {
                color: var(--it-common-white);
            }
        }
    }
    &.it-header-style-6 {
        & .it-header-top-area {
            display: none;
        }
    }
}

.it-onepage {
    &-menu {
        & li {
            & > a {                
                &.active {
                    color: var(--it-theme-1) !important;
                    &::before {
                        width: 100%;
                        opacity: 1;
                    }                    
                }
            }
            &.has-dropdown{
                & > a {
                    &.active {                        
                        &::after {
                            color: var(--it-theme-1) !important;
                        }
                    }
                }
            }
        }
    }
}