.credit-block {
  background: #f8f8f8;
  padding: 12px 16px;
  border-radius: 12px;
  margin-top: 20px;
  margin-bottom: 15px;
  clear: both;
}
.credit-block.hidden { display: none !important; }
.credit-banks {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.credit-bank { position: relative; cursor: pointer; }
.credit-bank img {
  height: 40px;
  width: auto;
  border-radius: 8px;
  padding: 3px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
/* The number of payments sits where the old pictures had a baked-in digit: top right, with a white halo. */
.credit-bank-num {
  position: absolute;
  top: 4.8px;
  left: 24px;
  width: 12px;
  text-align: center;
  font: 900 11.5px/1 Arial, Helvetica, sans-serif;
  color: #000;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 0 3px #fff;
  pointer-events: none;
}

/* Icons inside the checkout payment method line: not clickable, the line itself is the radio label. */
.installment-icons .credit-bank { cursor: inherit; }
.payment-logos.payment-logos--banks { width: auto; max-width: none; flex: 1 1 auto; min-width: 0; }
.payment-logos.payment-logos--banks .credit-bank img { width: auto; height: 40px; border-radius: 8px; display: inline; }
