.mobile-site-menu {
    display: none;
}

@media screen and (max-width: 991px) {
    header .desktop-site-navbar {
        display: none !important;
    }

    body.welcome-page:not([data-brand]) {
        --mobile-menu-accent: #0b72b5;
        --mobile-menu-accent-secondary: #0a6fa8;
        --mobile-menu-accent-rgb: 11, 114, 181;

        --mobile-menu-background:
            radial-gradient(
                ellipse at 4% 15%,
                rgba(11, 114, 181, 0.15) 0%,
                rgba(11, 114, 181, 0.06) 22%,
                transparent 45%
            ),
            radial-gradient(
                ellipse at 94% 78%,
                rgba(10, 111, 168, 0.17) 0%,
                rgba(10, 111, 168, 0.06) 25%,
                transparent 48%
            ),
            linear-gradient(
                116deg,
                #08405e 0%,
                #052f47 50%,
                #02131e 100%
            );
    }

    body[data-brand="vortex"] {
        --mobile-menu-accent: #0971b7;
        --mobile-menu-accent-secondary: #0d71b9;
        --mobile-menu-accent-rgb: 9, 113, 183;

        --mobile-menu-background:
            radial-gradient(
                ellipse at 3% 12%,
                rgba(9, 113, 183, 0.24) 0%,
                rgba(13, 113, 185, 0.10) 24%,
                transparent 47%
            ),
            radial-gradient(
                ellipse at 94% 80%,
                rgba(13, 113, 185, 0.20) 0%,
                rgba(9, 113, 183, 0.07) 26%,
                transparent 50%
            ),
            linear-gradient(
                116deg,
                #0a405e 0%,
                #06324c 52%,
                #031824 100%
            );
    }

    body[data-brand="hotwav"] {
        --mobile-menu-accent: #c13632;
        --mobile-menu-accent-secondary: #d98684;
        --mobile-menu-accent-rgb: 193, 54, 50;

        --mobile-menu-background:
            radial-gradient(
                ellipse at 2% 16%,
                rgba(193, 54, 50, 0.24) 0%,
                rgba(217, 134, 132, 0.08) 24%,
                transparent 46%
            ),
            radial-gradient(
                ellipse at 94% 78%,
                rgba(217, 134, 132, 0.20) 0%,
                rgba(236, 194, 193, 0.06) 27%,
                transparent 50%
            ),
            linear-gradient(
                116deg,
                #601b19 0%,
                #902825 52%,
                #601b19 100%
            );
    }

    body[data-brand="yomi-digi"] {
        --mobile-menu-accent: #e0b330;
        --mobile-menu-accent-secondary: #f1d161;
        --mobile-menu-accent-rgb: 224, 179, 48;

        --mobile-menu-background:
            radial-gradient(
                ellipse at 3% 15%,
                rgba(224, 179, 48, 0.19) 0%,
                rgba(224, 179, 48, 0.06) 25%,
                transparent 47%
            ),
            radial-gradient(
                ellipse at 94% 80%,
                rgba(241, 209, 97, 0.15) 0%,
                rgba(224, 179, 48, 0.05) 27%,
                transparent 50%
            ),
            linear-gradient(
                116deg,
                #211f18 0%,
                #151515 52%,
                #0b0b0b 100%
            );
    }

    body.welcome-page header {
        top: 0;
        width: 100%;
        padding: 0;
        background: var(--bg-white);
        box-shadow: 0 1px 0 var(--border-color);
    }

    body.welcome-page header.fix_style,
    body.welcome-page header.fixed {
        padding: 0 !important;
        background: var(--bg-white);
        backdrop-filter: none;
    }

    body.welcome-page header .container {
        position: relative;
        width: 100%;
        max-width: 100% !important;
        margin: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .mobile-site-menu {
        position: relative;
        display: block;
        width: 100%;
        margin: 0;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: var(--bg-white);
        box-shadow: none;
    }

    .mobile-site-menu__bar {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 66px;
        gap: 12px;
        padding: 9px 16px;
        background: var(--bg-white);
        border-bottom: 1px solid transparent;
    }

    .mobile-site-menu.is-open .mobile-site-menu__bar {
        border-bottom-color: var(--border-color);
    }

    .mobile-site-menu__brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        max-width: calc(100% - 58px);
        gap: 10px;
        margin: 0;
        color: var(--dark-blue);
    }

    .mobile-site-menu__brand:hover {
        color: var(--mobile-menu-accent);
    }

    .mobile-site-menu__brand img {
        flex: 0 0 auto;
        width: 46px;
        height: 46px;
        max-width: 86px;
        object-fit: contain;
    }

    .mobile-site-menu__brand span {
        overflow: hidden;
        color: var(--dark-blue);
        font-size: 17px;
        line-height: 1.3;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: color 0.25s ease;
    }

    .mobile-site-menu__brand:hover span {
        color: var(--mobile-menu-accent);
    }

    .mobile-site-menu__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 1px solid var(--border-color);
        border-radius: 11px;
        outline: 0;
        background: var(--light-bg);
        cursor: pointer;
        box-shadow: none;
        transition: background-color 0.25s ease, border-color 0.25s ease;
    }

    .mobile-site-menu__toggle-icon {
        position: relative;
        display: block;
        width: 22px;
        height: 18px;
    }

    .mobile-site-menu__toggle-icon span {
        position: absolute;
        inset-inline-start: 0;
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 20px;
        background: var(--mobile-menu-accent);
        transform-origin: center;
        transition: top 0.25s ease, opacity 0.2s ease, transform 0.25s ease, background-color 0.25s ease;
    }

    .mobile-site-menu__toggle-icon span:nth-child(1) {
        top: 1px;
    }

    .mobile-site-menu__toggle-icon span:nth-child(2) {
        top: 8px;
    }

    .mobile-site-menu__toggle-icon span:nth-child(3) {
        top: 15px;
    }

    .mobile-site-menu.is-open .mobile-site-menu__toggle {
        border-color: var(--mobile-menu-accent);
        background: var(--mobile-menu-accent);
    }

    .mobile-site-menu.is-open .mobile-site-menu__toggle-icon span {
        background: var(--text-white);
    }

    .mobile-site-menu.is-open .mobile-site-menu__toggle-icon span:nth-child(1) {
        top: 8px;
        transform: rotate(45deg);
    }

    .mobile-site-menu.is-open .mobile-site-menu__toggle-icon span:nth-child(2) {
        opacity: 0;
    }

    .mobile-site-menu.is-open .mobile-site-menu__toggle-icon span:nth-child(3) {
        top: 8px;
        transform: rotate(-45deg);
    }

    .mobile-site-menu__panel {
        position: relative;
        z-index: 1;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        background: var(--mobile-menu-background);
        transition:
            max-height 0.38s ease,
            opacity 0.22s ease,
            visibility 0s linear 0.38s;
    }

    .mobile-site-menu.is-open .mobile-site-menu__panel {
        max-height: 700px;
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
    }

    .mobile-site-menu__navigation {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 8px 0;
    }

    .mobile-site-menu__link {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 48px;
        margin: 0;
        padding: 11px 16px;
        color: var(--text-white);
        font-size: 15px;
        line-height: 1.5;
        font-weight: 500;
        text-align: start;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
        background: transparent;
    }

    .mobile-site-menu__link:hover,
    .mobile-site-menu__link.is-current {
        color: var(--text-white);
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-site-menu__link.is-current::before {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        top: 10px;
        bottom: 10px;
        width: 3px;
        border-radius: 20px;
        background:
            linear-gradient(
                180deg,
                var(--mobile-menu-accent),
                var(--mobile-menu-accent-secondary)
            );
        box-shadow: 0 0 10px rgba(var(--mobile-menu-accent-rgb), 0.55);
    }

    .mobile-site-menu__link--button {
        justify-content: center;
        width: 100%;
        min-height: 48px;
        margin: 0;
        padding: 11px 16px;
        color: var(--text-white);
        font-weight: 600;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 0;
        background: rgba(255, 255, 255, 0.08);
    }

    .mobile-site-menu__link--button:hover,
    .mobile-site-menu__link--button.is-current {
        color: var(--text-white);
        background: rgba(255, 255, 255, 0.16);
    }

    .mobile-site-menu__link--button.is-current::before {
        inset-inline-start: 0;
        top: 10px;
        bottom: 10px;
        width: 3px;
        height: auto;
        transform: none;
        border-radius: 20px;
        background:
            linear-gradient(
                180deg,
                var(--mobile-menu-accent),
                var(--mobile-menu-accent-secondary)
            );
        box-shadow: 0 0 10px rgba(var(--mobile-menu-accent-rgb), 0.55);
    }

    .mobile-site-menu__navigation .mobile-site-menu__link:last-child {
        border-bottom: 0;
    }

    .mobile-site-menu__language {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-site-menu__language-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        gap: 12px;
        margin: 0;
        padding: 10px 16px;
        color: var(--text-white);
        border: 0;
        outline: 0;
        background: transparent;
        cursor: pointer;
    }

    .mobile-site-menu__language-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
    }

    .mobile-site-menu__language-label i {
        font-size: 17px;
    }

    .mobile-site-menu__language-arrow {
        font-size: 16px;
        transition: transform 0.25s ease;
    }

    .mobile-site-menu__language.is-open .mobile-site-menu__language-arrow {
        transform: rotate(180deg);
    }

    .mobile-site-menu__language-options {
        max-height: 0;
        overflow: hidden;
        padding: 0 12px;
        opacity: 0;
        background: rgba(0, 0, 0, 0.12);
        transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.28s ease;
    }

    .mobile-site-menu__language.is-open .mobile-site-menu__language-options {
        max-height: 120px;
        padding: 6px 12px 10px;
        opacity: 1;
    }

    .mobile-site-menu__language-options button {
        display: block;
        width: 100%;
        min-height: 40px;
        margin: 0;
        padding: 8px 12px;
        color: var(--text-white);
        font-size: 14px;
        line-height: 24px;
        text-align: start;
        border: 0;
        border-radius: 8px;
        outline: 0;
        background: transparent;
        cursor: pointer;
    }

    .mobile-site-menu__language-options button:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}
