/* Selector de idioma de la cabecera G&T. Colores y hover: gt-buttons.css. */
.gt-internal-languages { position:relative; flex-shrink:0; margin-left:auto; }
.gt-language-picker { --gl-line:var(--gi-line,#dce3d9); --gl-white:var(--gi-white,#fff); --gl-muted:var(--gi-muted,#66766e); --gl-paper:var(--gi-paper,#f4f5ee); --gl-ink:var(--gi-ink,#182d27); position:relative; color:var(--gl-ink); font:14px/1.5 'DM Sans',sans-serif; }
body.gt-ui-buttons .gt-language-trigger { width:158px; padding:9px 12px; gap:10px; border-radius:8px; list-style:none; }
.gt-language-trigger::-webkit-details-marker { display:none; }
.gt-language-globe { display:flex; align-items:center; padding-right:10px; border-right:1px solid var(--gl-line); }
.gt-language-globe>svg { display:block; width:19px; height:19px; }
.gt-language-current { flex:1; white-space:nowrap; }
body.gt-ui-buttons .gt-language-short { display:none; }
body.gt-ui-buttons .gt-language-trigger>.gt-language-chevron { flex:none; width:14px; height:14px; transition:rotate .16s ease; }
.gt-language-picker[open] .gt-language-chevron { rotate:180deg; }
.gt-language-options { position:absolute; z-index:1050; top:calc(100% + 10px); right:0; width:244px; max-width:calc(100vw - 32px); padding:8px; border:1px solid var(--gl-line); border-radius:12px; background:var(--gl-white); box-shadow:0 16px 40px #142e2626,0 2px 6px #142e260a; }
.gt-language-heading { margin:0 4px 6px; padding:7px 8px 11px; border-bottom:1px solid var(--gl-line); color:var(--gl-muted); font-size:12px; font-weight:600; }
body.gt-ui-buttons .gt-language-option { display:flex; justify-content:flex-start; width:100%; min-height:54px; gap:12px; padding:10px 12px; border:0; border-radius:8px; text-align:left; }
body.gt-ui-buttons .gt-language-option .gt-language-code { display:grid; place-items:center; flex:none; width:32px; height:32px; border-radius:6px; background:var(--gl-paper); color:var(--gl-ink); font:600 11px 'DM Sans',sans-serif; }
body.gt-ui-buttons .gt-language-option[aria-current] .gt-language-code { background:var(--gta-lime); }
body.gt-ui-buttons .gt-language-option>.gt-language-check { flex:none; width:18px; height:18px; margin-left:auto; }
.gt-language-option:not([aria-current]) .gt-language-check { visibility:hidden; }
@media(max-width:600px) {
    body.gt-ui-buttons .gt-language-trigger { width:144px; gap:8px; padding-inline:10px; }
    .gt-language-globe { padding-right:8px; }
}
@media(prefers-reduced-motion:reduce) {
    body.gt-ui-buttons .gt-language-trigger>.gt-language-chevron { transition:none; }
}
