header {
    background: var(--color-white);
    position: relative;
    z-index: 1001;
}

header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.headerTop .container {
    display: flex;
    min-height: 88px;
    justify-content: space-between;
    align-items: center;
}

.headerTop__logo img {
    height: 44px;
}

.headerTop__contacts {
    display: flex;
}

.headerTop__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.headerTop__info--phones {
    position: relative;
}

.headerTop__contacts .headerTop__mailBlock,
.headerTop__contacts .headerTop__phoneBlock {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.headerTop__contacts .headerTop__mailBlock {
    height: 88px;
}

.headerTop__contacts .headerTop__mailBlock a,
.headerTop__contacts .headerTop__phoneBlock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
}

.headerTop__contacts .headerTop__mailBlock a span:last-child {
    font-size: 10px;
}

.headerTop__contacts .headerTop__mailBlock {
    margin-right: 20px;
}

.headerTop__contacts .headerTop__mailBlock svg,
.headerTop__contacts .headerTop__phoneBlock svg {
    margin: 0 0 0 3px;
    transition: transform 0.3s linear;
}

.headerTop__contacts .headerTop__mailBlock svg {
    margin: 10px 0 0 3px;
}

.headerTop__contacts .headerTop__mailBlock:hover svg,
.headerTop__contacts .headerTop__phoneBlock:hover svg {
    cursor: pointer;
    transform: rotate(180deg);
}

.headerTop__contacts .headerTop__mailBlock svg {
    display: none;
}

.headerTop__worktime {
    color: var(--color-primary);
    font-family: "Exo 2";
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 3px;
}

.headerTop__contacts a {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    margin-right: 3px;
}

.headerTop__mailPopup,
.headerTop__phonePopup {
    position: absolute;
    right: 0;
    top: 88px;
    z-index: 1002;
    display: none;
    border-radius: 0 0 3px 3px;
    border: 1px solid #D5D9E8;
    background: var(--color-white);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 23px 15px 15px;
}

.headerTop__mailBlock:hover .headerTop__mailPopup,
.headerTop__phoneBlock:hover .headerTop__phonePopup {
    display: flex;
    transition-delay: 0.5s;
}

.headerTop__info--phones:hover .headerTop__phonePopup {
    display: flex;
}

.headerTop__info--phones:hover .headerTop__phoneBlock svg {
    transform: rotate(180deg);
}

.headerTop__phonePopup {
    top: calc(100% + 6px);
    right: 0;
}

.headerTop__mailPopup ul,
.headerTop__phonePopup ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.headerTop__mailPopup ul li,
.headerTop__phonePopup ul li {
    margin-bottom: 20px;
}

.headerTop__mailPopup ul li:last-child,
.headerTop__phonePopup ul li:last-child {
    margin-bottom: 0;
}

.headerTop__mailPopup ul li a,
.headerTop__phonePopup ul li a {
    display: block;
    text-align: center;
    color: #29292B;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
}

.headerTop__mailPopup ul li a:hover,
.headerTop__phonePopup ul li a:hover {
    color: var(--color-primary);
}

.headerTop__mailPopup ul li a.button,
.headerTop__phonePopup ul li a.button {
    display: flex;
}

.headerTop__mailPopup ul li a.button:hover,
.headerTop__phonePopup ul li a.button:hover {
    background: rgb(60, 77, 147);
    color: var(--color-white);
}

.headerTop__contacts .headerTop__phonePopup ul li a:not(.button) {
    align-items: start;
}

.headerTop__phonePopup li span {
    font-size: 10px;
}

.headerBottom {
    position: absolute;
    backdrop-filter: blur(3px);
    background: rgba(213, 217, 232, 0.8);
    min-height: 54px;
    top: 88px;
    width: 100%;
    z-index: 1001;
}

.headerBottom .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.headerBottom .headerBottom__rightSide {
    display: flex;
    flex-grow: 1;
    justify-content: end;
}

.headerBottom__actions {
    display: flex;
    align-items: center;
    position: relative;
}

.headerBottom__actions .headerBottom__favorite,
.headerBottom__actions .headerBottom__compare,
.headerBottom__actions .headerBottom__personal,
.headerBottom__actions .headerBottom__cart {
    position: relative;
    margin: 0 10px;
    height: 100%;
    display: flex;
    align-items: center;
}

.headerBottom__favorite .headerBottom__favoriteCount,
.headerBottom__compare .headerBottom__compareCount,
.headerBottom__cart .headerBottom__cartCount {
    display: none;
    position: absolute;
    bottom: -4px;
    right: -2px;
    background: var(--color-red);
    color: var(--color-white);
    border-radius: 50%;
    width: 10px;
    height: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 8px;
    font-weight: 500;
    line-height: normal;
}

.headerBottom__actions .headerBottom__cart {
    margin: 0 0 0 10px;
}

.headerBottom__actions .headerBottom__favoriteIcon,
.headerBottom__actions .headerBottom__compareIcon,
.headerBottom__actions .headerBottom__personalIcon,
.headerBottom__actions .headerBottom__cartIcon {
    position: relative;
}

.headerBottom__actions .headerBottom__favorite:hover,
.headerBottom__actions .headerBottom__compare:hover,
.headerBottom__actions .headerBottom__personal:hover,
.headerBottom__actions .headerBottom__cartIcon:hover {
    cursor: pointer;
}

.headerBottom__actions .headerBottom__actionsTitle {
    background: var(--color-white);
    position: absolute;
    padding: 16px 19px;
    color: rgb(127, 127, 127);
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    top: 200%;
    left: calc(50% - 40px);
    display: none;
    text-align: center;
}

.headerBottom__actions .headerBottom__favorite:hover .headerBottom__actionsTitle,
.headerBottom__actions .headerBottom__compare:hover .headerBottom__actionsTitle,
.headerBottom__actions .headerBottom__personal:hover .headerBottom__actionsTitle,
.headerBottom__actions .headerBottom__cart:hover .headerBottom__actionsTitle {
    display: block;
}

.headerBottom__actions .headerBottom__personal .headerBottom__personalBlock {
    display: none;
    flex-direction: column;
    background: var(--color-white);
    padding: 16px 20px;
    border-radius: 0 0 3px 3px;
    border: 0.5px solid #D5D9E8;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    text-align: center;
}

.headerBottom__personalBlock .button {
    margin-bottom: 17px;
    max-width: 126px;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

.headerBottom__personalBlock .headerBottom__personalBlockText {
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 500;
    line-height: normal;
}

.headerBottom__actions .headerBottom__personal[data-open="true"] .headerBottom__personalBlock {
    display: flex;
}

[data-open="true"] .bx-basket.headerBottom__cartBlock .bx-basket-item-list-container {
    display: flex;
}

.headerBottom__cart[data-open="true"]:hover .headerBottom__actionsTitle {
    display: none;
}

.notifications {
    position: fixed;
    top: 70px;
    right: 0;
    z-index: 1050;
    width: 100%; /* Ширина контейнера */
    max-width: 550px;
}

.notifications__item {
    display: none; /* Скрыто по умолчанию */
    margin-bottom: 10px;
    border-radius: 5px;
    padding: 30px 40px;
    color: #EBFFFF;
    font-family: "Exo 2";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.notifications__item--success {
    background-color: #30AF70;
}

.notifications__item--warning {
    background-color: #ffc107;
}

.notifications__item--error {
    background-color: #dc3545;
}

@media (max-width: 1599px) {

}

@media (max-width: 1399px) {

}

@media (max-width: 1199px) {
    .headerTop__contacts .headerTop__mailBlock a,
    .headerTop__contacts .headerTop__phoneBlock a {
        margin: 0;
    }

    .headerTop__contacts .headerTop__mailBlock svg, .headerTop__contacts .headerTop__phoneBlock svg {
        margin: 0 0 0 3px;
    }
}

@media (max-width: 991px) {
    .headerTop__contacts {
        margin: auto 0 auto auto;
        gap: 20px;
    }

    .headerTop__contacts .headerTop__mailBlock, .headerTop__contacts .headerTop__phoneBlock {
        position: relative;
        margin: auto;
    }

    .headerTop__contacts .headerTop__mailBlock {
        height: 45px;
    }

    .headerTop__mailPopup, .headerTop__phonePopup {
        top: 100%;
        right: unset;
    }

    .mainAdvantages .mainAdvantages__watch {
        left: 70%;
    }

    .mainAdvantages .mainAdvantages__video {
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .headerTop .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
      "logo phone"
      "mail1 mail2";
        align-items: center;
        gap: 10px 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    /* чтобы контакты не ломали grid — “раскрываем” детей в сетку */
    .headerTop__contacts {
        display: contents;
    }

    .headerTop__logo {
        grid-area: logo;
        justify-self: start;
        margin: auto;
    }

    .headerTop__info--phones {
        grid-area: phone;
        justify-self: end;
        text-align: center;
        margin: auto;
    }

    .headerTop__mailBlock--sales {
        grid-area: mail1;
        justify-self: start;
        text-align: left;
        margin: 0;
        height: auto;
    }

    .headerTop__mailBlock--service {
        grid-area: mail2;
        justify-self: end;
        text-align: right;
        margin: 0;
        height: auto;
    }

    /* меню на мобилке обычно либо скрывают, либо уводят ниже.
       Если нужно скрыть — включи: */
    .headerTop__menu {
        display: none;
    }

    /* подчищаем ваши моб-правки, которые мешают сетке */
    .headerTop__contacts {
        margin: 0;
        gap: 0;
        width: auto;
    }

    .headerTop__contacts .headerTop__mailBlock,
    .headerTop__contacts .headerTop__phoneBlock {
        justify-content: flex-start; /* будет норм, но углы задаём justify-self выше */
        gap: 8px;
    }

    .headerTop__contacts a {
        margin-right: 0;
    }

    .headerTop__contacts .headerTop__mailBlock a,
    .headerTop__contacts .headerTop__phoneBlock a {
        align-items: flex-start;
    }

    .headerTop__mailBlock--service a,
    .headerTop__info--phones a {
        align-items: flex-end;
    }
}

@media (max-width: 767px) {
    .headerTop__phoneBlock a {
        font-size: 14px;
        font-weight: 600;
    }

    .headerTop__worktime {
        font-size: 10px;
        opacity: .65;
        margin-bottom: 2px;
    }

    .headerTop__mailBlock a {
        font-size: 13px;
        font-weight: 500;
    }

    .headerTop__mailBlock a span:last-child {
        font-size: 10px;
        opacity: .7;
    }
}

@media (max-width: 575px) {

}

@media (max-width: 344px) {
    .headerTop__logo img {
        height: 36px;
    }
}