section.targeta *{
  margin: 0;
  box-sizing: border-box;
}
html {
  --card-color: #cacaca;
  --text-color: #e1e1e1;
}
.quantity-field {
    background-color: #ccc;
    border: 1px solid #aaa;
    border-radius: 4px;
    padding: 2px;
    width: 3.75rem;
    text-align: center;
}
table.cartdef{
    border: 1px solid #aaa;
    border-radius: 4px !important;
    background-color: white !important;

}
.btn-orange {
  border: none !important;
  background: linear-gradient(270deg, #ff3d00 -13.97%, #ffa800 105.15%)!important;
  /*box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.2)!important;*/
}
table.cartdef th{
    color: black;
    background-color: antiquewhite !important;
}
td{
    color: black;
}
.llistat{
    text-align: left;
    margin-bottom: 8px;
    border: 1px solid #aaa;
    border-radius: 6px;
    border-top: 15px solid #ff6000;
}
.totals{
  border-bottom: none;
  border-radius: 6px 6px 0px 0px !important;
  background: url(//cdn.pccomponentes.com/img/fondos/bg-ticket-pago.png) bottom repeat-x;
}
.totals p:last-child{
  padding-bottom: 10px;
  border-bottom: none;
}
.llistat span{
  float: right;
  margin-right: 6px;
}
.preutot{
  margin-right: 6px;
}
.llistat p{
  padding-left: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid orange;
}
.llistat input{
  width: 90%;
  margin-left: 10px;
  margin-bottom: 20px;
}
.factura{
  margin-left: 8px;
}

.factura button{
    padding:8px 30px;
    display:inline-block;
    cursor: pointer;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(270deg, #ff3d00 -13.97%, #ffa800 105.15%);
    box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border: none;
    position: relative;
    transition: box-shadow 0.2s;
}
.factura button:hover {
  background-color:#1b8aba;
}
.infopagament {
    display: grid;
    grid-template-columns: 75% 25%;
}
.tips {
    grid-area: info;
  background: #f1f1f1;
  line-height: 30px;
  font-size: 14px;
  padding: 2px 15px;
    margin-bottom: 10px !important;
}

.pagamenttargeta {
    display: none;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "info info";
    grid-template-rows: auto;
    padding-top: 30px;
}
.pagamenttargeta div{
    display: inline-block;
}
.pagamenttargeta .col1 {
  -webkit-perspective: 1000;
          perspective: 1000;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}
.pagamenttargeta .col1 .card {
  position: relative;
  width: 420px;
  height: 250px;
  margin-bottom: 85px;
  margin-right: 10px;
  border-radius: 17px;
  box-shadow: 0 5px 20px -5px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 1s;
  transition: all 1s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}
.pagamenttargeta .col1 .card .front {
  position: absolute;
  background: var(--card-color);
  border-radius: 17px;
  padding: 50px;
  width: 100%;
  height: 100%;
  transform: translateZ(1px);
  -webkit-transform: translateZ(1px);
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
  z-index: 50;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 90%);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.pagamenttargeta .col1 .card .front .type {
  position: absolute;
  width: 75px;
  height: 45px;
  top: 20px;
  right: 20px;
}
.pagamenttargeta .col1 .card .front .type img {
  width: 100%;
    height: auto;
  float: right;
}
.pagamenttargeta .col1 .card .front .card_number {
  position: absolute;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -1px;
  top: 110px;
  color: var(--text-color);
  word-spacing: 3px;
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
}
.pagamenttargeta .col1 .card .front .date {
  position: absolute;
  bottom: 40px;
  right: 55px;
  width: 90px;
  height: 35px;
  color: var(--text-color);
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
}
.pagamenttargeta .col1 .card .front .date .date_value {
  font-size: 12px;
  position: absolute;
  margin-left: 22px;
  margin-top: 12px;
  color: var(--text-color);
  font-weight: 500;
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
}
.pagamenttargeta .col1 .card .front .date:after {
  content: 'MONTH / YEAR';
  position: absolute;
  display: block;
  font-size: 7px;
  margin-left: 20px;
}
.pagamenttargeta .col1 .card .front .date:before {
  content: 'valid \a thru';
  position: absolute;
  display: block;
  font-size: 8px;
  white-space: pre;
  margin-top: 8px;
}
.pagamenttargeta .col1 .card .front .fullname {
  position: absolute;
  font-size: 20px;
  bottom: 40px;
  color: var(--text-color);
  -webkit-transition: color 0.5s;
  transition: color 0.5s;
}
.pagamenttargeta .col1 .card .back {
  position: absolute;
  width: 100%;
  border-radius: 17px;
  height: 100%;
  background: var(--card-color);
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}
.pagamenttargeta .col1 .card .back .magnetic {
  position: absolute;
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  margin-top: 25px;
}
.pagamenttargeta .col1 .card .back .bar {
  position: absolute;
  width: 80%;
  height: 37px;
  background: rgba(255, 255, 255, 0.7);
  left: 10px;
  margin-top: 100px;
}
.pagamenttargeta .col1 .card .back .seccode {
  font-size: 13px;
  color: var(--text-color);
  font-weight: 500;
  position: absolute;
  top: 100px;
  right: 40px;
}
.pagamenttargeta .col1 .card .back .chip {
  bottom: 45px;
  left: 10px;
}
.pagamenttargeta .col1 .card .back .disclaimer {
  position: absolute;
  width: 65%;
  left: 80px;
  color: #f1f1f1;
  font-size: 8px;
  bottom: 55px;
}
.pagamenttargeta .col2 input {
  display: block;
  width: 260px;
  height: 30px;
  padding-left: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  margin: 7px;
  font-size: 17px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  -webkit-transition: background 0.5s;
  transition: background 0.5s;
}
.pagamenttargeta .col2 input:focus {
  outline-width: 0;
  background: rgba(31, 134, 252, 0.15);
  -webkit-transition: background 0.5s;
  transition: background 0.5s;
}
.pagamenttargeta .col2 label {
  padding-left: 8px;
  font-size: 15px;
  color: #444;
}
.pagamenttargeta .col2 .ccv {
  width: 40%;
}
.pagamenttargeta .col2 .buy {
  width: 260px;
  height: 50px;
  position: relative;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  border: none;
  background: #42C2DF;
  color: white;
  font-size: 20px;
  -webkit-transition: background 0.4s;
  transition: background 0.4s;
  cursor: pointer;
}
.pagamenttargeta .col2 .buy i {
  font-size: 20px;
}
.pagamenttargeta .col2 .buy:hover {
  background: #3594A9;
  -webkit-transition: background 0.4s;
  transition: background 0.4s;
}

.chip {
  position: absolute;
  width: 55px;
  height: 40px;
  background: #bbb;
  border-radius: 7px;
}
.chip:after {
  content: '';
  display: block;
  width: 35px;
  height: 25px;
  border-radius: 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #ddd;
}