/* Navneleg payment badges v1.
   The three SVGs are self-contained tiles: Visa and Mastercard carry their own
   card shape and background, MobilePay its own rounded square. The old styling
   wrapped them in a bordered white box, which put a frame around artwork that
   already had one. Here they are sized by height and left alone.
   Visa/Mastercard are 1.31:1, MobilePay 1.01:1 — equal height keeps them
   optically consistent while each keeps its own proportions. */

.nls-paybadges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: inherit;
  font-size: 13px;
  line-height: 1.4;
}

.nls-paybadges__label {
  flex: 0 0 100%;
  font-size: 13px;
  font-weight: 600;
  color: inherit;
}

.nls-paybadges__brands {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nls-paybadges__brand {
  display: block;
  height: 26px;
  width: auto;
  margin: 0;
  border-radius: 4px;
  /* Salient sets max-width on img inside widgets; keep the tiles from collapsing. */
  max-width: none;
}

/* Product page: sits under the whole buy block, not inside it. */
.nls-paybadges--product {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(40, 36, 42, .1);
}

.nls-paybadges--product .nls-paybadges__brand { height: 28px; }

/* Mini-cart: centred under the buttons, label is redundant there. */
.nls-paybadges--mini-cart {
  justify-content: center;
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid rgba(40, 36, 42, .1);
}

.nls-paybadges--mini-cart .nls-paybadges__label { display: none; }
.nls-paybadges--mini-cart .nls-paybadges__brand { height: 24px; }

/* Footer and slide-out menu: left aligned under the column text. */
.nls-paybadges--footer,
.nls-paybadges--slideout {
  align-items: flex-start;
  margin: 4px 0 0;
}

.nls-paybadges--footer .nls-paybadges__brand,
.nls-paybadges--slideout .nls-paybadges__brand { height: 24px; }

/* The slide-out column is narrow; let the marks wrap rather than overflow. */
.nls-paybadges--slideout .nls-paybadges__brands { flex-wrap: wrap; }

@media (max-width: 690px) {
  .nls-paybadges { gap: 6px 8px; }
  .nls-paybadges__brand { height: 24px; }
  .nls-paybadges--product .nls-paybadges__brand { height: 26px; }
}
