.cookies-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Центрирование */
    width: 90%;
    max-width: 500px; /* Ограничение ширины на больших экранах */
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Должен быть выше других элементов */
    text-align: center;
}

.cookies-notice__text {
    flex: 1;
    margin-right: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.cookies-notification a {
    color: #6d904d;
}

.cookies-notification a:hover {
    text-decoration: underline;
}

.cookies-notice__button {
    background: #6d904d;
    color: white;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
    white-space: nowrap;
    border: 1px solid #6d904d;
}

.cookies-notice__button:hover {
    background: #fff;
    color: #6d904d;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .cookies-notification {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        max-width: 100%;
        border-radius: 0;
        bottom: 0;
    }

    .cookies-notice__text {
        margin-right: 0;
        margin-bottom: 12px;
    }

    .cookies-notice__button {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .cookies-notification {
        font-size: 13px;
        height: fit-content;
    }
}