/*
 * Mobile form controls at 16px: iOS Safari (and some Android browsers) zoom into any focused
 * control whose font-size is below 16px, which shifted the checkout layout. Zoom stays enabled.
 */
.eyn-country-hidden,
.form-row.eyn-country-hidden { display: none !important; }

@media (max-width: 991px) {
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	input[type="password"],
	input[type="search"],
	input[type="url"],
	input[type="date"],
	input:not([type]),
	select,
	textarea,
	.select2-container .select2-selection__rendered,
	.select2-container .select2-search__field,
	.select2-container--open .select2-search__field,
	.select2-results__option {
		font-size: 16px !important;
	}

	body.woocommerce-checkout form.checkout .form-row input.input-text,
	body.woocommerce-checkout form.checkout .form-row select {
		height: 46px;
		padding: 0 12px;
		line-height: 44px;
	}
	body.woocommerce-checkout form.checkout .form-row textarea { padding: 10px 12px; line-height: 1.8; }
	body.woocommerce-checkout form.checkout .select2-container .select2-selection--single { height: 46px; }
	body.woocommerce-checkout form.checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 44px; padding: 0 12px 0 30px; }
	body.woocommerce-checkout form.checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
	.select2-container .select2-search--dropdown .select2-search__field { height: 40px; padding: 4px 10px; }

	input::placeholder,
	textarea::placeholder { font-size: 14px; }

	/* Login / OTP modal mobile number field. */
	.eyn-login-field input { font-size: 16px !important; }

	/* Never let a long value widen the checkout. */
	body.woocommerce-checkout form.checkout .form-row,
	body.woocommerce-checkout form.checkout .select2-container { max-width: 100%; min-width: 0; }
}
