.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 12000;
    max-width: 760px;
    margin: 0 auto;
    padding: 1.1rem;
    color: #172033;
    background: #fff;
    border: 1px solid #d7dde5;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.2);
}

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

.cookie-banner__title {
    margin: 0 0 0.4rem;
    font: 700 1.05rem/1.35 var(--font-heading, 'Montserrat', sans-serif);
}

.cookie-banner__text {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.55;
}

.cookie-banner__text a {
    color: #14532d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.cookie-banner__button,
.cookie-settings-button {
    min-height: 44px;
    border-radius: 10px;
    font: 600 0.95rem/1.2 'Inter', sans-serif;
    cursor: pointer;
}

.cookie-banner__button {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #166534;
}

.cookie-banner__button--reject {
    color: #fff;
    background: #166534;
}

.cookie-banner__button--accept {
    color: #fff;
    background: #166534;
}

.cookie-banner__button--reject:hover {
    color: #fff;
    background: #14532d;
}

.cookie-banner__button--accept:hover {
    color: #fff;
    background: #14532d;
}

.cookie-banner__button:focus-visible,
.cookie-settings-button:focus-visible {
    outline: 3px solid rgba(22, 101, 52, 0.28);
    outline-offset: 2px;
}

.cookie-settings-button {
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (pointer: coarse), (max-width: 767px) {
    .footer-documents .cookie-settings-button,
    .site-legal-footer .cookie-settings-button,
    .legal-nav .cookie-settings-button {
        min-height: 44px;
        padding: 0.55rem 0.7rem;
    }
}

@media (max-width: 560px) {
    .cookie-banner {
        right: 0.75rem;
        bottom: 0.75rem;
        left: 0.75rem;
    }

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