.header {
    position: fixed;
    width: 100%;
    background-color: #fff;
    z-index: 130;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    font-family: var(--font-family-400);
    display: flex;
    align-items: center;
}

.header__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.header__actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    background-color: #fff;
}

.header__logo {
    display: flex;
    align-items: center;
    margin-right: 15px;
    height: 100%;
}

.header__logo img {
    width: 100%;
    max-width: 132px;
}

.header__phone {
    font-weight: 400;
    font-size: 24px;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-top: 7px;
    padding-bottom: 7px;
}

.header__phone sup {
    font-size: 14px;
    color: var(--gray-color);
    display: inline-flex;
    transform: translateY(-3px);
    margin-right: 7px;
}

.header__phone a {
    color: var(--title-color);
    white-space: nowrap;
    width: 100%;
    height: 100%;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header__phone a:nth-child(2) {
    font-size: 18px;
    color: #669099;
}

.header__phone a:hover, .header__phone sup:hover {
    color: var(--primary-color);
    transition: color 0.2s ease 0s;
    text-decoration: none;
}

.header-personal__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 52px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 150%;
    transition: all 0.2s ease 0s;
    padding-left: 20px;
    min-width: 240px;
    width: 100%;
}

.header-personal__button span {
    color: #fff !important;
}

.header-personal__button:hover {
    background-color: #52747a;
    color: #fff;
    text-decoration: none;
}

.header-personal__button._disabled:hover {
    background-color: var(--primary-color);
}

.header-personal__account {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    height: 100%;
    justify-content: center;
    padding-right: 10px;
    color: #fff !important;
}

.header-personal__account_id {
    font-size: 14px;
    line-height: 1.5;
}

.header-personal__account_address {
    font-size: 12px;
    line-height: 1;
    opacity: 0.8;
}

.header-personal__icon {
    margin-right: 20px;
}

.header-personal__icon._icon-user {
    font-size: 1.2745em;
}

.header-personal {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
}

.icon-drop-profile {
    font-size: 0.5rem;
    display: flex;
    height: 100%;
    align-items: center;
    background-color: var(--primary-color);
    color: #fff;
    border-left: 1px solid var(--lightgray-color);
    cursor: pointer;
    transition: var(--transition);
}

.icon-drop-profile:hover {
    background-color: var(--gray-color);
    border-left-color: var(--gray-color);
}

.icon-drop-profile i {
    padding: 20px 16px;
    transition: var(--transition);
}

.icon-drop-profile i.rotate {
    transform: rotate(180deg);
}

.drop-profile {
    position: absolute;
    top: 100%;
    right: 0;
    max-width: 288px;
    width: 100%;
    height: auto;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
    border-top: 1px solid var(--border-color);
    padding: 12px 0 6px;
    display: none;
}

.header-personal__button.button-logout {
    background-color: #fff;
    color: var(--title-color);
}

.header__logout_mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 44px;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid var(--primary-color);
    transition: var(--transition);
    color: #293a3d;
    font-weight: 600;
}

.header__logout_mobile:hover {
    text-decoration: none;
    background-color: #f4f4f4;
    color: var(--primary-color);
}

.drop-profile__wrapper {
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4;
    font-size: 13px;
    border-radius: 4px;
    margin: 0 10px 2px;
}

.drop-profile__body {
    display: flex;
    gap: 10px;
    padding: 10px;
    align-items: center;
}

.drop-profile__image {
    width: 40px;
    height: 40px;
    position: relative;
    border-radius: 50%;
}

.drop-profile__image img {
    border-radius: 50%;
    object-fit: cover;
    min-height: 40px;
    height: 40px;
    min-width: 40px;
    width: 40px;
}

.drop-profile__nav {
    display: flex;
    flex-direction: column;
}

.drop-profile__nav-link {
    box-sizing: border-box;
    min-height: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 0 20px;
    border-radius: 4px;
    margin-top: 6px;
    transition: var(--transition);
}

.drop-profile__nav-link:hover {
    text-decoration: none;
    background-color: #f4f4f4;
}

.icon-user-info {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 100%;
    cursor: pointer;
    z-index: 5;
    margin-right: auto;
    background: transparent;
    right: 0;
    top: 0;
    padding: 0 18px;
    font-size: 1.1rem;
    color: var(--gray-color);
}

.icon-user-info.active {
    box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
    background-color: var(--hover-bgc);
    transition: var(--transition);
}

@media (min-width: 320px) {
    .header {
        height: 48px;
    }

    .header__phone a {
        /*min-height: 52px;*/
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }
}

@media (min-width: 1024px) {
    .icon-user-info {
        display: none;
    }
}

@media (min-width: 1280px) {
    .header {
        position: fixed;
        max-height: unset;
        height: 85px;
    }

    .header + div,
    .header + nav {
        /*padding-top: 85px;*/
    }

    .header__body {
        flex-direction: row;
        justify-content: flex-start;
    }

    .header__logo {
        height: 100%;
        margin-left: calc(15px + (80 - 15) * ((100vw - 1280px) / (1920 - 1280)));
    }

    .header__logo img {
        min-width: unset;
        max-width: 248px;
        width: calc(190px + (248 - 190) * ((100vw - 1280px) / (1920 - 1280)));
    }

    .header__actions {
        flex-direction: row;
        width: auto;
        height: 100%;
        margin-left: auto;
    }

    .header-personal {
        flex-direction: row;
    }

    .header-personal__button {
        margin-left: calc(16px + (32 - 16) * ((100vw - 1280px) / (1920 - 1280)));
    }

    .header__logout_mobile {
        display: none;
    }

    .header__phone a {
        border-top: 0;
        border-bottom: 0;
    }
}

@media (min-width: 1920px) {
    .header__logo {
        margin-left: 80px;
    }
}

/* iphone 8 horizontal*/
@media (max-width: 680px) {
    .header-personal {
        display: grid;
        grid-template-columns: 2fr 1fr;
    }

    .header__personal.w100 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1279px) {
    .header__body {
        border-bottom: 1px solid var(--border-color);
    }

    .header__actions {
        flex-direction: column;
        position: fixed;
        bottom: 0;
        width: 100%;
    }

    .header__logo {
        width: 100%;
    }

    .header__logo img {
        margin: 0 auto;
    }

    .header-personal__button {
        min-width: unset;
        padding-left: 0;
        min-height: 48px;
    }

    .header-personal__icon {
        margin-right: 10px;
    }

    .header__phone a {
        min-height: 43px;
        font-size: 20px;
        justify-content: center;
    }

    .icon-drop-profile {
        display: none;
    }
}








