.cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;

    padding: 20px;

    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 40px rgba(21, 73, 78, .10);
    backdrop-filter: blur(18px);

    color: var(--ink);
}

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

.cookie-banner-inner {
    width: min(100%, var(--max));
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-banner-text {
    max-width: 760px;
}

.cookie-banner-text strong {
    display: block;
    margin-bottom: 6px;

    font-size: 18px;
    line-height: 1.3;
    color: var(--ink);
}

.cookie-banner-text p {
    margin: 0 0 6px;

    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.cookie-banner-text a {
    color: var(--teal);
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner-text a:hover {
    color: #087f7e;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner button {
    padding: 12px 18px;

    border-radius: 12px;

    font: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
    transition: .2s ease;
}

.cookie-banner-accept {
    background: linear-gradient(135deg, var(--teal2), var(--teal));
    color: #fff;
    border: 1px solid transparent;
}

.cookie-banner-accept:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.cookie-banner-reject {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}

.cookie-banner-reject:hover {
    border-color: #a8cbca;
    background: var(--soft);
}

@media (max-width: 720px) {
    .cookie-banner {
        padding: 18px 16px;
    }

    .cookie-banner-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .cookie-banner-text {
        max-width: none;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-banner-actions button {
        flex: 1;
    }
}
