.ct-header .trp-menu-ls-item,
#offcanvas .trp-menu-ls-item {
    display: none !important;
}

.hydra-language-switcher {
    position: relative;
    z-index: 50;
    flex: 0 0 auto;
    margin-inline-start: 10px;
    font-size: 14px;
    line-height: 1.3;
}

header#header [data-device="desktop"] .menu-container {
    margin-inline-start: 26px;
}

header#header [data-device="desktop"] .hydra-language-switcher {
    margin-inline-start: 24px;
    margin-inline-end: 5px;
}

header#header [data-device="desktop"] .hydra-region-switcher {
    margin-inline-start: 5px;
    margin-inline-end: 0;
}

.hydra-language-switcher__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 124px;
    min-height: 42px;
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(3, 17, 11, 0.94);
    border: 1px solid rgba(91, 222, 116, 0.42);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

header#header [data-device="desktop"] .hydra-region-switcher__button {
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(3, 17, 11, 0.94);
}

.hydra-language-switcher__button:hover,
.hydra-language-switcher__button:focus-visible,
.hydra-language-switcher.is-open .hydra-language-switcher__button {
    color: #ffffff;
    background: #071f14;
    border-color: #5bde74;
    box-shadow: 0 8px 28px rgba(24, 174, 73, 0.2);
}

.hydra-language-switcher__button:focus-visible,
.hydra-language-switcher__option:focus-visible {
    outline: 2px solid #6cff88;
    outline-offset: 2px;
}

.hydra-language-switcher__flag {
    font-size: 20px;
    line-height: 1;
}

.hydra-language-switcher__arrow {
    margin-inline-start: 2px;
    color: #81ed93;
    font-size: 12px;
    transition: transform 160ms ease;
}

.hydra-language-switcher.is-open .hydra-language-switcher__arrow {
    transform: rotate(180deg);
}

.hydra-language-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    width: 178px;
    margin: 0;
    padding: 6px;
    list-style: none;
    color: #ffffff;
    background: #04150d;
    border: 1px solid rgba(91, 222, 116, 0.35);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

.hydra-language-switcher__menu[hidden] {
    display: none;
}

.hydra-language-switcher__option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 10px;
    color: #f3fff5;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

.hydra-language-switcher__option:hover,
.hydra-language-switcher__option:focus-visible {
    color: #ffffff;
    background: rgba(91, 222, 116, 0.12);
}

.hydra-language-switcher__option.is-current {
    color: #82f197;
    background: rgba(91, 222, 116, 0.16);
}

html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] input[name="hydra_ml_user_id"],
html[dir="rtl"] input[name="hydra_ml_zone_id"],
html[dir="rtl"] input[name="hydra_ml_player_name"],
html[dir="rtl"] input[name*="transaction"],
html[dir="rtl"] input[name*="reference"],
html[dir="rtl"] input[name*="mtcn"],
html[dir="rtl"] code {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"] .hydra-package-card--pass,
html[dir="rtl"] .hydra-pay-card,
html[dir="rtl"] .hydra-manual-payment-instructions,
html[dir="rtl"] .woocommerce-checkout,
html[dir="rtl"] .woocommerce-cart-form {
    text-align: right;
}

html[dir="rtl"] .hydra-package-card--pass .hydra-card-check {
    right: auto;
    left: 12px;
}

@media (min-width: 1000px) and (max-width: 1240px) {
    header#header [data-device="desktop"] .menu-container {
        margin-inline-start: 12px;
    }

    header#header [data-device="desktop"] .menu-container .ct-menu-link {
        padding-inline: 8px;
    }

    header#header [data-device="desktop"] .hydra-language-switcher {
        margin-inline-start: 12px;
        margin-inline-end: 4px;
    }

    header#header [data-device="desktop"] .hydra-region-switcher {
        margin-inline-start: 4px;
    }

    header#header [data-device="desktop"] .hydra-language-switcher__button,
    header#header [data-device="desktop"] .hydra-region-switcher__button {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        padding: 8px;
    }

    header#header [data-device="desktop"] .hydra-language-switcher__name,
    header#header [data-device="desktop"] .hydra-language-switcher__arrow,
    header#header [data-device="desktop"] .hydra-region-switcher__name,
    header#header [data-device="desktop"] .hydra-region-switcher__arrow {
        display: none;
    }
}

@media (max-width: 999px) {
    .ct-header [data-device="mobile"] .hydra-language-switcher {
        margin-inline: 0 10px;
    }

    .ct-header [data-device="mobile"] .hydra-language-switcher__button {
        min-width: 116px;
        min-height: 40px;
        padding: 7px 10px;
    }

    .ct-header [data-device="mobile"] .hydra-language-switcher__menu {
        width: 170px;
    }
}
