/* Button motion adapted from Uiverse concepts by vinodjangid07 and alexmaracinaru. */
html body :is(.checkout-form, .stingers-checkout, .mika-checkout, .quote-offer-state--success) .crawdad-checkout-button[data-crawdad-button] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 22px;
  border: 0;
  border-radius: 8px;
  background: #173e74;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 3px 5px 12px #102a4b20;
  transform: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

html body :is(.checkout-form, .stingers-checkout, .mika-checkout, .quote-offer-state--success) .crawdad-checkout-button[data-crawdad-button]:hover,
html body :is(.checkout-form, .stingers-checkout, .mika-checkout, .quote-offer-state--success) .crawdad-checkout-button[data-crawdad-button]:focus {
  background: #173e74;
  color: #fff;
  transform: none;
  box-shadow: 3px 6px 15px #102a4b2b;
}

html body :is(.checkout-form, .stingers-checkout, .mika-checkout, .quote-offer-state--success) .crawdad-checkout-button[data-crawdad-button]:active:not(:disabled):not([aria-disabled="true"]) {
  transform: translate(2px, 2px);
  box-shadow: 1px 2px 6px #102a4b20;
}

html #shop .product-copy .crawdad-customize-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 108px;
  min-height: 44px;
  padding: 12px 16px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #173e74;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition: transform 180ms ease;
}

html #shop .product-copy .crawdad-customize-button:hover,
html #shop .product-copy .crawdad-customize-button:focus {
  background: transparent;
  color: #173e74;
  box-shadow: none;
  transform: none;
}

html #shop .product-copy .crawdad-customize-button:active {
  transform: scale(.96);
}

.crawdad-customize-button > span {
  position: relative;
  z-index: 1;
}

.crawdad-button-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

.crawdad-checkout-button > .crawdad-button-art {
  z-index: 2;
  mix-blend-mode: difference;
}

.crawdad-customize-button > .crawdad-button-art {
  z-index: 0;
}

html body :is(.checkout-form, .stingers-checkout, .mika-checkout, .quote-offer-state--success) .crawdad-checkout-button[data-crawdad-button]:focus-visible,
html #shop .product-copy .crawdad-customize-button:focus-visible {
  outline: 3px solid #b33e5e;
  outline-offset: 4px;
}

html body :is(.checkout-form, .stingers-checkout, .mika-checkout, .quote-offer-state--success) .crawdad-checkout-button[data-crawdad-button]:disabled,
html body :is(.checkout-form, .stingers-checkout, .mika-checkout, .quote-offer-state--success) .crawdad-checkout-button[data-crawdad-button][aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.crawdad-checkout-button:disabled > .crawdad-button-art,
.crawdad-checkout-button[aria-disabled="true"] > .crawdad-button-art {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html body :is(.checkout-form, .stingers-checkout, .mika-checkout, .quote-offer-state--success) .crawdad-checkout-button[data-crawdad-button],
  html #shop .product-copy .crawdad-customize-button {
    transition: none;
  }
  html body :is(.checkout-form, .stingers-checkout, .mika-checkout, .quote-offer-state--success) .crawdad-checkout-button[data-crawdad-button]:active:not(:disabled),
  html #shop .product-copy .crawdad-customize-button:active {
    transform: none;
  }
}
