/*
 * Landing page hero form: center the product checkbox question and choices.
 * Gravity Forms renders inline choices (gf_list_inline) as inline-block inside
 * a block container, so they're centered with text-align rather than flexbox.
 */
.hero-form .gform_wrapper.gravity-theme .gfield--type-checkbox .gfield_label {
	width: 100%;
	text-align: center;
}

.hero-form .gform_wrapper.gravity-theme .gfield--type-checkbox .gfield_checkbox {
	text-align: center;
}

/* Drop the trailing gutter so the choice group sits truly centered. */
.hero-form .gform_wrapper.gravity-theme .gfield--type-checkbox .gchoice:last-child {
	padding-inline-end: 0;
}

/*
 * Keep a filled field's label floated when it fails validation (e.g. an
 * out-of-area ZIP). The theme pins every errored label to the resting
 * position with !important, so the shrunken label sat behind the value.
 * Matches that rule's specificity; validation-above fields are left alone
 * since their message shifts the input down.
 */
.gform_wrapper.gravity-theme .gfield_error.is-active.field_validation_below:not(.footer-form .gform_wrapper.gravity-theme .gfield_error):not(.global-footer-cta .gform_wrapper.gravity-theme .gfield_error) .gfield_label {
	--gform-float-vertical-center: calc((58px / 2 - 2.5em)) !important;
}
