.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    background: var(--color-dark-950);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}
.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
}

.cookie-banner__text {
    flex: 1;
    min-width: 260px;
    margin: 0;
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}
.cookie-banner__text a {
    color: var(--color-gold-500);
    text-decoration: underline;
    text-decoration-color: rgba(217, 119, 6, 0.4);
}
.cookie-banner__text a:hover {
    text-decoration-color: currentColor;
}

.cookie-banner__btn {
    flex-shrink: 0;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    background: var(--color-gold-500);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}
.cookie-banner__btn:hover {
    background: var(--color-gold-600);
}

body.has-cookie-banner .back-to-top {
    bottom: calc(var(--cookie-banner-height, 80px) + 24px);
}

@media (max-width: 640px) {
    .cookie-banner__inner {
        padding: 16px 0;
    }
    .cookie-banner__btn {
        width: 100%;
    }
    body.has-cookie-banner .back-to-top {
        bottom: calc(var(--cookie-banner-height, 80px) + 16px);
    }
}
