/**
 * Recent-sales notification.
 * Brand palette: magenta #E6088E on a dark card, Poppins to match the theme.
 */

.fibp-sp {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9990;            /* under the WhatsApp button, not over it */
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 330px;
    padding: 13px 15px;
    border: 1px solid #343434;
    border-radius: 14px;
    background: #202020;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
    font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #fff;

    /* Hidden by default and kept out of the tab order until it is shown. */
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .32s ease, transform .32s ease, visibility .32s;
}

.fibp-sp.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fibp-sp-mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(230, 8, 142, .15);
    border: 1px solid rgba(230, 8, 142, .45);
    color: #E6088E;
}

.fibp-sp-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fibp-sp-line {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
}

.fibp-sp-meta {
    font-size: 12.5px;
    line-height: 1.3;
    color: #bebebe;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fibp-sp-close {
    flex: 0 0 auto;
    margin-left: auto;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8a8a8a;
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
}

.fibp-sp-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

/* On phones the WhatsApp button owns the bottom-right, so sit above it and
   stay narrow enough not to cover the page. */
@media (max-width: 600px) {
    .fibp-sp {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}

/* Belt and braces: the JS already bails out for reduced-motion users. */
@media (prefers-reduced-motion: reduce) {
    .fibp-sp { transition: none; }
}
