/* Баннер согласия на использование cookies */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    padding: 16px;
    background: rgba(26, 26, 26, 0.96);
    color: #f5f5f5;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    box-sizing: border-box;
}

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

.cookie-consent__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent__text {
    flex: 1 1 280px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #e8e8e8;
}

.cookie-consent__link {
    color: #FFE135;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.cookie-consent__link:hover {
    color: #fff59d;
}

.cookie-consent__btn {
    flex-shrink: 0;
    min-width: 120px;
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    background: #FFE135;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.cookie-consent__btn:hover {
    background: #fff59d;
}

.cookie-consent__btn:active {
    transform: scale(0.98);
}

body.cookie-consent-visible {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 600px) {
    .cookie-consent {
        padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0));
    }

    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__btn {
        width: 100%;
    }
}
