");
    }

    &[cc-type="diners"]::before {
      background-image: url("third-party/cc-logo-diners.svg");
    }

    &[cc-type="discover"]::before {
      background-image: url("third-party/cc-logo-discover.png");
    }

    &[cc-type="jcb"]::before {
      background-image: url("third-party/cc-logo-jcb.svg");
    }

    &[cc-type="mastercard"]::before {
      background-image: url("third-party/cc-logo-mastercard.svg");
    }

    &[cc-type="mir"]::before {
      background-image: url("third-party/cc-logo-mir.svg");
    }

    &[cc-type="unionpay"]::before {
      background-image: url("third-party/cc-logo-unionpay.svg");
    }

    &[cc-type="visa"]::before {
      background-image: url("third-party/cc-logo-visa.svg");
    }

    @media (min-resolution: 1.1dppx) {
      &[cc-type="amex"]::before {
        background-image: url("third-party/cc-logo-amex@2x.png");
      }

      &[cc-type="cartebancaire"]::before {
        background-image: url("third-party/cc-logo-cartebancaire@2x.png");
      }

      &[cc-type="discover"]::before {
        background-image: url("third-party/cc-logo-discover@2x.png");
      }
    }
  }
}
PK