/**
 * Buy Now.
 *
 */
.merchant-buy-now-button.merchant-custom-buy-now-button {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: 1.2 !important;
  max-width: none;
  margin-top: var(--mrc-buy-now-margin-top, 0.5rem) !important;
  margin-bottom: var(--mrc-buy-now-margin-bottom, 1rem) !important;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-decoration: none !important;
  padding-top: var(--mrc-buy-now-padding-top-bottom, 13px) !important;
  padding-bottom: var(--mrc-buy-now-padding-top-bottom, 13px) !important;
  padding-left: var(--mrc-buy-now-padding-left-right, 24px) !important;
  padding-right: var(--mrc-buy-now-padding-left-right, 24px) !important;
  font-size: var(--mrc-buy-now-font-size, 16px) !important;
  border-radius: var(--mrc-buy-now-border-radius, 0px) !important;
  color: var(--mrc-buy-now-text-color, #FFF) !important;
  border-color: var(--mrc-buy-now-border-color, #212121) !important;
  background-color: var(--mrc-buy-now-background-color, #212121) !important;
}
.merchant-buy-now-button.merchant-custom-buy-now-button.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.merchant-buy-now-button.merchant-custom-buy-now-button:hover {
  color: var(--mrc-buy-now-text-hover-color, #FFF) !important;
  border-color: var(--mrc-buy-now-border-hover-color, #414141) !important;
  background-color: var(--mrc-buy-now-background-hover-color, #414141) !important;
}
.merchant-buy-now-button.merchant-custom-buy-now-button::before {
  display: none;
}

.products .product .merchant-buy-now-button.merchant-custom-buy-now-button,
.wc-block-grid__products .wc-block-grid__product .merchant-buy-now-button.merchant-custom-buy-now-button {
  width: 100%;
}

.single-product .product .cart .merchant-buy-now-button {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  margin-top: var(--mrc-buy-now-margin-top, 0) !important;
  margin-bottom: var(--mrc-buy-now-margin-bottom, 0) !important;
  margin-left: 5px;
  float: none !important;
}

.rtl.single-product .merchant-buy-now-button {
  margin-left: 0;
  margin-right: 5px;
}