.cookie-notice {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 99999;

    width: min(365px, calc(100vw - 32px));

    padding: 18px 16px 16px;

    border: 1px solid #e1e6ef;
    border-radius: 17px;

    background: #fff;

    box-shadow:
        0 20px 55px
        rgba(15, 25, 44, .18);

    color: #26334a;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.cookie-notice[hidden] {
    display: none;
}


.cookie-close {
    position: absolute;

    top: 11px;
    right: 11px;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 0;
    border-radius: 8px;

    background: #f0f3f8;

    color: #75849a;

    cursor: pointer;

    font-size: 20px;
    line-height: 1;
}

.cookie-close:hover {
    background: #e6ebf2;
    color: #26334a;
}


.cookie-brand {
    display: flex;
    align-items: center;

    gap: 10px;

    padding-right: 40px;
}

.cookie-brand img {
    width: 34px;
    height: 34px;

    object-fit: contain;

    border-radius: 8px;
}

.cookie-brand div {
    display: flex;
    flex-direction: column;
}

.cookie-brand strong {
    color: #19243a;

    font-size: 13px;
    line-height: 1.1;

    font-weight: 900;
}

.cookie-brand span {
    margin-top: 3px;

    color: #8a96a8;

    font-size: 10px;
}


.cookie-notice h2 {
    margin: 15px 0 7px;

    color: #182338;

    font-size: 20px;
    line-height: 1.2;

    letter-spacing: -.025em;
}

.cookie-notice > p {
    margin: 0;

    color: #68758a;

    font-size: 13px;
    line-height: 1.6;
}


.cookie-primary,
.cookie-secondary {
    width: 100%;

    min-height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 13px;

    border: 0;
    border-radius: 10px;

    cursor: pointer;

    text-decoration: none;

    font: inherit;
    font-size: 13px;
    font-weight: 850;
}

.cookie-primary {
    background:
        linear-gradient(
            135deg,
            #3e68ff,
            #6844f5
        );

    color: #fff;

    box-shadow:
        0 8px 18px
        rgba(67, 93, 241, .20);
}

.cookie-primary:hover {
    filter: brightness(1.04);
}


.cookie-secondary {
    margin-top: 8px;

    background: #f2f4f8;

    color: #46546a;
}

.cookie-secondary:hover {
    background: #e9edf4;
}


.cookie-links {
    display: flex;
    flex-wrap: wrap;

    gap: 7px 13px;

    margin-top: 13px;
}

.cookie-links a {
    color: #385de5;

    text-decoration: none;

    font-size: 10px;
    font-weight: 700;
}

.cookie-links a:hover {
    text-decoration: underline;
}


/* GALLETA FLOTANTE */

.cookie-reopen {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 99998;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid #dce3ed;
    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 8px 25px
        rgba(15, 25, 44, .13);

    cursor: pointer;

    font-size: 23px;

    transition:
        transform .16s ease,
        box-shadow .16s ease;
}

.cookie-reopen:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(15, 25, 44, .18);
}


body.cookie-panel-open .cookie-reopen {
    display: none;
}


@media (max-width: 640px) {

    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;

        width: auto;

        padding: 17px 15px 15px;
    }

    .cookie-notice h2 {
        font-size: 19px;
    }

    .cookie-notice > p {
        font-size: 13px;
    }

    .cookie-reopen {
        right: 14px;
        bottom: 14px;
    }

}
