.fc-wrapper #ppcp-credit-card-gateway-card-number,
.fc-wrapper #ppcp-credit-card-gateway-card-expiry,
.fc-wrapper #ppcp-credit-card-gateway-card-cvc {
  height: var(--fluidcheckout--field--height, 45.625px) !important;
  margin-inline: 0 !important;
}

.fc-wrapper #ppcp-credit-card-gateway-card-number,
.fc-wrapper #ppcp-credit-card-gateway-card-cvc {
  margin-right: 0 !important;
}

body.has-payment-method-selected--payment_method_ppcp-gateway .fc-wrapper .fc-sidebar .fc-sidebar__inner div.fc-place-order__section--sidebar,
body.has-payment-method-selected--payment_method_ppcp-card-button-gateway .fc-wrapper .fc-sidebar .fc-sidebar__inner div.fc-place-order__section--sidebar,
body.has-payment-method-selected--payment_method_ppcp-credit-card-gateway .fc-wrapper .fc-sidebar .fc-sidebar__inner div.fc-place-order__section--sidebar,
body.has-payment-method-selected--payment_method_ppcp-googlepay .fc-wrapper .fc-sidebar .fc-sidebar__inner div.fc-place-order__section--sidebar,
body.has-payment-method-selected--payment_method_ppcp-applepay .fc-wrapper .fc-sidebar .fc-sidebar__inner div.fc-place-order__section--sidebar {
  display: none;
}

.fc-wrapper .fc-place-order__woocommerce-paypal-payments {
  display: none;
}

body.has-payment-method-selected--payment_method_ppcp-gateway .fc-wrapper .fc-place-order__woocommerce-paypal-payments,
body.has-payment-method-selected--payment_method_ppcp-card-button-gateway .fc-wrapper .fc-place-order__woocommerce-paypal-payments {
  display: block;
}

body.has-payment-method-selected--payment_method_ppcp-gateway .fc-wrapper .fc-place-order,
body.has-payment-method-selected--payment_method_ppcp-card-button-gateway .fc-wrapper .fc-place-order,
body.has-payment-method-selected--payment_method_ppcp-credit-card-gateway .fc-wrapper .fc-place-order,
body.has-payment-method-selected--payment_method_ppcp-googlepay .fc-wrapper .fc-place-order,
body.has-payment-method-selected--payment_method_ppcp-applepay .fc-wrapper .fc-place-order {
  padding: 0;
}

body.has-payment-method-selected--payment_method_ppcp-gateway .fc-wrapper .fc-checkout-steps .fc-place-order__custom-buttons:not(:empty),
body.has-payment-method-selected--payment_method_ppcp-credit-card-gateway .fc-wrapper .fc-checkout-steps .fc-place-order__custom-buttons:not(:empty) {
  margin-top: 30px;
}

body.has-payment-method-selected--payment_method_ppcp-googlepay .fc-wrapper .fc-place-order__custom-buttons,
body.has-payment-method-selected--payment_method_ppcp-applepay .fc-wrapper .fc-place-order__custom-buttons {
  margin: 0;
}

body.has-payment-method-selected--payment_method_ppcp-googlepay .fc-wrapper .fc-checkout-steps .ppcp-button-apm.google-pay,
body.has-payment-method-selected--payment_method_ppcp-applepay .fc-wrapper .fc-checkout-steps .ppcp-button-applepay {
  margin: 30px 0 10px;
}

body.has-payment-method-selected--payment_method_ppcp-googlepay .fc-wrapper .fc-sidebar .fc-sidebar__inner .ppcp-button-apm.google-pay,
body.has-payment-method-selected--payment_method_ppcp-applepay .fc-wrapper .fc-sidebar .fc-sidebar__inner .ppcp-button-applepay {
  margin: 20px 0 10px;
}

body:not(.has-payment-method-selected--payment_method_ppcp-gateway):not(.has-payment-method-selected--payment_method_ppcp-card-button-gateway):not(.has-payment-method-selected--payment_method_ppcp-credit-card-gateway):not(.has-payment-method-selected--payment_method_ppcp-googlepay):not(.has-payment-method-selected--payment_method_ppcp-applepay) .fc-wrapper .fc-place-order__custom-buttons,
body:not(.has-payment-method-selected--payment_method_ppcp-gateway):not(.has-payment-method-selected--payment_method_ppcp-card-button-gateway):not(.has-payment-method-selected--payment_method_ppcp-credit-card-gateway):not(.has-payment-method-selected--payment_method_ppcp-googlepay):not(.has-payment-method-selected--payment_method_ppcp-applepay) .fc-wrapper .ppc-button-wrapper {
  margin: 0;
}

body:not(.has-payment-method-selected--payment_method_ppcp-pay-upon-invoice-gateway) .ppcp-messages {
  line-height: 0;
}

.fc-wrapper .fc-place-order__custom-buttons #ppc-button-ppcp-gateway .paypal-buttons {
  min-height: 0;
}

.fc-wrapper .ppcp-button-apm:not(.google-pay) {
  height: auto !important;
  min-height: 0;
}

.fc-wrapper .ppcp-button-apm:not(.google-pay):not(.ppcp-button-applepay) {
  margin: 0 !important;
}

.fc-wrapper #ppc-button {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fc-wrapper .ppcp-dcc-order-button {
  float: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0;
  width: 100% !important;
  min-width: 240px;
  min-height: 50px;
  text-align: center;
}
.fc-wrapper .ppcp-dcc-order-button:focus {
  outline: solid 2px var(--fluidcheckout--color--dark-grey, #535156) !important;
  outline-offset: 2px !important;
}

.fc-wrapper .fc-place-order__section #ppc-button-applepay-container,
.fc-wrapper .fc-place-order__section #ppcp-recaptcha-v2-container:empty {
  margin: 0 !important;
}