﻿/* assets/css/faraz-toast.css یا انتهای storefront.css */
.fz-toast-host {
    position: fixed;
    inset-inline: 0;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 99999;
    pointer-events: none;
    padding-inline: 16px;
}

.fz-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    max-width: 420px;
    padding: 12px 16px;
    border-radius: 14px;
    font-family: Vazirmatn, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    background: #2f2f2f;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(14px) scale(.97);
    transition: opacity .25s ease, transform .25s ease;
}

.fz-toast.is-show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fz-toast--success {
    background: #2e7d4f;
}
/* همرنگ پالت پاراکیک */
.fz-toast--error {
    background: #b3392f;
}

.fz-toast--info {
    background: #2f2f2f;
}

.fz-toast__icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.fz-toast__msg {
    flex: 1 1 auto;
}

.fz-toast__close {
    background: none;
    border: 0;
    color: inherit;
    opacity: .7;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0 2px;
}

.fz-toast__close:hover {
    opacity: 1;
}

@media (max-width: 480px) {
    .fz-toast {
        min-width: 0;
        width: 100%;
        font-size: 13px;
    }
}