/* Contenedor */
#masthead .lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 18px; /* antes 10px */
}


/* Botón actual */
#masthead .lang-current {
    background: none;
    border: 0;
    padding: 4px 6px;
    font-size: 13px;
    font-weight: 600;
    color: #303133;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color .25s ease;
}

#masthead .lang-current:hover {
    color: #0085c7;
}

/* Dropdown */
#masthead .lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);

    min-width: 150px;
    margin: 0;
    padding: 6px 0;

    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
    list-style: none;

    display: none;
    z-index: 9999;
}

/* Mostrar cuando está activo */
#masthead .lang-switcher.is-open .lang-dropdown {
    display: block;
}

/* Items */
#masthead .lang-dropdown li {
    position: relative;
}

#masthead .lang-dropdown li.active::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #0085c7;
    border-radius: 50%;
}

#masthead .lang-dropdown li a {
    padding: 6px 26px 6px 14px; /* más padding-right */
}

/* Links */
#masthead .lang-dropdown li a {
    display: block;
    padding: 12px 14px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;

    color: #303133;
    text-decoration: none;
    white-space: nowrap;
}

#masthead .lang-dropdown li.active a,
#masthead .lang-dropdown li a:hover {
    color: #0085c7;
}

#masthead .lang-switcher.is-open .lang-current {
    color: #0085c7;
}
#masthead .lang-current {
    color: #303133;
}

#masthead .lang-icon svg {
    fill: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#masthead .lang-icon {
    display: inline-block;
    vertical-align: middle;
}

#masthead .icon-world {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

#masthead .icon-arrow {
    width: 6px;
    height: 6px;
    margin-right: 4px;
}

