/*
    6.1. Header
            6.1.1. Header version 1
            6.1.2. Header version 2
            6.1.3. Header version 3
            6.1.4. Header version 4
            6.1.5. Header version 5
 */

.topbar {
    background: #f4f4f4;
    padding: 10px 0;
    @media(min-width: $screen-md) {
        padding:20px 0;
    }
}

.row.flex {
    @include flex;
    @include flex-direction(row);
}

.v-center {
    @include justify-content(center);
    @include flex;
    @include flex-direction(column);
}

.flex {
    @include flex;
    &.lr {
        @include justify-content(space-between);
        @include align-items(center);
    }
    &.lr2 {
        @include justify-content(space-between);
    }
}

.align-center {
    @include align-items(center);
}

.justify-center {
    @include justify-content(center);
}

.element {
    display: inline-block;
    padding: 0 15px;
    position: relative;
    a,
    span {
        font-size: 12px;
        color: #777777;
        &:hover {
            color: $color-hover2;
        }
    }
    img {
        vertical-align: middle;
        margin-top: -2px;
    }
    span {
        @media(min-width: $screen-md) {
            margin-left:10px;
        }

        &.e-arrow {
            margin-left: 5px;
        }
    }
    &:first-child {
        padding-left: 0;
    }
    &:last-child {
        padding-right: 0;
    }
    &:before {
        border-left: 1px solid #d9d9d9;
        content: "";
        height: 17px;
        left: 0;
        position: absolute;
        top: 40%;
        @include translateY(-50%);
    }
    @media(max-width:$screen-md) {
        &.element-account {
            padding-left: 0;
            &:before {
                border: 0;
            }
        }
        &.element-leaguage {
            &:before {
                border: 0;
            }
        }
    }

    &.element-currency .dropdown-menu {
        right: 0;
        left: unset;
    }
}

.topbar-left .element {
    &:first-child {
        &:before {
            border: 0;
        }
    }
}

.topbar-right .element {
    &:first-child {
        &:before {
            border: 0;
        }
    }
}

.topbar-right {
    @include justify-content(flex-end);
    @include flex;
}

// topbar-center
.header-search {
    @media(min-width: 1650px) {
        form {
            width:760px;
        }
    }
    padding-left:95px;
    padding-top:10px;
    form {
        display: table;
        position: relative;
    }
    input {
        height: 62px;
        -moz-border-radius: 31px 0 0 31px;
        -webkit-border-radius: 31px 0 0 31px;
        border-radius: 31px 0 0 31px;
        border: 2px solid #eaeaea;
        @include placeholder(#999999, 14px);
        padding-left: 34px;
        width: 300px;
        display: table-cell;
        border-right: 0;
        box-shadow: none;
        &:focus{
            box-shadow: none;
        }
        @media(min-width: 1200px) {
            width:400px;
        }
        @media(min-width: 1400px) {
            width:495px;
        }
        @media(min-width: 1460px) {
            width:380px;
        }
        
        @media(min-width: 1600) {
            width:470px;
        }
        @media(min-width:1650px) {
            width: 540px;
        }
    }
    .select-option {
        width: 220px;
        height: 62px;
        border: 2px solid #eaeaea;
        border-left: 1px solid #eaeaea;
        -moz-border-radius: 0 31px 31px 0;
        -webkit-border-radius: 0 31px 31px 0;
        border-radius: 0 31px 31px 0;
        -webkit-border-radius: none;
        -moz-border-radius: none;
        border-radius: none;
        -webkit-box-shadow: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
        background-color: #fff;
        padding-left: 29px;
    }
    .search-panel {
        display: table-cell;
        vertical-align: middle;
        width: 100%;
        position: relative;

        border: 2px solid #eaeaea;
        border-left: 1px solid #eaeaea;
        -moz-border-radius: 0 999px 999px 0;
        -webkit-border-radius: 0 999px 999px 0;
        border-radius: 0 999px 999px 0;
        -webkit-border-radius: none;
        -moz-border-radius: none;
        border-radius: none;
        -webkit-box-shadow: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
        background-color: #fff;
        @media(min-width: $screen-md) {
            padding-left:13px;
        }
        @media(min-width:1681px) {
            padding-left: 29px;
        }
        position:relative;
        >a {
            display: block;
            color: #999;
            span {
                margin-left: 14px;
                color: #000;
            }
        }
        .dropdown-category {
            @include box-shawdow;
            @include border-radius(5px);
            width: 256px;
            right: 0;
            left: unset;
            border: 1px solid #ebebeb;
            padding: 12px 0;
            margin-top: 17px;
            li {
                a {
                    color: #666666;
                    line-height: 30px;
                    padding-left: 34px;
                    position: relative;
                    @include transition2;
                    &:before {
                        content: "\f363";
                        font-family: "ionicons";
                        position: absolute;
                        top: 5px;
                        left: 20px;
                        color: #bfbfbf;
                        @include transition2;
                    }
                    &:hover {
                        color: #333333;
                        background-color: transparent;
                        &:before {
                            color: #333;
                        }
                    }
                }
            }
            &:after {
                @include triangle(-7px, 75px, 10px, 10px, #fff, #ebebeb);
            }
        }
    }
    .input-group-btn {
        padding: 0;
        width: 50px;
        top: 6px;
        right: 5px;
        .button_search {
            color: #fff;
            width: 50px;
            height: 50px;
            line-height: 50px;
            font-size: 20px;
            @include border-radius(100%);
            background: #333333;
            @include transition2;
            &:hover{
                box-shadow: 0px 2px 20px 2px rgba(194, 106, 245, 0.68)
            }
        }
    }
}

.header-sub {
    margin-left: 0;
}

.right-panel {
    margin-left: auto;
    display: flex;
    @include flex-direction(column);
}

.header-sub-element {
    display: flex;
    &.row {
        margin-left: auto;
        >a {
            padding-right: 26px;
            &:last-child {
                @media(max-width: $screen-md) {
                    padding-right:15px;
                }
            }
        }
        img {
            @media(max-width: $screen-md) {
                width:20px;
            }
        }
    }
}

.sub-right {
    span {
        color: #999999;
    }
    .phone {
        font-size: 24px;
        color: #333333;
        font-weight: 300;
        margin-bottom: 22px;
    }
}

.sub-left {
    margin-right: 15px;
}

.header-center {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
    @media(min-width: $screen-md) {
        padding-top:36px;
        padding-bottom: 30px;
    }
}

.header-logo {
    @media(min-width: $screen-md) {
        margin-top:-30px;
    }
}

.tags {
    padding-top: 25px;
    font-size: 12px;
    text-align: center;
    margin-left: 55px;
    span {
        color: #333333;
    }
    a {
        color: #999999;
        padding: 0 10px;
        border-right: 1px solid #e6e6e6;
        &:last-child {
            border-right: 0;
        }
        &:first-child {
            padding-left: 0;
        }
        &:hover{
            color:$color-hover2;
        }
    }
}

.header-bottom-right {
    color: #999999;
    span {
        margin-left: 12px;
    }
}

@media(min-width: $screen-lg) {
    .header-top-absolute {
        position: absolute;
        width: 100%;
        z-index: 9;
    }
}

.home-lookbook {
    .sticky-header {
        border-bottom: 1px solid #d9d9d9;
    }
}

.sticky-header {
    border-bottom: 1px solid #efefef;
    line-height: 20px;
    padding: 12px;
    .u-line {
        color: #eb5050;
        text-decoration: underline;
    }
    .text {
        text-transform: uppercase;
        font-weight: 500;
        font-size: 10px;
        color: #aaaaaa;
        @include tracking(200);
        &.text-w {
            color: #fff;
        }
    }
}






.bd-v1 {
    border-bottom: 1px solid #dcdddf;
}

.bd-v2 {
    border-bottom: 1px solid #dbdbdb;
}

.topbar-option {
    font-weight: 500;
    >* {
        display: inline-block;
        position: relative;
        @media(max-width: $screen-xs) {
            min-width:40px;
            text-align: center;
        }
        @media(max-width:320px) {
            min-width: unset;
            padding: 0 5px;
        }
        @media(min-width: $screen-xs) {
            padding: 0 20px;
        }

        &:before {
            border-left: 1px solid #e3e3e3;
            content: "";
            height: 15px;
            left: 0;
            position: absolute;
            top: 50%;
            @include translateY(-50%);
            @media(max-width: $screen-xs) {
                border:none;
            }
        }
        &:last-child {
            padding-right: 0;
        }
        &:first-child {
            padding-left: 0;
        }
        &:first-child:before {
            border: none;
        }
    }

    .dropdown-menu {
        @media(max-width: 320px) {
            left: -35px;
        }
    }
}

.count {
    width: 17px;
    height: 17px;
    line-height: 17px;
    display: inline-block;
    text-align: center;
    background: #eb5050;
    border-radius: 50%;
    color: #fff;
    font-size: 9px;
    position: absolute;
    top: -8px;
    overflow: hidden;
    right: 15px;
    @media(min-width: $screen-md) {
        width: 23px;
        height: 23px;
        line-height: 24px;
        text-align: center;
        color: #fff;
        font-size: 12px;
        top: -10px;
    }
}

.header-top {
    @media(min-width: $screen-md-max) {
        background:#e4e4e4;
    }
    @media(max-width: $screen-sm-max) {
        margin: 30px 0 0 0;
    }

    .logo-mobile {
        float: left;
        display: inline-block;
    }
    .navbar {

        min-height: 0px;
        margin-bottom: 0px;
        width: 100%;
        margin-top: 30px;
        @media(min-width: $screen-md-max) {
            margin-top: 0;
        }
        @media(max-width:$screen-sm-max) {
            display: inline-block;
        }
        @media(max-width:$screen-xs) {
            margin-top: 20px;
        }
        .navbar-collapse {
            border: 1px solid #ddd;
            @media (min-width: $screen-md-max) {
                border:0;
            }
        }
    }
}

.icon-mobile {

    @media(max-width: $screen-xs) {
        width:40px;
    }
}

@media (max-width:$screen-md-min) {
    .plus,
    .minus {
        position: absolute;
        right: 0;
        top: 0;
        width: 40px;
        height: 40px;
    }

    .plus:after {
        content: "\f067";
        display: block;
        font-family: "FontAwesome";
        font-size: 12px;
        position: absolute;
        right: 16px;
        top: 12px;
        color: #333;
        cursor: pointer;
        @include transition;
    }
    .minus:after {
        content: "\f068";
        display: block;
        font-family: "FontAwesome";
        font-size: 12px;
        position: absolute;
        right: 16px;
        top: 12px;
        color: #333;
        cursor: pointer;
        @include transition;
    }
}













.header-v1,
.header-v4 {
    .navbar-collapse {
        @media(min-width: $screen-md) {
            padding-left:0;
        }
    }
}





.pushmenu-push-toleft {
    transform: translate(362px, 0);
    transform: translate3d(362px, 0, 0);
    transition: transform .4s ease;
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6;
    @media(max-width: 320px) {
        transform: translate(0, 0);
        transform: translate3d(0, 0, 0);
    }
    .wrappage:after {
        background: rgba(29, 29, 31, 0.6);
        content: "";
        cursor: pointer;
        height: 100%;
        left: 0px;
        position: absolute;
        top: 0px;
        width: 100%;
        z-index: 4;
    }
}

.menu-home5 {
    padding-top: 10px;
    transform: translate(-100%, 0);
    transform: translate3d(-100%, 0, 0);
    transition: transform .4s ease;
    transform-origin: top left;
    &.pushmenu-open {
        transform: translate(-100%, 0);
        transform: translate3d(-100%, 0, 0);
    }
    @media(max-width:320px) {
        &.pushmenu-open {
            transform: translate(0, 0);
            transform: translate3d(0, 0, 0);
        }
    }
}

.close-left {
    float: right;
    color: #fff;
    cursor: pointer;
    padding-right: 15px;
    padding-top: 10px;
}



.menu-social {
    border-top: 1px solid #2f2f31;
    position: fixed;
    bottom: 0;
    width: 362px;
    >li {
        float: left;
        width: 33.3333%;
        float: left;
        height: 69px;
        line-height: 69px;
        text-align: center;
        background: #1d1d1f;
        a {
            i {
                color: #a4a4a4;
                &:hover {
                    color: #fff;
                }
            }
        }
        &:hover {
            background: #101011;
            @include transition2;
        }
    }
}

.nav-home5 {

    >li {
        position: relative;
        display: block;
        >a {
            font-size: 14px;
            font-weight: 500;
            font-family: $base-font-family;
            text-transform: uppercase;
            color: #a4a4a4;
            position: relative;
            @include notrans;
            line-height: 26px;
            padding: 12px 30px;
            padding-right: 0;
            display: block;
            border-bottom: 1px solid rgba(92, 92, 92, .23);
            &:hover {
                color: #fff;
                background: none;
            }
            &.active {
                color: #fff;
            }
        }
    }
    .menu-level1 {
        margin-top: 15px;
        .level2 {
            padding-left: 48px;

            >a {
                font: 14px/33px $base-font-family;
                text-transform: capitalize;
                color: #a4a4a4;
                position: relative;
                &:focus {
                    color: #fff;
                    &:before {
                        background: #fff;
                    }
                }
                &:before {
                    content: "";
                    position: absolute;
                    width: 9px;
                    height: 1px;
                    left: -18px;
                    top: 10px;
                    background: #a4a4a4;
                }
            }
        }
        .level1>.level2>a {
            color: #fff;
            &:before {
                content: none;
            }
        }
    }
    .menu-level-2 {
        margin: 15px 0;
        .level3 {
            padding-left: 15px;
            >a {
                font: 400 14px/33px $base-font-family;
                text-transform: capitalize;
                color: #a4a4a4;
                position: relative;
                &:focus {
                    color: #fff;
                    &:before {
                        background: #fff;
                    }
                }
                &:before {
                    content: "";
                    position: absolute;
                    width: 9px;
                    height: 1px;
                    left: -18px;
                    top: 10px;
                    background: #a4a4a4;
                }
            }
        }
    }
}

.pushmenu.menu-home5 {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.header-v6 {
    .topbar-left {
        float: left;

        text-align: left;
    }
    .logo {
        display: inline-block;
        margin: 0 auto;

        text-align: center;
    }
    .topbar-right {
        float: right;

        text-align: right;
    }
    .topbar-search {
        border-left: 0;
    }
    .topbar {
        [class*="col-xs-"] {
            padding: 0;
        }
    }
}

.menu-level1 {
    display: none;
    &.open {
        display: block;
    }
}

.navbar-nav {
    >li {
        text-align: left;
        &.level1 {
            border-bottom: 1px solid #ddd;
            &:last-child {
                border: 0;
            }
            @media (min-width: $screen-md-max) {
                border: 0;
                float: none;
                display: inline-block;
            }
        }
        >a {

            text-transform: capitalize;
            font-size: 16px;
            font-weight: 500;
            position: relative;
            color: #666666;
            &:hover {
                color: #333;
            }
            @media(min-width: $screen-md-max) {
                line-height: 18px;
                padding: 24px 20px 24px 20px;
                &:before {
                    border-right: 1px solid #dadada;
                    content: "";
                    height: 16px;
                    left: 0;
                    position: absolute;
                    top: 50%;
                    @include translateY(-50%);
                }
            }

            @media(max-width: $screen-xs) {
                font-size: 14px;
            }
            img {
                margin-right: 20px;
            }
        }
        &:first-child {
            padding-left: 0;
            >a {
                padding-left: 0;

                &:before {
                    border: 0;
                }
            }
        }
    }
}

.menu-level-1 {
    border: 1px solid #ebebeb;
    @include border-radius(6px);
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    z-index: 9999;
    min-width: 200px;
    display: none;
    visibility: hidden;
    opacity: 0;
    @include box-shawdow;
    margin: 0;
    padding: 20px 0 20px 5px;
    min-width: 212px;
    @media (max-width: $screen-sm-max) {
        width:100%;
        left: 0;
        top: 54px;
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        visibility: visible;
        opacity: 1;
        display: none;
        padding: 10px 35px;
    }
    >li {
        line-height: 30px;
        background: none;
        >a {
            font: 14px/16px $base-font-family;
            text-transform: capitalize;
            padding: 7px 25px;
            color: #878787;
            font-weight: 400;
            position: relative;
            @include notrans;

            &:hover {
                color: $color-hover2;
                background: none;
            }
            &:focus {
                background: none;
            }
            @media(max-width: $screen-xs) {
                font-size: 12px;
            }
        }
    }
}

// Hover dropdown menu
@media (min-width: $screen-md-max) {
    .level1:hover .menu-level-1 {
        display: block;
        visibility: visible;
        opacity: 1;
    }
}

// Megamenu level 2 - 3
@media(min-width: $screen-md-max) {
    .level1.hassub {
        position: static;
        .menu-level-1 {
            width: 749px;
            padding: 39px 14px 48px 38px;
            &.ver2 {
                width: 903px;
                padding-left: 35px;
                padding-right: 35px;
                padding-bottom: 0;
                .row {
                    margin-left: -30px;
                    margin-right: -30px;
                }
                [class*="col-"] {
                    padding-left: 30px;
                    padding-right: 30px;
                    margin-bottom: 45px;
                }
            }
        }
    }
}



.menu-level-1>.level1 {
    >.level2 {
        >a {
            font-weight: 500;
            font-size: 16px;
            display: block;
            margin-bottom: 20px;
            padding-bottom: 6px;
            position: relative;
            &:before {
                content: "";
                width: 37px;
                position: absolute;
                bottom: 0;
                left: 0;
                background: linear-gradient(90deg, #c467f5, #53f3ff);
                height: 1px;
            }
            @media(max-width: $screen-xs) {
                font-size: 14px;
            }
        }
        .menu-level-2 {
            margin-bottom: 40px;
            @media(max-width: $screen-md-max) {
                padding-left: 20px;
                padding-top: 15px;
            }
            >.level3 {
                line-height: 0;

                >a {
                    line-height: 30px;
                    color: #666666;
                    font-size: 14px;
                    text-transform: capitalize;
                    white-space: nowrap;
                    @include transition2;
                    position: relative;
                    &:hover {
                        color: $color-hover2;
                    }
                    @media(max-width: $screen-xs) {
                        font-size: 12px;
                    }
                }
            }
        }
    }
}

// Megamenu column width
.menu-level-1 {
    .col-full {
        width: 100%;
    }
    .col-2,
    .levels .col-2 {
        width: 230px;
        float: left;
    }
    .col-3 {
        width: 33.3333%;
        float: left;
        @media (max-width: $screen-sm-max) and (min-width: 481px) {
            width:100%;
            display: block;
            overflow: hidden;
        }
        @media (max-width: $screen-sm-max) {
            margin-bottom: 15px;
        }
        @media (max-width:$screen-xs) {
            width: 100%;
            display: block;
            overflow: hidden;
        }
    }
    .col-4 {
        width: 171px;
        float: left;
        margin-right: 70px;
        &:last-child {
            margin-right: 0;
        }
    }
    .col-5 {
        width: 580px;
        float: left;
    }
    .col-6 {
        width: 50%;
        float: left;
        @media (max-width: $screen-sm-max) and (min-width: 481px) {
            width:100%;
            display: block;
            overflow: hidden;
        }
        @media (max-width: $screen-sm-max) {
            margin-bottom: 15px;
        }
        @media (max-width:$screen-xs) {
            width: 100%;
            display: block;
            overflow: hidden;
        }
    }
    .col-7 {
        width: 870px;
        float: left;
    }
    .col-8 {
        width: 980px;
        float: left;
    }
    .col-9 {
        width: 1170px;
        float: left;
    }
}

.menu-level-2,
.mega-product {
    .col-full {
        width: 100%;
    }
    .col-2,
    .levels .col-2 {
        width: 230px;
        float: left;
    }
    &.col-3 {
        width: 33.3333%;
        float: left;

        @media (max-width: $screen-sm-max) {
            margin-bottom: 15px;
        }
        @media (max-width:$screen-xs) {
            width: 100%;
            display: block;
            overflow: hidden;
        }
    }
    .col-4 {
        width: 370px;
        float: left;
    }
    .col-5 {
        width: 580px;
        float: left;
    }
    &.col-6 {
        width: 50%;
        float: left;

        @media (max-width: $screen-sm-max) {
            margin-bottom: 15px;
        }
        @media (max-width:$screen-xs) {
            width: 100%;
            display: block;
            overflow: hidden;
        }
    }
    .col-7 {
        width: 870px;
        float: left;
    }
    .col-8 {
        width: 980px;
        float: left;
    }
    .col-9 {
        width: 1170px;
        float: left;
    }
}

//Cart
.cart-box-container {
    padding: 50px 32px;
    @media(max-width: $screen-xs-max) {
        padding: 15px 32px;
    }
    @media(max-width: $screen-xs) {
        padding: 50px 10px;
    }
}

.cart-list {
    .cart-title {
        font-size: 16px;
        font-weight: 500;
        display: inline-block;
        position: relative;
        &:before {
            content: "";
            position: absolute;
            width: 34px;
            height: 1px;
            border-bottom: 1px solid #ff0000;
            bottom: -10px;
            left: 0;
        }
    }
    .list {
        margin-top: 25px;
        height: 350px;
        overflow: scroll;
        >li {
            padding: 22px 0;
            border-bottom: 1px solid #f3f3f3;
            >* {
                display: inline-block;
            }
            .cart-product-image {
                width: 88px;
                vertical-align: top;
                margin-right: 18px;
            }
            .text {
                width: 240px;
                @media(max-width: $screen-xs) {
                    width:170px;
                }
                .product-name {
                    font-size: 14px;
                    font-weight: 500;
                    margin-bottom: 20px;
                }
                .product-price {
                    font-size: 14px;
                    font-weight: 500;
                    margin: 5px 0;
                }
            }
            &:last-child {
                border-bottom: 0;
            }
        }
    }
    .product-price {
        float: right;
    }
    .quantity {
        float: left;
        font-size: 14px;
        font-weight: 500;

        .product_quantity_number {
            width: 29px;
            height: 29px;
            line-height: 30px;
            text-align: center;
            border: 1px solid #ebebeb;
        }
        .quantity-left-minus {
            width: 29px;
            height: 29px;
            border: 1px solid #ebebeb;
            text-align: center;
            margin-right: -1px;
            @include border-radius(0);
            background: #fff;
            padding: 0;
            &:focus {
                outline: none;
            }
            &:active {
                box-shadow: none;
            }
        }
        .quantity-right-plus {
            width: 29px;
            height: 29px;
            border: 1px solid #ebebeb;
            text-align: center;
            margin-left: -1px;
            @include border-radius(0);
            background: #fff;
            padding: 0;
            &:focus {
                outline: none;
                background: none;
            }
            &:active {
                box-shadow: none;
            }
        }
    } // close button
    .close-left {
        cursor: pointer;
        width: 34px;
        height: 34px;
        line-height: 34px;
        text-align: center;
        background: #f4f4f4;
        @include border-radius(50%);
        color: #333;
        position: absolute;
        top: 23px;
        right: 32px;
        @media(max-width: $screen-xs) {
            right:10px;
        }
    }
}

.nocart-list {

    .empty-cart {
        display: block;
        position: absolute;
        text-align: center;
        top: 50%;
        @include translateY(-50%);
        width: 353px;
        @media(max-width: $screen-xs) {
            width:300px;
        }
    }
    .nocart-title {
        font-size: 22px;
        font-weight: 500;
        margin-bottom: 35px;
    }
    .btn-shop {
        width: 187px;
        height: 47px;
        line-height: 47px;
        text-align: center;
        border: 1px solid #000;
        display: inline-block;
    }
}

.cart-bottom {
    padding-top: 30px;
    padding-bottom: 50px;
    border-top: 1px solid #000;
    position: fixed;
    bottom: 0;
    width: 351px;
    background: #fff;
    @media(max-width: $screen-xs-max) {
        padding:10px 0;
    }
    .total {
        text-align: right;
        font-size: 16px;
        color: #000;
        font-weight: 500;
        margin-bottom: 30px;
        @media(max-width: $screen-xs-max) {
            margin-bottom:15px;
        }
        span {
            float: left;
        }
    }
    a {
        font-size: 14px;
        font-weight: 500;
    }
    .edit-cart {
        display: inline-block;
        width: 164px;
        height: 47px;
        line-height: 47px;
        border: 1px solid #000;
        text-align: center;
        &:hover {
            @include transition2;
            background: #000;
            color: #fff;
        }
        @media(max-width: $screen-xs) {
            width: 130px;
        }
    }
    .checkout {
        display: inline-block;
        width: 164px;
        height: 47px;
        line-height: 47px;
        border: 1px solid #000;
        text-align: center;
        float: right;

        &:hover {
            @extend .edit-cart;
        }
        @media(max-width: $screen-xs) {
            width: 130px;
        }
    }
    .text {

        color: #9f9e9e;
        font: 500 12px/18px $base-font-family;
        text-decoration: underline;
        text-align: center;
        display: block;
        &:hover {
            color: $color-hover;
        }
    }
    .cart-button {
        margin-bottom: 45px;
        @media(max-width: $screen-xs-max) {
            margin-bottom:15px;
        }
        &:before {
            @include clearfix;
        }
    }
}


.demo-text {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin-top: 20px;
}

.icon-sub-menu {
    position: absolute;
    top: 0;
    right: 0;
    height: 49px;
    width: 49px;
    border-left: 1px solid rgba(92, 92, 92, .23);
    cursor: pointer;
    padding-right: 18px;
    background-color: transparent;
    &.up-icon {
        &:before {
            transform: rotate(-45deg);
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            -sand-transform: rotate(-45deg);
        }
        &:after {
            transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -sand-transform: rotate(45deg);
        }
    }
    &:before {
        transform: translateX(3px) rotate(-50deg);
        -webkit-transform: translateX(3px) rotate(-50deg);
        -moz-transform: translateX(3px) rotate(-50deg);
        -o-transform: translateX(3px) rotate(-50deg);
        -ms-transform: translateX(3px) rotate(-50deg);
        -sand-transform: translateX(3px) rotate(-50deg);
    }
    &:after {
        transform: translateX(-4px) rotate(50deg);
        -webkit-transform: translateX(-4px) rotate(50deg);
        -moz-transform: translateX(-4px) rotate(50deg);
        -o-transform: translateX(-4px) rotate(50deg);
        -ms-transform: translateX(-4px) rotate(50deg);
        -sand-transform: translateX(-4px) rotate(50deg);
    }
    &:before,
    &:after {
        content: " ";
        position: absolute;
        right: 17px;
        top: 50%;
        margin-top: -1px;
        width: 12px;
        height: 2px;
        display: inline-block;
        background-color: #fff;
        -webkit-transition: background-color .2s ease-in-out, transform .2s ease-in-out, width .2s ease-in-out;
        -moz-transition: background-color .2s ease-in-out, transform .2s ease-in-out, width .2s ease-in-out;
        -o-transition: background-color .2s ease-in-out, transform .2s ease-in-out, width .2s ease-in-out;
        transition: background-color .2s ease-in-out, transform .2s ease-in-out, width .2s ease-in-out;
    }
}

.menu-home5 {
    .searchform {
        position: relative;
        padding: 0 28px 30px 28px;
        border-bottom: 2px solid rgba(92, 92, 92, .43);
        input[type=text] {
            background-color: rgba(255, 255, 255, .1);
            border: none;
            border: 1px solid rgba(208, 208, 208, .09);
            padding: 14px 50px 10px 18px;
            font-size: 14px;
            color: #fff;
            width: 100%;
        }
        button {
            position: absolute;
            top: 18px;
            right: 28px;
            border: none;
            background-color: transparent;
            padding: 0;
            width: 50px;
            height: 50px;
            color: rgba(255, 255, 255, .8);
            text-align: center;
        }
    }
}

// cart popup
.cart {
    padding-right: 25px;
    position: relative;
    @media(min-width: $screen-md) {
        padding-bottom:20px;
        padding-right: 40px;
    }
}

// vertical
.widget-left {
    margin-top: -5px;
    @media(min-width: 1650px) {
        padding-left:0;
    }
}

.widget-verticalmenu {
    .navbar-toggles {
        position: relative;
        height: 57px;
        width: 100%;
        -webkit-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        background: #54f0ff;
        background-image: -webkit-linear-gradient(122deg, #c26af5, #54f0ff);
        background-image: -moz-linear-gradient(122deg, #c26af5, #54f0ff);
        background-image: -ms-linear-gradient(122deg, #c26af5, #54f0ff);
        background-image: -o-linear-gradient(122deg, #c26af5, #54f0ff);
        background-image: linear-gradient(122deg, #c26af5, #54f0ff);
        padding-right: 26px;
        text-align: left;
        padding-left: 48px;
        @include border-radius(9999px);
        color: #ffffff;
        span {
            color: #ffffff;
            font-size: 18px;
            font-weight: 500;
            line-height: 55px;
            text-transform: capitalize;
        }
        &:after {
            content: "";
            position: absolute;
            top: 22px;
            left: 25px;
            width: 11px;
            height: 11px;
            @include border-radius(100%);
            background: #fff;
        }
        &.navbar-drop {
            &:before {
                content: "\f3d0";
                font-family: "Ionicons";
                position: absolute;
                right: 26px;
                top: 16px;
                font-size: 19px;
            }
        }
    }
    .vertical-group {
        border: 2px solid #eaeaea;
        @include border-radius(10px);
        position: relative;
        background: #fff;
        .vertical-item {
            padding: 0px 24px;
            border-bottom: 1px solid #eaeaea;
            &:last-child {
                border-bottom: 0;
            }
            >a {
                color: #333333;
                display: block;
                padding: 16px 0 15px 0;
                position: relative;
                @include transition2;
                position: relative;
                line-height: 100%;
            }
            &.vertical-drop {
                >a {
                    color: #666;
                    &:before {
                        content: '\f3d3';
                        font-family: ionicons;
                        text-align: center;
                        font-size: 17px;
                        top: 50%;
                        position: absolute;
                        right: 0px;
                        line-height: 100%;
                        @include translateY(-50%);
                        color: #bcbcbc;
                    }
                }
            }
            &.mega-parent {
                >a {
                    color: #333333;
                    font-weight: bold;
                }
            }
            &:hover{
                > a{
                    color:$color-hover2;
                    &:before{
                        color:$color-hover2;
                    }
                }
                &::before{
                    content: '';
                    width: 15px;
                    height: 100%;
                    right: -13px;
                    top: 0;
                    display: block;
                    position: absolute;
                }
            }
        }
    }
}

.navbar-vertical {
    margin-right: 7px;
}

.vertical-wrapper {
    margin-top: 13px;
    position: absolute;
    z-index: 4;
    width: 100%;
    padding-right: 37px;
}
@media(min-width:$screen-md){
    .vertical-item:not(:hover)>.menu-level-1{
        visibility: hidden;
        opacity: 0;
        -webkit-transform: translateX(15px);
        -moz-transform: translateX(15px);
        -ms-transform: translateX(15px);
        -o-transform: translateX(15px);
        transform: translateX(15px);
    }
}
.vertical-menu {
    @include transition2;
    display:unset;
    left: calc(100% + 11px);
    opacity: 0;
    position: absolute;
    text-align: left;
    top: -3px;
    visibility: hidden;
    width: 257px;
    border: 1px solid #ebebeb;
    z-index: 9;
    height: 469px;
    min-width: 257px;
    @include border-radius(10px);
    color: #333;
    padding: 30px;
    &.v2 {
        min-width: 723px;
    }
    &.pd {
        padding: 50px 50px;
    }
    &.pd2 {
        padding: 36px 10px 30px 15px;
    }
    &.pd3 {
        padding: 36px 10px 30px 270px;
    }
    &.homebg {
        background: url("../img/megamenu/home-bg.jpg") no-repeat center;
    }
    &.style1 {
        &.menu-level-1>.level1>.level2>a {
            margin-bottom: 16px;
            padding-bottom: 9px;
        }
        &.menu-level-1>.level1>.level2 .menu-level-2>.level3>a {
            line-height: 24px;
        }
    }
    &.tvbg {
        background: url("../img/megamenu/tv-bg.jpg") no-repeat center;
    }
    &.phonebg {
        background: url("../img/megamenu/phone-bg.jpg") no-repeat center;
    }
    &.headphonebg {
        background: url("../img/megamenu/headphone-bg.jpg") no-repeat center;
    }
    h3 {
        font-size: 16px;
        margin-top: 10px;
    }
    .vertical-menu1 {
        li {
            >a {
                color: #666;
                line-height: 35px;
                &:hover{
                    color:$color-hover2;
                }
            }
        }
    }
    .cate-item {
        margin-bottom: 40px;
    }
}

.e-border {
    border: 1px solid #ededed;
    @include border-radius(9999px);
    height: 78px;
    padding-left: 98px;
    padding-right: 44px;
    position: relative;
    margin-left: -84px;
}

// Header-v2
.header-v2 {
    .navbar-nav>li>a {
        font-size: 14px;
    }
}



// Header-v4
.header-v4 .header-bottom {
    padding: 7px 0;
}

@media(min-width:$screen-md) {
    .header-v4 .navbar-nav {
        position: relative;
    }
}

// Header-v5
.header-v5 .header-center {
    border: 0;
    @media(min-width: $screen-md) {
        padding-bottom:42px;
    }
}

.header-v5 {
    @media(min-width: $screen-md) {
        .header-bottom {
            .main-menu {
                margin-left:-8px;
                .icon-mobile {
                    margin-right: 7px;
                }
            }
        }
    }
}

.header-v3 {
    @media(min-width: $screen-md) {
        .header-center {
            padding-bottom: 36px;
        }
        .header-bottom {
            .main-menu {
                margin-left: -10px;
                .icon-mobile {
                    margin-right: 0;
                }
            }
        }
        .widget-verticalmenu .vertical-group .vertical-item > a{
            padding:15px 0;
        }
    }
}

.header-v1 {
    @media(min-width: $screen-md) {
        .header-center {
            padding-bottom:42px;
        }
        .header-bottom {
            .main-menu {
                margin-left: -10px;
            }
        }
    }
}

.header-bottom {
    padding-top: 14px;
}

.header-v5 .header-bottom {
    padding: 0;
}

.header-v5 .widget-left {
    margin-top: -12px;
}

.header-v5 .widget-verticalmenu {
    position: relative;
    z-index: 3;
}

.header-v5 .vertical-wrapper {
    display: none;
}

.header-cate {
    ul {
        @include flex;
        flex-flow: row;
        @include justify-content(center);
        text-align: center;
        li {
            flex: 1 1 auto;
            flex-basis: calc(50% - 20px);
            padding: 29px 0;
            border-right: 1px solid rgba(255, 255, 255, 0.3);
            &:last-child {
                border-right: 0;
            }
            a {
                @include flex;
                @include flex-direction(column);
                position: relative;
                font-weight: 500;
                color: #fff;
                @incluce transiton2;
                &:hover {
                    @incluce transiton2;
                    color: $base-font-color;
                }
                img {
                    width: auto;
                    height: auto;
                    margin: 0 auto;
                    padding-bottom: 10px;
                }
            }
        }
    }
}

.btn-csoon {
    width: 132px;
    height: 42px;
    line-height: 42px;
    @include border-radius(999px);
    display: inline-block;
    text-align: center;
    font-size: 16px;
    opacity: 0;
}

.dropdown-menu {
    .cate-item {
        .demo-img {
            position: relative;
        }
        &:hover {
            .overlay-img {
                opacity: 1;
            }
            .btn-csoon {
                opacity: 1;
            }
        }
    }
}

.header-v3 {
    &.bg-w {
        background: #fff;
    }
}
.header-v2{
    @media(min-width:$screen-md){
        .navbar-nav > li > a{
            padding: 22px 10px 23px 10px;
        }
        .header-center{
            padding-top: 36px;
            padding-bottom: 40px;
            border-bottom:0;
        }
    }
    .header-bottom{
        padding-top:0;
        position:relative;
        &:before{
            content: '';
            border-bottom: 1px solid #f0f0f0;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: -1;
        }
        
    }
    @media(min-width:1681px){
        .navbar-nav > li > a{
            padding: 22px 20px 23px 20px;
        }
    }
}
.box-header-nav{
    padding-left:30px;
    @media(min-width:1681px){
        padding-left:240px;
        width: 63.3%;
    }
    position:relative;
    border-bottom:1px solid #f0f0f0;
    .navbar-nav > li > a:before{
        height:100%;
        border-right: 1px solid #e9e9e9;
    }
    .navbar-nav > li:first-child > a:before{
        border:0;
    }
}
.box-header-menu{
    padding-right: 30px;
    padding-left:75px;
    background: linear-gradient(90deg, #c467f5, #53f3ff);
    @media(min-width:1681px){
        width:36.7%;        
        background: linear-gradient(90deg, #c467f5, #53f3ff);
    }
    position:relative;
    &:before{
        content: '';
        border-width: 0 0 63px 75px;
        border-color: transparent transparent transparent #fff;
        border-style: solid;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .navbar-nav > li > a{
        color:#fff;
        &:hover{
            color:$base-font-color;
        }
    }
    .navbar-nav > li > a:before{
        opacity:0.3;
    }
}
// Search product
.list-product-search{
    z-index: 8889;
    list-style-type: none;
    width: 242px;
    margin: 0;
    padding: 0;
    background: #ffffff;
    -webkit-box-shadow: 0px 3px 24px 0px rgba(0, 0, 0, 0.08);
    box-shadow: 0px 3px 24px 0px rgba(0, 0, 0, 0.08);
    border-radius: 7px;
    min-width: 342px;
    border: 1px solid #ebebeb;
    padding-bottom: 4px;
    padding-top: 1px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-out 0s;
    -webkit-transition: all 0.5s ease-out 0s;
    margin-top: 32px;
    position: absolute;
    &.active{
        
        left: 0px;
        top: 100%;
        margin-top: 18px;
        opacity: 1;
        visibility: visible;
    }
    &:after{
        content: '';
        display: block;
        position: absolute;
        top: -7px;
        left: 30px;
        width: 10px;
        height: 10px;
        background: #FFFFFF;
        border-right: 1px solid #ebebeb;
        border-top: 1px solid #ebebeb;
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }
    li{
        &:first-child{
            border-top:none;
        }
        display: block;
        width: 100%;
        margin: 0;
        padding: 12px 18px;
        border-top: 1px solid #f0f0f0;
        overflow: hidden;
    }
    .product-img{
        width:18%;
        img{
            width:52px;
            height:52px;
            border-radius: 3px;
            border: 1px solid #f0f0f0;
        }
    }
    .product-title{
        width:82%;
        overflow: hidden;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-align: left;
        padding-left: 18px;
        &:hover{
            color:#ff5050;
        }
    }
}