#sv-cart-toast {
    z-index: 999999;
    background: var(--accent-3);
    border-radius: 8px;
    padding: 16px 42px 16px 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
    min-width: 200px;
    max-width: 250px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

#sv-cart-toast.sv-toast--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sv-toast-msg {
    margin: 0 0 10px;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    text-wrap: balance;
    hyphens: none;
}

.sv-toast-btn {
    display: inline-block;
    background: #fff;
    color: var(--accent-3) !important;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    transition: background 0.2s, opacity 0.2s;
}

.sv-toast-btn:hover {
    opacity: 0.85;
    background: #fff;
}

.sv-toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
    padding: 0;
}

.sv-toast-close:hover {
    color: #fff;
}
/* "Zur Kasse" loading state (toast button and fly-cart button) */
.sv-toast-btn.is-loading,
.woofc-action-checkout.is-loading {
    cursor: progress;
    opacity: 0.75;
    pointer-events: none;
}

.sv-toast-btn.is-loading::before,
.woofc-action-checkout.is-loading::before {
    content: "";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    margin-right: 0.5em;
    vertical-align: -0.1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: sv-spin 0.7s linear infinite;
}

@keyframes sv-spin {
    to { transform: rotate(360deg); }
}
