.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    background: #1a2e1a;
    color: #f5f5f3;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
    font-family: 'Segoe UI', system-ui, sans-serif;
    animation: cookieConsentSlideUp 220ms ease-out;
}

@keyframes cookieConsentSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-consent__text {
    flex: 1 1 360px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent__text strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: #eaf4ea;
}

.cookie-consent__text a {
    color: #eaf4ea;
    text-decoration: underline;
}

.cookie-consent__text a:hover {
    color: #fff;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.cookie-consent__btn {
    border: 1px solid transparent;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.cookie-consent__btn--primary {
    background: #2d7a3a;
    color: #fff;
    border-color: #2d7a3a;
}

.cookie-consent__btn--primary:hover {
    background: #246130;
    border-color: #246130;
}

.cookie-consent__btn--secondary {
    background: transparent;
    color: #eaf4ea;
    border-color: rgba(234, 244, 234, 0.45);
}

.cookie-consent__btn--secondary:hover {
    background: rgba(234, 244, 234, 0.08);
    border-color: #eaf4ea;
}

.cookie-consent.is-hiding {
    animation: cookieConsentSlideDown 200ms ease-in forwards;
}

@keyframes cookieConsentSlideDown {
    from { transform: translateY(0); opacity: 1; }
    to { transform: translateY(100%); opacity: 0; }
}

@media (max-width: 720px) {
    .cookie-consent__inner {
        padding: 14px 16px;
        gap: 14px;
    }

    .cookie-consent__text {
        flex-basis: 100%;
        font-size: 13.5px;
    }

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

    .cookie-consent__btn {
        flex: 1 1 auto;
        max-width: 180px;
    }
}

@media (max-width: 380px) {
    .cookie-consent__btn {
        padding: 9px 12px;
        font-size: 13px;
    }
}
