.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    padding: 16px 20px;
    background: color-mix(in srgb, var(--header-top-bg, #f0f8f7) 92%, #ffffff);
    border-top: 1px solid rgba(74, 140, 136, 0.14);
    box-shadow: 0 -4px 24px rgba(74, 140, 136, 0.1);
    backdrop-filter: blur(8px);
}

.cookie-consent.is-visible {
    display: block;
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.cookie-consent__text {
    margin: 0;
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 1.55;
    color: var(--site-body-text, #333333);
}

.cookie-consent__link {
    color: var(--header-accent, #4a8c88);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__link:hover {
    color: var(--header-accent-dark, #3d7572);
}

.cookie-consent__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
}

.cookie-consent__btn {
    padding: 10px 20px;
    border-radius: var(--header-radius-pill, 999px);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-consent__btn--accept {
    border: none;
    background: var(--header-accent, #4a8c88);
    color: #ffffff;
}

.cookie-consent__btn--accept:hover {
    background: var(--header-accent-dark, #3d7572);
}

.cookie-consent__btn--decline {
    border: 1px solid rgba(74, 140, 136, 0.28);
    background: var(--site-button-bg, #ffffff);
    color: var(--site-button-text, var(--header-accent, #4a8c88));
}

.cookie-consent__btn--decline:hover {
    border-color: var(--header-accent, #4a8c88);
    background: var(--site-button-bg-hover, #ffffff);
    color: var(--site-button-text-hover, var(--header-accent-dark, #3d7572));
}

body.cookie-consent-visible {
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__actions {
        justify-content: flex-end;
    }
}
