/* Casa Belle Social Proof Plugin Styles */

.casa-belle-live-viewers {
    transition: all 0.3s ease;
}

.casa-belle-live-viewers .live-pill {
    box-shadow: 0 2px 6px rgba(44, 34, 30, 0.15);
}

.casa-belle-live-viewers .live-pill svg {
    animation: cbEyePulse 2.5s infinite ease-in-out;
}

@keyframes cbEyePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Recent Purchase Toast (Quiet Luxury Aesthetic) */
.cb-purchase-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9998;
    background: #FAF8F5;
    border: 1px solid #E8D5B5;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(44, 34, 30, 0.12);
    padding: 12px 36px 12px 14px;
    max-width: 360px;
    width: calc(100vw - 40px);
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: auto;
}

.cb-purchase-toast.cb-toast-visible {
    opacity: 1;
    transform: translateY(0);
}

.cb-toast-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cb-toast-img-wrap {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #E8D5B5;
    background: #fff;
}

.cb-toast-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-toast-info {
    flex-grow: 1;
    min-width: 0;
}

.cb-toast-head {
    font-size: 11px;
    color: #7D7065;
    line-height: 1.3;
    margin-bottom: 2px;
}

.cb-toast-buyer {
    font-weight: 600;
    color: #2C221E;
}

.cb-toast-product-link {
    text-decoration: none !important;
}

.cb-toast-product-title {
    font-size: 13px;
    font-weight: 600;
    color: #2C221E;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.cb-toast-product-title:hover {
    color: #B89058;
}

.cb-toast-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #9C8F84;
    margin-top: 2px;
}

.cb-toast-verified {
    color: #B89058;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.cb-check-icon {
    font-size: 10px;
    font-weight: bold;
}

.cb-toast-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #A89B8F;
    cursor: pointer;
    line-height: 1;
    padding: 2px 4px;
}

.cb-toast-close:hover {
    color: #2C221E;
}

@media (max-width: 767px) {
    .cb-purchase-toast {
        bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
        left: 14px !important;
        right: auto !important;
        width: auto !important;
        max-width: calc(100vw - 86px) !important;
        padding: 10px 32px 10px 10px !important;
        border-radius: 8px !important;
    }
    .cb-toast-img-wrap {
        width: 44px !important;
        height: 44px !important;
    }
    .cb-toast-product-title {
        font-size: 12px !important;
    }
}
