.rmq-wrap {
	--rmq-primary: #b8895f;
	--rmq-primary-dark: #8f6642;
	--rmq-accent: #e8c4a0;
	--rmq-bg: #fffaf5;
	--rmq-text: #3a2e26;
	--rmq-radius: 16px;
	font-family: "Vazirmatn", "IRANSans", Tahoma, sans-serif;
	direction: rtl;
	max-width: 480px;
	margin: 0 auto;
}

.rmq-box {
	background: var(--rmq-bg);
	border-radius: var(--rmq-radius);
	box-shadow: 0 8px 30px rgba(184, 137, 95, 0.18);
	padding: 28px 22px;
	position: relative;
	overflow: hidden;
}

.rmq-header { text-align: center; margin-bottom: 20px; }

.rmq-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--rmq-primary-dark);
	margin: 0 0 6px;
	line-height: 1.5;
}

.rmq-subtitle {
	font-size: 13.5px;
	color: #7a6a5e;
	margin: 0 0 16px;
}

.rmq-progress-wrap { display: flex; flex-direction: column; gap: 6px; align-items: center; }

.rmq-progress-bar {
	width: 100%;
	height: 6px;
	background: #eee0d3;
	border-radius: 10px;
	overflow: hidden;
}

.rmq-progress-fill {
	height: 100%;
	width: 20%;
	background: linear-gradient(90deg, var(--rmq-accent), var(--rmq-primary));
	border-radius: 10px;
	transition: width 0.35s ease;
}

.rmq-progress-text { font-size: 12px; color: #a08a76; }

.rmq-step { animation: rmq-fade-in 0.3s ease; }

@keyframes rmq-fade-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.rmq-question {
	font-size: 17px;
	font-weight: 700;
	color: var(--rmq-text);
	text-align: center;
	margin: 0 0 18px;
	line-height: 1.6;
}

.rmq-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.rmq-swatches { grid-template-columns: repeat(3, 1fr); }

.rmq-options .rmq-opt:only-child,
.rmq-opt-text { grid-column: span 1; }

.rmq-opt {
	background: #fff;
	border: 2px solid #eee0d3;
	border-radius: 12px;
	padding: 14px 10px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--rmq-text);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
	font-family: inherit;
}

.rmq-opt-text { flex-direction: row; justify-content: center; padding: 14px 8px; }

.rmq-opt:hover, .rmq-opt:focus {
	border-color: var(--rmq-primary);
	background: #fff6ee;
	transform: translateY(-2px);
}

.rmq-opt.rmq-selected {
	border-color: var(--rmq-primary);
	background: linear-gradient(135deg, #fff6ee, #ffe9d6);
	box-shadow: 0 4px 12px rgba(184, 137, 95, 0.25);
}

.rmq-swatch {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: block;
	border: 2px solid rgba(0,0,0,0.08);
}

.rmq-opt-img {
	padding: 8px;
}

.rmq-opt-img img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.rmq-opt-img span {
	font-size: 12.5px;
	margin-top: 4px;
}

.rmq-nav {
	margin-top: 18px;
	display: flex;
	justify-content: flex-start;
}

.rmq-back-btn {
	background: none;
	border: none;
	color: #a08a76;
	font-size: 13px;
	cursor: pointer;
	font-family: inherit;
	text-decoration: underline;
}

.rmq-result-teaser { text-align: center; }
.rmq-emoji { font-size: 40px; margin-bottom: 6px; }

.rmq-result-img {
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid var(--rmq-accent);
	margin: 0 auto 12px;
	display: block;
}

.rmq-result-text {
	font-size: 15px;
	color: var(--rmq-text);
	background: #fff6ee;
	border-radius: 10px;
	padding: 12px;
	margin: 10px 0 16px;
}

.rmq-result-cta {
	font-size: 13.5px;
	color: #7a6a5e;
	margin-bottom: 16px;
}

.rmq-lead-form { display: flex; flex-direction: column; gap: 10px; }

.rmq-lead-form input {
	padding: 13px 14px;
	border: 2px solid #eee0d3;
	border-radius: 10px;
	font-size: 14px;
	font-family: inherit;
	text-align: right;
	direction: rtl;
}

.rmq-lead-form input:focus {
	outline: none;
	border-color: var(--rmq-primary);
}

.rmq-submit-btn, .rmq-whatsapp-btn {
	background: linear-gradient(135deg, var(--rmq-primary), var(--rmq-primary-dark));
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 14px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	text-align: center;
	text-decoration: none;
	display: block;
}

.rmq-submit-btn:hover, .rmq-whatsapp-btn:hover { opacity: 0.92; }
.rmq-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.rmq-privacy-note {
	font-size: 11.5px;
	color: #a08a76;
	text-align: center;
	margin: 2px 0 0;
}

.rmq-final-result { text-align: center; }

.rmq-final-text {
	font-size: 15px;
	color: var(--rmq-text);
	margin-bottom: 14px;
}

.rmq-discount-box {
	background: #fff6ee;
	border: 2px dashed var(--rmq-primary);
	border-radius: 10px;
	padding: 14px;
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rmq-discount-box span { font-size: 12.5px; color: #7a6a5e; }
.rmq-discount-box strong { font-size: 20px; color: var(--rmq-primary-dark); letter-spacing: 1px; }

.rmq-whatsapp-btn { background: linear-gradient(135deg, #25D366, #1da851); margin-bottom: 10px; }

.rmq-address-note { font-size: 12px; color: #a08a76; }

.rmq-error-msg {
	color: #b32d2e;
	font-size: 13px;
	text-align: center;
	margin-top: 6px;
}

@media (max-width: 380px) {
	.rmq-box { padding: 22px 16px; }
	.rmq-title { font-size: 18px; }
}
