.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 5.2rem;
    z-index: 500;
    max-width: 54rem;
    margin-inline: auto;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1rem;
    background: #171717;
    color: #f7f5f0;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28);
}

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

.cookie-banner-inner {
    display: grid;
    gap: 1rem;
}

.cookie-banner-copy h2 {
    margin: 0 0 .35rem;
    font-size: 1.2rem;
    line-height: 1.15;
}

.cookie-banner-copy p {
    margin: 0;
    color: #cbc5bb;
    font-size: .92rem;
}

.cookie-banner-copy a {
    color: #ead79f;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: .16em;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.cookie-banner-actions .button {
    flex: 1 1 11rem;
}

.cookie-button-secondary {
    border-color: rgba(255, 255, 255, .22);
    background: transparent;
    color: #fff;
}

.footer-cookie-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus-visible {
    color: #ead79f;
}

@media (min-width: 760px) {
    .cookie-banner {
        bottom: 1.4rem;
        padding: 1.25rem 1.35rem;
    }

    .cookie-banner-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 1.4rem;
    }

    .cookie-banner-actions .button {
        flex: none;
    }
}
