/* Public Storefront mobile form guardrails.
 * iOS Safari zooms the page when focused text controls render below 16px.
 */
@media (max-width: 900px) {
	body.bhs-home-active,
	body.bhs-commerce-active {
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}

	/* Specificity bump is intentional: compact Woo/product controls already use
	 * high-specificity !important rules, and this guardrail must win last.
	 */
	:is(body.bhs-home-active, body.bhs-commerce-active) :is(
		input:not([type]),
		input[type="date"],
		input[type="datetime-local"],
		input[type="email"],
		input[type="month"],
		input[type="number"],
		input[type="password"],
		input[type="search"],
		input[type="tel"],
		input[type="text"],
		input[type="time"],
		input[type="url"],
		input[type="week"],
		select,
		textarea,
		gmp-place-autocomplete,
		.gmp-place-autocomplete
	):not(#bhs-mobile-control-guard) {
		font-size: 16px !important;
	}

	:is(body.bhs-home-active, body.bhs-commerce-active) :is(
		input:not([type]),
		input[type="date"],
		input[type="datetime-local"],
		input[type="email"],
		input[type="month"],
		input[type="number"],
		input[type="password"],
		input[type="search"],
		input[type="tel"],
		input[type="text"],
		input[type="time"],
		input[type="url"],
		input[type="week"],
		textarea
	):not(#bhs-mobile-control-guard)::placeholder {
		font-size: 16px !important;
	}
}
