/* =========================================
   COOKIE CONSENT
========================================= */

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner {
    position: fixed;

    left: 50%;
    bottom: 24px;

    width: min(calc(100% - 48px), 900px);

    transform: translateX(-50%);

    z-index: 1000;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;

    background: rgba(10, 15, 18, 0.98);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45);
}

.cookie-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 20px 22px;
}

.cookie-banner__text strong {
    display: block;

    margin-bottom: 6px;

    color: #f3f0ed;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;
    font-weight: 400;
}

.cookie-banner__text p {
    margin: 0;

    max-width: 570px;

    color: #8f969a;

    font-size: 12px;
    line-height: 1.6;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.cookie-banner__button {
    height: 42px;

    padding: 0 18px;

    border-radius: 6px;

    font-size: 12px;

    cursor: pointer;
}

.cookie-banner__button--secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);

    background: transparent;
    color: #c8cbcd;
}

.cookie-banner__button--primary {
    border: 1px solid #f2eeea;

    background: #f2eeea;
    color: #111;
}

.cookie-banner__button--secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.cookie-banner__button--primary:hover {
    background: #fff;
}


/* MOBILE */

@media (max-width: 650px) {

    .cookie-banner {
        bottom: 12px;

        width: calc(100% - 24px);
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;

        gap: 16px;

        padding: 18px;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__button {
        flex: 1;
    }
}