/* TVASHTAR 2026-05-24: premium MemberLux header */
body.fix-top-nav {
    padding-top: 118px;
}

.jt-premium-header,
.jt-premium-header * {
    box-sizing: border-box;
}

.jt-premium-header-compat {
    display: none !important;
}

.jt-premium-header {
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 28px 0;
    pointer-events: none;
}

.jt-premium-header__shell {
    width: min(1820px, 100%);
    height: 78px;
    margin: 0 auto;
    padding: 0 28px;
    background: rgba(10, 10, 12, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 26px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    pointer-events: auto;
}

body #progressBar {
    position: fixed !important;
    top: 98px !important;
    left: calc(max(28px, calc((100vw - 1820px) / 2)) + 26px) !important;
    width: calc(min(1820px, calc(100vw - 56px)) - 52px) !important;
    height: 2px !important;
    background: linear-gradient(90deg, #ff3b3b, #ff6b6b) !important;
    border-radius: 999px !important;
    z-index: 1199 !important;
    transform: scaleX(var(--jt-scroll-progress, 0)) !important;
    transform-origin: left center !important;
    transition: transform .1s linear !important;
    pointer-events: none !important;
}

@media (max-width: 1024px) {
    body #progressBar {
        top: 86px !important;
        left: 0 !important;
        width: 100vw !important;
        height: 2px !important;
    }
}

.jt-premium-header__logo-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    transition: transform .2s ease, filter .2s ease;
}

.jt-premium-header__logo-link:hover,
.jt-premium-header__logo-link:focus-visible {
    transform: scale(1.04);
    filter: drop-shadow(0 0 12px rgba(255, 59, 59, 0.26));
}

.jt-premium-header__logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.jt-premium-header__panel {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.jt-premium-header__nav,
.jt-premium-header__actions {
    display: flex;
    align-items: center;
}

.jt-premium-header__nav {
    gap: 38px;
}

.jt-premium-header__about,
.jt-premium-header__learning,
.jt-premium-header__consultation {
    position: relative;
}

.jt-premium-header__telegram {
    position: relative;
}


/* TVASHTAR 2026-05-26: align premium menu item baselines. */
.jt-premium-header__nav > a,
.jt-premium-header__about,
.jt-premium-header__learning,
.jt-premium-header__consultation,
.jt-premium-header__telegram {
    display: flex !important;
    align-items: center !important;
    height: 22px !important;
}

.jt-premium-header__nav-link {
    height: 22px !important;
    align-items: center !important;
}

.jt-premium-header__actions {
    gap: 22px;
}

.jt-premium-header a,
.jt-premium-header button {
    appearance: none;
    border: 0;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none;
    text-decoration: none !important;
    font-family: inherit;
    cursor: pointer;
}

.jt-premium-header__nav-link,
.jt-premium-header__login,
.jt-premium-header__user-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: color .2s ease, transform .2s ease;
}

.jt-premium-header__about-toggle,
.jt-premium-header__learning-toggle,
.jt-premium-header__consultation-toggle {
    padding: 0;
}

.jt-premium-header__telegram-toggle {
    padding: 0;
}

.jt-premium-header__telegram-text {
    color: #0088cc;
    transition: color .2s ease;
}

.jt-premium-header__telegram-icon {
    color: #fff;
}

.jt-premium-header__telegram-mark {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: #0088cc;
    box-shadow: none;
}

.jt-premium-header__telegram-mark svg {
    width: 22px;
    height: 22px;
    fill: currentColor !important;
    stroke: none !important;
}

.jt-premium-header__telegram-toggle:hover .jt-premium-header__telegram-text,
.jt-premium-header__telegram-toggle:focus-visible .jt-premium-header__telegram-text {
    color: #24a9e6;
}

.jt-premium-header__nav-link:hover,
.jt-premium-header__nav-link:focus-visible,
.jt-premium-header__login:hover,
.jt-premium-header__login:focus-visible,
.jt-premium-header__user-button:hover,
.jt-premium-header__user-button:focus-visible {
    color: #fff !important;
    transform: translateY(-1px);
    outline: none;
}

.jt-premium-header__nav-link.is-active {
    color: #FF3B3B !important;
}

.jt-premium-header__about-menu,
.jt-premium-header__learning-menu,
.jt-premium-header__consultation-menu {
    position: absolute;
    top: calc(100% + 22px);
    left: -22px;
    width: 390px;
    padding: 12px;
    background: #111319;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.jt-premium-header__about-menu {
    width: 320px;
}

.jt-premium-header__consultation-menu {
    width: 320px;
}

.jt-premium-header__about.is-open .jt-premium-header__about-menu,
.jt-premium-header__learning.is-open .jt-premium-header__learning-menu,
.jt-premium-header__consultation.is-open .jt-premium-header__consultation-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.jt-premium-header__about.is-open .jt-premium-header__about-toggle .jt-premium-header__chevron,
.jt-premium-header__learning.is-open .jt-premium-header__learning-toggle .jt-premium-header__chevron,
.jt-premium-header__consultation.is-open .jt-premium-header__consultation-toggle .jt-premium-header__chevron {
    transform: rotate(180deg);
}

.jt-premium-header__about-link,
.jt-premium-header__learning-link,
.jt-premium-header__consultation-link {
    min-height: 54px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    transition: background .2s ease, color .2s ease;
}

.jt-premium-header__about-link:hover,
.jt-premium-header__about-link:focus-visible,
.jt-premium-header__learning-link:hover,
.jt-premium-header__learning-link:focus-visible,
.jt-premium-header__consultation-link:hover,
.jt-premium-header__consultation-link:focus-visible {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
    outline: none;
}

.jt-premium-header__learning-link.is-main {
    margin-bottom: 4px;
    color: #FF3B3B !important;
}

.jt-premium-header__learning-link.is-sub {
    min-height: 48px;
    padding-left: 44px;
    font-size: 16px;
    font-weight: 650;
}

.jt-premium-header__about-link > .fa,
.jt-premium-header__learning-link > .fa,
.jt-premium-header__learning-link > .fab,
.jt-premium-header__learning-link > img,
.jt-premium-header__consultation-link > img {
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FF3B3B;
    object-fit: contain;
}

.jt-premium-header__consultation-icon-img {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    display: block !important;
    object-fit: contain !important;
}

.jt-premium-header .jt-premium-header__consultation-phone {
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-family: FontAwesome !important;
    font-weight: normal !important;
    font-size: 18px;
    line-height: 1;
}

.jt-premium-header .jt-premium-header__consultation-phone:before {
    font-family: FontAwesome !important;
    font-weight: normal !important;
}

.jt-premium-header__learning-group {
    justify-content: flex-start;
}

.jt-premium-header__learning-caret {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.58);
    transition: transform .2s ease, color .2s ease;
}

.jt-premium-header__learning-group[aria-expanded="true"] .jt-premium-header__learning-caret {
    transform: rotate(180deg);
    color: #FF3B3B;
}

.jt-premium-header__learning-submenu[hidden] {
    display: none !important;
}

.jt-premium-header__learning-submenu {
    padding: 2px 0 6px;
}

.jt-premium-header__telegram-menu {
    position: absolute;
    top: calc(100% + 22px);
    left: -22px;
    width: 320px;
    padding: 12px;
    background: #111319;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.jt-premium-header__telegram.is-open .jt-premium-header__telegram-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.jt-premium-header__telegram.is-open .jt-premium-header__telegram-toggle .jt-premium-header__chevron {
    transform: rotate(180deg);
}

.jt-premium-header__telegram-link {
    min-height: 54px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    transition: background .2s ease, color .2s ease;
}

.jt-premium-header__telegram-link:hover,
.jt-premium-header__telegram-link:focus-visible {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #fff !important;
    outline: none;
}

.jt-premium-header__telegram-link > .fa {
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FF3B3B;
}

.jt-premium-header__icon,
.jt-premium-header__icon-button,
.jt-premium-header__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.jt-premium-header svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.jt-premium-header__feed-icon {
    font-size: 20px;
    line-height: 1;
}

.jt-premium-header__icon,
.jt-premium-header__chevron {
    color: rgba(255, 255, 255, 0.75);
    transition: color .2s ease;
}

.jt-premium-header__nav-link:hover .jt-premium-header__icon,
.jt-premium-header__nav-link:focus-visible .jt-premium-header__icon,
.jt-premium-header__nav-link:hover .jt-premium-header__chevron,
.jt-premium-header__nav-link:focus-visible .jt-premium-header__chevron,
.jt-premium-header__login:hover .jt-premium-header__icon,
.jt-premium-header__login:focus-visible .jt-premium-header__icon {
    color: #fff;
}

.jt-premium-header__learning-toggle,
.jt-premium-header__learning-toggle:hover,
.jt-premium-header__learning-toggle:focus-visible {
    color: #FF3B3B !important;
}

.jt-premium-header__learning-toggle .jt-premium-header__icon,
.jt-premium-header__learning-toggle:hover .jt-premium-header__icon,
.jt-premium-header__learning-toggle:focus-visible .jt-premium-header__icon,
.jt-premium-header__learning-toggle .jt-premium-header__chevron,
.jt-premium-header__learning-toggle:hover .jt-premium-header__chevron,
.jt-premium-header__learning-toggle:focus-visible .jt-premium-header__chevron {
    color: #FF3B3B !important;
}

.jt-premium-header__about-toggle,
.jt-premium-header__about-toggle.is-active,
.jt-premium-header__about-toggle:hover,
.jt-premium-header__about-toggle:focus-visible,
.jt-premium-header__consultation-toggle,
.jt-premium-header__consultation-toggle.is-active,
.jt-premium-header__consultation-toggle:hover,
.jt-premium-header__consultation-toggle:focus-visible {
    color: rgba(255, 255, 255, 0.92) !important;
}

.jt-premium-header__chevron svg {
    width: 16px;
    height: 16px;
}

.jt-premium-header__icon-button {
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: .8;
    transition: opacity .2s ease, transform .2s ease, color .2s ease;
}

.jt-premium-header__icon-button svg {
    width: 22px;
    height: 22px;
}

.jt-premium-header__icon-button:hover,
.jt-premium-header__icon-button:focus-visible {
    color: #fff !important;
    opacity: 1;
    transform: scale(1.05);
    outline: none;
}

.jt-premium-header__cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FF3B3B;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.jt-premium-header__divider {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.08);
}

.jt-premium-header__register {
    height: 54px;
    padding: 0 28px;
    border-radius: 18px;
    border: 1px solid rgba(255, 59, 59, 0.45) !important;
    background: linear-gradient(180deg, rgba(255, 59, 59, 0.10), rgba(255, 59, 59, 0.04)) !important;
    color: #FF3B3B !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.jt-premium-header__register:hover,
.jt-premium-header__register:focus-visible {
    background: linear-gradient(180deg, rgba(255, 59, 59, 0.16), rgba(255, 59, 59, 0.08)) !important;
    box-shadow: 0 0 18px rgba(255, 59, 59, 0.18);
    transform: translateY(-1px);
    outline: none;
}

.jt-premium-header__user {
    position: relative;
}

.jt-premium-header__user-button {
    padding: 0;
}

.jt-premium-header__avatar,
.jt-premium-header__avatar img {
    width: 44px;
    height: 44px;
    border-radius: 999px;
}

.jt-premium-header__avatar {
    display: inline-flex;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.jt-premium-header__avatar img {
    object-fit: cover;
}

.jt-premium-header__user-name {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jt-premium-header__dropdown {
    position: absolute;
    top: calc(100% + 22px);
    right: 0;
    width: 320px;
    padding: 12px;
    background: #111319;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.jt-premium-header__user.is-open .jt-premium-header__dropdown {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.jt-premium-header__dropdown a {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    transition: background .2s ease, color .2s ease;
}

.jt-premium-header__dropdown a:hover,
.jt-premium-header__dropdown a:focus-visible {
    background: rgba(255, 255, 255, 0.04);
    color: #fff !important;
    outline: none;
}

.jt-premium-header__dropdown a.is-danger {
    color: #FF4D4D !important;
}

.jt-premium-header__dropdown svg {
    width: 22px;
    height: 22px;
    color: #FF3B3B;
    flex: 0 0 auto;
}

.jt-premium-header__burger {
    display: none;
}

.jt-main-premium-header-enabled {
    padding-top: 118px;
}

.jt-main-premium-header-enabled .head-container1 {
    display: none !important;
}

.jt-main-premium-header,
.jt-main-premium-header a,
.jt-main-premium-header button,
.jt-main-premium-header span {
    font-family: "PT Sans", sans-serif !important;
    text-transform: none !important;
}

.jt-main-premium-header .jt-premium-header__logo-link {
    width: 162px;
}

.jt-main-premium-header .jt-premium-header__logo {
    height: 36px;
    max-width: 162px;
}

.jt-main-premium-header .jt-premium-header__nav-link,
.jt-main-premium-header .jt-premium-header__about-toggle,
.jt-main-premium-header .jt-premium-header__learning-toggle,
.jt-main-premium-header .jt-premium-header__consultation-toggle,
.jt-main-premium-header .jt-premium-header__telegram-toggle,
.jt-main-premium-header .jt-premium-header__login,
.jt-main-premium-header .jt-premium-header__user-button {
    min-width: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    text-transform: none !important;
}

.jt-main-premium-header .jt-premium-header__nav-link.is-active {
    color: rgba(255, 255, 255, 0.92) !important;
}

.jt-main-premium-header .jt-premium-header__nav-link.is-active .jt-premium-header__icon {
    color: rgba(255, 255, 255, 0.75) !important;
}

.jt-main-premium-header .jt-premium-header__nav-link:hover,
.jt-main-premium-header .jt-premium-header__nav-link:focus-visible,
.jt-main-premium-header .jt-premium-header__login:hover,
.jt-main-premium-header .jt-premium-header__login:focus-visible,
.jt-main-premium-header .jt-premium-header__user-button:hover,
.jt-main-premium-header .jt-premium-header__user-button:focus-visible {
    background: transparent !important;
    background-image: none !important;
}

.jt-main-premium-header .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
}

.jt-main-premium-header .fab {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important;
}

.jt-main-premium-header .fa,
.jt-main-premium-header .fab {
    font-style: normal !important;
    line-height: 1 !important;
}

.jt-main-premium-header .jt-premium-header__actions {
    height: 54px;
    align-items: center !important;
}

.jt-main-premium-header .jt-premium-header__user {
    display: inline-flex;
    align-items: center;
    height: 44px;
}

.jt-main-premium-header .jt-premium-header__user-button {
    height: 44px;
    align-items: center !important;
}

.jt-main-premium-header .jt-premium-header__avatar,
.jt-main-premium-header .jt-premium-header__avatar img {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
}

.jt-main-premium-header .jt-premium-header__avatar {
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
}

.jt-main-premium-header .jt-premium-header__avatar img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.jt-main-premium-header .jt-premium-header__feed-icon {
    width: 20px;
    min-width: 20px;
    max-width: 20px;
    font-size: 18px;
    font-weight: 400 !important;
}

@media (min-width: 992px) {
    body.fix-top-nav .header-row,
    body.fix-top-nav .top-nav-row {
        min-height: 0 !important;
        height: auto !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.fix-top-nav .brand-row {
        display: none !important;
    }
}

@media (max-width: 1280px) {
    .jt-premium-header__shell {
        gap: 24px;
        padding: 0 22px;
    }

    .jt-premium-header__panel {
        gap: 24px;
    }

    .jt-premium-header__nav {
        gap: 24px;
    }

    .jt-main-premium-header .jt-premium-header__nav {
        gap: 18px;
    }

    .jt-premium-header__actions {
        gap: 16px;
    }

    .jt-premium-header__register {
        padding: 0 18px;
    }

    .jt-premium-header__nav-link,
    .jt-premium-header__login,
    .jt-premium-header__register,
    .jt-premium-header__user-button {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    body.fix-top-nav {
        padding-top: 0;
    }

    .jt-main-premium-header-enabled {
        padding-top: 0;
    }

    .jt-premium-header {
        display: none !important;
    }

    .jt-main-premium-header-enabled .head-container1 {
        display: block !important;
    }

    body.fix-top-nav .header-row,
    body.fix-top-nav .top-nav-row {
        display: none !important;
        min-height: 0 !important;
        height: 0 !important;
    }

    body.fix-top-nav .brand-row {
        display: block !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 6px 0 14px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.fix-top-nav .brand-row .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.fix-top-nav .brand-row .row {
        margin: 0 !important;
    }

    body.fix-top-nav .brand-row .flex-logo-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.fix-top-nav .brand-row .wpm_default_header {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        text-decoration: none !important;
    }

    body.fix-top-nav .brand-row .brand-logo {
        display: block !important;
        width: calc(100vw - 20px) !important;
        max-width: 370px !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    .jt-premium-header__shell {
        height: 64px;
        padding: 0 14px 0 18px;
        border-radius: 22px;
        gap: 14px;
    }

    .jt-premium-header__logo {
        height: 30px;
        max-width: 132px;
    }

    .jt-premium-header__burger {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        color: #fff;
        transition: background .2s ease;
    }

    .jt-premium-header__burger span {
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform .2s ease, opacity .2s ease;
    }

    .jt-premium-header.is-menu-open .jt-premium-header__burger {
        background: rgba(255, 255, 255, 0.06);
    }

    .jt-premium-header.is-menu-open .jt-premium-header__burger span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .jt-premium-header.is-menu-open .jt-premium-header__burger span:nth-child(2) {
        opacity: 0;
    }

    .jt-premium-header.is-menu-open .jt-premium-header__burger span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .jt-premium-header__panel {
        position: fixed;
        top: 88px;
        right: 12px;
        width: min(360px, calc(100vw - 24px));
        max-height: calc(100dvh - 108px);
        overflow: auto;
        padding: 16px;
        border-radius: 24px;
        background: #111319;
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 18px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(calc(100% + 24px));
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .jt-premium-header.is-menu-open .jt-premium-header__panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .jt-premium-header__nav,
    .jt-premium-header__actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .jt-premium-header__nav-link,
    .jt-premium-header__login,
    .jt-premium-header__user-button {
        min-height: 56px;
        padding: 0 14px;
        border-radius: 16px;
        font-size: 17px;
    }

    .jt-premium-header__about,
    .jt-premium-header__about-toggle,
    .jt-premium-header__learning,
    .jt-premium-header__learning-toggle,
    .jt-premium-header__consultation,
    .jt-premium-header__consultation-toggle,
    .jt-premium-header__telegram,
    .jt-premium-header__telegram-toggle {
        width: 100%;
    }

    .jt-premium-header__about-menu,
    .jt-premium-header__learning-menu,
    .jt-premium-header__consultation-menu,
    .jt-premium-header__telegram-menu {
        position: static;
        width: 100%;
        margin-top: 8px;
        padding: 8px;
        border-radius: 20px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
    }

    .jt-premium-header__about-link,
    .jt-premium-header__learning-link,
    .jt-premium-header__consultation-link {
        min-height: 52px;
        font-size: 16px;
        padding: 0 14px;
    }

    .jt-premium-header__telegram-link {
        min-height: 52px;
        font-size: 16px;
        padding: 0 14px;
    }

    .jt-premium-header__learning-link.is-sub {
        min-height: 46px;
        padding-left: 38px;
        font-size: 15px;
    }

    .jt-premium-header__nav-link:hover,
    .jt-premium-header__nav-link:focus-visible,
    .jt-premium-header__login:hover,
    .jt-premium-header__login:focus-visible,
    .jt-premium-header__user-button:hover,
    .jt-premium-header__user-button:focus-visible {
        background: rgba(255, 255, 255, 0.04);
        transform: none;
    }

    .jt-premium-header__actions {
        display: grid;
        grid-template-columns: 56px 56px 1fr;
        gap: 10px;
    }

    .jt-premium-header__icon-button {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.04);
    }

    .jt-premium-header__divider {
        display: none;
    }

    .jt-premium-header__login,
    .jt-premium-header__register,
    .jt-premium-header__user {
        grid-column: 1 / -1;
    }

    .jt-premium-header__register {
        width: 100%;
        height: 54px;
    }

    .jt-premium-header__user-button {
        width: 100%;
        justify-content: flex-start;
    }

    .jt-premium-header__user-name {
        max-width: none;
        flex: 1 1 auto;
        text-align: left;
    }

    .jt-premium-header__dropdown {
        position: static;
        width: 100%;
        margin-top: 10px;
        padding: 8px;
        border-radius: 20px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
    }

    .jt-premium-header__dropdown a {
        height: 58px;
        font-size: 17px;
        padding: 0 14px;
    }

    body.jt-premium-menu-open {
        overflow: hidden;
    }
}


/* TVASHTAR 2026-05-26: center legacy mobile header content after progress-bar inset. */
@media (max-width: 1024px) {
    body.jt-main-premium-header-enabled .head-container1 {
        display: flex !important;
        align-items: center !important;
    }

    body.jt-main-premium-header-enabled .head-container1 > .container,
    body.jt-main-premium-header-enabled .head-container1 .sixteen.columns,
    body.jt-main-premium-header-enabled .head-container1 .site-header {
        min-height: 86px !important;
        height: 86px !important;
        display: flex !important;
        align-items: center !important;
    }

    body.jt-main-premium-header-enabled .head-container1 .container {
        width: 100% !important;
    }

    body.jt-main-premium-header-enabled .head-container1 .header__logo,
    body.jt-main-premium-header-enabled .head-container1 .menu-wrapper,
    body.jt-main-premium-header-enabled .head-container1 .burger__menu {
        align-self: center !important;
    }
}
