.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 14px;
    padding: 4px 7px;
    border: 1px solid rgba(255, 107, 0, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
}

.language-switcher__flag {
    padding-left: 3px;
    font-size: 1rem;
    line-height: 1;
}

.language-switcher__select {
    max-width: 132px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #475569;
    font: inherit;
    font-size: .74rem;
    font-weight: 800;
    cursor: pointer;
}

.language-switcher:focus-within {
    border-color: #e85d04;
    box-shadow: 0 0 0 3px rgba(232, 93, 4, .14);
}

.locale-suggestion {
    position: fixed;
    z-index: 2147483000;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    padding: 16px 42px 16px 16px;
    border: 1px solid rgba(255, 107, 0, .24);
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    color: #172033;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .24);
    font-family: system-ui, sans-serif;
}

.locale-suggestion__flag {
    font-size: 2rem;
    line-height: 1;
}

.locale-suggestion strong {
    display: block;
    margin-bottom: 8px;
    font-size: .96rem;
}

.locale-suggestion__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.locale-suggestion__actions a,
.locale-suggestion__actions button {
    border: 0;
    background: none;
    color: #b64600;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.locale-suggestion__actions a {
    padding: 8px 11px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6b00, #ff3d00);
    color: #fff;
    text-decoration: none;
}

.locale-suggestion__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: none;
    color: #64748b;
    font-size: 1.3rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .language-switcher {
        margin: 10px 0 0;
    }
}

@media (max-width: 575px) {
    .locale-suggestion {
        right: 16px;
        bottom: 16px;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .locale-suggestion {
        transition: none !important;
    }
}
