#checkout-choice-grid.cart-choice-grid,
#checkout-choice-list.cart-choice-grid,
.checkout-fallback-choices.cart-choice-grid {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
}

#checkout-choice-grid > .checkout-provider-choice,
#checkout-choice-list > .checkout-provider-choice,
.checkout-fallback-choices > .checkout-provider-choice {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 7.25rem;
}

.cart-choice.checkout-provider-choice .cart-choice-face {
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0.22rem 0.3rem;
  background: #fff;
  border-radius: 10px;
}

.checkout-provider-choice input:checked + .cart-choice-face.checkout-provider-face {
  background: #fff;
  color: #121212;
  border-color: #121212;
  box-shadow: inset 0 0 0 1.5px #121212;
}

.checkout-provider-mark {
  display: block;
  width: 100%;
  height: 2.05rem;
  object-fit: contain;
  pointer-events: none;
}

.checkout-provider-logo--card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 100%;
  min-width: 0;
  pointer-events: none;
}

.checkout-provider-logo--card svg {
  width: 1.45rem;
  height: 1rem;
  flex: 0 0 auto;
}

.checkout-provider-last4 {
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  color: #121212;
  line-height: 1;
}

@media (max-width: 420px) {
  .cart-choice.checkout-provider-choice .cart-choice-face {
    min-height: 2.35rem;
    height: 2.35rem;
    padding: 0.2rem 0.22rem;
  }

  .checkout-provider-mark {
    height: 1.35rem;
  }

  .checkout-provider-last4 {
    font-size: 0.62rem;
  }
}
