/* پاپ‌آپ مینیمال دریافت شماره موبایل */
#mcr-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(17, 24, 39, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2147483647; /* بالاتر از درای‌کشوی سبد خرید وودمارت */
	opacity: 1;
	transition: opacity 0.2s ease;
}

#mcr-popup-overlay.mcr-hidden {
	display: none;
	opacity: 0;
}

.mcr-popup {
	background: #fff;
	width: 92%;
	max-width: 380px;
	border-radius: 16px;
	padding: 26px 22px 22px;
	position: relative;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
	font-family: inherit;
	animation: mcrPop 0.22s ease;
}

@keyframes mcrPop {
	from { transform: translateY(14px) scale(0.98); opacity: 0; }
	to   { transform: translateY(0) scale(1); opacity: 1; }
}

.mcr-close {
	position: absolute;
	top: 10px;
	left: 12px;
	border: none;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: #9ca3af;
	cursor: pointer;
	padding: 0;
}
.mcr-close:hover { color: #4b5563; }

.mcr-title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	color: #111827;
}

.mcr-desc {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.7;
	color: #6b7280;
}

.mcr-input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1.5px solid #d1d5db;
	border-radius: 10px;
	font-size: 16px;
	text-align: center;
	letter-spacing: 1px;
	direction: ltr;
	outline: none;
	transition: border-color 0.15s ease;
}
.mcr-input:focus { border-color: #16a34a; }

.mcr-error {
	min-height: 18px;
	margin: 8px 2px 0;
	font-size: 12px;
	color: #dc2626;
}

.mcr-actions {
	display: flex;
	gap: 10px;
	margin-top: 8px;
}

.mcr-submit {
	flex: 1;
	background: #16a34a;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 12px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
}
.mcr-submit:hover { background: #15803d; }
.mcr-submit:disabled { opacity: 0.7; cursor: default; }

.mcr-skip {
	background: transparent;
	color: #6b7280;
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 14px;
	cursor: pointer;
}
.mcr-skip:hover { background: #f9fafb; }
