.block-product-buy-button {
  white-space: normal !important;
}

.block-product-buy-button-wrapper {
  padding: 0;
}

/* Keep the visible surface independent of legacy color-scheme border layers. */
.block-product-buy-button.button {
  --color-button-background: 204, 55, 55;
  --color-button-text: 255, 255, 255;
  --button-border-radius: 999px;
  --button-border-thickness: 0px;
  box-sizing: border-box;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--button-border-radius);
  background: #cc3737;
  color: #fff;
  box-shadow: none;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 150ms ease;
}

.block-product-buy-button.button::after {
  content: none !important;
  box-shadow: none !important;
  animation: none !important;
  border-radius: inherit;
}

.block-product-buy-button.button:not([disabled], .disabled):hover {
  background: #b52e2e;
}

.block-product-buy-button.button:not([disabled], .disabled):active {
  background: #a82727;
}

.block-product-buy-button.button:focus-visible {
  outline: 2px solid #00003e;
  outline-offset: 3px;
}

.block-product-buy-button.button:disabled,
.block-product-buy-button.button.disabled {
  background: #cc3737;
  opacity: .4;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .block-product-buy-button.button { transition: none; }
}
