/**
 * Classic WooCommerce checkout — credit card / PayPal fields.
 * Slimmed from legacy bytepress-style.css (dropped FunnelKit/CheckoutWC stacks,
 * dark-mode force-white, fade-in, loading spinner, duplicate !important ladders).
 */

/* Gateway title row icon — same pattern as core WC / other gateways */
.wc_payment_methods li.payment_method_gw_card > label img.gw-gateway-icon,
.wc_payment_methods li.payment_method_gw_paypal > label img.gw-gateway-icon,
li.payment_method_gw_card > label img.gw-gateway-icon,
li.payment_method_gw_paypal > label img.gw-gateway-icon {
  float: right;
  max-height: 24px;
  width: auto;
  margin: 0;
  border: 0;
  vertical-align: middle;
  box-shadow: none;
}

/* Awaiting panel 3DS — lock the page like Shopify Pay Now */
body.gw-checkout--awaiting-3ds {
  cursor: wait;
}

body.gw-checkout--awaiting-3ds .woocommerce-checkout,
body.gw-checkout--awaiting-3ds .wp-block-woocommerce-checkout,
body.gw-checkout--awaiting-3ds .wc-block-checkout {
  pointer-events: none;
  user-select: none;
}

body.gw-checkout--awaiting-3ds #place_order,
body.gw-checkout--awaiting-3ds .wc-block-components-checkout-place-order-button {
  cursor: wait;
}

body.gw-checkout--awaiting-3ds #place_order.gw-pay-loading,
body.gw-checkout--awaiting-3ds .wc-block-components-checkout-place-order-button.gw-pay-loading {
  position: relative;
  color: transparent !important;
}

body.gw-checkout--awaiting-3ds #place_order.gw-pay-loading > *,
body.gw-checkout--awaiting-3ds .wc-block-components-checkout-place-order-button.gw-pay-loading > * {
  visibility: hidden;
}

body.gw-checkout--awaiting-3ds #place_order.gw-pay-loading::after,
body.gw-checkout--awaiting-3ds .wc-block-components-checkout-place-order-button.gw-pay-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25em;
  height: 1.25em;
  margin: -0.625em 0 0 -0.625em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: gw-pay-spin 0.7s linear infinite;
}

@keyframes gw-pay-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Payment-method discount chip (Settings → Payment discounts) */
.gw-pay-discount-badge,
[data-gw-pay-discount] {
  display: inline-flex;
  align-items: center;
  margin-inline-start: 8px;
  margin-inline-start: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8f8ef;
  color: #0a7a3c;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
  vertical-align: middle;
}

.gw-blocks-method-label__main {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
}

.gw-blocks-method-label .gw-pay-discount-badge,
.gw-blocks-method-label [data-gw-pay-discount] {
  flex: 0 0 auto;
}

label.gw-pay-title--has-discount {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}

/* -------------------------------------------------------------------------
 * WooCommerce Blocks — align with WooPayments-style label icons + native type
 * ------------------------------------------------------------------------- */

/*
 * Label row: text left, icon right (WooPayments-like).
 * Clipping is usually our 100%-width label + parent overflow:hidden —
 * not the theme. Keep a right inset so icons aren't cut by the border.
 */
.wc-block-checkout__payment-method
  .wc-block-components-radio-control__option:has(.gw-blocks-method-label),
.wc-block-checkout__payment-method
  .wc-block-components-radio-control__label:has(.gw-blocks-method-label) {
  overflow: visible;
}

.wc-block-checkout__payment-method
  .wc-block-components-radio-control__label:has(.gw-blocks-method-label) {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  /* Keep icons clear of the option border (WooPayments-like inset). */
  padding-right: 0.75rem;
}

.wc-block-checkout__payment-method .gw-blocks-method-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding-right: 0.25rem;
  overflow: visible;
}

.wc-block-checkout__payment-method
  .gw-blocks-method-label
  .wc-block-components-payment-method-icons {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 0;
  gap: 4px;
  overflow: visible;
}

.wc-block-checkout__payment-method
  .gw-blocks-method-label
  .wc-block-components-payment-method-icon,
.wc-block-checkout__payment-method .gw-blocks-method-label img {
  display: block;
  width: auto !important;
  height: 24px !important;
  max-height: 24px !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  object-fit: contain;
  object-position: right center;
}

.wc-block-checkout__payment-method
  .gw-blocks-method-label
  .wc-block-components-payment-method-icon--gw_paypal,
.wc-block-checkout__payment-method
  .gw-blocks-method-label
  img.wc-block-components-payment-method-icon--gw_paypal {
  height: 20px !important;
  max-height: 20px !important;
}

/* Description: inherit Blocks accordion typography (match BACS/COD). */
.wc-block-components-radio-control-accordion-content {
  overflow: visible;
}

.wc-block-components-radio-control-accordion-content .gw-payment-fields {
  box-sizing: border-box;
  margin-top: 0;
  font-family: inherit;
  color: inherit;
  overflow: visible;
}

.wc-block-components-radio-control-accordion-content .gw-field-error {
  display: block !important;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gw-error, #dc2727);
}

.wc-block-components-radio-control-accordion-content .gw-blocks-payment-description,
.wc-block-components-radio-control-accordion-content .gw-payment-description {
  margin: 0;
  padding: 0;
  font: inherit;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
}

.wc_payment_methods li.payment_method_gw_paypal > label img.gw-gateway-icon,
li.payment_method_gw_paypal > label img.gw-gateway-icon {
  max-height: 22px;
}

[dir="rtl"] .wc_payment_methods li.payment_method_gw_card > label img.gw-gateway-icon,
[dir="rtl"] .wc_payment_methods li.payment_method_gw_paypal > label img.gw-gateway-icon,
[dir="rtl"] li.payment_method_gw_card > label img.gw-gateway-icon,
[dir="rtl"] li.payment_method_gw_paypal > label img.gw-gateway-icon {
  float: left;
}

.payment_method_gw_card .payment_box,
.payment_method_gw_paypal .payment_box {
  padding-top: 0.75em;
}

.gw-payment-fields,
.gw-payment-fields * {
  box-sizing: border-box;
}

.gw-payment-fields {
  --gw-text: #30313d;
  --gw-placeholder: #757680;
  --gw-border: #bdbdbd;
  --gw-border-focus: rgba(5, 115, 225, 0.5);
  --gw-focus-ring: rgba(5, 115, 225, 0.25);
  --gw-error: #dc2727;
  --gw-muted: #6b7280;
  --gw-radius: 5px;
  --gw-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 3px 6px rgba(0, 0, 0, 0.02);
  --gw-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;

  width: 100%;
  margin: 0;
  padding: 2px 0 0;
  border: 0;
  background: transparent;
  font-family: var(--gw-font);
  -webkit-font-smoothing: antialiased;
}

.gw-payment-description {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

/* Above card inputs — plain text, same surface as the payment method */
.gw-payment-description--card {
  margin: 0 0 12px;
  padding: 0;
  background: none;
  color: #707070;
  font-size: 14px;
  line-height: 1.5;
  text-align: start;
}

.gw-payment-description--paypal {
  margin: 0;
  color: #707070;
}

/* Card number full-width; expiry + CVC side by side */
.gw-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.gw-field--full {
  grid-column: 1 / -1;
}

.gw-field {
  margin: 0;
  min-width: 0;
}

.gw-label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--gw-text);
}

.gw-label .required {
  color: var(--gw-error);
  margin-left: 2px;
}

.gw-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.gw-payment-fields .gw-input,
.gw-payment-fields input.gw-input {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius);
  background: #fff;
  box-shadow: var(--gw-shadow);
  color: var(--gw-text);
  font-size: 16px;
  font-family: var(--gw-font);
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
  outline: none;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gw-payment-fields .gw-input::placeholder {
  color: var(--gw-placeholder);
  opacity: 1;
}

.gw-payment-fields .gw-input:focus,
.gw-input-wrap:focus-within .gw-input:not(.is-error):not(.error) {
  border-color: var(--gw-border-focus);
  box-shadow: var(--gw-shadow), 0 0 0 3px var(--gw-focus-ring);
}

/* Beat theme / Blocks accordion rules — keep red border even while focused */
#payment .gw-payment-fields .gw-input.is-error,
#payment .gw-payment-fields .gw-input.error,
.woocommerce-checkout #payment .gw-payment-fields input.gw-input.is-error,
.wc-block-components-radio-control-accordion-content .gw-payment-fields .gw-input.is-error,
.wc-block-components-radio-control-accordion-content .gw-payment-fields input.gw-input.is-error,
.gw-payment-fields .gw-input.is-error,
.gw-payment-fields .gw-input.error,
.gw-payment-fields input.gw-input.is-error {
  border-color: var(--gw-error) !important;
  box-shadow: 0 0 0 1px var(--gw-error) !important;
  color: var(--gw-error);
}

#payment .gw-payment-fields .gw-input.is-error:focus,
.wc-block-components-radio-control-accordion-content .gw-payment-fields .gw-input.is-error:focus,
.gw-payment-fields .gw-input.is-error:focus,
.gw-payment-fields .gw-input.error:focus,
.gw-input-wrap:focus-within .gw-input.is-error,
.gw-input-wrap:focus-within .gw-input.error {
  border-color: var(--gw-error) !important;
  box-shadow: 0 0 0 1px var(--gw-error), 0 0 0 3px rgba(220, 39, 39, 0.22) !important;
  color: var(--gw-text);
}

/* Room for brand icons on the card number field */
#gw-card-number {
  padding-right: 120px;
}

.gw-brand-icons {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  pointer-events: none;
  z-index: 2;
}

.gw-brand-icon {
  display: flex;
  align-items: center;
  height: 20px;
  max-width: 32px;
}

.gw-brand-icon.is-hidden {
  display: none;
}

.gw-brand-icon img,
.gw-brand-icons .BrandIcon {
  display: block;
  height: 20px;
  width: auto;
  max-width: 32px;
  object-fit: contain;
  border: 0;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

.gw-brand-overflow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  flex-shrink: 0;
  overflow: hidden;
}

.gw-brand-overflow.is-hidden,
.gw-brand-overflow-item.is-hidden,
.gw-brand-icons.is-single > .gw-brand-icon:not(.is-match),
.gw-brand-icons.is-single > .gw-brand-overflow:not(.is-match) {
  display: none;
}

.gw-brand-overflow-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.gw-brand-overflow-item.is-visible {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .gw-brand-overflow-item {
    transition: none;
  }
}

.gw-cvc-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 20px;
  opacity: 0.6;
  pointer-events: none;
  --colorIconCardCvc: #6c7581;
}

.gw-cvc-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

#gw-card-cvc {
  padding-right: 44px;
}

#payment .gw-field-error,
.woocommerce-checkout .gw-field-error,
.gw-field-error {
  display: block !important;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gw-error);
}

/* Prefer per-field errors; keep summary slot collapsed */
.gw-payment-errors,
.gw-payment-errors[hidden] {
  display: none !important;
}

/*
 * Silent card-abort fallout: empty error banners (missing/stripped message).
 * ZWSP / "undefined" / payment-option copy are removed in JS as well.
 */
.wc-block-components-notice-banner.is-error:has(
		.wc-block-components-notice-banner__content:empty
	) {
	display: none !important;
}

/*
 * First card-validation abort: WC may paint a payment ERROR notice for one frame
 * before JS removeNotice runs. Hide those banners while the suppress class is on
 * (toggled synchronously in classic-checkout-submit.js), and while 3DS owns checkout.
 */
body.gw-suppress-wc-payment-notices
	.wc-block-components-notice-banner.is-error,
body.gw-suppress-wc-payment-notices
	.wc-block-store-notice.is-error,
body.gw-suppress-wc-payment-notices
	.woocommerce-error,
body.gw-checkout--awaiting-3ds
	.wc-block-components-notice-banner.is-error,
body.gw-checkout--awaiting-3ds
	.wc-block-store-notice.is-error,
body.gw-checkout--awaiting-3ds
	.woocommerce-error {
	display: none !important;
}

.gw-trust-badge {
  margin: 4px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: var(--gw-muted);
}

.gw-trust-badge svg {
  vertical-align: -2px;
  margin-right: 4px;
  opacity: 0.85;
}

.gw-payment-fields--paypal {
  margin: 0;
  padding: 4px 0 0;
  border: 0;
}

/* RTL: mirror icon gutters; keep card digit direction LTR */
[dir="rtl"] .gw-label .required,
.rtl .gw-label .required {
  margin-left: 0;
  margin-right: 2px;
}

[dir="rtl"] #gw-card-number,
.rtl #gw-card-number {
  padding-right: 12px;
  padding-left: 120px;
}

[dir="rtl"] .gw-brand-icons,
.rtl .gw-brand-icons {
  right: auto;
  left: 12px;
}

[dir="rtl"] #gw-card-cvc,
.rtl #gw-card-cvc {
  padding-right: 12px;
  padding-left: 44px;
}

[dir="rtl"] .gw-cvc-icon,
.rtl .gw-cvc-icon {
  right: auto;
  left: 12px;
}

[dir="rtl"] #gw-card-number,
[dir="rtl"] #gw-card-expiry,
[dir="rtl"] #gw-card-cvc,
.rtl #gw-card-number,
.rtl #gw-card-expiry,
.rtl #gw-card-cvc {
  text-align: right;
  unicode-bidi: isolate;
}

[dir="rtl"] input[type="tel"],
[dir="rtl"] input[autocomplete*="tel"],
.rtl input[type="tel"],
.rtl input[autocomplete*="tel"] {
  direction: rtl;
  unicode-bidi: isolate;
  text-align: start;
}

[dir="rtl"] .wc_payment_methods li.payment_method_gw_card > label img.gw-gateway-icon,
[dir="rtl"] .wc_payment_methods li.payment_method_gw_paypal > label img.gw-gateway-icon,
.rtl .wc_payment_methods li.payment_method_gw_card > label img.gw-gateway-icon,
.rtl .wc_payment_methods li.payment_method_gw_paypal > label img.gw-gateway-icon {
  float: left;
}

[dir="rtl"] .wc-block-checkout__payment-method
  .wc-block-components-radio-control__label:has(.gw-blocks-method-label),
.rtl .wc-block-checkout__payment-method
  .wc-block-components-radio-control__label:has(.gw-blocks-method-label) {
  padding-right: 0;
  padding-left: 0.75rem;
}

[dir="rtl"] .wc-block-checkout__payment-method
  .gw-blocks-method-label
  .wc-block-components-payment-method-icons,
.rtl .wc-block-checkout__payment-method
  .gw-blocks-method-label
  .wc-block-components-payment-method-icons {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] #gw-pp-host .gw-pp-close,
.rtl #gw-pp-host .gw-pp-close {
  right: auto;
  left: max(12px, env(safe-area-inset-left, 0px));
}

[dir="rtl"] .wc_payment_methods li.payment_method_gw_card > label img.gw-gateway-icon,
[dir="rtl"] .wc_payment_methods li.payment_method_gw_paypal > label img.gw-gateway-icon,
.rtl .wc_payment_methods li.payment_method_gw_card > label img.gw-gateway-icon,
.rtl .wc_payment_methods li.payment_method_gw_paypal > label img.gw-gateway-icon {
  float: left;
}

[dir="rtl"] .wc-block-checkout__payment-method
  .gw-blocks-method-label
  .wc-block-components-payment-method-icons,
.rtl .wc-block-checkout__payment-method
  .gw-blocks-method-label
  .wc-block-components-payment-method-icons {
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 480px) {
  .gw-form-grid {
    gap: 8px;
  }
}

/*
 * Access gate (Blocks): methods stay registered (canMakePayment); CSS shows them
 * only when allowed. Avoids cart soft-refresh / address preserve races.
 */
body.gw-checkout--pending li.payment_method_gw_card,
body.gw-checkout--pending li.payment_method_gw_paypal,
body.gw-checkout--blocked li.payment_method_gw_card,
body.gw-checkout--blocked li.payment_method_gw_paypal {
  display: none !important;
}

/*
 * Disconnect (expired) and blacklist / risk (unavailable) share this hide:
 * keep theme chrome, drop billing / shipping / payment / place order.
 */
body.gw-checkout--session-expired li.payment_method_gw_card,
body.gw-checkout--session-expired li.payment_method_gw_paypal,
body.gw-checkout--session-expired #place_order,
body.gw-checkout--session-expired .place-order,
body.gw-checkout--session-expired .wc-block-components-checkout-place-order-button,
body.gw-checkout--session-expired form.woocommerce-checkout > *:not([data-gw-session-expired]),
body.gw-checkout--session-expired form.checkout > *:not([data-gw-session-expired]),
body.gw-checkout--session-expired .wp-block-woocommerce-checkout-fields-block > *:not([data-gw-session-expired]),
body.gw-checkout--session-expired .wp-block-woocommerce-checkout-order-summary-block,
body.gw-checkout--session-expired .wc-block-checkout__sidebar,
body.gw-checkout--session-expired .wc-block-checkout__actions {
  display: none !important;
}

/*
 * Blocks: hide the WHOLE method (accordion option wrapper = radio + label +
 * accordion content). Hiding only the __option label left the sibling
 * accordion-content (card fields) visible before the session was allowed.
 */
body.gw-checkout--pending
  .wc-block-components-radio-control-accordion-option:has(
    [id*='payment-method-options-gw_card']
  ),
body.gw-checkout--pending
  .wc-block-components-radio-control-accordion-option:has(
    [id*='payment-method-options-gw_paypal']
  ),
body.gw-checkout--blocked
  .wc-block-components-radio-control-accordion-option:has(
    [id*='payment-method-options-gw_card']
  ),
body.gw-checkout--blocked
  .wc-block-components-radio-control-accordion-option:has(
    [id*='payment-method-options-gw_paypal']
  ),
body.gw-checkout--pending
  .wc-block-components-radio-control__option:has(
    [id*='payment-method-options-gw_card']
  ),
body.gw-checkout--pending
  .wc-block-components-radio-control__option:has(
    [id*='payment-method-options-gw_paypal']
  ),
body.gw-checkout--blocked
  .wc-block-components-radio-control__option:has(
    [id*='payment-method-options-gw_card']
  ),
body.gw-checkout--blocked
  .wc-block-components-radio-control__option:has(
    [id*='payment-method-options-gw_paypal']
  ) {
  display: none !important;
}

/* Fallback for markup without the accordion-option wrapper: hide the content
 * panel that holds our own fields directly. */
body.gw-checkout--pending
  .wc-block-components-radio-control-accordion-content:has([data-gw-gateway='card']),
body.gw-checkout--pending
  .wc-block-components-radio-control-accordion-content:has([data-gw-gateway='paypal']),
body.gw-checkout--blocked
  .wc-block-components-radio-control-accordion-content:has([data-gw-gateway='card']),
body.gw-checkout--blocked
  .wc-block-components-radio-control-accordion-content:has([data-gw-gateway='paypal']),
body.gw-checkout--pending #gw-card-fields,
body.gw-checkout--blocked #gw-card-fields,
body.gw-checkout--pending [data-gw-gateway='paypal'],
body.gw-checkout--blocked [data-gw-gateway='paypal'] {
  display: none !important;
}

/* While access is pending, don't flash the empty-methods banner */
body.gw-checkout--pending .wc-block-checkout__no-payment-methods,
body.gw-checkout--pending .wc-block-components-no-payment-methods {
  opacity: 0;
  pointer-events: none;
}

/* WP Classic / Blocks do not use Express checkout */
.gw-paypal-express-wrap {
  display: none !important;
}

/* Place order → gold PayPal button when gw_paypal is selected */
body.gw-checkout--paypal-selected #place_order,
body.gw-checkout--paypal-selected .wc-block-components-checkout-place-order-button {
  --gw-paypal-btn: #ffc439;
  --gw-paypal-btn-hover: #f2ba36;
  --gw-paypal-btn-active: #e8a820;
  position: relative;
  background: var(--gw-paypal-btn) !important;
  border-color: var(--gw-paypal-btn) !important;
  color: transparent !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

body.gw-checkout--paypal-selected #place_order:hover,
body.gw-checkout--paypal-selected #place_order:focus,
body.gw-checkout--paypal-selected .wc-block-components-checkout-place-order-button:hover,
body.gw-checkout--paypal-selected .wc-block-components-checkout-place-order-button:focus {
  background: var(--gw-paypal-btn-hover) !important;
  border-color: var(--gw-paypal-btn-hover) !important;
}

body.gw-checkout--paypal-selected #place_order:active,
body.gw-checkout--paypal-selected .wc-block-components-checkout-place-order-button:active {
  background: var(--gw-paypal-btn-active) !important;
  border-color: var(--gw-paypal-btn-active) !important;
}

body.gw-checkout--paypal-selected #place_order > *,
body.gw-checkout--paypal-selected .wc-block-components-checkout-place-order-button > * {
  visibility: hidden;
}

body.gw-checkout--paypal-selected #place_order::before,
body.gw-checkout--paypal-selected .wc-block-components-checkout-place-order-button::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 86px;
  height: 22px;
  pointer-events: none;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 59 16'%3E%3Cpath fill='%23253B80' d='M7.44.26H2.9a.63.63 0 00-.62.53L.43 12.43a.38.38 0 00.37.43h2.17a.63.63 0 00.63-.53l.5-3.14a.63.63 0 01.62-.53h1.44c3 0 4.73-1.45 5.18-4.32.2-1.25 0-2.24-.58-2.93C10.1.66 8.96.26 7.44.26zm.53 4.25c-.25 1.62-1.5 1.62-2.7 1.62h-.7l.49-3.04a.38.38 0 01.37-.32h.32c.82 0 1.6 0 2 .47.23.28.3.7.22 1.27zm13.07-.06h-2.18a.38.38 0 00-.37.32l-.1.61-.15-.22c-.47-.68-1.52-.91-2.57-.91a5 5 0 00-4.87 4.37 4.1 4.1 0 00.81 3.34c.67.78 1.62 1.1 2.75 1.1 1.94 0 3.01-1.24 3.01-1.24l-.1.6a.38.38 0 00.38.44h1.96a.63.63 0 00.63-.53l1.17-7.44a.38.38 0 00-.37-.44zM18 8.68a2.43 2.43 0 01-2.45 2.08c-.64 0-1.14-.2-1.47-.59a1.84 1.84 0 01-.34-1.52c.2-1.24 1.2-2.1 2.44-2.1.62 0 1.12.2 1.46.6.33.39.46.93.36 1.53zm14.64-4.23h-2.19a.64.64 0 00-.52.28l-3.02 4.44-1.28-4.27a.63.63 0 00-.6-.45h-2.16a.38.38 0 00-.36.5l2.41 7.06-2.26 3.2a.38.38 0 00.3.6h2.2a.63.63 0 00.51-.28l7.28-10.48a.38.38 0 00-.3-.6z'/%3E%3Cpath fill='%23179BD7' d='M39.7.26h-4.52a.62.62 0 00-.62.53l-1.83 11.64a.38.38 0 00.37.43h2.32a.44.44 0 00.43-.37l.52-3.3a.63.63 0 01.62-.53h1.43c2.97 0 4.69-1.45 5.14-4.32.2-1.25 0-2.24-.58-2.93C42.34.66 41.2.26 39.7.26zm.51 4.25c-.24 1.63-1.48 1.63-2.68 1.63h-.68l.48-3.05a.38.38 0 01.37-.32h.31c.82 0 1.59 0 1.99.47.23.28.3.7.21 1.27zm12.98-.06h-2.16a.37.37 0 00-.37.32l-.1.61-.15-.22c-.47-.68-1.51-.91-2.55-.91a4.98 4.98 0 00-4.83 4.37c-.2 1.27.09 2.49.8 3.34.66.78 1.6 1.1 2.73 1.1 1.92 0 2.99-1.24 2.99-1.24l-.1.6a.38.38 0 00.22.4c.05.03.1.04.15.04h1.95a.63.63 0 00.62-.53l1.17-7.44a.38.38 0 00-.37-.44zm-3.02 4.23a2.41 2.41 0 01-2.44 2.08c-.62 0-1.13-.2-1.45-.59a1.86 1.86 0 01-.34-1.52c.2-1.23 1.2-2.1 2.43-2.1.61 0 1.1.21 1.44.6.33.39.46.93.36 1.53zm5.57-8.1l-1.86 11.85a.38.38 0 00.22.4l.15.03h1.87c.3 0 .57-.22.62-.53L58.56.69a.38.38 0 00-.21-.4.37.37 0 00-.16-.03h-2.08a.38.38 0 00-.37.32z'/%3E%3C/svg%3E");
}

body.gw-checkout--paypal-selected #place_order.gw-pay-loading::before,
body.gw-checkout--paypal-selected .wc-block-components-checkout-place-order-button.gw-pay-loading::before {
  display: none;
}

body.gw-checkout--paypal-selected.gw-checkout--awaiting-3ds #place_order.gw-pay-loading::after,
body.gw-checkout--paypal-selected.gw-checkout--awaiting-3ds
  .wc-block-components-checkout-place-order-button.gw-pay-loading::after {
  border-color: rgba(37, 59, 128, 0.25);
  border-top-color: #253b80;
}
