.custom-error-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #e74c3c;
    color: #fff;
    padding: 12px 18px;
    margin-top: 10px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 9999;
}

.custom-error-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-cart-spinner{
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity:0;
    visibility:hidden;
    transition: all .3s;
}

.custom-cart-spinner.show{
    opacity:1;
    visibility:visible;
}

.spinner{
    width:40px;
    height:40px;
    border:4px solid #ddd;
    border-top:4px solid #000;
    border-radius:50%;
    animation:spin 0.8s linear infinite;
}

@keyframes spin{
    from{transform:rotate(0)}
    to{transform:rotate(360deg)}
}