/**
 * SOCIAL PROOF NOTIFICATIONS
 * Subtle "Someone purchased..." popups
 */

#social-proof-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9990;
    /* Below WhatsApp widget */
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    /* Let clicks pass through */
}

.social-proof-toast {
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
    max-width: 320px;
    transform: translateX(-120%);
    /* Start hidden off-screen */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
    border-left: 4px solid #25D366;
    /* Trust green */
    opacity: 0;
    pointer-events: auto;
    /* Enable closing/clicking */
}

.social-proof-toast.visible {
    transform: translateX(0);
    opacity: 1;
}

.sp-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #555;
    flex-shrink: 0;
}

.sp-content {
    flex: 1;
}

.sp-title {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.3;
}

.sp-title strong {
    font-weight: 600;
    color: #000;
}

.sp-time {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sp-check {
    color: #25D366;
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    #social-proof-container {
        bottom: 80px;
        /* Avoid overlapping mobile nav/cart */
        left: 20px;
    }
}