/* پیش‌خرید «در حال تولید» — includes/hooks/web-preorder.php، assets/js/web-preorder.js (۳.۱.۵۱). */
.stock.wc-suf-preorder-stock:not(#_) { color: #b45309; font-weight: 700; }

.wc-suf-po-overlay:not(#_) { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .55); direction: rtl; text-align: right; font-family: inherit; }
.wc-suf-po-dialog:not(#_) { width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; padding: 22px 20px 18px; border-radius: 16px; background: #fff; color: #1c1b19; box-shadow: 0 24px 60px rgba(15, 23, 42, .3); }
.wc-suf-po-badge:not(#_) { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 13px; font-weight: 700; }
.wc-suf-po-title:not(#_) { margin: 0 0 6px; font-size: 17px; line-height: 1.7; font-weight: 700; color: #1c1b19; }
.wc-suf-po-price:not(#_) { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #0e6b63; }
.wc-suf-po-price:not(#_) del { opacity: .55; font-weight: 400; margin-left: 6px; }
.wc-suf-po-price:not(#_) ins { text-decoration: none; }
.wc-suf-po-text:not(#_) { margin: 0 0 16px; font-size: 14px; line-height: 2; color: #44403c; }
/* خط اعتماد (۳.۱.۶۵) */
.wc-suf-po-trust:not(#_) { margin: -6px 0 16px; padding: 9px 12px 9px 12px; border-radius: 10px; background: #ecfdf5; border-right: 4px solid #0e6b63; color: #065f46; font-size: 13px; line-height: 1.9; font-weight: 600; }
.wc-suf-po-trust[hidden]:not(#_) { display: none; }
.wc-suf-po-trust:not(#_)::before { content: "🤝 "; }
.wc-suf-po-qty-row:not(#_) { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.wc-suf-po-qty-label:not(#_) { font-size: 14px; font-weight: 700; }
.wc-suf-po-qty:not(#_) { display: inline-flex; align-items: stretch; border: 1px solid #d6d3cb; border-radius: 10px; overflow: hidden; background: #fff; }
.wc-suf-po-qty:not(#_) button { width: 42px; min-height: 42px; margin: 0; padding: 0; border: 0; border-radius: 0; background: #f5f4f0; color: #1c1b19; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: none; }
.wc-suf-po-qty:not(#_) button:hover { background: #e9e7e0; }
.wc-suf-po-qty:not(#_) .wc-suf-po-input { width: 56px; min-height: 42px; margin: 0; padding: 0 4px; border: 0; border-right: 1px solid #d6d3cb; border-left: 1px solid #d6d3cb; border-radius: 0; background: #fff; color: #1c1b19; font: inherit; font-size: 16px; font-weight: 700; text-align: center; box-shadow: none; }
.wc-suf-po-actions:not(#_) { display: flex; gap: 10px; flex-wrap: wrap; }
.wc-suf-po-actions:not(#_) button { flex: 1 1 140px; min-height: 44px; margin: 0; padding: 10px 16px; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: none; }
/* رنگ قرمز دکمه‌های سایت (مالک، ۳.۱.۵۵): --btn-accented-color #EF4056 / --btn-accented-bgcolor #FF0000 */
.wc-suf-po-actions:not(#_) .wc-suf-po-add { border: 0; background: #EF4056; color: #fff; }
.wc-suf-po-actions:not(#_) .wc-suf-po-add:hover, .wc-suf-po-actions:not(#_) .wc-suf-po-add:focus-visible { background: #FF0000; }
.wc-suf-po-actions:not(#_) .wc-suf-po-cancel { border: 1px solid #d6d3cb; background: #fff; color: #4a4741; }
.wc-suf-po-actions:not(#_) .wc-suf-po-cancel:hover { background: #f5f4f0; }

/* «موجود شد اطلاع بده» داخل پنجره (۳.۱.۵۴) */
.wc-suf-po-notify:not(#_) { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e3e1da; text-align: center; }
.wc-suf-po-notify:not(#_) [hidden] { display: none !important; }
.wc-suf-po-notify:not(#_) .wc-suf-po-notify-open { margin: 0; padding: 6px 10px; border: 0; background: none; color: #0e6b63; font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; box-shadow: none; }
.wc-suf-po-notify:not(#_) .wc-suf-po-notify-open[disabled] { opacity: .6; cursor: wait; }
.wc-suf-po-notify-text:not(#_) { margin: 0 0 8px; font-size: 13px; line-height: 1.9; color: #44403c; text-align: right; }
.wc-suf-po-notify-row:not(#_) { display: flex; gap: 8px; }
.wc-suf-po-notify-row:not(#_) .wc-suf-po-mobile { flex: 1 1 auto; min-width: 0; min-height: 42px; margin: 0; padding: 8px 12px; box-sizing: border-box; border: 1px solid #d6d3cb; border-radius: 10px; background: #fff; color: #1c1b19; font: inherit; font-size: 15px; letter-spacing: 1px; text-align: left; box-shadow: none; }
.wc-suf-po-notify-row:not(#_) .wc-suf-po-notify-submit { flex: 0 0 auto; min-height: 42px; margin: 0; padding: 8px 18px; border: 0; border-radius: 10px; background: #0e6b63; color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: none; }
.wc-suf-po-notify-row:not(#_) .wc-suf-po-notify-submit[disabled] { opacity: .6; cursor: wait; }
.wc-suf-po-notify-result:not(#_) { margin-top: 10px; padding: 9px 12px; border-radius: 9px; background: #e3f1ef; color: #0e6b63; font-size: 13px; line-height: 1.9; text-align: right; }
.wc-suf-po-notify-result.is-error:not(#_) { background: #fdecec; color: #b91c1c; }
