.header {
    font-size: 14px;
    line-height: 1.2;
    padding: 15px 0 0;
}
.header.header-fixed {
    position: relative;
    background: #fff;
    z-index: 996;
    -webkit-transition: top 0.5s;
    transition: top 0.5s;
}
.bg_gray_ultralight .header.header-fixed {
    background: var(--gray-ultralight);
}
.is-scrolled .header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 0.5rem 0;
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/*.header__left*/
.header__left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 25px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.header__btn-catalog {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 500;
    background: #000;
    border: 1px solid #000;
    color: #fff;
    height: 45px;
    border-radius: 15px;
    padding: 15px;
    -webkit-transition: var(--transition);
    transition: var(--transition);
}
.header__btn-catalog:hover {
    color: #000;
    background: var(--light-blue);
    border-color: var(--light-blue);
}
.header__btn-catalog .burger-icon {
    width: 30px;
    height: 1px;
    background-color: currentColor;
    position: relative;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    margin-right: 15px;
}
.header__btn-catalog .burger-icon::before,
.header__btn-catalog .burger-icon::after {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    background-color: currentColor;
    position: absolute;
    left: 25%;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.header__btn-catalog .burger-icon::before {
    top: -8px;
}
.header__btn-catalog .burger-icon::after {
    top: 8px;
}

.header__search {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.header__search-btn {
    position: absolute;
    right: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: #000;
}
.search-form input {
    width: 100%;
    min-width: 200px;
    height: 45px;
    font-size: inherit;
    padding: 10px 55px 10px 20px;
    background: var(--light-blue);
    border-radius: 15px !important;
    border: 1px solid transparent !important;
    -webkit-transition: var(--transition);
    transition: var(--transition);
}
.search-form input:focus {
    -webkit-box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0 !important;
    box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0 !important;
    background: #fff;
}
.header__search-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.header__search-icon svg {
    width: 20px;
    height: auto;
}
.header__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/*.header__right*/
.header__right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
    margin-left: 30px;
}
.header__contact-wrap {
    display: -webkit-flex;
    display: flex;
    margin-bottom: 15px;
}
.header__phone {
    white-space: nowrap;
}
.header__adress {
    white-space: nowrap;
    padding-left: 40px;
}
.header__links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}
.header__link {
    color: var(--gray-light);
    -webkit-transition: var(--transition);
    transition: var(--transition);
}
.header__link:hover {
    color: var(--black);
}
.header__main-inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 40px;
}
.header__main-item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.header__main-item:hover span {
    color: var(--black);
}
.header__main-icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 12px;
}
.header__main-link {
    color: var(--gray-light);
    -webkit-transition: var(--transition);
    transition: var(--transition);
}

.header_favorites_count {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 50%;
    width: 1.2rem;
    height: 1.2rem;
    font-size: 0.8rem;
    line-height: 1;
    color: #fff !important;
    background: #000;
    border: 1px solid transparent;
    border-radius: 50%;
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.header_favorites_count.active {
    opacity: 1;
    visibility: visible;
}

/*header__bottom*/
.header__bottom {
    margin-top: 15px;
}
.header__inner_mob {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.header__search_mob {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-left: 20px;
}
.header__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background: var(--black);
    border-radius: 15px;
}
.header__navbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    margin: 0;
}
.header__navbar-item {
    margin: 5px;
}
.header__navbar-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: var(--white);
    padding: 10px 15px;
    border-radius: 10px;
}
.header__navbar-link:hover {
    background: var(--light-blue);
    color: var(--black);
}
.header__user {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
    background: var(--light-blue);
    padding: 10px 15px;
    border-radius: 10px;
    margin-right: 5px;
}

/*header__hamburger*/
.header__hamburger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 500;
    background: #000;
    border: 1px solid #000;
    color: #fff;
    width: 55px;
    height: 45px;
    border-radius: 10px;
    padding: 13px;
    -webkit-transition: var(--transition);
    transition: var(--transition);
    cursor: pointer;
}
.header__hamburger:hover {
    color: #000;
    background: var(--light-blue);
    border-color: var(--light-blue);
}
.header__hamburger .burger-icon {
    width: 30px;
    height: 1px;
    background-color: currentColor;
    position: relative;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.header__hamburger .burger-icon::before,
.header__hamburger .burger-icon::after {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    background-color: currentColor;
    position: absolute;
    left: 25%;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.header__hamburger .burger-icon::before {
    top: -8px;
}
.header__hamburger .burger-icon::after {
    top: 8px;
}

/*header_fixed_block*/
.header_fixed_block {
    position: fixed;
    z-index: 10000;
    left: 50%;
    bottom: 20px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    -webkit-box-shadow: 0em 0.5em 1em -0.5em rgba(5, 7, 15, 0.2);
    box-shadow: 0em 0.5em 1em -0.5em rgba(5, 7, 15, 0.2);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    height: 65px;
    padding: 15px 10px;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
.header-fixed__category {
    background: transparent;
    border-radius: 20px;
    padding: 15px 20px;
    -webkit-transition: var(--transition);
    transition: var(--transition);
    font-weight: 500;
}
.header-fixed__category:hover {
    background: #000;
    color: #fff;
}

/*drawer*/
.drawer__content-bottom-row {
    padding-bottom: 3rem;
}
.drawer__item {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 1rem 0;
}

.drawer .header__user {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0;
    gap: 20px;
}

.drawer__item.link_politic a {
    text-decoration: underline;
}

@media all and (min-width: 992px){
    .header__phone_mob,
    .header__inner_mob {
        display: none;
    }
    .is-scrolled .header.header-fixed .header__bottom {
        display: none;
    }
}

@media all and (max-width: 1280px){
    .header__right .header__main-inner {
        display: none;
    }
}

@media all and (max-width: 991px){
    .header {
        padding: 0.5rem 0;
        -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .is-scrolled .header.header-fixed .header__wrapper {
        display: none;
    }

    .is-scrolled .header.header-fixed .header__bottom {
        margin-top: 0;
    }

    .header__left {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .header__logo img {
        max-height: 40px;
    }

    .header__search,
    .header__right,
    .header__inner,
    .header_fixed_block {
        display: none;
    }
}

@media all and (max-width: 575px){
    .header__left {
        gap: 10px;
    }
    .header__logo img {
        max-width: 100px !important;
    }

    .header__btn-catalog {
        height: 35px;
        border-radius: 10px;
        padding: 10px;
    }

    .header__left .header__btn-catalog .burger-icon {
        display: none;
    }

    .header__hamburger {
        width: 50px;
        height: 35px;
        padding: 13px;
    }

    .header__search-input {
        height: 35px;
        padding: 10px 55px 10px 20px;
        border-radius: 10px;
    }
}