/* WooCommerce Live Order Notifications - Custom Responsive & Customizable Styles */
#lon-popup-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
    max-width: 380px;
    width: calc(100% - 40px);
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.lon-popup-card {
    display: flex;
    align-items: center;
    background-color: var(--lon-bg-color, #ffffff);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--lon-border-color, #e2e8f0);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    text-decoration: none !important;
}

.lon-popup-card.lon-show {
    opacity: 1;
    transform: translateY(0);
}

.lon-popup-img-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 14px;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.lon-popup-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lon-popup-content {
    flex-grow: 1;
    overflow: hidden;
}

.lon-popup-buyer {
    font-size: 13px;
    font-weight: 700;
    color: var(--lon-buyer-name-color, #0f172a);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lon-popup-buyer span {
    font-weight: 400;
    color: var(--lon-buyer-text-color, #64748b);
}

.lon-popup-product-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--lon-product-title-color, #2563eb) !important;
    margin: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lon-popup-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--lon-time-color, #94a3b8);
    margin-top: 2px;
}

.lon-popup-price,
.lon-popup-price * {
    font-weight: 700;
    color: var(--lon-price-color, #16a34a) !important;
}

.lon-popup-close {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #e2e8f0;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.lon-popup-close:hover {
    background: #cbd5e1;
    color: #0f172a;
}

/* Responsive adjust for mobile */
@media (max-width: 480px) {
    #lon-popup-container {
        left: 15px;
        bottom: 15px;
        max-width: 320px;
    }
    .lon-popup-img-wrapper {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }
    .lon-popup-buyer, .lon-popup-product-title {
        font-size: 12px;
    }
}
