/* ===== СТИЛИ COOKIE БАННЕРА (ИСПРАВЛЕНЫ) ===== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: white;
    border-radius: 20px;          /* скруглённые углы, как раньше */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px 24px;
    z-index: 1100;
    border: 1px solid #eaeef2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.cookie-banner.show {
    display: flex;
    flex-direction: row;           /* на десктопе: строка (текст + кнопка справа) */
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #1a1e2b;
    flex: 1;
}

.cookie-banner a {
    color: #1583e9;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-banner a:hover {
    text-decoration: none;
}

.cookie-banner__button {
    background-color: #1583e9;
    color: white;
    border: none;
    border-radius: 60px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.cookie-banner__button:hover {
    background-color: #156349;
}

@media (max-width: 768px) {
    .cookie-banner.show {
        flex-direction: column;    /* столбец: текст сверху, кнопка снизу */
        align-items: stretch;
        gap: 16px;
    }
    .cookie-banner p {
        white-space: normal;
        text-align: left;
    }
    .cookie-banner a {
        white-space: normal;
    }
    .cookie-banner__button {
        width: 100%;               /* кнопка на всю ширину */
        text-align: center;
    }
    .cookie-banner {
        width: 95%;
        bottom: 10px;
        padding: 16px;
    }
}