#wppc-popup {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    max-width: 380px;
    width: calc(100% - 32px);
    transform: translateY(24px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

#wppc-popup.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

#wppc-popup .wppc-popup-inner {
    position: relative;
    border-radius: 12px;
    padding: 14px 42px 14px 14px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
    background: #ffffff;
    border-left: 5px solid #1e7a42;
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- Content row: thumbnail + text ---- */
#wppc-popup .wppc-content-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#wppc-popup .wppc-thumb-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}

#wppc-popup .wppc-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    display: block;
}

#wppc-popup .wppc-text-wrap {
    flex: 1;
    min-width: 0;
}

/* ---- Label ---- */
#wppc-popup .wppc-label {
    margin: 0 0 5px;
    font-size: 11px;
    line-height: 1.2;
    color: #1e7a42;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* ---- Line 1: Peter from Toronto bought ---- */
#wppc-popup .wppc-buyer-line {
    margin: 0 0 2px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
    color: #374151;
}

/* ---- Line 2: 2 x Product Name ---- */
#wppc-popup .wppc-product-line {
    margin: 0 0 2px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;
    word-break: break-word;
}

#wppc-popup .wppc-product-line a {
    color: #1e7a42;
    text-decoration: none;
}

#wppc-popup .wppc-product-line a:hover,
#wppc-popup .wppc-product-line a:focus {
    text-decoration: underline;
    color: #155d31;
}

/* ---- Line 3: in 11 minutes ago ---- */
#wppc-popup .wppc-time-line {
    margin: 0;
    font-size: 12px;
    line-height: 1.3;
    color: #6b7280;
    font-weight: 400;
}

/* ---- Close button ---- */
#wppc-popup .wppc-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 28px;
    height: 28px;
    font-size: 22px;
    line-height: 1;
    color: #6b7280;
    padding: 0;
}

#wppc-popup .wppc-close:hover,
#wppc-popup .wppc-close:focus {
    color: #111827;
}

@media (max-width: 600px) {
    #wppc-popup {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
    }

    #wppc-popup .wppc-popup-inner {
        padding: 12px 40px 12px 12px;
    }

    #wppc-popup .wppc-thumb-wrap {
        width: 52px;
        height: 52px;
    }

    #wppc-popup .wppc-thumb {
        width: 52px;
        height: 52px;
    }
}

