.consent-banner {
    position: fixed;
    z-index: 10000;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 920px;
    margin: 0 auto;
    padding: 1rem 1.1rem;
    color: #f7f2ff;
    background: rgba(20, 15, 35, 0.98);
    border: 1px solid rgba(208, 182, 255, 0.45);
    border-radius: 14px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.48);
}

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

.consent-banner h2 {
    margin: 0 0 0.35rem;
    color: #f5d98c;
    font-size: 1rem;
}

.consent-banner p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.consent-banner a {
    color: #dac7ff;
}

.consent-banner__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.65rem;
}

.consent-banner button,
.footer-consent-button {
    font: inherit;
    cursor: pointer;
}

.consent-banner button {
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    border-radius: 9px;
}

.consent-banner__primary {
    color: #171020;
    background: #f5d98c;
    border: 1px solid #f5d98c;
    font-weight: 700;
}

.consent-banner__secondary {
    color: #f7f2ff;
    background: transparent;
    border: 1px solid rgba(247, 242, 255, 0.45);
}

.footer-consent-button {
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    text-decoration: underline;
}

@media (max-width: 680px) {
    .consent-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .consent-banner__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 420px) {
    .consent-banner__actions {
        grid-template-columns: 1fr;
    }
}
