.nwp-box { flex: 1 1 100%; width: 100%; margin: 0 0 16px; padding: 14px 16px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 10px; box-sizing: border-box; }
.nwp-box .nwp-label { display: block; margin-bottom: 6px; font-weight: 600; }
.nwp-box .nwp-select { width: 100%; max-width: 420px; }
.nwp-box .nwp-live { font-weight: 700; }
.nwp-box .nwp-live:empty { display: none; }
.nwp-box--weight .nwp-live { margin-top: 10px; }

.nwp-perkg { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px dashed rgba(0, 0, 0, .15); font-size: .95em; }
.nwp-perkg__label { opacity: .75; }
.nwp-perkg__value { font-weight: 600; }
.nwp-perkg del { opacity: .55; margin-inline-end: 4px; }
.nwp-perkg ins { text-decoration: none; }

.nwp-gram-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 18px; }
.nwp-stepper { display: inline-flex; align-items: center; border: 1px solid rgba(0, 0, 0, .18); border-radius: 999px; overflow: hidden; background: #fff; }
.nwp-box button.nwp-step-btn { appearance: none !important; display: inline-flex !important; align-items: center; justify-content: center; width: 44px !important; min-width: 44px !important; height: 44px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: inherit !important; font-size: 22px !important; font-weight: 400 !important; line-height: 1 !important; text-transform: none !important; cursor: pointer; }
.nwp-box button.nwp-step-btn:hover:not(:disabled) { background: rgba(0, 0, 0, .06) !important; }
.nwp-box button.nwp-step-btn:disabled { opacity: .3; cursor: not-allowed; }
.nwp-step-value { min-width: 96px; padding: 0 6px; text-align: center; font-weight: 700; white-space: nowrap; }
.nwp-step-note { margin: 10px 0 0; font-size: .82em; opacity: .65; }

.nwp-qty-hidden { display: none !important; }

.nwp-price .nwp-from, .nwp-price .nwp-per, .nwp-per, .nwp-qty-suffix { font-size: .82em; font-weight: 400; opacity: .8; }
.nwp-qty-suffix { margin-inline-start: 6px; white-space: nowrap; }

/* ---------- حالت کیلویی: کارت‌های انتخاب بسته ---------- */
.nwp-box--weight .nwp-box__title { margin-bottom: 12px; font-weight: 700; }
.nwp-box--weight .nwp-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px 10px; }
.nwp-box--weight .nwp-opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 84px; padding: 16px 10px 12px; text-align: center; border: 1.5px solid rgba(0, 0, 0, .14); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.nwp-box--weight .nwp-opt:hover:not(.is-out) { border-color: currentColor; }
.nwp-box--weight .nwp-opt.is-selected { border-color: currentColor; box-shadow: 0 0 0 1px currentColor; background: rgba(0, 0, 0, .03); }
.nwp-box--weight .nwp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.nwp-box--weight .nwp-opt:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
.nwp-box--weight .nwp-opt__weight { font-size: 1.05em; font-weight: 700; }
.nwp-box--weight .nwp-opt__price { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .9em; }
.nwp-box--weight .nwp-opt__price del { opacity: .5; font-size: .88em; }
.nwp-box--weight .nwp-opt__price strong { font-weight: 600; }
.nwp-box--weight .nwp-opt__badge { position: absolute; top: -9px; inset-inline-start: 10px; padding: 1px 8px; border-radius: 999px; background: #c62828; color: #fff; font-size: .72em; font-weight: 600; line-height: 1.7; }
.nwp-box--weight .nwp-opt.is-out { opacity: .45; cursor: not-allowed; }
.nwp-box--weight .nwp-live { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(0, 0, 0, .15); }

/* ---------- حالت گرمی: عنوان، نشان تخفیف، انتخاب سریع، صرفه‌جویی ---------- */
.nwp-box__title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 12px; font-weight: 700; }
.nwp-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #c62828; color: #fff; font-size: .78em; font-weight: 600; line-height: 1.7; }
.nwp-perkg del ~ ins { color: #c62828; font-weight: 700; }
.nwp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.nwp-box button.nwp-chip { appearance: none !important; margin: 0 !important; padding: 6px 14px !important; min-height: 0 !important; height: auto !important; border: 1.5px solid rgba(0, 0, 0, .16) !important; border-radius: 999px !important; background: #fff !important; box-shadow: none !important; color: inherit !important; font-size: .9em !important; font-weight: 500 !important; line-height: 1.6 !important; text-transform: none !important; cursor: pointer; transition: border-color .15s, background .15s; }
.nwp-box button.nwp-chip:hover { border-color: currentColor !important; }
.nwp-box button.nwp-chip.is-active { border-color: currentColor !important; background: rgba(0, 0, 0, .06) !important; font-weight: 700 !important; }
.nwp-save { margin-top: 10px; padding: 8px 12px; border-radius: 8px; background: rgba(46, 125, 50, .1); color: #2e7d32; font-size: .9em; font-weight: 600; }
.nwp-save:empty { display: none; }

/* ---------- حالت کیلویی: شمارنده‌ی «تعداد» داخل کادر ---------- */
.nwp-box--weight .nwp-qty-row { margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(0, 0, 0, .15); }
.nwp-box--weight .nwp-qty-row .nwp-live { margin: 0; padding: 0; border: 0; }
.nwp-qty-wrap { display: inline-flex; align-items: center; gap: 12px; }
.nwp-qty-label { font-weight: 600; }
