.main .header {
    position:relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    background: white;
    box-shadow: -1px -10px 20px 1px black;
}
.catalogSubMenu:after{
    position:absolute;
    content:"";
    left:0;
    top:1;
    width:100%;
    height:1px;
    background:rgba(0, 0, 0, 0.15);
}
.main .header a{
    text-decoration:none!important;
}
.main .header .menu {
    height: 100%;
}

.main .header .menu .butMobileActive {
    display: none;
}

.main .header .menu .section {
    display: flex;
    height: 100%;
    background: white;
}

.main .header .menu .section li {
    list-style: none;
}

.main .header .menu .section li:hover > a {
    color: #A1887E;
}
/*.main .header .menu .section li a::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -2px;*/
/*    right: 0;*/
/*    width: 100%;*/
/*    height: 1px;*/
/*    background-color: #ffffff;*/
/*    transform: scale3d(0, 1, 1);*/
/*    transition: -webkit-transform 0.2s cubic-bezier(1, 0.68, 0.16, 0.9);*/
/*    transition: transform 0.2s cubic-bezier(1, 0.68, 0.16, 0.9);*/
/*    transition: transform 0.2s cubic-bezier(1, 0.68, 0.16, 0.9), -webkit-transform 0.2s cubic-bezier(1, 0.68, 0.16, 0.9);*/
/*    transform-origin: 0% 50%;*/
/*}*/
/*.main .header .menu .section li:hover > a::before{*/
/*    transform: scale3d(1, 1, 1);*/
/*}*/
.main .header .menu .section li a {
    transition: color 0.25s ease;
    color: black;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;

}

.main .header .menu .section > li.root {
    display: none;
}

.main .header .menu .section .catalogSubMenu {
    display: none;
}

.main .header .logo {
    background: url(LOGO.svg);
    width: 100px;
    height: 25px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.main .header .basket {
    cursor: pointer;
    background: url(basket.svg);
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

@media screen and (min-width: 768px) {
    .main .header .menu .section li {
        top: 0;
    }

    .main .header .menu .section li:hover > a {
        color: #A1887E;
    }

    /*.main .header .menu .section li > .catalogSubMenu {*/
    /*    display: flex;*/
    /*    position: absolute;*/
    /*    left: 0;*/
    /*    padding: 0 20px;*/
    /*    height: 60px;*/
    /*    background: white;*/
    /*    width: 100%;*/
    /*    justify-content: flex-start;*/
    /*    transition: all .8s ease;*/
    /*    top: 0;*/
    /*    z-index: -1;*/
    /*}*/
    .main .header .menu .section li > .catalogSubMenu{
        opacity: 0;
        height: 60px;
        display:none;
        position: absolute;
        top: 90px;
        left: 0;
        padding: 0 20px;
        background: white;
        width: 100%;
        transition:all .3s ease-in-out;
    }


    .main .header .menu .section li:hover > .catalogSubMenu {
        display: flex;
        opacity: 1;

    }

    .main .header .menu .section li:hover > .catalogSubMenu li > .catalogSubMenu {
        top:0;
    }
    .main .header .menu .section li:hover > .catalogSubMenu li:hover > .catalogSubMenu {
        display: flex;
        position: absolute;
        top: 59px;
        left: 0;
        padding: 0 20px;
        height: 60px;
        background: white;
        width: 100%;
    }

    .main .header .menu .section .mobileSocial {
        display: none;
    }

    .main .header a.hrefLogo {
        order: -1;
    }
}

@media screen and (min-width: 1100px) {
    .main .header .menu .section li:hover > a {
        color: #A1887E;
    }

    .main .header .menu .section li:hover > .catalogSubMenu {
        display: flex;
        position: absolute;
        top: 90px;
        left: 0;
        padding: 0 20px;
        height: 60px;
        background: white;
        width: 100%;
        justify-content: flex-start;
    }

    .main .header .menu .section li:hover > .catalogSubMenu li:hover > .catalogSubMenu {
        z-index: 800;
        display: flex;
        position: absolute;
        top: 59px;
        left: 0;
        padding: 0 20px;
        height: 60px;
        background: white;
        width: 100%;
        justify-content: flex-start;
    }

    .main .header a.hrefLogo {
        order: 0;
    }

    .main .header .logo {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
.main .header .menu .mobileSocial{
    display:none;
}
@media screen and (max-width: 767px) {
    .main .header {
        padding: 0;
        height: 70px;
    }

    .main .header .menu .butMobileActive {
        height: 100%;
        display: flex;
    }

    .main .header .menu .butMobileActive p {
        display: none;
        margin:0;
    }

    .main .header .menu .butMobileActive .mButton {
        cursor: pointer;
        box-sizing: content-box;
        background: url(Menu.svg);
        width: 24px;
        height: 100%;
        padding: 0 20px;
        background-position: center;
        background-repeat: no-repeat;
    }

    .main .header .menu .section {
        display: none;
    }

    .main .header .menu.active {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100%;
        background: white;
        z-index: 500;
    }

    .main .header .menu.active .butMobileActive {
        height: 70px;
        display: flex;
        justify-content: space-between;
    }

    .main .header .menu.active .butMobileActive p {
        display: flex;
        align-items: center;
        padding: 0 20px;
        font-family: Roboto;
        font-style: normal;
        font-weight: 500;
        font-size: 18px;
        line-height: 21px;
    }

    .main .header .menu.active .butMobileActive .mButton {
        box-sizing: content-box;
        background: url(X.svg);
        width: 24px;
        height: 100%;
        padding: 0 20px;
        background-position: center;
        background-repeat: no-repeat;
        z-index:2000;
    }

    .main .header .menu.active .section {
        display: flex;
        flex-direction: column;
    }

    .main .header .menu.active .section a {
        position: relative;
        padding: 20px;
    }

    .main .header .menu.active .section a::after {
        position: absolute;
        content: "";
        width: calc(100% - 40px);
        left: 20px;
        top: 0;
        height: 1px;
        background: #E9E9E9;
    }

    .main .header .menu.active .section li {
        position: relative;
    }

    .main .header .menu.active .section li.root {
        display: block;
    }

    .main .header .menu.active .section li.parent::after {
        position: absolute;
        content: "";
        right: 0;
        top: 50%;
        transform: translate(0, -50%);
        height: 100%;
        width: 60px;
        background: url(mobieRight.svg);
        background-position: center;
        background-repeat: no-repeat;
    }

    .main .header .menu.active .section li.active {
        z-index: 1;
        display: flex;
        flex-direction: column;
        position: fixed;
        width: 100vw;
        height: 100%;
        top: 0;
        left: 0;
        background: white;
    }

    .main .header .menu.active .section li.active > .catalogSubMenu {
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
    }

    .main .header .menu.active .section li.active > a {
        padding-left: 50px;
    }

    .main .header .menu.active .section li.active a {
        height: auto;
    }

    .main .header .menu.active .section li.active::after {
        content:none;
        /*height: 60px;*/
        /*width: 60px;*/
        /*top: 0;*/
        /*background: url(X.svg);*/
        /*background-position: center;*/
        /*background-repeat: no-repeat;*/
        /*transform: translate(0);*/
    }

    .main .header .menu.active .section li.active::before {
        content: "";
        position: absolute;
        background: url(mobieRight.svg);
        width: 60px;
        height: 60px;
        left: 0;
        top: 0;
        background-position: center;
        background-repeat: no-repeat;
        transform: rotate(180deg);
        z-index: 10;
    }
    .main .header .menu.active .mobileSocial {
        padding:0 20px;
        display: flex;
        position: absolute;
        top: calc(100% - 90px);
        flex-direction: column;
        width: 100%;
        height:90px;
    }
    .main .header .menu.active .mobileSocial>*{
        padding:12px 0;
    }


    .main .header .menu.active .mobileSocial a {
        color: black;
        transition: color 0.25s ease;
        font-weight: 500;
    }

    .main .header .menu.active .mobileSocial a:hover {
        color: #a1887e;
    }

    .main .header .menu.active .mobileSocial a::after {
        width: 0;
    }

    .main .header .menu.active  .mobileSocial > a {
        display: flex;
        align-items: center;
    }

    .main .header .menu.active  .mobileSocial > a::before {
        content: "";
        width: 22px;
        height: 22px;
        margin-right: 10px;
        display: block;
        background: url(instaMobile.svg);
        background-position: center;
        background-repeat: no-repeat;
    }

    .main .header .menu.active  .mobileSocial .flexRow {
        display: flex;
        justify-content: space-between;
    }

    .main .header .menu.active .mobileSocial .flexRow * {
        flex: 1;
        display: flex;
    }

    .main .header .menu.active .mobileSocial .flexRow *:last-child {
        justify-content: flex-end;
    }

    .main .header .logo {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .main .header .basket {
        box-sizing: content-box;
        background: url(basket.svg);
        width: 24px;
        height: 24px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: auto;
    }
}

.main .header .basketCountItem {
    display: none;
    align-items: center;
    padding: 1px 15px;
    background: #927C72;
    color: white;
    border-radius: 17px;
    margin-left: 4px;
}

.main .header .basketCountItem.active {
    display: flex;
}

.basketTopContainer {
    cursor: pointer;
    padding: 0 20px
}

@media screen and(max-width: 767px) {
    .basketTopContainer {
        padding: 0 20px
    }
}
footer a{
    text-decoration:none!important;
}
