/* ═══════════════════════════════════════════
   COOKIE CONSENT BANNER
═══════════════════════════════════════════ */
.cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    max-width: 1100px;
    margin: 0 auto;

    background: #ffffff;
    border: 2px solid #212529;
    border-radius: 18px;
    box-shadow: 6px 6px 0 #212529;

    padding: 20px 24px;

    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease;
    pointer-events: none;
}

.cookie-consent--visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-consent__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #ffc107;
    border: 2px solid #212529;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #212529;
}

.cookie-consent__text {
    flex-grow: 1;
    min-width: 0;
}

.cookie-consent__text strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: #212529;
}

.cookie-consent__text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d;
}

.cookie-consent__text a {
    color: #e0a800;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
    color: #212529;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    padding: 12px 22px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 12px;
    border: 2px solid #212529;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-consent__btn--accept {
    background: #ffc107;
    color: #212529;
    box-shadow: 3px 3px 0 #212529;
}

.cookie-consent__btn--accept:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 #212529;
    background: #ffca6a;
}

.cookie-consent__btn--accept:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #212529;
}

.cookie-consent__btn--decline {
    background: #ffffff;
    color: #212529;
    box-shadow: 3px 3px 0 #6c757d;
    border-color: #212529;
}

.cookie-consent__btn--decline:hover {
    background: #f1f3f5;
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 #6c757d;
}

.cookie-consent__btn--decline:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #6c757d;
}

/* ─── Адаптив ─── */
@media (max-width: 768px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
        border-radius: 14px;
        box-shadow: 4px 4px 0 #212529;
    }

    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-consent__icon {
        width: 44px;
        height: 44px;
        align-self: flex-start;
    }

    .cookie-consent__actions {
        flex-direction: column-reverse;
    }

    .cookie-consent__btn {
        width: 100%;
        justify-content: center;
    }
}