/* ===== COOKIE POP-UP ===== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 420px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transform: translateY(120%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-container {
    padding: 24px;
}

.cookie-content {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.cookie-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.cookie-icon svg {
    width: 28px;
    height: 28px;
}

.cookie-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1e293b;
}

.cookie-text p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Montserrat", sans-serif;
}

.cookie-btn {
    background: #1a73e8;
    color: white;
    min-width: 140px;
}

.cookie-btn:hover {
    background: #1669d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

.cookie-btn-outline {
    background: white;
    border: 1px solid #cbd5e1;
    color: #64748b;
    min-width: 130px;
}

.cookie-btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #475569;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-icon {
        align-self: center;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-btn, .cookie-btn-outline {
        min-width: auto;
        width: 100%;
    }
}

/* Анимация появления */
@keyframes slideInUp {
    from {
        transform: translateY(120%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-popup.show {
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}