/*
 * IOS-ZOOM-01 — جلوگیری از زوم خودکار سافاری/iOS هنگام فوکوس روی فیلدها.
 * iOS وقتی font-size کنترل فوکوس‌شده کمتر از ۱۶px باشد صفحه را زوم می‌کند.
 * فقط موبایل (<۱۰۲۴)؛ ارتفاع/چیدمان کنترل‌ها با height و line-height موجود حفظ می‌شود.
 * هرگز user-scalable=no یا maximum-scale استفاده نمی‌شود (دسترس‌پذیری).
 */
@media (max-width: 1023px) {
	input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="range"]):not([type="hidden"]):not([type="file"]):not([type="color"]):not([type="reset"]):not([type="image"]),
	textarea,
	select { font-size: 16px !important; }

	/* پوشش تکمیلی: فیلدهای کلاس‌دار/کامپوننتی و فیلدهایی که ممکن است استایل اینلاین داشته باشند */
	.search__input,
	.search input,
	.searchbar input[type="search"],
	.st-sheet input[type="search"],
	.st-qty input.qty,
	.coupon-row input,
	.st-coupon-input,
	.select-inline,
	.select2-search__field,
	input[id^="billing_"],
	select[id^="billing_"],
	textarea[id^="billing_"],
	input[id^="shipping_"],
	select[id^="shipping_"],
	textarea[id^="shipping_"],
	#order_comments,
	.woocommerce form .form-row input.input-text,
	.woocommerce form .form-row textarea,
	.woocommerce form .form-row select,
	.woocommerce-checkout input,
	.woocommerce-checkout select,
	.woocommerce-checkout textarea,
	.woocommerce-account input,
	.woocommerce-account select,
	.jet-checkout input,
	.jet-checkout select,
	.jet-checkout textarea,
	.jet-checkout-form input,
	.jet-checkout-form select,
	.jet-checkout-form textarea,
	#wpadminbar input[type="search"],
	#wpadminbar input[type="text"] { font-size: 16px !important; }

	/* حفظ ارتفاع textareaهای چک‌اوت (line box ۲۱px = همان ارتفاع قبلی ۶۰px) تا فیلدها ±۲px بمانند */
	.woocommerce form .form-row textarea,
	#order_comments,
	textarea[id^="billing_"],
	textarea[id^="shipping_"] { line-height: 21px; }
}
