/* Selector de idioma compartido para landings */
.language-switcher {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 5px 6px 5px 12px;
    border: 1px solid rgba(201, 169, 97, 0.28);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(8, 10, 16, 0.94), rgba(14, 18, 30, 0.92));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
}

.language-switcher__label {
    color: rgba(243, 232, 208, 0.72);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.language-switcher__pills {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.language-switcher__btn {
    appearance: none;
    border: 0;
    min-width: 38px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: transparent;
    color: rgba(243, 232, 208, 0.62);
    font: 800 0.72rem/1 Montserrat, Arial, sans-serif;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.language-switcher__btn:hover {
    color: #fffaf0;
    background: rgba(255, 255, 255, 0.06);
}

.language-switcher__btn.is-active {
    color: #120e08;
    background: linear-gradient(135deg, #f0d99a 0%, #c9a961 100%);
    box-shadow: 0 0 0 1px rgba(201, 169, 97, 0.35), 0 6px 16px rgba(201, 169, 97, 0.28);
}

.language-switcher__btn:focus-visible {
    outline: 2px solid rgba(201, 169, 97, 0.85);
    outline-offset: 2px;
}

.language-switcher__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Cuando hay barra de oferta superior, baja un poco el switcher en móvil */
body.has-offer-bar .language-switcher {
    top: 4.9rem;
}

@media (max-width: 720px) {
    .language-switcher {
        top: auto;
        bottom: 16px;
        left: 12px;
        right: auto;
        padding: 4px 5px 4px 10px;
    }

    body.has-offer-bar .language-switcher {
        top: auto;
        bottom: 16px;
    }

    .language-switcher__label {
        display: none;
    }
}

/* Botón WhatsApp de compra */
.button-whatsapp,
a.button-whatsapp {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 55%, #5dff9f 100%) !important;
    color: #04140c !important;
    box-shadow: 0 18px 44px rgba(37, 211, 102, 0.28) !important;
    gap: 0.55rem;
}

.button-whatsapp:hover,
a.button-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 48px rgba(37, 211, 102, 0.36) !important;
}

.button-whatsapp svg {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}
