/* ==========================================================================
   پنل کاربری هوشمند
   پالت: لاجورد (رنگ اصلی) · فیروزه‌ای (رنگ دوم) · زعفرانی (تاکید) · انار (هشدار)
   رنگ‌های اصلی و دوم از تنظیمات افزونه می‌آیند.
   ========================================================================== */

.mup {
	--mup-ink: #1b2438;
	--mup-muted: #667085;
	--mup-line: #e3e8ef;
	--mup-page: #f4f6f9;
	--mup-card: #ffffff;
	--mup-saffron: #f2a516;
	--mup-saffron-ink: #7a4d00;
	--mup-rose: #d9445a;
	--mup-ok: #16906a;

	font-family: var(--mup-font, inherit);
	font-size: 15px;
	line-height: 1.75;
	color: var(--mup-ink);
	direction: rtl;
	text-align: right;
	max-width: 1120px;
	margin: 0 auto;
	-webkit-text-size-adjust: 100%;
}
.mup *, .mup *::before, .mup *::after { box-sizing: border-box; }
.mup [hidden] { display: none !important; }
.mup h2, .mup h3, .mup p, .mup ul, .mup ol, .mup dl, .mup dd { margin: 0; padding: 0; }
.mup ul, .mup ol { list-style: none; }
.mup a { text-decoration: none; color: var(--mup-c1); }
.mup .mup-ico { flex: none; display: block; }
.mup :focus-visible { outline: 3px solid var(--mup-saffron); outline-offset: 2px; }

/* ---------- دکمه‌ها ---------- */
.mup .mup-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px;
	border: 0; border-radius: 12px;
	font: inherit; font-weight: 700; line-height: 1;
	cursor: pointer; white-space: nowrap;
	transition: background-color .15s, box-shadow .15s;
}
.mup .mup-btn--primary { background: var(--mup-c1); color: #fff; }
.mup .mup-btn--primary:hover { box-shadow: 0 6px 18px -6px var(--mup-c1); color: #fff; }
.mup .mup-btn--soft { background: #eaf0fa; color: var(--mup-c1); }
.mup .mup-btn--soft:hover { background: #dbe6f7; color: var(--mup-c1); }
.mup .mup-btn--saffron { background: var(--mup-saffron); color: #3a2500; }
.mup .mup-btn--saffron:hover { background: #e39a0d; color: #3a2500; }
.mup .mup-btn--block { width: 100%; margin-top: 18px; }
.mup .mup-btn[disabled] { opacity: .6; cursor: not-allowed; }
.mup .mup-btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.mup .mup-btn.is-loading::after {
	content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
	border: 2.5px solid rgba(255,255,255,.5); border-top-color: #fff; animation: mup-spin .7s linear infinite;
}
.mup .mup-btn--soft.is-loading::after { border-color: rgba(31,78,158,.25); border-top-color: var(--mup-c1); }
@keyframes mup-spin { to { transform: rotate(360deg); } }
.mup .mup-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13.5px; color: var(--mup-c1); cursor: pointer; }
.mup .mup-link:hover { text-decoration: underline; }
.mup .mup-center { display: block; margin: 16px auto 0; }

/* ---------- فرم ---------- */
.mup .mup-label { display: block; margin: 16px 0 6px; font-size: 13.5px; font-weight: 700; }
.mup .mup-label em { font-style: normal; font-weight: 400; color: var(--mup-muted); font-size: 12.5px; }
.mup .mup-field { position: relative; flex: 1; min-width: 0; }
.mup .mup-field > .mup-ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #8a94a8; pointer-events: none; }
.mup .mup-field input {
	width: 100%; min-height: 48px; margin: 0; padding: 0 44px 0 14px;
	background: #fff; color: var(--mup-ink);
	border: 1.5px solid var(--mup-line); border-radius: 12px;
	font: inherit; box-shadow: none;
}
.mup .mup-field input::placeholder { color: #a3acbd; }
.mup .mup-field input:focus { outline: 0; border-color: var(--mup-c1); box-shadow: 0 0 0 4px rgba(31,78,158,.12); }
.mup .mup-field:focus-within > .mup-ico { color: var(--mup-c1); }
.mup .mup-ltr { direction: ltr; text-align: right; }
.mup .mup-eye { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; background: none; border: 0; color: #8a94a8; cursor: pointer; border-radius: 10px; }
.mup .mup-eye:hover { color: var(--mup-c1); }
.mup .mup-field .mup-eye + input, .mup .mup-field input[type="password"] { padding-left: 46px; }
.mup .mup-inline { display: flex; gap: 10px; align-items: stretch; }
.mup .mup-inline .mup-btn { flex: none; }
.mup .mup-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.mup .mup-between { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 14px; }
.mup .mup-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.mup .mup-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--mup-c1); }

.mup .mup-msg { display: none; margin: 14px 0 0; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; }
.mup .mup-msg.is-error { display: block; background: #fdecef; color: #a3283c; }
.mup .mup-msg.is-success { display: block; background: #e5f6ef; color: #0d6e50; }
.mup .mup-msg.is-info { display: block; background: #e6effc; color: #1f4e9e; }

/* تله‌ی ربات‌ها (فیلد پنهان) */
.mup .mup-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.mup .mup-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-top: 16px; background: #eef1f6; border-radius: 14px; }
.mup .mup-seg label { cursor: pointer; }
.mup .mup-seg input { position: absolute; opacity: 0; pointer-events: none; }
.mup .mup-seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 10px; font-weight: 700; font-size: 13.5px; color: var(--mup-muted); }
.mup .mup-seg input:checked + span { background: #fff; color: var(--mup-c1); box-shadow: 0 2px 8px rgba(27,36,56,.1); }
.mup .mup-seg input:focus-visible + span { outline: 3px solid var(--mup-saffron); }

/* مرحله‌های کد تایید */
.mup .mup-otp-step { display: none; }
.mup .is-sent .mup-otp-step { display: block; }
.mup .mup-otp-row { display: none; margin-top: 12px; }
.mup .needs-otp .mup-otp-row { display: block; }

/* ==========================================================================
   صفحه ورود / ثبت‌نام
   ========================================================================== */
.mup-auth { display: grid; grid-template-columns: 5fr 6fr; background: var(--mup-card); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(27,36,56,.35); border: 1px solid var(--mup-line); }

.mup-auth-hero {
	position: relative; padding: 40px 36px; color: #fff; overflow: hidden;
	background:
		linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%) 0 0 / 40px 40px,
		linear-gradient(-45deg, rgba(255,255,255,.06) 25%, transparent 25%) 0 0 / 40px 40px,
		linear-gradient(160deg, var(--mup-c1), #14336b);
}
.mup-auth-hero::after {
	content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
	left: -90px; bottom: -110px; background: radial-gradient(circle at 40% 40%, var(--mup-c2), transparent 68%); opacity: .55;
}
.mup-auth-hero > * { position: relative; z-index: 1; }
.mup .mup-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; margin-bottom: 44px; }
.mup .mup-brand-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--mup-saffron); color: #3a2500; }
.mup .mup-auth-hero h2 { font-size: 26px; line-height: 1.5; font-weight: 800; color: #fff; }
.mup .mup-auth-hero p { margin-top: 12px; color: rgba(255,255,255,.82); max-width: 34ch; }
.mup .mup-features { margin-top: 32px; display: grid; gap: 14px; }
.mup .mup-features li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.mup .mup-features li span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.14); }

.mup-auth-card { padding: 30px 36px 36px; }
.mup .mup-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; background: #eef1f6; border-radius: 14px; }
.mup .mup-tab { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 8px; background: none; border: 0; border-radius: 10px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--mup-muted); cursor: pointer; }
.mup .mup-tab.is-active { background: #fff; color: var(--mup-c1); box-shadow: 0 2px 8px rgba(27,36,56,.1); }
.mup .mup-view { display: none; padding-top: 6px; }
.mup .mup-view.is-active { display: block; }
.mup .mup-form h3 { margin-top: 22px; font-size: 20px; font-weight: 800; }
.mup .mup-sub { margin-top: 4px; color: var(--mup-muted); font-size: 13.5px; }

/* ==========================================================================
   قاب پنل
   ========================================================================== */
.mup-app { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 24px; align-items: start; }

.mup-side { position: sticky; top: 20px; background: var(--mup-card); border: 1px solid var(--mup-line); border-radius: 20px; padding: 18px; }
.mup-usercard { display: flex; align-items: center; gap: 12px; padding: 6px 4px 16px; margin-bottom: 8px; border-bottom: 1px dashed var(--mup-line); }
.mup .mup-avatar { width: 52px; height: 52px; flex: none; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--mup-saffron); color: #3a2500; font-size: 22px; font-weight: 800; }
.mup .mup-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mup .mup-usertext { min-width: 0; display: flex; flex-direction: column; }
.mup .mup-usertext strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mup .mup-usertext span { font-size: 12.5px; color: var(--mup-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; }

.mup .mup-nav { display: flex; flex-direction: column; gap: 4px; }
.mup .mup-nav-item { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 12px; color: #47506a; font-weight: 700; transition: background-color .15s; }
.mup .mup-nav-item:hover { background: #f0f3f8; color: var(--mup-c1); }
.mup .mup-nav-item.is-active { background: var(--mup-c1); color: #fff; }
.mup .mup-nav-item--exit { margin-top: 10px; color: var(--mup-rose); }
.mup .mup-nav-item--exit:hover { background: #fdecef; color: var(--mup-rose); }

.mup-main { min-width: 0; display: grid; gap: 20px; }
.mup .mup-page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.mup .mup-page-head h2 { font-size: 22px; font-weight: 800; }
.mup .mup-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--mup-muted); margin-bottom: 2px; }

.mup .mup-block { background: var(--mup-card); border: 1px solid var(--mup-line); border-radius: 18px; padding: 22px; }
.mup .mup-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mup .mup-block-head h3 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; font-weight: 800; }
.mup .mup-block-head h3 .mup-ico { color: var(--mup-c2); }
.mup .mup-block-head a { font-size: 13.5px; font-weight: 700; }
.mup .mup-note { margin: 6px 0 4px; color: var(--mup-muted); font-size: 13.5px; }
.mup .mup-actions { display: flex; justify-content: flex-start; }

/* ---------- داشبورد ---------- */
.mup .mup-hero {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	padding: 28px; border-radius: 22px; color: #fff; overflow: hidden; position: relative;
	background:
		linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%) 0 0 / 40px 40px,
		linear-gradient(-45deg, rgba(255,255,255,.06) 25%, transparent 25%) 0 0 / 40px 40px,
		linear-gradient(135deg, var(--mup-c1), #14336b);
}
.mup .mup-hero::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; left: -70px; top: -90px; background: radial-gradient(circle, var(--mup-c2), transparent 68%); opacity: .6; pointer-events: none; }
.mup .mup-hero > * { position: relative; z-index: 1; }
.mup .mup-hero h2 { font-size: 24px; font-weight: 800; color: #fff; }
.mup .mup-hero p { margin-top: 4px; color: rgba(255,255,255,.82); }
.mup .mup-progress { display: grid; gap: 8px; min-width: 220px; padding: 14px 16px; background: rgba(255,255,255,.12); border-radius: 14px; color: #fff; font-size: 13.5px; font-weight: 700; }
.mup .mup-progress:hover { background: rgba(255,255,255,.18); color: #fff; }
.mup .mup-progress small { color: var(--mup-saffron); font-size: 12.5px; }
.mup .mup-bar { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.mup .mup-bar i { display: block; height: 100%; border-radius: 99px; background: var(--mup-saffron); }

.mup .mup-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.mup .mup-stat { display: grid; gap: 2px; padding: 18px; background: var(--mup-card); border: 1px solid var(--mup-line); border-radius: 18px; color: var(--mup-ink); }
.mup a.mup-stat:hover { border-color: var(--mup-c1); }
.mup .mup-tile { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 10px; }
.mup .mup-tile--lapis { background: #e3ecfa; color: #1f4e9e; }
.mup .mup-tile--teal { background: #dcf4f2; color: #0b7f7b; }
.mup .mup-tile--saffron { background: #fdefcf; color: #a86800; }
.mup .mup-tile--rose { background: #fbe3e8; color: #c22f48; }
.mup .mup-stat-num { font-size: 22px; font-weight: 800; line-height: 1.4; }
.mup .mup-stat-num .woocommerce-Price-amount { font-size: inherit; }
.mup .mup-stat-text { font-size: 18px; }
.mup .mup-stat-label { font-size: 13px; color: var(--mup-muted); }

.mup .mup-list { display: grid; gap: 8px; }
.mup .mup-row-order { display: grid; grid-template-columns: 1fr auto auto 18px; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--mup-line); border-radius: 14px; color: var(--mup-ink); }
.mup .mup-row-order:hover { border-color: var(--mup-c1); background: #fafcff; }
.mup .mup-row-main { display: flex; flex-direction: column; min-width: 0; }
.mup .mup-row-main small, .mup .mup-order-top small { color: var(--mup-muted); font-size: 12.5px; }
.mup .mup-row-total { font-weight: 800; }
.mup .mup-row-order > .mup-ico { color: #98a2b6; }

.mup .mup-empty { display: grid; justify-items: center; gap: 10px; padding: 36px 16px; text-align: center; color: var(--mup-muted); background: var(--mup-card); border: 1.5px dashed var(--mup-line); border-radius: 18px; }
.mup .mup-empty .mup-ico { color: #b5bdcd; }
.mup .mup-block .mup-empty { border: 0; padding: 20px 10px; }

/* ---------- وضعیت سفارش ---------- */
.mup .mup-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: #eef1f6; color: #47506a; white-space: nowrap; }
.mup .mup-chip--pending { background: #fff2d6; color: #8a5a00; }
.mup .mup-chip--on-hold { background: #ffe8d6; color: #a04a05; }
.mup .mup-chip--processing { background: #e0edff; color: #1a56b8; }
.mup .mup-chip--completed { background: #ddf5ea; color: #0d7550; }
.mup .mup-chip--cancelled, .mup .mup-chip--failed { background: #fde4e8; color: #b02a40; }
.mup .mup-chip--refunded { background: #ececf1; color: #555c70; }

/* ---------- لیست سفارش‌ها ---------- */
.mup .mup-track { display: flex; gap: 8px; width: 100%; max-width: 380px; }
.mup .mup-orders { display: grid; gap: 12px; }
.mup .mup-order { display: grid; gap: 12px; padding: 18px; background: var(--mup-card); border: 1px solid var(--mup-line); border-radius: 16px; }
.mup .mup-order-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mup .mup-order-top > div { display: flex; flex-direction: column; }
.mup .mup-order-mid { display: flex; align-items: center; justify-content: space-between; color: var(--mup-muted); font-size: 13.5px; }
.mup .mup-order-mid > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.mup .mup-order-total { color: var(--mup-ink); font-weight: 800; font-size: 16px; }
.mup .mup-order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mup .mup-pager { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--mup-muted); }

/* ---------- جزئیات سفارش ---------- */
.mup .mup-steps { display: flex; padding: 6px 0 4px; }
.mup .mup-steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.mup .mup-step-dot { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #eef1f6; color: #98a2b6; position: relative; z-index: 1; }
.mup .mup-step-label { font-size: 13px; font-weight: 700; color: var(--mup-muted); }
.mup .mup-steps li:not(:first-child)::before { content: ""; position: absolute; top: 18px; right: calc(50% + 24px); width: calc(100% - 48px); height: 4px; border-radius: 4px; background: #e6eaf1; }
.mup .mup-steps li.is-done .mup-step-dot { background: var(--mup-c2); color: #fff; }
.mup .mup-steps li.is-current .mup-step-dot { background: var(--mup-c1); color: #fff; box-shadow: 0 0 0 6px rgba(31,78,158,.15); }
.mup .mup-steps li.is-done .mup-step-label, .mup .mup-steps li.is-current .mup-step-label { color: var(--mup-ink); }
.mup .mup-steps li.is-done::before, .mup .mup-steps li.is-current::before { background: var(--mup-c2); }

.mup .mup-alert { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; font-weight: 700; }
.mup .mup-alert--danger { background: #fdecef; color: #a3283c; }
.mup .mup-tracking { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 16px; background: #fff8e8; border: 1px solid #f6dfa8; border-radius: 14px; color: var(--mup-saffron-ink); }
.mup .mup-tracking > div { flex: 1; display: flex; flex-wrap: wrap; gap: 4px 20px; min-width: 200px; }

.mup .mup-items { display: grid; gap: 10px; }
.mup .mup-item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; }
.mup .mup-thumb { width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: #f0f3f8; color: #98a2b6; }
.mup .mup-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mup .mup-item-name { display: flex; flex-direction: column; font-weight: 700; }
.mup .mup-item-name small { font-weight: 400; color: var(--mup-muted); font-size: 12.5px; }
.mup .mup-item-price { font-weight: 800; white-space: nowrap; }
.mup .mup-totals { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--mup-line); display: grid; gap: 8px; }
.mup .mup-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.mup .mup-totals > div:last-child { font-weight: 800; font-size: 16px; }
.mup .mup-totals dt { color: var(--mup-muted); }
.mup .mup-totals dd { margin: 0; }
.mup .mup-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.mup .mup-info h3 { font-size: 14px; color: var(--mup-muted); margin-bottom: 4px; }

/* ---------- کدهای تخفیف ---------- */
.mup .mup-coupons { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.mup .mup-coupon { display: grid; grid-template-columns: 124px 1fr; overflow: hidden; background: var(--mup-card); border: 1px solid #f0d99a; border-radius: 18px; }
.mup .mup-coupon-value { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px 10px; text-align: center; background: var(--mup-saffron); color: #3a2500; border-left: 2px dashed rgba(58,37,0,.35); }
.mup .mup-coupon-big { font-size: 28px; font-weight: 800; line-height: 1.3; }
.mup .mup-coupon-big small { font-size: 18px; }
.mup .mup-coupon-big .woocommerce-Price-amount { font-size: 20px; }
.mup .mup-coupon-kind { font-size: 12.5px; font-weight: 700; }
.mup .mup-coupon-body { display: grid; gap: 8px; align-content: center; justify-items: start; padding: 16px; min-width: 0; }
.mup .mup-coupon.is-personal { border-color: var(--mup-c2); }
.mup .mup-coupon.is-personal .mup-coupon-value { background: var(--mup-c2); color: #fff; border-left-color: rgba(255,255,255,.5); }
.mup .mup-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 99px; background: #dcf4f2; color: #0b6f6b; font-size: 12px; font-weight: 700; }
.mup .mup-coupon-desc { font-size: 13.5px; color: var(--mup-ink); }
.mup .mup-coupon-notes { display: grid; gap: 2px; font-size: 12.5px; color: var(--mup-muted); }
.mup .mup-code { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 6px 6px 6px 12px; background: #fdf7e6; border: 1.5px dashed #e2b94f; border-radius: 12px; font: inherit; color: var(--mup-ink); cursor: pointer; }
.mup .mup-code-text { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; }
.mup .mup-code-act { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 8px; background: #fff; font-size: 12.5px; font-weight: 700; color: var(--mup-c1); }
.mup .mup-code-act em { font-style: normal; }
.mup .mup-code.is-copied { background: #e5f6ef; border-color: var(--mup-ok); }
.mup .mup-code.is-copied .mup-code-act { color: var(--mup-ok); }

/* ---------- کیف پول (خروجی افزونه‌های دیگر) ---------- */
.mup .mup-wallet { overflow-x: auto; }
.mup .mup-wallet table { width: 100%; }

/* ==========================================================================
   ریسپانسیو
   ========================================================================== */
@media (max-width: 960px) {
	.mup-app { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.mup-side { position: static; padding: 14px; }
	.mup-usercard { border-bottom: 0; padding-bottom: 8px; margin-bottom: 0; }
	.mup .mup-nav { flex-direction: row; overflow-x: auto; gap: 8px; padding: 2px 2px 6px; scrollbar-width: none; }
	.mup .mup-nav::-webkit-scrollbar { display: none; }
	.mup .mup-nav-item { flex: none; min-height: 42px; padding: 0 16px; background: #f0f3f8; }
	.mup .mup-nav-item--exit { margin-top: 0; background: #fdecef; }
}

@media (max-width: 820px) {
	.mup-auth { grid-template-columns: 1fr; border-radius: 20px; }
	.mup-auth-hero { padding: 26px 22px; }
	.mup .mup-brand { margin-bottom: 20px; }
	.mup .mup-auth-hero h2 { font-size: 21px; }
	.mup .mup-features { display: none; }
	.mup-auth-card { padding: 22px 18px 26px; }
}

@media (max-width: 600px) {
	.mup { font-size: 14.5px; }
	.mup .mup-grid-2 { grid-template-columns: 1fr; }
	.mup .mup-tab span { font-size: 12.5px; }
	.mup .mup-tab { flex-direction: column; gap: 2px; min-height: 54px; }
	.mup .mup-block { padding: 16px; border-radius: 16px; }
	.mup .mup-hero { padding: 22px 18px; }
	.mup .mup-hero h2 { font-size: 20px; }
	.mup .mup-progress { width: 100%; }
	.mup .mup-stats { grid-template-columns: 1fr 1fr; }
	.mup .mup-row-order { grid-template-columns: 1fr auto; }
	.mup .mup-row-order > .mup-ico { display: none; }
	.mup .mup-row-total { grid-column: 1 / -1; }
	.mup .mup-track { max-width: none; }
	.mup .mup-coupons { grid-template-columns: 1fr; }
	.mup .mup-coupon { grid-template-columns: 104px 1fr; }
	.mup .mup-item { grid-template-columns: 48px 1fr; }
	.mup .mup-item-price { grid-column: 2; }
	.mup .mup-thumb { width: 48px; height: 48px; }
	.mup .mup-actions .mup-btn { width: 100%; }

	/* مراحل سفارش به صورت عمودی */
	.mup .mup-steps { flex-direction: column; }
	.mup .mup-steps li { flex-direction: row; gap: 12px; padding: 10px 0; text-align: right; }
	.mup .mup-steps li:not(:first-child)::before { top: -10px; right: 18px; width: 4px; height: 20px; }
}

@media (max-width: 380px) {
	.mup .mup-stats { grid-template-columns: 1fr; }
	.mup .mup-inline { flex-direction: column; }
	.mup .mup-inline .mup-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.mup * { transition: none !important; animation: none !important; }
}
