/* ═══════════════════════════════════════════════════════════════════════════
   store-toast.css — توستِ مشترکِ فروشگاه‌ها
   ───────────────────────────────────────────────────────────────────────────
   ⭐ **عیناً همانِ توستِ پنلِ فانوس** (قرصِ باریکِ بالای صفحه + آیکونِ
      دایره‌ایِ رنگی). قبلاً صفحاتِ مشترکِ فروشگاه‌ها (صفحهٔ محصول، سبدِ
      خرید، تسویه‌حساب…) توستِ خودشان را داشتند: یک جعبهٔ بزرگِ تیره در
      پایینِ صفحه ⇒ ناهماهنگ با پنل و با بقیهٔ پلتفرم.
      این فایل کپیِ عینیِ `panel/style.css` بخش ۱۹ (TOAST) است.
   ═══════════════════════════════════════════════════════════════════════════ */

.st-toast {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(-60px) scale(.95);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: min(85vw, 380px);
  padding: 5px 12px 5px 5px;
  background: #101828;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 99999;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
}
.st-toast.show { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
.st-toast-ic {
  width: 20px; height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.st-toast-ic svg { width: 10px; height: 10px; display: block; stroke-width: 3; }
.st-toast-tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.st-toast.success .st-toast-ic { background: #22c55e; }
.st-toast.error   .st-toast-ic { background: #ef4444; }
.st-toast.info    .st-toast-ic { background: #3b82f6; }
.st-toast.warn    .st-toast-ic { background: #f59e0b; }

@media (max-width: 560px) {
  .st-toast { top: 10px; font-size: 11.5px; padding: 4px 11px 4px 4px; gap: 6px; }
  .st-toast-ic { width: 18px; height: 18px; }
  .st-toast-ic svg { width: 9px; height: 9px; }
}
