#cookiePopup {
    width: min(50%, 600px);
    max-width: calc(100vw - 40px);
    height: fit-content;
    max-height: calc(100vh - 40px);
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
#cookiePopup:not([open]) {
    display: none;
}

#cookiePopup[open] {
    display: flex;
    flex-direction: column;
}

#cookiePopup .close-x {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

#cookiePopup h2 {
    text-align: center;
    margin: 0;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-shrink: 0;
}

.popup-button {
    display: block;
    width: 80%;
    box-sizing: border-box;
    background-color: #c31d2e;
    border: none;
    padding: 10px;
    color: #fff;
    font: inherit;
    text-align: center;
    cursor: pointer;
    overflow-wrap: break-word;
}

.cookie-cta {
    position: fixed;
    left: 30px;
    bottom: 20px;
    z-index: 1111;
    pointer-events: auto;
    background-color: #c31d2e;
    color: #fff;
    border: none;
    border-radius: 0;
    font-family: "paralucent", sans-serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 23px;
    height: 60px;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cookie-cta:hover { background-color: #a01824; }

.cookie-cta .fa-cookie-bite { display: none; }

@media (max-width: 600px) {
#cookiePopup {
    width: calc(100vw - 40px);
}
.cookie-cta {
    left: 10px;
    bottom: 80px;
    padding: 0 16px;
    height: 48px;
    gap: 0;
}
.cookie-cta .cta-label { display: none !important; }
.cookie-cta .fa-cookie-bite { display: inline-block; }
}