/* Better Usability — "Buy now" and the feedback after an add to cart (since 1.2.0) */
.wbu-buy-now {
    margin-left: .5em;
}

.wbu-buy-now-shop {
    margin-top: .5em;
}

.wc-block-components-product-button + .wbu-buy-now-shop,
.wp-block-button + .wbu-buy-now-shop {
    display: inline-block;
    margin-left: 0;
}

.wbu-added-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 99999;
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    border-radius: 6px;
    background: #1e1e1e;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
    transform: translate(-50%, 200%);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
    box-sizing: border-box;
}

.wbu-added-toast.wbu-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.wbu-added-toast-link {
    margin-left: .75em;
    color: #fff !important;
    font-weight: 600;
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .wbu-added-toast { transition: none; }
}
