/* «موجود شد اطلاع بده» — شورت‌کد [wc_suf_stock_notify] (includes/hooks/stock-notify.php). */
.wc-suf-sn:not(#_) { margin: 12px 0; font-family: inherit; direction: rtl; text-align: right; }
.wc-suf-sn[hidden]:not(#_), .wc-suf-sn:not(#_) [hidden] { display: none !important; }
.wc-suf-sn-open:not(#_) { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 10px; background: #0e6b63; color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.wc-suf-sn-open:hover:not(#_) { background: #0b5650; }
.wc-suf-sn-form:not(#_) { margin-top: 10px; padding: 14px; border: 1px solid #e3e1da; border-radius: 12px; background: #fbfaf7; max-width: 420px; }
.wc-suf-sn-text:not(#_) { display: block; margin: 0 0 8px; font-size: 13px; line-height: 1.9; color: #1c1b19; }
.wc-suf-sn-mobile:not(#_) { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #d6d3cb; border-radius: 9px; font: inherit; font-size: 15px; text-align: left; letter-spacing: 1px; background: #fff; }
.wc-suf-sn-actions:not(#_) { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.wc-suf-sn-submit:not(#_) { padding: 8px 18px; border: 0; border-radius: 9px; background: #0e6b63; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.wc-suf-sn-submit[disabled]:not(#_) { opacity: .6; cursor: wait; }
.wc-suf-sn-cancel:not(#_) { padding: 8px 14px; border: 1px solid #d6d3cb; border-radius: 9px; background: #fff; color: #4a4741; font: inherit; cursor: pointer; }
.wc-suf-sn-result:not(#_) { margin-top: 10px; padding: 10px 12px; border-radius: 9px; background: #e3f1ef; color: #0e6b63; font-size: 13px; line-height: 1.9; max-width: 420px; }
.wc-suf-sn-result.is-error:not(#_) { background: #fdecec; color: #b91c1c; }

/* حالت خودکار: دکمه درست کنار «ناموجود» (۳.۱.۴۶) */
.wc-suf-sn-row:not(#_) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 10px; }
.wc-suf-sn-row:not(#_) > .stock { margin: 0 !important; }
.wc-suf-sn-row:not(#_) .wc-suf-sn { margin: 0; }
.wc-suf-sn-row:not(#_) .wc-suf-sn-open { padding: 7px 16px; font-size: 13px; border-radius: 9px; }
.wc-suf-sn-row:not(#_) .wc-suf-sn:has(.wc-suf-sn-form:not([hidden])), .wc-suf-sn-row:not(#_) .wc-suf-sn:has(.wc-suf-sn-result:not([hidden])) { flex-basis: 100%; }
