/* MarketInc global control geometry and interaction */
:root {
  --mi-control-radius: 5px;
  --mi-control-focus: rgba(114, 187, 166, 0.55);
}

:where(
  .btn,
  .button,
  .elementor-button,
  .wp-element-button,
  .wp-block-button__link,
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .forminator-button,
  .wpcf7-submit,
  .mi-cta,
  .mi-cta-primary,
  .mi-cta-secondary,
  .mi-header-cta,
  .mi-mobile-cta
) {
  border-radius: var(--mi-control-radius) !important;
}

:where(
  .btn,
  .button,
  .elementor-button,
  .wp-element-button,
  .wp-block-button__link,
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .forminator-button,
  .wpcf7-submit,
  .mi-cta,
  .mi-cta-primary,
  .mi-cta-secondary
):not(:disabled) {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

:where(
  .btn,
  .button,
  .elementor-button,
  .wp-element-button,
  .wp-block-button__link,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .forminator-button,
  .wpcf7-submit,
  .mi-cta,
  .mi-cta-primary,
  .mi-cta-secondary
):not(:disabled):hover {
  box-shadow: 0 10px 24px rgba(17, 27, 39, 0.14);
  transform: translateY(-2px);
}

:where(
  .btn,
  .button,
  .elementor-button,
  .wp-element-button,
  .wp-block-button__link,
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .forminator-button,
  .wpcf7-submit,
  .mi-cta,
  .mi-cta-primary,
  .mi-cta-secondary
):focus-visible {
  outline: 3px solid var(--mi-control-focus) !important;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  :where(
    .btn,
    .button,
    .elementor-button,
    .wp-element-button,
    .wp-block-button__link,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .forminator-button,
    .wpcf7-submit,
    .mi-cta,
    .mi-cta-primary,
    .mi-cta-secondary
  ) {
    transition-duration: 0.01ms !important;
  }

  :where(
    .btn,
    .button,
    .elementor-button,
    .wp-element-button,
    .wp-block-button__link,
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    .forminator-button,
    .wpcf7-submit,
    .mi-cta,
    .mi-cta-primary,
    .mi-cta-secondary
  ):hover {
    transform: none;
  }
}
