.header__nav{
    min-height: 42px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    background: #FFDB4D;
}
.nav-list{
    width: 344px;
    justify-content: space-between;
    padding-left: 0;
}
.nav-list li{
    line-height: 16.94px;

}
.nav-list li a{
    color:#141414;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
}
.header__header-bottom{
    transition: .2s;
    background: #FFF8E5;
    padding: 25px 0 25px 0;
}
.header__wrapper-logo{
    margin-top: -18px;

}

.logo-ref{
    position: relative;

}
.header__logo {
    display: block;
    width: auto;
    height: 83px;
    object-fit: contain;
}
.header__catalog{
    position: relative;
    z-index: 4;
    transition: .2s;
    min-width: 132px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
    border-radius: 4px;
    gap: 8px;
    box-shadow: 0 0 6px 0 #E31D23;

}
.header__catalog:hover{
    color:white;
    box-shadow: 0 0 12px 0 #E31D23;
}

.header__search-button{
    background: none;
    border: none;
}
.header__search-input{
    height: 52px;
    width: 100%;
    padding: 16px 76px 17px 20px;
    user-select: none;
    outline: none;
    border: 2px solid #F8E2A8;
    border-radius: 4px;
    transition: .2s;
}
.header__search-input:focus{
    box-shadow: 0 0 12px 0 black;
    border-radius: 6px;
    /*box-shadow:  0 0 12px 0 #F8E2A8;*/
}
.header__wrapper-header-bottom{
    display: flex;
    gap: 30px;
    align-items: center;
}
.header__search{
    width: 100%;
    position: relative;

}
.header__search::after{
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    top: 17px;
    right: 52px;
    border: 2px solid rgba(227, 29, 35, .18);
    border-top-color: #E31D23;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: scale(.85);
}
.header__search.search-loading::after{
    opacity: 1;
    animation: search-spin .7s linear infinite;
}
@keyframes search-spin {
    to {
        transform: rotate(360deg);
    }
}
.cart-count,.compare-count{
    width: 22px;
    height: 21px;
    background: #E31D23;
    color:white;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -10px;
    right: 4px;
}
.header__search-button{
    position: absolute;
    top: 12px;
    right: 15px;
}

.header__wrapper-nav-list{
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header__wrapper-personal{
    transition: .2s;
    display: flex;
    gap: 25px;
}
.personal-icon{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color:#121419;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    text-align: center;
}
.personal-icon img{
    margin-bottom: 3px;
}
.personal-icon svg{
transform: translateY(-2px);
}
.exit{
    transform: translateY(-1px);
}
.hello-name{
    white-space: nowrap;
    font-weight: 600;
}
.header__wrapper-contacts{
    display: flex;
    flex: 1 1 560px;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 30px;
}
.header-telefon{
    white-space: nowrap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-align: right;
    color: #121419;

}
.header-feedback{
    margin-left: auto;
    white-space: nowrap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-align: right;
    color: #E31D23;
}


@media(max-width: 992px){
    .logo-ref img{
        margin-top: 6px;
    }
    .wrapper__filter-buttons{
        margin-top: 40px;
    }

    .header__wrapper-header-bottom{
        flex-direction: column;
        align-items: start;
        gap: 10px!important;
        margin-top: 12px;
    }

    .section-categories__list{
        display: none!important;
    }
    .header__wrapper-header-bottom{
        gap: 12px;
    }


    .header__header-bottom{
        padding: 12px 0 24px!important;
    }
    .header__wrapper-logo{
        max-width: 30%;
    }
    .logo-ref .header__logo {
        width: auto;
        height: 83px;
    }
    .header__wrapper-personal,.header__catalog,.header__nav {
        display: none!important;
    }
    .section-menu__subcategories{
        display: block!important;
    }
    .section-menu__wrapper-banner{
        display: none;
    }
    .wrapper__subcategories-cols{
        grid-template-columns: 1fr!important;
    }

}

#nav-icon1 {
    width: 20px;
    height: 31px;
    position: relative;
    transform: rotate(0deg);
    transition: .2s ease-in-out;
    cursor: pointer;
}
#nav-icon1 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 20px;
    background: white;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .2s ease-in-out;
    border-radius: 9px;
}
#nav-icon1 span:nth-child(1) {
    top: 9px;
}
#nav-icon1 span:nth-child(2) {
    display: none;
}

#nav-icon1 span:nth-child(3) {
    top: 18px;
    width: 12px;
}
#nav-icon1.open span:nth-child(1) {
    top: 14px;
    transform: rotate(135deg);
}
#nav-icon1.open span:nth-child(2) {
    opacity: 0;

}
#nav-icon1.open span:nth-child(3) {
    top: 14px;
    transform: rotate(-135deg);
    width: 20px;
}
.fixed-search{
    position: fixed;
    top: 68px;
    left:49%;
    transform: translateX(-50%);
    width: 781px;
    z-index: 7;
}
@media(max-width: 768px){
    .section-categories{
        display: none;
    }
    .fixed-search{
        width: calc(100vw - 24px);
        left: 50%;
        transform: translateX(-50%);
    }
    .wrapper__filter-buttons{
        margin-top: 12px;
    }
    .in-overlay{
        width: calc(100vw - 30px);
    }
    .search-results{
        padding-right: 12px;
        padding-left: 6px;
        width: 100%;
        height: calc(100vh - 139px);
        gap: 10px;
    }
    .search-results__link{
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }
    .search-results__image{
        width: 48px;
        height: 48px;
    }
    .search-results__price{
        grid-column: 2;
        justify-self: start;
        font-size: 14px;
    }
}

.error{
    background: #E31D23!important;
    text-align: center;
}
.success{
    background: rgb(79, 192, 127)!important;
    text-align: center;
}
