/* ============================================
   SOCIAL PROOF WIDGETS
   ============================================ */

/* Live View Counter */
.live-view-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

.live-view-badge i {
    color: #fff;
    animation: blink 1.5s infinite;
}

.live-view-badge .count {
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Recent Purchase Notifications */
#recent-purchase-notifications {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    max-width: 350px;
}

.recent-purchase-notification {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

.recent-purchase-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 12px;
    position: relative;
}

.notification-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon i {
    color: #fff;
    font-size: 20px;
}

.notification-text {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
    color: #2c3e50;
}

.notification-text strong {
    font-weight: 600;
    color: #2c3e50;
}

.notification-text .product-name {
    color: #e74c3c;
    font-weight: 600;
}

.notification-text small {
    color: #7f8c8d;
    font-size: 11px;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #95a5a6;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.notification-close:hover {
    color: #2c3e50;
}

/* Trust Badges Section */
.trust-badges-section {
    background: #f8f9fa;
    padding: 30px 0;
    margin: 40px 0;
}

.trust-badges-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.trust-badge-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.trust-badge-icon.secure {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.trust-badge-icon.shipping {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.trust-badge-icon.return {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.trust-badge-icon.support {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
}

.trust-badge-text {
    text-align: left;
}

.trust-badge-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2px;
}

.trust-badge-subtitle {
    font-size: 13px;
    color: #7f8c8d;
}

/* Customer Count Badge */
.customer-count-badge {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 16px;
    margin: 40px 0;
}

.customer-count-badge .count {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.customer-count-badge .text {
    font-size: 18px;
    font-weight: 500;
}

/* Product Page Social Proof */
.product-social-proof {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #2c3e50;
}

.social-proof-item i {
    color: #e74c3c;
}

.social-proof-item .value {
    font-weight: 700;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    #recent-purchase-notifications {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    
    .recent-purchase-notification {
        font-size: 12px;
    }
    
    .notification-icon {
        width: 40px;
        height: 40px;
    }
    
    .notification-icon i {
        font-size: 18px;
    }
    
    .trust-badges-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .trust-badge {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
    
    .customer-count-badge .count {
        font-size: 36px;
    }
    
    .customer-count-badge .text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .live-view-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .live-view-badge .count {
        font-size: 14px;
    }
    
    #recent-purchase-notifications {
        bottom: 10px;
    }
}
