﻿.store-header {
    height: 96px;
    background: #ffffff;
    border-bottom: 1px solid #dce6f2;
    position: sticky;
    top: 0;
    z-index: 30;
}

.store-header__inner {
    height: 96px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.store-logo {
    width: 210px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.store-logo__title {
    color: #1260a4;
    font-size: 46px;
    line-height: 42px;
    font-weight: 500;
    letter-spacing: -1px;
}

.store-logo__subtitle {
    color: #008c68;
    font-size: 16px;
    margin-top: 6px;
}

.store-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    flex: 1;
    min-width: 0;
}

.store-nav__link {
    height: 96px;
    display: flex;
    align-items: center;
    color: #10182f;
    font-size: 15px;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.store-nav__link--active {
    color: #174fc4;
    border-bottom-color: #174fc4;
}

.store-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.store-add-menu {
    position: relative;
}

.store-add-btn {
    height: 44px;
    padding: 0 22px;
    border: 1px solid #c9d5ef;
    background: #ffffff;
    border-radius: 24px;
    color: #14368f;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
}

    .store-add-btn span {
        font-size: 19px;
        line-height: 1;
    }

.store-add-menu__list {
    display: none;
    position: absolute;
    right: 0;
    top: 54px;
    width: 230px;
    background: #ffffff;
    border: 1px solid #dce5f2;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(20, 40, 90, 0.14);
    z-index: 50;
}

.store-add-menu__list--open {
    display: block;
}

.store-add-menu__list a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    color: #14213d;
    font-size: 14px;
}

    .store-add-menu__list a:hover {
        background: #f4f7ff;
    }

.store-header-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #53617d;
    font-size: 22px;
}

.store-cabinet-btn {
    height: 42px;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    color: #10182f;
    font-weight: 700;
    white-space: nowrap;
}

.store-mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f3f7ff;
    color: #14368f;
    font-size: 24px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.store-mobile-menu {
    display: none;
}

.store-header-favorite {
    position: relative;
    border: 1px solid #c9d5ef;
    background: #ffffff;
}

.store-header-favorite__star {
    font-size: 23px;
    line-height: 1;
}

.store-header-favorite__count {
    position: absolute;
    right: -6px;
    top: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 20px;
    background: #e53935;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    display: none;
}

.store-lang-dropdown {
    position: relative;
}

.store-lang-btn {
    height: 42px;
    padding: 0 14px;
    border: 1px solid #c9d5ef;
    background: #ffffff;
    border-radius: 22px;
    color: #14368f;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    cursor: pointer;
}

.store-lang-btn__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: translateY(-5px);
    font-size: 13px;
}


.store-lang-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 52px;
    width: 150px;
    background: #ffffff;
    border: 1px solid #dce5f2;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 18px 40px rgba(20, 40, 90, 0.14);
    z-index: 60;
}

.store-lang-menu--open {
    display: block;
}

.store-lang-item {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #14213d;
    font-size: 14px;
    font-weight: 700;
}

    .store-lang-item:hover,
    .store-lang-item--active {
        background: #f4f7ff;
        color: #174fc4;
    }

.store-mobile-menu__lang {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #dce6f2;
}

.store-mobile-menu__title {
    padding: 8px 14px;
    color: #53617d;
    font-size: 13px;
    font-weight: 800;
}



/* На мобильной версии язык в шапке скрываем */
@media (max-width: 768px) {
    .store-header-actions .store-lang-dropdown {
        display: none !important;
    }
}