
/*HEADER*/

    .avatar_img__header{
    display: flex;
    width: 50px;
    height: 50px;
    background: url(svg/icon.svg);
    /* background-size: initial; */
    background-color: #cbcbcb;
    background-position: center;
    background-size: 90px;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 75px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
    }
    .header_acc_info{
        display: flex;
        height: 100%;
    flex-direction: column;
    font-size: 16px;
    justify-content: center;
    font-weight: 500;
    margin-left: 10px;
    }
    .header_acc_name{
        color: #387DFF;
            max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.3s;
    }
    .header_acc_name:hover{
        color: #387dffbf;
    }
    .bg_avatar{
        background: transparent;
        transition: 0.3s;
    }
    .avatar_img:hover .bg_avatar{
    background: #3333335e;
    width: 150px;
    height: 150px;
    position: absolute;
    transition: 0.3s;
    }
.dropdown {
    position: relative;
    display: inline-block;
    color: #171a21;
    margin-right: 15px;
}
.btn {
    display: inline-block;
    height: 45px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0 20px;
    background-color: #f6f6f6;
    color: var(--main-text-color);
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    z-index: 1;
    border-radius: 12px;
    margin-top: 1px;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 12px;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a:hover {
    background-color: #ddd;
}


.header__cart{
    position: inherit;
}
.header__search .search_form .input-group{
    width: 525px;
    margin-right: 15px;
}
.btn:hover{
    background: #387dff;
}
.q_link a{
        text-align: center;
}
.catalog-card-inner img{
    position: relative;
    border-radius: 12px;
}

.search_form{
    margin-block-end: 0;
}

.btns_header_profile{
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

    @media(max-width: 950px){
        /*    HEADER*/
    .header__search .search_form .input-group{
        width: 100%;
    }
    .header__search .search_form .search_input{
        padding: 0 0px 0px 50px;
    }
    .header__logo{
        max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    }
    .header__search{
        display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 20px;
    width: 100%;
    }
    
    }
        .header__acc__img {
    display: flex;
    align-items: center;
}

.header__acc_block, .header__acc__img {
    height: inherit;
}
.btns_header_profile a:hover {
    color: #387dffbf;
}