/* Shared account navigation: loaded on every page using _header.tpl. */
header.main-header .header-top .right-menu-wrap { flex: 0 0 auto; margin-left: auto; }
header.main-header .header-top .right-menu-wrap > ul { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
header.main-header .header-top .right-menu-wrap ul li.user-lc {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 !important;
    text-align: left;
}
header.main-header .account-header-trigger,
header.main-header .header-top .right-menu-wrap ul li.user-lc > .account-header-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    min-width: 44px;
    padding: 0;
    color: #1c1b17;
    font: 600 14px/1.4 'Segoe UI', sans-serif;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}
header.main-header .account-header-trigger::-webkit-details-marker { display: none; }
header.main-header .account-header-trigger .wr-fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #aaa79e;
    border-radius: 50%;
    color: #66645f;
    font-size: 17px;
}
header.main-header .account-header-trigger:hover .wr-fa,
header.main-header .account-header-dropdown[open] .wr-fa { border-color: #fb5a26; color: #b63608; }
header.main-header .account-header-arrow { margin-left: 2px; }
header.main-header .account-header-dropdown[open] .account-header-arrow { transform: rotate(180deg); }
header.main-header .account-header-panel {
    position: absolute;
    z-index: 100;
    top: calc(100% + 8px);
    right: 0;
    width: 246px;
    max-width: calc(100vw - 32px);
    padding: 8px;
    border: 1px solid #e7e5e1;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(28, 27, 23, .13);
}
header.main-header .header-top .right-menu-wrap ul li.user-lc .account-header-panel a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 12px;
    border: 0;
    border-radius: 4px;
    color: #1c1b17;
    font: 400 14px/1.4 'Segoe UI', sans-serif;
    text-align: left;
    text-transform: none;
    text-decoration: none;
    white-space: normal;
}
header.main-header .account-header-panel a .fa { flex: 0 0 20px; text-align: center; color: #66645f; }
header.main-header .header-top .right-menu-wrap ul li.user-lc .account-header-panel a:hover { background: #fff0e9; color: #ad350e; }
header.main-header .header-top .right-menu-wrap ul li.user-lc .account-header-panel .account-header-logout { margin-top: 8px; border-top: 1px solid #e7e5e1; border-radius: 0 0 4px 4px; }
header.main-header .account-header-trigger:focus-visible,
header.main-header .account-header-panel a:focus-visible,
header.main-header .account-header-mobile:focus-visible,
header.main-header .account-site-nav a:focus-visible { outline: 3px solid #fb5a26; outline-offset: 3px; }
header.main-header .header-top .right-menu-wrap ul li.user-lc > .account-header-mobile { display: none; }
header.main-header .account-site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 6px 0; }
header.main-header .account-site-nav a { display: inline-flex; align-items: center; min-height: 44px; height: auto; margin: 0; padding: 0; font-size: 22px; }
header.main-header .account-site-nav .account-site-nav-info { color: #fff; font: 500 16px/1.4 'Segoe UI', sans-serif; text-transform: none; }
header.main-header .account-site-nav .account-site-nav-info:before { display: none; }
header.main-header .account-site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 992px) {
    header.main-header .row_header > .logo { order: 0; }
    header.main-header .row_header > .search_block { order: 1; }
    header.main-header .row_header > .phone { order: 2; }
    header.main-header .row_header > .socials_item_block { order: 3; }
    header.main-header .row_header > .right-menu-wrap { order: 4; }
}
@media (max-width: 1199px) {
    header.main-header .account-header-label { display: none; }
}
@media (max-width: 767px) {
    header.main-header .account-header-dropdown { display: none; }
    header.main-header .header-top .right-menu-wrap ul li.user-lc > .account-header-mobile { display: inline-flex; }
    header.main-header .account-site-nav { gap: 4px 18px; }
    header.main-header .account-site-nav a { font-size: 18px; }
    header.main-header .account-site-nav .account-site-nav-info { font-size: 14px; }
}
