/* =========================
   COOKIE BANNER
========================= */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    padding: 0 clamp(16px, 3vw, 48px) clamp(16px, 2vw, 28px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

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

.cookie-banner--visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cookie-banner__content {
    width: min(100%, 1180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, auto);
    gap: clamp(18px, 2vw, 34px);
    align-items: center;
    padding: clamp(18px, 2vw, 26px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #050505;
    color: #ffffff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.cookie-banner__text {
    min-width: 0;
}

.cookie-banner__text h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(22px, 1.8vw, 34px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.cookie-banner__text p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(12px, 0.86vw, 14px);
    font-weight: 800;
    line-height: 1.42;
}

.cookie-banner__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 12px;
}

.cookie-banner__links a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.18s ease;
}

.cookie-banner__links a:hover {
    color: #ff2118;
}

.cookie-banner__button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 20px;
    border: 1px solid #ff2118;
    border-radius: 0;
    background: #ff2118;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.cookie-banner__button span {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.cookie-banner__button:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #050505;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 760px) {
    .cookie-banner {
        padding: 0 12px 12px;
    }

    .cookie-banner__content {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 16px;
    }

    .cookie-banner__button {
        width: 100%;
        min-height: 46px;
    }
}

@media (max-width: 420px) {
    .cookie-banner__text h2 {
        font-size: 24px;
    }

    .cookie-banner__text p {
        font-size: 12px;
    }

    .cookie-banner__links {
        flex-direction: column;
        gap: 8px;
    }
}