/* ==========================================
   COOKIE CONSENT
========================================== */

.cookie-banner {

    position: fixed;

    left: 50%;

    bottom: 25px;

    transform: translateX(-50%);

    width: min(900px, calc(100% - 40px));

    background: #fff;

    border-radius: 22px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);

    border: 1px solid rgba(0, 0, 0, .06);

    z-index: 9999;

    padding: 28px;

    animation: cookieUp .45s ease;

}


.cookie-banner__content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

}


.cookie-banner__text {

    flex: 1;

}


.cookie-banner__text h4 {

    margin: 0 0 10px;

    font-size: 22px;

    color: var(--secondary);

}


.cookie-banner__text p {

    margin: 0;

    color: var(--text-light);

    line-height: 1.7;

    font-size: 15px;

}


.cookie-banner__text a {

    color: var(--primary);

    font-weight: 600;

}


.cookie-banner__buttons {

    display: flex;

    gap: 12px;

    flex-shrink: 0;

}


@keyframes cookieUp {

    from {

        opacity: 0;

        transform: translate(-50%, 40px);

    }

    to {

        opacity: 1;

        transform: translate(-50%, 0);

    }

}


@media(max-width:768px) {

    .cookie-banner {

        bottom: 15px;

        padding: 22px;

    }

    .cookie-banner__content {

        flex-direction: column;

        align-items: flex-start;

    }

    .cookie-banner__buttons {

        width: 100%;

    }

    .cookie-banner__buttons .btn {

        flex: 1;

    }

}

/* ==========================================
   COOKIE SETTINGS PANEL
========================================== */


.cookie-settings-panel {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .45);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 10000;

}



.cookie-settings-box {

    width: min(520px, calc(100% - 40px));

    background: #fff;

    border-radius: 24px;

    padding: 35px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, .25);

    position: relative;

}



.cookie-settings-box h3 {

    font-family: 'Playfair Display', serif;

    color: var(--secondary);

    margin-bottom: 15px;

}



.cookie-settings-box p {

    color: var(--text-light);

    margin-bottom: 25px;

}



.cookie-settings-box label {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;

    color: var(--text);

    font-size: 15px;

}



.cookie-settings-box input[type="checkbox"] {

    width: 18px;

    height: 18px;

}



.cookie-settings-buttons {

    margin-top: 25px;

    text-align: right;

}



.cookie-settings-buttons .btn {

    border-radius: 50px;

    padding: 10px 25px;

}

/* COOKIE SETTINGS CLOSE */


.cookie-settings-close {

    position: absolute;

    top: 18px;

    right: 22px;

    border: 0;

    background: none;

    font-size: 28px;

    line-height: 1;

    color: var(--gray);

    cursor: pointer;

    transition: .3s;

}


.cookie-settings-close:hover {

    color: var(--primary);

}