/* Native payment rows inherit the store's typography and colors. */
.woocommerce-checkout #payment ul.payment_methods li[class*="payment_method_wcp_"] {
  padding: 0;
  border-bottom: 1px solid #d3ddd5;
}
.woocommerce-checkout #payment ul.payment_methods li[class*="payment_method_wcp_"] > input[type="radio"] {
  vertical-align: middle;
  margin: 0 12px 0 0;
  float: none;
}
.woocommerce-checkout #payment ul.payment_methods li[class*="payment_method_wcp_"] > label {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: calc(100% - 40px);
  min-height: 88px;
  margin: 0;
  padding: 12px 0;
  vertical-align: middle;
  cursor: pointer;
}
.woocommerce-checkout #payment ul.payment_methods li[class*="payment_method_wcp_"] > label img.wcp-checkout-logo,
.wcp-checkout-label img.wcp-checkout-logo {
  display: block;
  float: none;
  flex: 0 0 auto;
  width: 156px;
  height: 68px;
  max-width: 40%;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: right center;
}
.wcp-checkout-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 68px;
}
.wcp-checkout-name { min-width: 0; overflow-wrap: anywhere; }
.wc-block-components-radio-control__option:has(.wcp-checkout-label) { min-height: 92px; }
.wc-block-components-radio-control__label:has(.wcp-checkout-label) { width: 100%; }
.woocommerce-checkout #payment input[name="payment_method"][value^="wcp_"]:focus-visible,
.wc-block-components-radio-control__input[value^="wcp_"]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
@media (max-width: 480px) {
  .woocommerce-checkout #payment ul.payment_methods li[class*="payment_method_wcp_"] > label,
  .wcp-checkout-label { gap: 12px; font-size: 15px; line-height: 1.45; }
  .woocommerce-checkout #payment ul.payment_methods li[class*="payment_method_wcp_"] > label img.wcp-checkout-logo,
  .wcp-checkout-label img.wcp-checkout-logo { width: 108px; height: 52px; }
}
