🛍️ ✔
🔒 طلب جديد الآن
💎
🕓
✅ طلب مؤكد
.lo-card {
position: fixed;
bottom: 24px;
left: 24px;
z-index: 9999;
display: flex;
align-items: flex-start;
gap: 12px;
max-width: 340px;
padding: 16px 18px;
background: #ffffff;
border: 1px solid #d6e4f9;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(26, 43, 74, 0.15);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.4s ease, transform 0.4s ease;
pointer-events: none;
}
.lo-card.show {
opacity: 1;
transform: translateY(0);
}
.lo-icon {
position: relative;
font-size: 26px;
flex-shrink: 0;
}
.lo-check {
position: absolute;
bottom: -4px;
right: -6px;
font-size: 11px;
background: #2563eb;
color: #ffffff;
width: 16px;
height: 16px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.lo-body {
flex: 1;
min-width: 0;
}
.lo-top {
font-size: 12px;
font-weight: 700;
color: #2563eb;
margin-bottom: 4px;
}
.lo-name {
font-size: 14px;
color: #1a2b4a;
margin-bottom: 2px;
}
.lo-product {
font-size: 13px;
color: #4a6a9c;
line-height: 1.4;
margin-bottom: 8px;
}
.lo-bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.lo-time {
font-size: 11px;
color: #8ca3c7;
}
.lo-badge {
font-size: 11px;
font-weight: 700;
color: #1d7a3d;
background: #e6f7ec;
padding: 3px 8px;
border-radius: 999px;
white-space: nowrap;
}
@media (max-width: 480px) {
.lo-card {
left: 12px;
right: 12px;
max-width: none;
bottom: 12px;
}
}
(function(){
var commandes = [
{ nom:"سارة", ville:"من الجزائر العاصمة", produit:"تم تاكيد طلب لان", temps:"منذ دقيقتين" },
{ nom:"محمد", ville:"من وهران", produit:"تم تاكيد طلب لان", temps:"منذ 4 دقائق" },
{ nom:"فاطمة", ville:"من قسنطينة", produit:"تم تاكيد طلب لان", temps:"منذ 6 دقائق" },
{ nom:"إسماعيل", ville:"من سطيف", produit:"تم تاكيد طلب لان", temps:"منذ 9 دقائق" },
{ nom:"خديجة", ville:"من البليدة", produit:"تم تاكيد طلب لان", temps:"منذ 12 دقيقة" }
];
var card=document.getElementById('liveOrder');
var i=0;
function show(){
var c=commandes[i % commandes.length];
document.getElementById('lo-name').textContent=c.nom;
document.getElementById('lo-city').textContent=c.ville;
document.getElementById('lo-product').textContent=c.produit;
document.getElementById('lo-time').textContent=c.temps;
card.classList.add('show');
setTimeout(function(){ card.classList.remove('show'); }, 5000);
i++;
setTimeout(show, 9000);
}
setTimeout(show, 3000);
})();