/* Two native button styles; shared by the site, forms and commerce blocks. */
:is(.is-style-fa-button-orange,.is-style-fa-button-blue) {
  --fa-button-font: var(--wp--preset--font-family--body);
  --fa-button-size: var(--wp--preset--font-size--button);
  --fa-button-weight: 700;
  --fa-button-leading: 1.4;
  --fa-button-tracking: .04em;
  --fa-button-case: uppercase;
  --fa-button-radius: var(--fa-radius-small,3px);
  --fa-button-text: var(--wp--preset--color--white);
  --fa-button-hover-color: var(--wp--preset--color--blue-dark);
  --fa-button-fill: var(--wp--preset--color--rust);
  --fa-button-border: var(--fa-button-fill);
  --fa-button-arrow-x: calc(100% + 20px);
  /* A decorative background also works on native input[type=submit]. */
  --fa-button-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003047' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E");
  --fa-button-background: var(--fa-button-fill) var(--fa-button-arrow) no-repeat var(--fa-button-arrow-x) center / 16px 16px;
  --fa-button-padding: 12px 24px;
  --fa-button-font-spec: normal var(--fa-button-weight) var(--fa-button-size)/var(--fa-button-leading) var(--fa-button-font);
  --fa-button-decoration: none;
  --fa-button-transition: background-color .2s ease,color .2s ease,border-color .2s ease,background-position .2s ease,padding .2s ease;
}
.is-style-fa-button-orange {
  --fa-button-hover-color: var(--wp--preset--color--rust);
  --fa-button-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d3510c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15m-6-6 6 6-6 6'/%3E%3C/svg%3E");
}
.is-style-fa-button-blue { --fa-button-fill: var(--wp--preset--color--blue-dark); }
:is(body,.editor-styles-wrapper) :is(a,button,input,.wp-block-button__link).is-style-fa-button-orange,
:is(body,.editor-styles-wrapper) :is(a,button,input,.wp-block-button__link).is-style-fa-button-blue,
.wp-block-button:is(.is-style-fa-button-orange,.is-style-fa-button-blue) > .wp-block-button__link {
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--fa-button-border);
  border-radius: var(--fa-button-radius);
  background: var(--fa-button-background);
  color: var(--fa-button-text);
  font: var(--fa-button-font-spec);
  font-variant: normal;
  letter-spacing: var(--fa-button-tracking);
  text-transform: var(--fa-button-case);
  text-decoration: var(--fa-button-decoration);
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: var(--fa-button-padding);
  transition: var(--fa-button-transition);
  cursor: pointer;
}
/* The wrapper is the saved Gutenberg style; the inner control owns interaction. */
@media (hover:hover) {
  :is(a,button,input):is(.is-style-fa-button-orange,.is-style-fa-button-blue):hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):not(.loading) {
    --fa-button-fill: var(--wp--preset--color--white);
    --fa-button-text: var(--fa-button-hover-color);
    --fa-button-border: var(--fa-button-hover-color);
    --fa-button-arrow-x: calc(100% - 12px);
    --fa-button-padding: 12px 36px 12px 12px;
  }
}
:is(a,button,input):is(.is-style-fa-button-orange,.is-style-fa-button-blue):focus-visible:not(:disabled):not([aria-disabled="true"]),
:is(a,button,input).is-style-fa-button-orange:active:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]):not(.loading) {
  --fa-button-fill: var(--wp--preset--color--white);
  --fa-button-text: var(--fa-button-hover-color);
  --fa-button-border: var(--fa-button-hover-color);
  --fa-button-arrow-x: calc(100% - 12px);
  --fa-button-padding: 12px 36px 12px 12px;
}
:is(a,button,input):is(.is-style-fa-button-orange,.is-style-fa-button-blue):focus-visible:not(:disabled):not([aria-disabled="true"]) {
  outline: 2px solid var(--fa-button-hover-color);
  outline-offset: 3px;
}
:is(a,button,input):is(.is-style-fa-button-orange,.is-style-fa-button-blue):is(:disabled,[aria-disabled="true"]) { cursor:not-allowed; }
@media (prefers-reduced-motion:reduce) {
  :is(.is-style-fa-button-orange,.is-style-fa-button-blue) { --fa-button-transition:none; }
}
