.burger1, .burger2, .burger3 {
    width: 16px;
    height: 1px;
    background-color: #ED2438;
    margin: 5px 0;
    transition: 0.4s;
    user-select: none;
  }
  
  /* Rotate first bar */
  .change .burger1 {
    -webkit-transform: rotate(-45deg) translate(-1px, 8px) ;
    transform: rotate(-45deg) translate(-1px, 8px) ;
  }
  
  /* Fade out the second bar */
  .change .burger2 {
    opacity: 0;
  }
  
  /* Rotate last bar */
  .change .burger3 {
    -webkit-transform: rotate(45deg) translate(-1px, -8px) ;
    transform: rotate(45deg) translate(-1px, -8px) ;
}

.burger-btn {
    display: flex;
    align-items: center;
}

.menu-btn {
	position: relative;
    color: #ED2438;
    background-color: transparent;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    padding: 0;
    margin-right: 15px;
    margin-left: 7px;
}

.head-main.catalog-menu-active {
    background-color: #201E1E;
}

.head-main.catalog-menu-active svg path {
    stroke: #FFFFFF;
}

.head-main {
    position: relative;
}

.head-main__nav {
    display: flex;
    align-items: center;

}

.head-main__nav-links.catalog-menu-active {
    display: none;
}

.head-main__nav-links {
    display: flex;
    flex-wrap: nowrap;
}

.head-main__nav a {
    color: #F8F9FD;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    margin-right: 15px;
}

.head-main__nav a:hover {
    color: #ED2438;
}


.head-main__nav--black a {
    color: #201E1E;
}


.head-main__social {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head-main__social a {
    margin-left: 25px;
}

.head__box--main {
    /* padding-top: 2%;
    padding-bottom: 2%; */
}

.head-main__social--black a svg path {
    stroke: #201E1E;
}

.head-main__logo--index-page svg path {
    stroke: #ffffff;
}

.head-main__logo--black svg {
    display: block !important;
}


.head-main__logo {
    margin-right: 14%;
    display: flex;
    align-items: flex-end;
}

.head-main__logo svg {
    margin-left: 2%;
}

.head-main__social a {
    position: relative;
}

.head-main__figure {
    position: absolute;
    top: -5px;
    left: 14px;
    background-color: #ED2438;
    border-radius: 7px;
    width: 18px;
    height: 18px;
    text-align: center;
    padding-top: 2.5px;
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    line-height: 13px;
    text-transform: uppercase;    
    color: #FFFFFF;
       
}

.head-main__house {
    display: none;
}


.head-main__adaptiv-link p {
    display: none;
}


.head-main__profil.user {
    display: flex;
    align-items: end;        
}

.head-main__profil.user p {
    display: block;
    color: #ED2438;
}

.head-main__profil.user svg path {
    stroke: #ED2438;
}
/*новый стиль*/
.head-main:has(.head-main__nav--black)
{
    background-color: #000;
}
.head-main__nav--black a {
    color: #FFFFFF;
}
.head-main__social--black a svg path {
    stroke: #FFFFFF;
}
.head__links-img img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-height: 30px;
    display: block;}

.head-main__logo>*{
    max-height:100%;
}
@media (max-width: 1024px) {
    .head-main__nav-links {
        display: none;
    }

    .head-main__logo {
        margin-right: 0;
    }

    .head-main__logo img {
        height: 24px;
    }

    .head-main__logo svg {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    /* .head-main.fix-head {
        transform: translateY(calc(-50% - 57px));
        padding-top: 15px;
        transition: 0.5s;
    } */

    .head-main {
        background-color: #201E1E;
        position: fixed;
        z-index: 1007;
        width: 100%;
        bottom: 0;
        padding-top: 10px;
    } 
    .head-main__house {
        display: block;
    }

    .head-main__search {
        display: none;
    }

    .head-main__profil {
        order: 1;
    }

    .head-main__arrows {
        display: none;
    }

    .head-main__logo {
        display: none;
    }

    .burger-btn {
        flex-direction: column;
    }

    .burger {
        margin-bottom: 14px;
    }

    .burger1, .burger2, .burger3 { 
        background-color: #fff;
    }

    .head-main__adaptiv-link p {
        display: block;
    }

    .head-main__social--black a svg path {
        stroke: #ffffff;
    }

    .head-main__adaptiv-link p, .menu-btn {
        font-weight: 700;
        font-size: 10px;
        line-height: 11px;
        text-transform: uppercase;
        color: #FFFFFF;    
        margin: 0;    
    }

    .head-main__adaptiv-link {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .head-main__adaptiv-link p:hover {
        color: #ED2438;
    }

    .head-main__adaptiv-link p {
        margin-top: 15px;
    }

    .head-main__figure {
        left: 25px;
    }

    .head-main__nav {
        width: 35%;
        justify-content: space-around;
    }

    .head-main__social {
        justify-content: space-around;
        width: 65%;
    }

    .head-main__social a {
        margin-left: 0;
    }

    .head-main__nav a {
        margin-right: 0;
    }
    /*новый стиль*/
    .head__links-img {
        height:50px;
    }
}

@media (max-width: 425px) { 
    .head-main {
        padding-top: 3px;
    } 
    .head-main__adaptiv-link p {
        margin-top: 8px;
    }
    .burger {
        margin-bottom: 7px;
    }

    .head__box--main {
        padding-top: 3px;
        padding-bottom: 2px;
    }

} 