/* HEADER */
.headers-container {
    position: relative;
    z-index: 2;
}

.header {
    color: #333333;
    color: var(--white_text_black);
    position: relative;
    /* z-index: 100; */
    z-index: 110;
    background-color: #fff;
    background-color: var(--black_bg_black);
}

.header--paddings {
    padding: 32px 32px 0;
}

@media screen and (min-width: 992px) {
    body.header_opacity.front_page .header__inner {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
    }
}

body .pos-static {
    position: static;
}

.hide-dotted:not(.dotted-complete) * {
    opacity: 0;
}

.hide-dotted:not(.dotted-complete) {
    overflow: hidden;
}

.header__top-part {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.header__top-part--long {
    height: 58px;
}

.header__top-part--longer {
    height: 68px;
}

.header__bottom-inner--long {
    height: 63px;
}

.header__inner--paddings {
    padding-left: 24px;
    padding-right: 24px;
    padding-left: var(--theme-page-width-padding);
    padding-right: var(--theme-page-width-padding);
}

.header__top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    width: 100%;
    position: relative;
    gap: calc(var(--step) * 44);
}

.header__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -16px;
    flex: 1;
    width: calc(100% + 32px);
}

.header__bottom-item {
    margin: 0 16px;
}

.header__main-part {
    position: relative;
    z-index: 1;
    height: 70px;
    display: flex;
    align-items: center;
}

.header__main-part--long {
    height: 75px;
}

.header__main-part--short {
    height: 46px;
}

.header__inner {
    padding-top: 6px;
    padding-bottom: 10px;
    background: #E3E2DF;
    box-shadow: 0px 5px 8px 0px rgba(0, 0, 0, 0.15);
}

.header__inner--no-pt {
    padding-top: 0;
}

.header-no-border .header__inner {
    border-bottom: none;
}

.header__main-inner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    gap: 15px;
}

.header__main-item {
    flex-shrink: 0;
}

.dropdown {
    -webkit-box-shadow: 0px 5px 30px rgba(34, 34, 34, 0.1);
    box-shadow: 0px 5px 30px rgba(34, 34, 34, 0.1);
    background: #fff;
    background-color: var(--card_bg_black);
    border-radius: 8px;
    border-radius: var(--border-radius);
    position: absolute;
    top: 100%;
    left: 0;
}

.dropdown--relative {
    position: relative;
}

.dropdown--no-shadow {
    box-shadow: none;
}

.dropdown.dropdown--transparent {
    background: transparent;
}

.logo {
    max-width: calc(var(--step) * 234);
    height: 56px;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo img,
.logo svg {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.phones {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: calc(var(--step) * 44);
}

.phones__inner {
    display: flex;
    align-items: center;
    position: relative;
    gap: 4px;
}

.phones__icon {
    display: none;
    margin-right: 11px;
    margin-top: 1px;
}

.phones--with_icon .phones__icon {
    display: block;
}

.phones__phone-link {
    color: #373435;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
}

.phones__dropdown {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    position: absolute;
    top: -20px;
    left: -16px;
    z-index: 2;
}

.icon-block--with_icon .phones__dropdown {
    left: 0;
}


.phones__callback {
    font-size: 1em;
    line-height: calc(1em + 4px);
    border-radius: 8px;
    background: var(--theme-base-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 16px;
    color: #FFF;
    font-style: normal;
    font-weight: 500;
    height: 40px;
    margin-left: calc(var(--step) * 32);
    white-space: nowrap;
}

.phones__callback span {
    white-space: nowrap;
}

.phones__phone-descript {
    display: block;
    font-weight: normal;
}

.phones__dropdown-item {
    padding: 5px 0 7px;
}

.phones__dropdown-item:last-child {
    padding-bottom: 0;
}

.dropdown__item--last + .phones__dropdown-item {
    margin: 0px;
    padding-top: 12px;
    padding-bottom: 5px;
}

.phones__dropdown-title {
    font-size: 12px;
    line-height: calc(1em + 4px);
    color: #999;
}

.phones__dropdown-value {
    margin-top: 5px;
    font-size: 0.9375em;
    line-height: calc(1em + 3px);
}

/*end phones*/

.active > .dark_link {
    color: var(--fill_dark_lite_hover);
}

/*start cabinet*/
.header-cabinet {
    position: relative;
    margin-left: calc(var(--step) * 38);
    border-radius: 8px;
    border: 1px solid #373435;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 calc(var(--step) * 16);
}

.header-cabinet__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #373435;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/*end cabinet*/

.slogan__text {
    max-width: 250px;
}


.header-cart__inner {
    position: relative;
    margin-right: 4px;
    display: block;
    line-height: 0;
}

.header-cart__inner--empty {
    margin-right: 0px;
}

.header-cart__count,
.icon-count {
    position: absolute;
    top: 0px;
    right: 0px;
    transform: translate(57%, -31%);
    color: #fff;
    font-size: 12px;
    border-radius: 17px;
    text-align: center;
    line-height: 17px;
    min-width: 17px;
    padding: 0 4px;
    background-color: #49b822;
    white-space: nowrap;
    z-index: 2;
}

.header-cart__inner--empty .header-cart__count,
.icon-count {
    display: none;
}

.icon-block-with-counter {
    position: relative;
    display: block;
}

.icon-block-with-counter--count .icon-count {
    display: block;
}

.hide-basket-message .header-cart__name {
    display: none;
}

.header-cart {
    position: relative;
}

.basket-dropdown {
    display: none;
}

.more-arrow {
    display: flex;
    margin-left: 8px;
}

.header-search {
    cursor: pointer;
    line-height: 0;
}

.light-opacity-hover {
    opacity: 1;
    transition: opacity 0.1s ease-in-out;
}

.header__icon-name--right {
    padding-top: 2px;
    margin-left: 10px;
}

.header__icon {
    height: 20px;
    display: flex;
    align-items: flex-end;
    align-items: end;
}

.menu-dots-visible .header-menu__wrapper {
    justify-content: space-between;
}

/* .header__bottom-menu .header-menu__title{
  font-size: 1rem;
} */
.header__top-sections {
    /* padding: 10px 0; */
    min-width: 0px;
}

.header__top-sections-inner {
    padding: 10px 0;
}

.header__search--limited {
    width: 40%;
}

/*hide page scroll*/
.header-menu {
    flex: 1 1 auto;
}

.header__main-double {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header__main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-favorite, .basket.top {
    border-radius: 8px;
    border: 1px solid #E197A4;
    background: #FFF;
    margin-left: calc(var(--step) * 32);
}

.header-icon {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #373435;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    height: 40px;
    padding: 0 calc(var(--step) * 16);
}

@media screen and (min-width: 1200px) {
    .header-logo-2 {
        display: none;
    }
}

@media screen and (max-width: 1300px) {
    .header-cabinet__name {
        display: none;
    }
}

@media screen and (max-width: 1199px) {
    .header-logo-main {
        display: none;
    }

    .header-logo-2 {
        margin-right: calc(var(--step) * 40);
    }

    .header-logo-2 .logo {
        max-width: calc(var(--step) * 334);
    }

    .header-top-menu__wrapper {
        overflow-x: auto;
        gap: 10px;
    }

    .header-top-menu__wrapper::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

    .header-top-menu__wrapper::-webkit-scrollbar-track {
        border-radius: 5px;
    }

    .header-top-menu__wrapper::-webkit-scrollbar-thumb {
        border-radius: 5px;
        background: #ccc;
        background: var(--gray_bg_black);
        border: 1px solid #fff;
        border-color: var(--black_bg_black);
    }
}

@media screen and (max-width: 991px) {
    .header-logo-main {
        display: block;
    }

    .header-logo-2 {
        display: none;
    }

    .header__main-row:last-child {
        gap: 12px;
    }

    .header__main-row > .line-block__item {
        flex: 1 1 auto;
    }

    .header__main-row > .header__main-item {
        flex: 1 1 auto;
    }

    .header-favorite, .basket.top {
        margin-left: 0;
    }

    .header-icon {
        justify-content: center;
    }

    header .phones__callback {
        flex: 1 1 auto;
    }

    .header__top-inner {
        gap: calc(var(--step) * 50);
    }

    .header__main-item {
        flex-shrink: unset;
    }

    .logo {
        max-width: 200px;
    }
}

@media screen and (max-width: 767px) {
    .header__main-row:last-child, .line-block__item:has(.header-cabinet) {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    header .phones__callback {
        display: none;
    }
    .phones {
        justify-content: end;
    }
}

@media screen and (max-width: 480px) {
    .header__inner {
            background: #fff;
    }
}