/* NORTE Translate 0.3.11 — exclusivamente selector CAT | ES | ENG.
   NO modifica anchos, columnas, márgenes de Manon ni tipografía global. */
.ntx-language-switcher {
    position: fixed;
    top: 22px;
    right: 32px;
    z-index: 10050;
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 8px 10px;
    width: max-content;
    max-width: calc(100vw - 40px);
    border: 0;
    background: rgba(255,255,255,.95);
    color: #1d2730;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: .045em;
    text-transform: uppercase;
    pointer-events: auto !important;
}
body.admin-bar > .ntx-language-switcher { top: 54px; }
.ntx-language-switcher .ntx-language-link {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin: 0;
    padding: 4px 0;
    font: inherit;
    text-decoration: none !important;
    border: 0;
    border-bottom: 1px solid transparent;
    color: #777;
    opacity: 1;
    cursor: pointer;
    pointer-events: auto !important;
    transition: color .15s ease, border-color .15s ease;
}
.ntx-language-switcher .ntx-language-link::before,
.ntx-language-switcher .ntx-language-link::after { content: none !important; }
.ntx-language-switcher .ntx-language-link:hover,
.ntx-language-switcher .ntx-language-link:focus-visible { color: #1d2730; }
.ntx-language-switcher .ntx-language-link:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.ntx-language-switcher .ntx-language-link.is-active {
    color: #1d2730;
    font-weight: 600;
    border-bottom-color: currentColor;
}
.ntx-language-switcher .ntx-language-separator { color: #b7b7b7; font-weight: 300; }
/* Oculta exclusivamente los idiomas originales de los menús Polylang. */
body.ntx-language-switcher-enabled.ntx-language-switcher-mobile-ready .edgtf-mobile-nav li.lang-item,
body.ntx-language-switcher-enabled .edgtf-main-menu li.lang-item,
body.ntx-language-switcher-enabled .edgtf-fullscreen-menu li.lang-item,
body.ntx-language-switcher-enabled .edgtf-vertical-menu li.lang-item,
body.ntx-language-switcher-enabled .edgtf-side-menu li.lang-item { display: none !important; }
@media (min-width: 1025px) {
    /* El header es responsable del plano interactivo de su selector. */
    .edgtf-page-header .edgtf-position-right-inner .ntx-language-switcher {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        z-index: 20;
        margin: 0 0 0 12px;
        padding: 6px 0;
        max-width: none;
        background: transparent;
        vertical-align: middle;
    }
    .edgtf-vertical-menu-area .ntx-language-switcher {
        position: absolute;
        top: auto;
        right: auto;
        left: auto;
        z-index: 100;
        display: inline-flex;
        margin: 0;
        padding: 0;
        max-width: calc(100% - 20px);
        background: transparent;
    }
    .edgtf-vertical-menu-area .ntx-language-switcher.ntx-vertical-fallback {
        position: relative;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        margin-top: 15px;
        padding: 0;
    }
}
@media (max-width: 1024px) {
    .ntx-language-switcher {
        position: relative;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        z-index: 10;
        margin: 12px 0 18px;
        padding: 12px 0;
        background: transparent;
        font-size: 12px;
        gap: 12px;
    }
    .edgtf-mobile-nav .ntx-language-switcher { display: inline-flex; width: max-content; }
    body:not(.ntx-language-switcher-mobile-ready) > .ntx-language-switcher { display: none; }
}
