/* skin/forms.css (WP5a): controls of Woo, Contact Form 7, Elementor and affiliate forms (DESIGN 6.5; S9). Visible labels, 48 px fields, 16 px text (no iOS zoom), 1 px
   --rgn-border-strong border (3.69:1), radius 8, focus ring (widgets.css), errors in --rgn-error. The theme's own fields (`[data-rgn-component]`, `.rgn-input`) and the mu-plugin
   selector (`[data-rgp1-module]`) are skipped through zero-specificity :where(). Presentation only: no label, hint or placeholder is touched, nothing is hidden. Specificity (0,3,2),
   the same as WooCommerce's `.woocommerce form .form-row input.input-text`, later in the document; compat.css fixes the 30 px height at (0,4,3). */
body.rgn-theme :is(.woocommerce,.elementor,.wpcf7,.wcu_form_affiliate_register) :is(input:not([type="checkbox"],[type="radio"],[type="submit"],[type="button"],[type="image"],[type="hidden"],[type="range"],[type="file"],[type="color"],[type="reset"]),textarea,select):not(:where([data-rgn-component] *,[data-rgp1-module] *,.select2-search__field,.select2-selection__rendered)){
  box-sizing:border-box;min-height:48px;padding:10px 14px;border:1px solid var(--rgn-border-strong);border-radius:var(--rgn-radius);background-color:var(--rgn-bg);color:var(--rgn-ink);
  font-family:var(--rgn-font-body);font-size:var(--rgn-fs-base);font-weight:400;line-height:1.4;transition:border-color var(--rgn-dur-fast) var(--rgn-ease),box-shadow var(--rgn-dur-fast) var(--rgn-ease)}
body.rgn-theme :is(.woocommerce,.elementor,.wpcf7,.wcu_form_affiliate_register) textarea:not(:where([data-rgn-component] *,[data-rgp1-module] *)){min-height:120px}
body.rgn-theme :is(.woocommerce,.elementor,.wpcf7,.wcu_form_affiliate_register) select:not(:where([data-rgn-component] *,[data-rgp1-module] *)){padding-inline-end:36px}
body.rgn-theme :is(.woocommerce,.elementor,.wpcf7,.wcu_form_affiliate_register) :is(input,textarea)::placeholder{color:var(--rgn-muted);opacity:1}
body.rgn-theme :is(.woocommerce,.elementor,.wpcf7,.wcu_form_affiliate_register) :is(input:not([type="checkbox"],[type="radio"],[type="submit"],[type="button"],[type="hidden"]),textarea,select):not(:where([data-rgn-component] *,[data-rgp1-module] *)):focus-visible{border-color:var(--rgn-focus)}

/* labels, required marks, hints */
body.rgn-theme .woocommerce form .form-row label,
body.rgn-theme .wpcf7 label{color:var(--rgn-ink);font-weight:700;line-height:1.4}
body.rgn-theme .woocommerce form .form-row :is(.required,abbr.required){color:var(--rgn-error);text-decoration:none;border:0}
body.rgn-theme .woocommerce form .form-row .description{color:var(--rgn-text-muted);font-size:var(--rgn-fs-sm)}

/* checkboxes and radios: 24 px marks, rows at least 44 px tall */
body.rgn-theme :is(.woocommerce,.elementor,.wpcf7) :is(input[type="checkbox"],input[type="radio"]):not(:where([data-rgn-component] *,[data-rgp1-module] *)){width:24px;height:24px;flex:none;accent-color:var(--rgn-navy);vertical-align:middle}
body.rgn-theme .woocommerce :is(.woocommerce-form__label-for-checkbox,.woocommerce-form-login__rememberme,label.checkbox,.wc_payment_method>label){display:inline-flex;align-items:center;column-gap:.25em;min-height:var(--rgn-tap)}
body.rgn-theme .woocommerce :is(.woocommerce-form__label-for-checkbox,.woocommerce-form-login__rememberme,label.checkbox,.wc_payment_method>label)>input{margin-inline-end:.6em}

/* validation: WooCommerce .woocommerce-invalid, Contact Form 7 .wpcf7-not-valid */
body.rgn-theme .woocommerce form .form-row.woocommerce-invalid :is(input.input-text,select,textarea,.select2-selection),
body.rgn-theme .wpcf7 .wpcf7-not-valid{border-color:var(--rgn-error)}
body.rgn-theme .wpcf7 .wpcf7-not-valid-tip{color:var(--rgn-error);font-size:var(--rgn-fs-sm)}
body.rgn-theme .wpcf7 form .wpcf7-response-output{margin:var(--rgn-space-4) 0 0;padding:var(--rgn-space-3) var(--rgn-space-4);border:1px solid var(--rgn-border-strong);border-radius:var(--rgn-radius)}
body.rgn-theme .wpcf7 :is(input[type="submit"],button[type="submit"]){min-height:48px;padding:12px 24px;border:1px solid var(--rgn-orange-edge);border-radius:var(--rgn-radius);background-color:var(--rgn-orange);color:var(--rgn-cta-ink);font-family:var(--rgn-font-body);font-size:var(--rgn-fs-base);font-weight:700;cursor:pointer}
body.rgn-theme .wpcf7 :is(input[type="submit"],button[type="submit"]):is(:hover,:focus){filter:brightness(.93)}

/* WooCommerce country and state selects (selectWoo): same height, border and radius; the dropdown is appended to <body> */
body.rgn-theme .select2-container .select2-selection--single{box-sizing:border-box;height:48px;border:1px solid var(--rgn-border-strong);border-radius:var(--rgn-radius);background-color:var(--rgn-bg)}
body.rgn-theme .select2-container .select2-selection--single .select2-selection__rendered{padding:0 36px 0 14px;color:var(--rgn-ink);font-size:var(--rgn-fs-base);line-height:46px}
body.rgn-theme .select2-container .select2-selection--single .select2-selection__arrow{height:46px;inset-inline-end:8px}
body.rgn-theme .select2-container:is(.select2-container--open,.select2-container--focus) .select2-selection--single{border-color:var(--rgn-focus)}
body.rgn-theme .select2-dropdown{border:1px solid var(--rgn-border-strong);border-radius:var(--rgn-radius);overflow:hidden}
body.rgn-theme .select2-dropdown .select2-search__field{min-height:44px;padding:8px 12px;border:1px solid var(--rgn-border-strong);border-radius:var(--rgn-radius);font-size:var(--rgn-fs-base)}
body.rgn-theme .select2-results__option{padding:10px 14px;font-size:var(--rgn-fs-base)}
body.rgn-theme .select2-container--default .select2-results__option--highlighted:is([aria-selected],[data-selected]){background-color:var(--rgn-navy);color:var(--rgn-on-dark)}
body.rgn-theme .woocommerce .password-input .show-password-input{width:var(--rgn-tap);height:var(--rgn-tap)}
body.rgn-theme .elementor-search-form__input{min-height:48px}
