/* WooCommerce variable product AJAX cart toast, version 3.0.1 */
#wc-variable-cart-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 999999;

    max-width: min(360px, calc(100vw - 40px));
    padding: 14px 20px;

    color: #000;
    background: #c1ff00;
    border-radius: 5px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);

    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;

    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -10%);
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0s linear 0.2s;
}

#wc-variable-cart-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0%);
    transition-delay: 0s;
}

body.admin-bar #wc-variable-cart-toast {
    top: 52px;
}

@media (max-width: 600px) {
    #wc-variable-cart-toast {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
        text-align: center;
    }

    body.admin-bar #wc-variable-cart-toast {
        top: 58px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #wc-variable-cart-toast {
        transition: none;
        transform: none;
    }
}
