/* vm-toast.css — toasts globales de feedback (vm-toast.js) */

.vm-toast-container {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10500; /* por encima del cart-drawer y modales bootstrap */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    width: min(440px, calc(100vw - 24px));
}

.vm-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #1c1917;
    color: #fff;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: .875rem;
    line-height: 1.35;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease;
}

.vm-toast-in {
    opacity: 1;
    transform: translateY(0);
}

.vm-toast-out {
    opacity: 0;
    transform: translateY(8px);
}

.vm-toast-icon { font-size: 1rem; flex-shrink: 0; }
.vm-toast-success .vm-toast-icon { color: #4ade80; }
.vm-toast-error .vm-toast-icon { color: #f87171; }
.vm-toast-info .vm-toast-icon { color: #93c5fd; }

.vm-toast-text { flex: 1 1 auto; }

.vm-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, .55);
    font-size: 1.15rem;
    line-height: 1;
    padding: 0 2px;
    cursor: pointer;
}

.vm-toast-close:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .vm-toast { transition: opacity .15s ease; transform: none; }
    .vm-toast-in, .vm-toast-out { transform: none; }
}
