/* Cookie-уведомление */

.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    gap: 16px;
    width: 750px;
    max-width: calc(100% - 32px);
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

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

.cookie-consent__text {
    font-size: 13px;
    line-height: 1.45;
    color: #414141;
    text-align: center;
}

.cookie-consent__text a {
    color: #2b2f7a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
    color: #fac837;
}

.cookie-consent__accept {
    display: block;
    width: 200px;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    background: #fac837;
    color: #414141;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.cookie-consent__accept:hover {
    background: #414141;
    color: #fff;
}

@media (max-width: 767px) {
    .cookie-consent {
        bottom: 16px;
        flex-direction: column;
        padding: 16px;
    }

    .cookie-consent__text {
        font-size: 12px;
    }
    
    .cookie-consent__accept {
        width: 100%;
    }
}
