.ccf-cookie-consent {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1080;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    max-width: 980px;
    margin: 0 auto;
    padding: 1rem;
    color: #fff;
    background: #111;
    border: 1px solid rgba(200, 167, 93, 0.45);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.45);
}

.ccf-cookie-consent[hidden],
.ccf-cookie-modal[hidden] {
    display: none !important;
}

.ccf-cookie-consent p {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.ccf-cookie-consent__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ccf-cookie-consent a,
.ccf-cookie-modal a {
    color: #f2d58b;
}

.ccf-cookie-consent__actions,
.ccf-cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.ccf-cookie-btn {
    min-width: 10.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #fff;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
}

.ccf-cookie-btn--primary {
    color: #fff;
    background: #8f1d16;
}

.ccf-cookie-btn--secondary {
    color: #fff;
    background: #1b1b1b;
}

.ccf-cookie-btn--outline {
    color: #fff;
    background: transparent;
}

.ccf-cookie-btn:hover,
.ccf-cookie-btn:focus-visible {
    color: #fff;
    border-color: #f2d58b;
    outline: 3px solid rgba(242, 213, 139, 0.35);
    outline-offset: 2px;
}

.ccf-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.ccf-cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.ccf-cookie-modal__panel {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 1.25rem;
    color: #fff;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.6);
}

.ccf-cookie-modal__panel h2 {
    margin: 0 2rem 0.75rem 0;
    font-size: 1.35rem;
}

.ccf-cookie-modal__panel p {
    color: rgba(255, 255, 255, 0.86);
}

.ccf-cookie-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 1.75rem;
    line-height: 1;
}

.ccf-cookie-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.ccf-cookie-category p,
.ccf-cookie-category span {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
}

.ccf-cookie-category--check {
    cursor: pointer;
}

.ccf-cookie-category input {
    width: 1.35rem;
    height: 1.35rem;
    flex: 0 0 auto;
    accent-color: #8f1d16;
}

.ccf-cookie-required {
    flex: 0 0 auto;
    color: #f2d58b;
    font-weight: 700;
}

@media (max-width: 760px) {
    .ccf-cookie-consent {
        grid-template-columns: 1fr;
        padding: 0.85rem;
    }

    .ccf-cookie-consent__actions,
    .ccf-cookie-modal__actions {
        justify-content: stretch;
    }

    .ccf-cookie-btn {
        width: 100%;
    }

    .ccf-cookie-category {
        align-items: flex-start;
    }
}
