.mweb-wc-notices--hidden,
.mweb-wc-notices--hidden .woocommerce-message,
.mweb-wc-notices--hidden .woocommerce-error,
.mweb-wc-notices--hidden .woocommerce-info {
  display: none !important;
}

.mweb-toast{
  font-size:14px;
  line-height:1.7;
  border-radius:8px;
  z-index: 2147483647;
  direction: rtl;
  max-width: 420px;
}

.mweb-toast--success{ background: #16a34a !important; color:#fff; }
.mweb-toast--error  { background: #dc2626 !important; color:#fff; }
.mweb-toast--info   { background: #0ea5e9 !important; color:#fff; }




/* مخفی کردن کانتینر پیام‌های پیش‌فرض ووکامرس */
.woocommerce-error, 
.woocommerce-message, 
.woocommerce-info {
    display: none !important;
}

/* استایل دکمه لودینگ */
.single_add_to_cart_button.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}
/* آیکون لودینگ اختیاری روی دکمه */
.single_add_to_cart_button.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255,255,255,0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
}
@keyframes spin { to { transform: rotate(360deg); } }