/**
 * Realistic Viewers - Modern Minimalist Style
 */

.product-viewers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: #666;
}

.viewer-icon {
    font-size: 16px;
    opacity: 0.85;
    display: inline-block;
}

.viewer-count {
    font-weight: 700;
    color: #E1B998;
    min-width: 20px;
    text-align: center;
}

.viewer-text {
    color: #888;
    font-size: 12px;
    letter-spacing: 0.3px;
}

/* ============================================
   COMPACT VERSION
   ============================================ */
.product-viewers.compact {
    gap: 4px;
    font-size: 12px;
}

.product-viewers.compact .viewer-count {
    font-size: 14px;
}

/* ============================================
   INLINE (with separator)
   ============================================ */
.product-viewers.inline {
    gap: 8px;
}

.product-viewers.inline::before {
    content: '|';
    color: #e0e0e0;
    margin: 0 4px;
}

.product-viewers.inline:first-child::before {
    display: none;
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
    .product-viewers {
        padding: 0;
        font-size: 12px;
    }

    .viewer-icon {
        font-size: 14px;
    }

    .viewer-count {
        font-size: 12px;
    }

    .viewer-text {
        font-size: 11px;
    }

    .product-viewers.compact {
        gap: 3px;
        font-size: 11px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes scaleUp {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.viewer-count {
    transition: color 0.5s ease, transform 0.3s ease;
}

.product-viewers[data-animate="true"] .viewer-count {
    animation: scaleUp 0.6s ease;
}
