/* =========================
   Cookie Notice
========================= */

.cookie-notice {
    position: fixed;
    bottom: 16px;
    left: 16px;
    max-width: 340px;

    background: rgb(15 43 100 / 50%);
    backdrop-filter: blur(8px);

    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.28);
    z-index: 9999;

    /* скрытие */
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ВНУТРЕННИЙ КОНТЕЙНЕР — КЛЮЧ */

.cookie-notice__inner {
    padding: 22px 22px 20px;

    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 18px;

    color: #ffffff;
}

/* Icon */

.cookie-notice__icon {
    width: 28px;
    height: 28px;
    margin-top: 2px;
}

.cookie-notice__icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}

/* Text */

.cookie-notice__content {
    font-size: 14px;
    line-height: 1.55;
}

.cookie-notice__content p {
    margin: 0;
}

.cookie-notice__content a {
    color: #ffffff;
    text-decoration: underline;
}

/* Button */

.cookie-notice__btn {
    grid-column: 1 / -1;

    width: 100%;
    padding: 13px 18px;

    border-radius: 999px;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;

    font-size: 15px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;

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

.cookie-notice__btn:hover {
    background: #ffffff;
    color: #3b465e;
}

/* Mobile */

@media (max-width: 480px) {
    .cookie-notice {
        left: 12px;
        right: 12px;
        max-width: none;
    }

    .cookie-notice__inner {
        padding: 18px;
    }
}