.webfus-header__main {
    padding: 25px 0;
}

.webfus-header__main .maxwidth-theme {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}

.webfus-header__main .maxwidth-theme:before,
.webfus-header__main .maxwidth-theme:after {
    display: none;
}

.webfus-header__main_left {
    display: flex;
    align-items: center;
    gap: 40px;
    min-width: 0;
}

.webfus-header__logo {
    width: 190px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.webfus-header__logo_link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
}

.webfus-header__logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.webfus-header__nav {
    flex: 1;
    min-width: 0;
}

.webfus-header__nav .menu {
    display: flex;
    align-items: center;
    margin: 0;
    min-width: 0;
    flex-wrap: nowrap;
    width: 100%;
}

.webfus-header__nav .menu li {
    font-weight: 400;
    font-size: 15px;
    margin-right: 20px;
}

.webfus-header__nav .menu li:last-child {
    margin-right: 0;
}

.webfus-header__nav .menu li.menu--fix {
    display: none;
}

.webfus-header__nav .menu li a {
    color: #222;
    white-space: nowrap;
    transition: color 0.3s ease-out;
}

.webfus-header__nav .menu li.more {
    position: relative;
    padding: 1px 0 1px;
    width: 20px;
    cursor: pointer;
    z-index: 999;
}

.webfus-header__nav .menu li.more>span {
    display: block;
    font-weight: bold;
    line-height: 15px;
    letter-spacing: 1.5px;
    color: #777777;
}

.webfus-header__nav .menu li.more .dropdown {
    margin: 0;
    padding: 0;
    left: -17px;
    width: 191px;
    margin: 0;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    position: absolute;
    opacity: 0;
    visibility: hidden;
    top: 100%;
    z-index: 999;
    border-radius: 12px;
}

.webfus-header__nav .menu li.more:hover>.dropdown,
.webfus-header__nav .menu li.more.hover>.dropdown {
    opacity: 1;
    visibility: visible;
    background: #fff;
}

.webfus-header__nav .menu li.more.hover {
    background: none;
}

.webfus-header__nav .menu li.more .dropdown>li {
    margin: 0;
    padding: 0;
    font-size: 13px;
    line-height: 14px;
    border-top: 1px solid #f2f2f2;
    text-align: left;
    width: 100%;
}

.webfus-header__nav .menu li.more .dropdown>li:before {
    display: none;
}

.webfus-header__nav .menu li.more .dropdown>li:first-child {
    border-top: none;
}

.webfus-header__nav .menu li.more .dropdown>li>a {
    line-height: 14px;
    padding: 12px 20px 15px;
    display: flex;
    transition: background-color 0.3s ease-out;
}

.webfus-header__main_right {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

.webfus-header__phone {
    font-weight: 600;
    font-size: 16px;
}

.webfus-phone__link {
    font-weight: 600;
    font-size: 16px;
    color: #222222;
    white-space: nowrap;
    transition: color 0.3s ease-out;
}

.webfus-header__address {
    font-weight: 400;
    font-size: 13px;
    line-height: 138%;
    max-width: 190px;
    flex-shrink: 0;
    color: #222222;
}

.webfus-header__region .region_wrapper {
    max-width: none;
    padding: 0;
}

.webfus-header__region .region_wrapper:before {
    display: none;
}

.webfus-header__region .region_wrapper .js_city_chooser {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
}

.webfus-header__region .icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.webfus-header__region .icon svg {
    width: 100%;
    height: 100%;
    fill: #222;
    transition: fill 0.3s ease-out;
}

.webfus-header__region .title {
    font-weight: 700;
    font-size: 13px;
    line-height: 138%;
    color: #9a0202;
    transition: color 0.3s ease-out;
}

.webfus-header__region .region_wrapper .arrow {
    position: relative;
    bottom: auto;
    width: 13px;
    height: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webfus-header__region .region_wrapper .arrow svg {
    width: 100%;
    height: 100%;
    fill: #9a0202;
    transition: fill 0.3s ease-out;
}

.webfus-header__bottom .maxwidth-theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.webfus-header__bottom .maxwidth-theme:before,
.webfus-header__bottom .maxwidth-theme:after {
    display: none;
}

.webfus-header__catalog {
    position: relative;
}

.catalog_block__content {
    display: none;
    gap: 53px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}

.catalog_block__content:before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 100%;
    height: 11px;
    background-color: transparent;
}

.catalog_block__aside {
    width: 267px;
    flex-shrink: 0;
    background: #f3f3f3;
    padding: 10px;
    border-radius: 12px;
    overflow: hidden;
}

.catalog_block__content:has(.catalog_block__section--active) .catalog_block__aside {
    border-radius: 12px 0 0 12px;
}

.catalog_block__item-link {
    padding: 18px 43px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    display: flex;
    border-radius: 12px;
    color: #222;
    transition: all 0.3s ease-out;
}

.catalog_block__body:not(:has(.catalog_block__section--active)) {
    display: none;
}

.catalog_block__section {
    display: none;
}

.catalog_block__section--active {
    padding: 28px 53px 28px 0;
    width: max-content;
    display: block;
}

.catalog_block__section:has(.catalog_block__subsection:nth-child(5)) {
    column-count: 2;
    column-gap: 53px;
}

.catalog_block__subsection {
    margin-bottom: 28px;
    break-inside: avoid;
}

.catalog_block__subsection:last-child {
    margin-bottom: 0;
}

.catalog_block__subsection-item {
    margin-bottom: 2px;
    list-style: none;
    padding: 0;
}

.catalog_block__subsection-item:last-child {
    margin-bottom: 0;
}

.catalog_block__subsection-item:before{
    display: none;
}

.catalog_block__subsection-link {
    padding: 0;
    font-size: 14px;
    line-height: 1.2;
    color: #222;
    transition: color 0.3s ease-out;
}

.catalog_block__head {
    background-color: #9a0202;
    border-radius: 12px;
    transition: background-color 0.3s ease-out;
}

.catalog_block__link {
    padding: 18px 53px;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.webfus-header__icons {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.webfus-header__icon .js-basket-block,
.webfus-header__icon .personal-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 5px;
}

.webfus-header__icon .icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.webfus-header__icon .icon svg {
    width: 100%;
    height: 100%;
}

.webfus-header__icon .icon svg path {
    transition: fill 0.3s ease-out;
}

.webfus-header__icon--phone {
    display: none;
}

.webfus-header__icon--favor .basket-link:not(.basket-count) .icon svg,
.webfus-header__icon--compare .basket-link:not(.basket-count) .icon svg,
.webfus-header__icon--cart .basket-link:not(.basket-count) .icon svg {
    opacity: 0.5;
}

.webfus-header__icon .title {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.2;
    color: #222222;
    white-space: nowrap;
    transition: color 0.3s ease-out;
}

.webfus-header__icon .count {
    position: absolute;
    top: -7px;
    left: 16px;
    box-shadow: 0 0 0 2px #fff;
}

.webfus-header__search {
    flex-grow: 1;
}

.webfus-header__search .search {
    display: flex;
    border-radius: 12px;
    height: 60px;
    overflow: hidden;
    background: #fff;
    transition: background-color 0.3s ease-out;
}

.webfus-header__search .search .search-input-div {
    height: 100%;
}

.webfus-header__search .search .search-input {
    background: transparent;
    height: 100%;
    font-size: 15px;
    line-height: 1;
    padding: 0 20px;
    text-overflow: ellipsis;
    border: 1px solid #cfcece;
    border-right: 0;
    border-radius: 12px 0 0 12px;
    transition: all 0.3s ease-out;
}

.webfus-header__search .search .search-button-div {
    position: relative;
    background: #9a0202;
    width: 90px;
    flex-shrink: 0;
    transition: background-color 0.3s ease-out;
}

.webfus-header__search .search .btn-search {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body:has(.webfus-header) .title-search-result {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.webfus-header__icon--cart {
    position: relative;
}

body:has(.webfus-header) .popup_regions .h-search {
    display: none;
}

body:has(.webfus-header) .popup_regions .items.only_city {
    padding-bottom: 34px;
}

body:has(.webfus-header) .basket_hover_block {
    border-radius: 12px;
    top: calc(100% + 5px);
    z-index: 4;
}

body:has(.webfus-header) .basket_hover_block:before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 100%;
    height: 11px;
    background-color: transparent;
}

.webfus-header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 4;
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .136);
    padding: 7px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.webfus-header--active {
    transform: translateY(0);
}

.webfus-header--fixed .webfus-header__main_right,
.webfus-header--fixed .webfus-header__catalog,
.webfus-header--fixed .webfus-header__search,
.webfus-header--fixed .webfus-header__icon .title {
    display: none;
}

.webfus-header--fixed .webfus-header__main {
    padding: 0;
    flex-grow: 1;
}

.webfus-header--fixed .webfus-header__main .maxwidth-theme,
.webfus-header--fixed .webfus-header__bottom .maxwidth-theme {
    padding: 0;
}

.webfus-header--fixed .webfus-header__inner {
    max-width: 1470px;
    padding: 0 30px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.webfus-header--fixed .webfus-header__icons {
    gap: 50px;
}

.webfus-header--fixed .webfus-header__nav .menu {
    justify-content: space-evenly;
}

.webfus-header--fixed .webfus-header__nav .menu li.menu--fix {
    display: block;
}

.webfus-header--fixed .webfus-header__nav .menu li {
    margin-right: 30px;
}

.webfus-header--fixed .webfus-header__nav .menu li:last-child {
    margin-right: 0;
}

.webfus-header--fixed .webfus-header__nav .menu li a {
    font-weight: bold;
}

.webfus-header__burger {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .webfus-phone__link:hover {
        color: #810101;
    }

    .webfus-header__region .region_wrapper .js_city_chooser:hover .title {
        color: #222;
    }

    .webfus-header__region .region_wrapper .js_city_chooser:hover .arrow svg {
        fill: #222;
    }

    .webfus-header__region .region_wrapper .js_city_chooser:hover .icon svg {
        fill: #9a0202;
    }

    .webfus-header__nav .menu li a:hover {
        color: #810101;
    }

    .webfus-header__catalog:hover .catalog_block__content {
        display: flex;
        z-index: 4;
    }

    .catalog_block__head:hover {
        background-color: #b80202;
    }

    .catalog_block__head:hover .catalog_block__link {
        color: #fff;
    }

    .catalog_block__item-link:hover {
        background-color: #9a0202;
        color: #fff;
    }

    .catalog_block__subsection-link:hover {
        color: #9a0202;
    }

    .webfus-header__search .search:has(.search-input:focus) {
       background-color: #fffbfb;
    }

    .webfus-header__search .search .search-input:focus {
        border-color: #9a0202;
    }

    .webfus-header__search .search .search-button-div:hover {
        background-color: #b80202;
    }

    .webfus-header__icon:hover .title {
        color: #9a0202;
    }

    .webfus-header__icon:hover .icon svg path {
        fill: #9a0202;
    }

    .webfus-header__nav .menu li.more .dropdown>li>a:hover {
        background: #fbfbfb;
    }
}

@media (max-width: 1199px) {
    .webfus-header {
        border-bottom: 1px solid #f5f5f5;
        background: #fff;
        padding: 5px 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100dvw;
        z-index: 2999;
    }

    .webfus-header__burger {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .webfus-header__burger .burger {
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .webfus-header__main_right,
    .webfus-header__catalog,
    .webfus-header__search,
    .webfus-header__icon .title,
    .webfus-header__nav,
    body:has(.webfus-header) .basket_hover_block {
        display: none;
    }

    .webfus-header__main {
        padding: 0;
        flex-grow: 1;
    }

    .webfus-header__main .maxwidth-theme,
    .webfus-header__bottom .maxwidth-theme {
        padding: 0;
    }

    .webfus-header__inner {
        max-width: 1470px;
        padding: 0 30px;
        margin: 0 auto;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .webfus-header__main_left {
        gap: 10px;
    }

    .webfus-header__logo {
        width: 156px;
    }

    .webfus-header__icon--phone {
        display: block;
    }

    .webfus-header__icon--phone .title.phone-block__item {
        display: block;
    }

    .webfus-header__icon--phone .phone-block--mobile {
        height: calc(100dvh - 61px);
        top: 61px;
    }

    .webfus-mobilemenu .menu.middle a .svg-orders {
        width: 17px;
        min-width: 17px;
        height: 17px;
        min-height: 17px;
        left: 20px;
        top: 23px;
        opacity: 1;
    }

    .webfus-mobilemenu .menu.middle a .svg-phone {
        background: none;
        width: 18px;
        min-width: 18px;
        height: 18px;
        min-height: 18px;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    .webfus-mobilemenu .mobile_regions .city_item--active {
        color: #9a0202;
        font-weight: 500;
    }
}

@media (max-width: 767px) {
    .webfus-header__inner {
        padding-inline: 15px;
        gap: 20px;
    }

    .webfus-header__main .maxwidth-theme {
        gap: 0;
    }
}

@media (max-width: 599px) {
    .webfus-header__icon--favor,
    .webfus-header__icon--compare,
    .webfus-header__icon--order {
        display: none;
    }

    .webfus-header__icons {
        gap: 16px;
        padding-right: 10px;
    }
}

@media (max-width: 400px) {
    .webfus-header__logo {
        max-width: 112px;
    }
}