/* Cookie consent bar — full-width strip at bottom of viewport */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--color-black);
    color: var(--color-white);
    box-shadow: 0 -4px 24px rgba(var(--color-black-rgb), 0.35);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-consent.is-visible {
    transform: translateY(0);
    opacity: 1;
}

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

.cookie-consent__accent {
    height: 2px;
    width: 100%;
    background: var(--top-bar-gradient);
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 10px clamp(16px, 4vw, 48px);
    max-width: var(--layout-shell-max, 1440px);
    margin: 0 auto;
}

.cookie-consent__text {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.cookie-consent__link {
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.cookie-consent__link:hover {
    opacity: 0.85;
}

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

.cookie-consent__btn {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 7px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cookie-consent__btn:focus-visible {
    outline: 2px solid var(--top-bar-color-1);
    outline-offset: 2px;
}

.cookie-consent__btn--primary {
    background: var(--color-white);
    color: var(--color-darkpurple);
}

.cookie-consent__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

.cookie-consent__btn--secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.cookie-consent__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
}

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

@media (max-width: 640px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 16px;
    }

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

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