/* Social Proof Widget */
#social-proof {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    max-width: 340px;
    width: calc(100% - 40px);
    pointer-events: none;
}

#social-proof .sp-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

#social-proof .sp-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    color: inherit;
}

#social-proof .sp-card.sp-visible {
    opacity: 1;
    transform: translateY(0);
}

#social-proof .sp-card.sp-hiding {
    opacity: 0;
    transform: translateY(0);
    transition: opacity 0.3s ease;
}

#social-proof .sp-emoji {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

#social-proof .sp-content {
    flex: 1;
    min-width: 0;
}

#social-proof .sp-text {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    margin: 0 0 4px;
}

#social-proof .sp-name {
    font-weight: 700;
    color: #222;
}

#social-proof .sp-product {
    color: #2e7d32;
    font-weight: 600;
}

#social-proof .sp-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #888;
    margin: 0;
}

#social-proof .sp-verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #2e7d32;
    font-weight: 600;
    font-size: 11px;
}

#social-proof .sp-verified-dot {
    width: 6px;
    height: 6px;
    background: #2e7d32;
    border-radius: 50%;
    display: inline-block;
}

#social-proof .sp-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    font-size: 16px;
    color: #aaa;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    pointer-events: auto;
}

#social-proof .sp-close:hover {
    color: #555;
}

#social-proof .sp-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #2e7d32;
    border-radius: 0 0 12px 12px;
    transition: width linear;
}

/* Mobile */
@media (max-width: 480px) {
    #social-proof {
        left: 10px;
        bottom: 10px;
        max-width: none;
        width: calc(100% - 20px);
    }
}
