/* VIP Live Shop — corner notification card + product-page counter line */

.vls-card {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    padding: 10px 30px 10px 10px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(140%);
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
}

.vls-card.vls-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.vls-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #f9fafb;
    flex-shrink: 0;
}

.vls-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.vls-who {
    font-weight: 700;
    font-size: 13.5px;
    color: #1f2430;
}

.vls-what {
    font-size: 13px;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vls-when {
    font-size: 12px;
    color: #6b7280;
    margin-top: 1px;
}

.vls-close {
    position: absolute;
    top: 4px;
    right: 6px;
    background: transparent;
    border: 0;
    padding: 2px 4px;
    font-size: 16px;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
}

.vls-close:hover {
    color: #4b5563;
}

@media (max-width: 480px) {
    .vls-card {
        left: 8px;
        bottom: 84px; /* clear of the floating call button (top edge measured at 70px) */
        max-width: calc(100vw - 88px);
        padding: 8px 26px 8px 8px;
    }

    .vls-img {
        width: 38px;
        height: 38px;
    }
}

/* Product page: "Купен N пъти през последния месец" */

.vls-count {
    display: inline-block;
    background: #f3f4f6;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 14px;
    color: #1f2430;
    margin: 10px 0;
}
