.header-secondary {
    padding: 20px 0;
    background-color: #FFFFFF;
}

.header-secondary__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

@media screen and (max-width: 767.98px) {
    .header-secondary__inner {
        gap: 20px;
    }
}

.header-secondary__logo {
    display: block;
    width: 140px;
    height: 28px;
}

.header-secondary__logo img {
    display: block;
    width: 100%;
}

@media screen and (max-width: 1023.98px) {
    .header-secondary__logo {
        width: 200px;
        height: 40px;
    }
}

@media screen and (max-width: 767.98px) {
    .header-secondary__logo {
        width: 152px;
        height: 30px;
    }
}

@media screen and (max-width: 1023.98px) {
    .header-secondary__nav {
        display: none;
    }
}

.header-secondary__nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-secondary__nav-link {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    color: #253747;
    text-decoration: none;
    transition: color 0.25s ease-in-out;
    border-bottom: 1px solid transparent;
}

@media (any-hover: hover) {
    .header-secondary__nav-link:hover {
        color: #114771;
        border-color: currentColor;
    }
}

.header__dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 23px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    border: 1px solid #EBF0F9;
    background-color: #EBF0F9;
    color: #253747;
    border-radius: 8px;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out, border-color 0.25s ease-in-out;
    overflow: hidden;
    position: relative;
}

.header__dropdown-trigger svg:nth-child(1) {
    position: static;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.header__dropdown-trigger svg:nth-child(2) {
    position: absolute;
    opacity: 0;
    transition: opacity 0s;
}

.header__dropdown-trigger.is-active svg:nth-child(1) {
    position: absolute;
    opacity: 0;
    transition: opacity 0s;
}

.header__dropdown-trigger.is-active svg:nth-child(2) {
    position: static;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.header-secondary__panel {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media screen and (max-width: 1279.98px) {
    .header-secondary__panel {
        gap: 10px;
    }
}

@media screen and (max-width: 1023.98px) {
    .header-secondary__panel {
        margin-left: auto;
    }
}

.header-secondary__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px;
    border: 1px solid #EBF0F9;
    border-radius: 8px;
}

@media screen and (max-width: 1279.98px) {
    .header-secondary__contacts {
        padding: 0;
        border: none;
        gap: 10px;
    }
}

@media screen and (max-width: 767.98px) {
    .header-secondary__contacts {
        display: none;
    }
}

.header-secondary__contacts-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 1.4;
    color: #253747;
    text-decoration: none;
    transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out;
}

.header-secondary__contacts-item span {
    display: block;
    border-bottom: 1px solid transparent;
}

@media screen and (max-width: 1279.98px) {
    .header-secondary__contacts-item {
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #EBF0F9;
        border-radius: 8px;
    }

    .header-secondary__contacts-item span {
        display: none;
    }
}

@media (any-hover: hover) {
    .header-secondary__contacts-item:hover {
        color: #114771;
    }

    .header-secondary__contacts-item:hover span {
        border-color: currentColor;
    }
}

.header-secondary__contacts-item svg {
    color: #5C7285;
}

.header-secondary__basket {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: #114771;
    color: #FFFFFF !important;
    border-radius: 8px;
    transition: background-color 0.25s ease-in-out;
}

@media (any-hover: hover) {
    .header-secondary__basket:hover {
        background-color: #D10C03;
    }
}

.header-secondary__basket .badge {
    position: absolute;
    top: -4px;
    right: -4px;
}

.header-secondary__burger {
    display: none;
}

@media screen and (max-width: 1023.98px) {
    .header-secondary__burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    .header-secondary__burger .icon-close {
        display: none;
    }

    .header-secondary__burger.is-active .icon-close {
        display: block;
    }

    .header-secondary__burger.is-active .icon-burger {
        display: none;
    }
}

.header-dropdown {
    --grid-gap: 20px;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    padding: 20px 0;
    border: 1px solid #dbe1f0;
    border-radius: 0 0 20px 20px;
    background-color: #ffffff;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1001;
}

@media screen and (max-width: 1023.98px) {
    .header-dropdown {
        display: none;
    }
}

.header-dropdown.is-active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.header-dropdown__grid {
    display: grid;
    grid-template-columns: 285px 1fr;
    gap: var(--grid-gap);
}

.header-dropdown__grid__sidebar,
.header-dropdown__grid__main {
    align-self: start;
}

.header-dropdown__grid__main {
    position: relative;
    overflow: hidden;
}

.header-dropdown__content {
    pointer-events: none;
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: var(--grid-gap);
}

.header-dropdown__content.is-active {
    pointer-events: auto;
    position: static;
    z-index: auto;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.header-dropdown-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header-dropdown-nav__item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #5c7285 !important;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 11px 16px;
}

.header-dropdown-nav__item:hover,
.header-dropdown-nav__item:active {
    color: #5c7285 !important;
}

.header-dropdown-nav__item.is-active {
    color: #253747 !important;
    border-color: #ebf0f9;
    background-color: #f3f7fc;
}

.header-dropdown-menu {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, calc((100% - var(--grid-gap) * 2) / 3));
    gap: var(--grid-gap);
    padding: 20px;
    border-radius: 20px;
    background-color: #f3f7fc;
}

@media screen and (max-width: 1279.98px) {
    .header-dropdown-menu {
        grid-template-columns: 100%;
    }
}

.header-dropdown-menu__block {
    align-self: start;
}

@media screen and (max-width: 1279.98px) {
    .header-dropdown-menu__block:not(:last-child) {
        padding-bottom: var(--grid-gap);
        border-bottom: 1px solid #ebf0f9;
    }
}

.header-dropdown-menu__block__title:not(:last-child),
.header-dropdown-menu__block__list:not(:last-child),
.header-dropdown-menu__block__actions:not(:last-child) {
    margin-bottom: 16px;
}

.header-dropdown-menu__block__title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #253747;
}

.header-dropdown-menu__block__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.header-dropdown-menu__block__link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #5c7285 !important;
}

.header-dropdown-menu__block__link.is-hidden-item {
    display: none;
}

.header-dropdown-menu__block__link.is-hidden-item--visible {
    display: inline-flex;
}

.header-dropdown-menu__block__link:hover,
.header-dropdown-menu__block__link:active {
    color: #114771 !important;
}

.header-dropdown-menu__block__more {
    outline: none !important;
    border: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #114771;
}

.header-dropdown-callback {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    background-color: #f3f7fc;
}

@media screen and (max-width: 1279.98px) {
    .header-dropdown-callback {
        grid-template-columns: 100%;
        grid-template-rows: none;
    }
}

.header-dropdown-callback__actions {
    grid-column-start: 2;
    grid-row: 1 / -1;
}

@media screen and (max-width: 1279.98px) {
    .header-dropdown-callback__actions {
        grid-column-start: auto;
        grid-row: auto;
    }
}

.header-dropdown-callback__title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #253747;
}

.header-dropdown-callback__text {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #5c7285;
}

.menu-secondary {
    position: fixed;
    inset: 86px 0 0 0;
    height: calc(100svh - 86px);
    z-index: 99;
    background-color: #FFFFFF;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.menu-secondary.is-open {
    transform: translateX(0);
}

.menu-secondary__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
}

@media screen and (max-width: 767.98px) {
    .menu-secondary__inner {
        padding: 40px 20px 40px 20px;
    }
}

.menu-secondary__nav {
    width: 100%;
}

.menu-secondary__nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-secondary__nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 19px;
    border-bottom: 1px solid #E7E7E7;
}

.menu-secondary__nav-item--button {
    border-radius: 8px;
    padding: 9px 20px;
    background: #ebf0f9;
    border-bottom: none;
    overflow: hidden;
}

.menu-secondary__nav-link {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    color: #253747;
    text-decoration: none;
}

.menu-secondary__nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.menu-secondary__nav svg {
    display: block;
    width: 20px;
    height: 20px;
}

.menu-secondary__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.menu-secondary__contacts-item {
    padding: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    border: 1px solid #EBF0F9;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    color: #253747;
}

@media screen and (max-width: 767.98px) {
    .menu-secondary__contacts-item {
        font-size: 14px;
    }
}

.menu-secondary__section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    padding: 24px 40px 40px 40px;
    background-color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

@media screen and (max-width: 767.98px) {
    .menu-secondary__section {
        padding: 40px 20px;
    }
}

.menu-secondary__section.is-open {
    transform: translateX(0);
}

.menu-secondary__section-back {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 32px;
}

.menu-secondary__section-back-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #EBF0F9;
    border-radius: 6px;
}

.menu-secondary__section-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-secondary__section-content:not(:last-child) {
    margin-bottom: 20px;
}

.menu-secondary__dropdown {
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid #ebf0f9;
}

.menu-secondary__dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #5c7285 !important;
    overflow: hidden;
}

.menu-secondary__dropdown-head.is-active {
    color: #253747 !important;
}

.menu-secondary__dropdown-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #114771 !important;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.menu-secondary__dropdown-head.is-active .menu-secondary__dropdown-icon {
    transform: scale(-1);
}

.menu-secondary__dropdown-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.menu-secondary__dropdown-body {
    display: none;
}

.menu-secondary__dropdown-block {
    border-radius: 16px;
    padding: 20px;
    background-color: #f3f7fc;
    margin: 20px 0 4px;
}

.menu-secondary__dropdown-list:not(:last-child) {
    padding-bottom: 16px;
    border-bottom: 1px solid #ebf0f9;
    margin-bottom: 16px;
}

.menu-secondary__dropdown-list__title:not(:last-child),
.menu-secondary__dropdown-list__body:not(:last-child),
.menu-secondary__dropdown-list__actions:not(:last-child) {
    margin-bottom: 10px;
}

.menu-secondary__dropdown-list__title {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #253747;
}

.menu-secondary__dropdown-list__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.menu-secondary__dropdown-list__item.is-hidden-item {
    display: none;
}

.menu-secondary__dropdown-list__item.is-hidden-item--visible {
    display: block;
}

.menu-secondary__dropdown-list__link {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #5c7285 !important;
    text-decoration: none;
}

.menu-secondary__dropdown-list__more {
    outline: none !important;
    border: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #114771;
}

.menu-secondary__section-help:not(:last-child) {
    margin-bottom: 20px;
}

.menu-secondary__section-help__title {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #253747;
}

.menu-secondary__section-help__title:not(:last-child) {
    margin-bottom: 16px;
}

.menu-secondary__section-help__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.menu-secondary__section-help__link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #5c7285 !important;
}

.menu-secondary__section-callback {
    border-radius: 16px;
    padding: 16px;
    background-color: #f3f7fc;
}

.menu-secondary__section-callback__title {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #253747;
}

.menu-secondary__section-callback__text {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.4;
    color: #5c7285;
}

.menu-secondary__section-callback__text:not(:first-child) {
    margin-top: 8px;
}

.menu-secondary__section-callback__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.menu-secondary__section-callback__actions:not(:first-child) {
    margin-top: 16px;
}

[data-menu-show-more-toggler] svg {
    transition: transform 0.3s ease-in-out;
}

[data-menu-show-more-toggler].is-active svg {
    transform: scale(-1);
}