
.language-popup {
    position: fixed;
    z-index: 99999;

    right: 48px;
    bottom: 48px;

    width: calc(100% - 80px);
    max-width: 460px;
    box-sizing: border-box;
    padding: 32px;

    background: #171717;
    color: #ffffff;

    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
}

.language-popup.is-hide {
    display: none;
}

.language-popup.is-visible {
    display: block;
}

/* Верхняя строка */
.language-popup__header {
    position: relative;
    margin-bottom: 16px;
    padding-left: 24px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    color: #fff;
    text-transform: uppercase;
}

.language-popup__header::before {
    position: absolute;
    left: 1px;
    top: 0;
    content: "◎";
    font-size: 18px;
}

/* Основная часть */
.language-popup__body {
    display: flex;
    flex-direction: column;
}

.language-popup__title {
    margin-bottom: 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.language-popup__text {
    margin-bottom: 24px;

    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.25;
}

/* Кнопки */
.language-popup__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-popup__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 1;
    min-height: 48px;
    box-sizing: border-box;
    padding: 0 10px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.language-popup__button--en {
    gap: 5px;
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #171717;
}

.language-popup__button--en:hover {
    background: #e8e8e8;
    border-color: #e8e8e8;
}

.language-popup__button--ru {
    background: #252525;
    border: 1px solid #4a4a4a;
    color: #777777;
}

.language-popup__button--ru:hover {
    background: #333333;
    color: #ffffff;
}

@media (max-width: 767px) {
    .language-popup {
        right: 16px;
        bottom: 16px;

        width: calc(100% - 32px);
        padding: 20px;
    }
}

@media (max-width: 374px) {
    .language-popup__title {
        font-size: 18px;
    }

    .language-popup__text {
        font-size: 12px;
    }

    .language-popup__button {
        font-size: 12px;
    }
}
