/* Final motion lock for every button surface. This file loads after page styles. */
:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion),
:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion)::before,
:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion)::after,
:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion) * {
  animation: none !important;
  transition: none !important;
}

:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion) {
  -webkit-tap-highlight-color: transparent !important;
  background-image: none !important;
  filter: none !important;
  will-change: auto !important;
}

:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion):hover,
:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion):active,
:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion):focus {
  transform: none !important;
}

/* Buttons remain visually unchanged after mouse, touch, or keyboard activation. */
:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion):focus,
:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion):focus-visible,
:is(
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  a.btn,
  a.button,
  [role="button"]
):not(#tucasa-button-motion):active {
  outline: none !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

button::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner {
  border: 0 !important;
  padding: 0;
}

/* Verification is a primary action in every interaction state. */
.verification-inline-row > .verification-action-button,
.verification-inline-row > .verification-action-button:hover,
.verification-inline-row > .verification-action-button:active,
.verification-inline-row > .verification-action-button:focus,
.verification-inline-row > .verification-action-button:focus-visible,
.verification-inline-row > .verification-action-button:disabled,
.verification-input-row > .verification-action-button,
.verification-input-row > .verification-action-button:hover,
.verification-input-row > .verification-action-button:active,
.verification-input-row > .verification-action-button:focus,
.verification-input-row > .verification-action-button:focus-visible,
.verification-input-row > .verification-action-button:disabled {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  opacity: 1 !important;
}

/* Price requests are inline links, not pill buttons. */
.price-request-summary > .price-request-trigger,
.price-request-summary > .price-request-trigger:hover,
.price-request-summary > .price-request-trigger:active,
.price-request-summary > .price-request-trigger:focus,
.price-request-summary > .price-request-trigger:focus-visible {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #111 !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  --btn-static-bg: transparent;
  --btn-static-color: #111;
  --btn-static-border: transparent;
}
