/* صفحه‌های خرید — هم‌رنگ قالب (زمینه‌ی #1a0505 و دکمه‌ی قرمز دانلود) */
:root {
	--nmb-bg: #1a0505;
	--nmb-card: #260a0a;
	--nmb-line: rgba(255, 255, 255, .09);
	--nmb-text: #f3eaea;
	--nmb-muted: #b9a3a3;
	--nmb-red: #de0404;
	--nmb-red-dark: #9b0000;
	--nmb-green: #04b24a;
	--nmb-radius: 12px;
}
* { box-sizing: border-box; }
body.nmb {
	margin: 0;
	min-height: 100vh;
	background: var(--nmb-bg);
	color: var(--nmb-text);
	font-family: 'IRANYekanX', 'Vazirmatn', Tahoma, sans-serif;
	font-size: 15px;
	line-height: 1.8;
}
.nmb a { color: #ff8a8a; }
.nmb-top {
	padding: 14px 16px;
	text-align: center;
	border-bottom: 1px solid var(--nmb-line);
}
.nmb-top a { color: var(--nmb-text); font-weight: 800; font-size: 18px; text-decoration: none; }
.nmb-card {
	max-width: 520px;
	margin: 24px auto 40px;
	padding: 20px 16px;
	background: var(--nmb-card);
	border: 1px solid var(--nmb-line);
	border-radius: var(--nmb-radius);
}
@media (max-width: 560px) {
	.nmb-card { margin: 12px 12px 32px; }
}
.nmb-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.nmb-poster { width: 84px; height: 124px; object-fit: cover; border-radius: 8px; flex: none; background: #000; }
.nmb-kicker { color: var(--nmb-muted); font-size: 13px; }
.nmb-title { margin: 2px 0 0; font-size: 18px; line-height: 1.6; font-weight: 800; }

.nmb-qualities { border: 0; margin: 0 0 16px; padding: 0; }
.nmb-qualities legend { font-weight: 800; margin-bottom: 8px; padding: 0; }
.nmb-q {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	margin-bottom: 8px;
	border: 1px solid var(--nmb-line);
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.nmb-q:hover { border-color: rgba(255, 255, 255, .22); }
.nmb-q:has(input:checked) { border-color: var(--nmb-red); background: rgba(222, 4, 4, .08); }
.nmb-q input { accent-color: var(--nmb-red); width: 18px; height: 18px; margin: 0; flex: none; }
.nmb-q-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nmb-q-label { font-weight: 800; direction: ltr; text-align: right; }
.nmb-q-meta { color: var(--nmb-muted); font-size: 12.5px; }
.nmb-q-price { font-weight: 800; white-space: nowrap; }

.nmb-gateways { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nmb-gateways legend { font-weight: 800; margin-bottom: 8px; padding: 0; width: 100%; }
.nmb-gw {
	flex: 1 1 140px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border: 1px solid var(--nmb-line);
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
}
.nmb-gw:has(input:checked) { border-color: var(--nmb-red); background: rgba(222, 4, 4, .08); }
.nmb-gw input { accent-color: var(--nmb-red); margin: 0; }

.nmb-field { display: block; margin-bottom: 6px; }
.nmb-field span { display: block; font-weight: 800; margin-bottom: 6px; }
.nmb-field input {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-size: 17px;
	letter-spacing: 1px;
	color: var(--nmb-text);
	background: rgba(0, 0, 0, .35);
	border: 1px solid var(--nmb-line);
	border-radius: 10px;
	text-align: left;
}
.nmb-field input:focus { outline: 2px solid var(--nmb-red); outline-offset: 1px; }
.nmb-note { color: var(--nmb-muted); font-size: 13px; margin: 6px 0 16px; }

.nmb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 13px 16px;
	font: inherit;
	font-weight: 800;
	font-size: 15.5px;
	color: #fff !important;
	text-decoration: none;
	background: linear-gradient(135deg, var(--nmb-red), var(--nmb-red-dark));
	border: 0;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(222, 4, 4, .35);
	cursor: pointer;
}
.nmb-btn:hover { filter: brightness(1.12); }
.nmb-btn:disabled { opacity: .7; cursor: wait; }
.nmb-btn-ghost { background: transparent; border: 1px solid var(--nmb-line); box-shadow: none; }

.nmb-alert, .nmb-ok {
	padding: 10px 12px;
	border-radius: 10px;
	margin-bottom: 14px;
	font-size: 14px;
}
.nmb-alert { background: rgba(222, 4, 4, .14); border: 1px solid rgba(222, 4, 4, .45); }
.nmb-ok { background: rgba(4, 178, 74, .14); border: 1px solid rgba(4, 178, 74, .5); font-weight: 800; }

.nmb-files { list-style: none; margin: 0 0 8px; padding: 0; }
.nmb-file {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--nmb-line);
}
.nmb-file-name { font-weight: 800; overflow-wrap: anywhere; }
.nmb-file-links { display: flex; gap: 8px; }
.nmb-file-links .nmb-btn { width: auto; padding: 9px 16px; font-size: 14px; }
.nmb-actions { display: flex; gap: 8px; }

.nmb-foot { margin: 16px 0 0; color: var(--nmb-muted); font-size: 13px; text-align: center; }
/* دکمه‌ای که شکل لینک دارد (فرم‌های «دوباره بفرست» و «خروج») */
.nmb-link { background: none; border: 0; padding: 0; font: inherit; color: #ff8a8a; text-decoration: underline; cursor: pointer; }
/* فیلد تله‌ی ربات؛ با clip پنهان می‌شود چون left منفی در صفحه‌ی راست‌به‌چپ اسکرول افقی می‌سازد */
.nmb-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
