.site-consent-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    z-index: 9999;
}

.site-consent-banner--bottom {
    bottom: 1rem;
}

.site-consent-banner--top {
    top: 1rem;
}

.site-consent-banner__inner {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    border: 1px solid var(--wp--preset--color--neutral-400, #a1a1aa);
    background: var(--wp--preset--color--neutral-0, #ffffff);
    color: var(--wp--preset--color--neutral-950, #09090b);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.site-consent-banner__content {
    display: grid;
    gap: 0.5rem;
}

.site-consent-banner__heading {
    margin: 0;
    font-size: 1.125rem;
}

.site-consent-banner__copy {
    margin: 0;
    max-width: 42rem;
}

.site-consent-banner__links {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.site-consent-banner__links a {
    text-decoration: underline;
}

.site-consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.site-consent-footer-link {
    position: fixed;
    right: 1rem;
    bottom: 0.75rem;
    z-index: 9998;
    padding: 0.35rem 0.5rem;
    background: rgba(9, 9, 11, 0.92);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.site-consent-footer-link a {
    color: inherit;
    text-decoration: none;
}

.site-consent-footer-link a:hover,
.site-consent-footer-link a:focus {
    text-decoration: underline;
}

.site-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.site-consent-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 11, 0.58);
}

.site-consent-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    margin: 6vh auto;
    padding: 1.5rem;
    background: var(--wp--preset--color--neutral-0, #ffffff);
    color: var(--wp--preset--color--neutral-950, #09090b);
    border: 1px solid var(--wp--preset--color--neutral-400, #a1a1aa);
    box-shadow: 0 20px 64px rgba(0, 0, 0, 0.25);
}

.site-consent-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-consent-modal__header h2 {
    margin: 0;
}

.site-consent-modal__close {
    border: 0;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.site-consent-modal__intro {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.site-consent-modal__categories {
    display: grid;
    gap: 1rem;
}

.site-consent-category {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--wp--preset--color--neutral-400, #a1a1aa);
}

.site-consent-category__copy {
    display: grid;
    gap: 0.35rem;
}

.site-consent-category input {
    margin-top: 0.25rem;
}

.site-consent-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (max-width: 782px) {
    .site-consent-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-consent-footer-link {
        right: 0.75rem;
        left: 0.75rem;
        bottom: 0.5rem;
        text-align: center;
    }

    .site-consent-modal__dialog {
        margin: 0;
        min-height: 100vh;
        max-width: none;
    }

    .site-consent-category {
        flex-direction: column;
    }
}