
.cookie-notice {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    background-color: #21282b;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none; /* Скрыт по умолчанию, показывается через JS */
    animation: slideUp 0.4s ease-out;
    max-width: 345px;
    margin: 0 auto;
    transition: all 0.4s ease-out;
}

/* Контент с иконкой и текстом */
.cookie-notice__content {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

/* Иконка печеньки */
.cookie-notice__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-notice__icon svg {
    width: 100%;
    height: 100%;
    --i-color: #ffffff;
    --i-s-width: 2;
}

/* Текст уведомления */
.cookie-notice__text {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}
.cookie-notice__text a{
    color:#fff;
    text-decoration: underline;
}
.cookie-notice__text a:hover{
    text-decoration: none;
}

/* Обертка для кнопки */
.cookie-notice__button-wrapper {
    display: flex;
    justify-content: flex-end;
}

/* Кнопка "Хорошо" */
.cookie-notice__button {
    background-color: #ffffff;
    color: #21282b;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.cookie-notice__button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-notice__button:active {
    transform: translateY(0);
}

/* Анимация появления */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   Адаптивность
   ======================================== */

/* Планшеты */
@media (max-width: 992px) {
    .cookie-notice {
        padding: 18px 25px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .cookie-notice {
        padding: 15px 20px;
    }
    
    .cookie-notice__content {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .cookie-notice__icon {
        width: 32px;
        height: 32px;
    }
    
    .cookie-notice__text {
        font-size: 13px;
    }
    
    .cookie-notice__button {
        padding: 8px 24px;
        font-size: 13px;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .cookie-notice {
        padding: 12px 15px;
    }
    
    .cookie-notice__content {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .cookie-notice__icon {
        width: 28px;
        height: 28px;
    }
    
    .cookie-notice__text {
        font-size: 12px;
    }
    
    .cookie-notice__button {
        padding: 8px 20px;
        font-size: 12px;
    }
}
