/* Cookie / analytics consent bar — uses site theme tokens. */

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2100;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: var(--surface-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
}

.cookie-consent-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.cookie-consent-copy {
    flex: 1 1 18rem;
    min-width: 0;
}

.cookie-consent-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    margin: 0 0 0.35rem;
    color: var(--heading-color);
}

.cookie-consent-desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.cookie-consent-privacy {
    margin-left: 0.35rem;
    white-space: nowrap;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    flex: 0 0 auto;
}

.cookie-consent-actions .btn {
    min-width: 6.5rem;
}

.footer-cookie-prefs {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: 600;
    line-height: inherit;
    color: var(--link-color);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
    display: inline;
    vertical-align: baseline;
}

.footer-cookie-prefs:hover {
    color: var(--link-hover-color);
}

@media (max-width: 575.98px) {
    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-consent-actions .btn {
        flex: 1 1 auto;
    }
}
