.wooinst-mode-selector {
	display: flex;
	gap: 12px;
	margin: 0 0 16px;
	flex-wrap: wrap;
	direction: rtl;
}
.wooinst-mode-option {
	flex: 1 1 160px;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 14px 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	transition: border-color .15s, box-shadow .15s, background .15s;
	background: #fff;
}
.wooinst-mode-option:hover {
	border-color: #bbb;
}
.wooinst-mode-option.wooinst-active {
	border-color: #1a73e8;
	box-shadow: 0 0 0 2px rgba(26,115,232,.12);
}
.wooinst-mode-option input[type="radio"] {
	accent-color: #1a73e8;
	width: 18px;
	height: 18px;
	margin: 0;
}
.wooinst-installment-box {
	margin: 0 0 16px;
	padding: 14px 16px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 10px;
	direction: rtl;
}
.wooinst-months {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.wooinst-months-select {
	padding: 6px 10px;
	border-radius: 8px;
	border: 1px solid #ccc;
}
.wooinst-note {
	font-size: 13px;
	color: #666;
	line-height: 1.8;
	margin: 8px 0 0;
}
.wooinst-plan-display {
	margin: 16px 0;
	padding: 16px;
	background: #fff7f7;
	border: 1px solid #f3d6d6;
	border-radius: 10px;
	direction: rtl;
}
.wooinst-plan-display h4 {
	margin: 0 0 12px;
	color: #c0392b;
}
.wooinst-plan-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px dashed #eee;
}
.wooinst-insts {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}
.wooinst-insts li {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	color: #444;
}
/* وقتی حالت اقساطی فعال است، متن دکمه افزودن به سبد می‌تواند تغییر کند */
.wooinst-installment-active .single_add_to_cart_button::after {
	content: " (پرداخت پیش‌پرداخت)";
}

/* --- کنترل‌های نسخه جدید --- */
.wooinst-field { margin-bottom: 16px; direction: rtl; }
.wooinst-field > label { display:block; font-weight:600; margin-bottom:8px; }
.wooinst-down-control { display:flex; align-items:center; gap:12px; }
.wooinst-down-range { flex:1; accent-color:#1a73e8; }
.wooinst-down-value { display:flex; align-items:center; gap:4px; font-weight:700; }
.wooinst-down-input { width:64px; padding:6px 8px; border:1px solid #ccc; border-radius:8px; text-align:center; }
.wooinst-months-buttons { display:flex; gap:8px; flex-wrap:wrap; }
.wooinst-month-btn {
	padding:8px 16px; border:1px solid #ccc; border-radius:8px; background:#fff;
	cursor:pointer; font-weight:600; transition:all .15s;
}
.wooinst-month-btn:hover { border-color:#1a73e8; }
.wooinst-month-btn.wooinst-selected { background:#1a73e8; color:#fff; border-color:#1a73e8; }
.wooinst-plan-row.wooinst-highlight { background:#eef5ff; margin:0 -8px; padding:10px 8px; border-radius:8px; font-size:15px; }
.wooinst-plan-row.wooinst-highlight strong { color:#1a73e8; }
.wooinst-plan-row.wooinst-grand { border-top:2px solid #f3d6d6; margin-top:8px; padding-top:10px; font-size:15px; }
