@font-face {
    font-family: 'MyriadPro-Regular';
    src: url('../fonts/MYRIADPRO-REGULAR.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.ddpg-oculto {
    display: none;
}

.ddpg-container-pago {
    background-color: white;
    font-family: 'MyriadPro-Regular';
    max-width: 540px;
}

.ddpg-container-titulo {
    border-bottom: 1px solid #eee ;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ddpg-container-form {
    padding: 50px 80px;
}

input[type="text"].ddpg-input-form {
    width: 100%;
    border-width: 1px;
    border-radius: 5px;
    color: #999;
    padding: 16px;
    font-size: 15px;

    background-repeat: no-repeat;
    background-position: 5px center;
    text-indent: 20px;
}

#ddpg-input-numtarjeta {
    background-image: url(../images/tarjeta.png);
}

#ddpg-input-cvv {
    background-image: url(../images/CVV.png);
}

#ddpg-input-caducidad {
    background-image: url(../images/calendario.png);
}

input[type="text"].ddpg-error-input {
    border: red solid 1px !important;
}

input[type="text"].ddpg-error-input:focus {
    border-color: black !important;
}

.ddpg-form-pago {
    grid-template-columns: 1fr 1fr;
    display: grid;
    column-gap: 10px;
    row-gap: 30px;
}

.ddpg-boton-pago {
    padding: 10px 40px;
    box-shadow: 2px 5px 10px #e4e4e4;
    background: transparent;
    border-radius: 5px;
    cursor: pointer;
    width: 150px;
    border:0 none;
    font-size: 15px;


  &:hover {
    background-color: #e1e2e2;
    opacity: .85;
  }
  
  &:active {
    background-color: #d5d6d6;
  }
  
  &:focus {
    outline: 1px dotted #959595;
    outline-offset: -4px;
  }
}

.ddpg-container-boton-pago {
    text-align: right;
    margin-top: 30px;
    display: grid;
    gap: 10px;
    grid-auto-flow: column;
    grid-template-columns: max-content;
    justify-content: right;
}


.ddpg-titulo-form {
    padding: 0;
    font-size: 20px;
}

.ddpg-titulo-imagen {
    background-image: url(../images/tarjetas.png);
    background-repeat: no-repeat;
    background-position: right center;
    height: 25px;
}

.ddpg-resumen-pedido {
    background-color: white;
    max-width: 400px;
    font-family: 'MyriadPro-Regular';
}

.ddpg-resumen-pedido-cabecera {
    font-weight: 520;
    font-family: inherit;
}

.ddpg-resumen-pedido-contenido {
    font-style: italic;
    font-family: inherit;
}

.ddpg-resumen-pedido-importe {
    font-weight: bolder;
    color: rgb(46, 46, 167);
    font-family: inherit;
}

.ddpg-resumen-pedido-container-titulo {
    text-align: center;
    height: 65px;
}

.ddpg-resumen-pedido-titulo {
    font-size: 20px;
    font-weight: 500;
    padding:0;
}

.ddpg-font {
    font-family: 'MyriadPro-Regular';
}

.ddpg-tabla-resumen td:nth-child(2),
.ddpg-tabla-resumen td:nth-child(3),
.ddpg-tabla-resumen th:nth-child(2),
.ddpg-tabla-resumen th:nth-child(3)  {
    text-align: right;
}

.ddpg-cursiva {
    font-style: italic;
}

.ddpg-disable-button {
    pointer-events: none;
}


.woocommerce .woocommerce-MyAccount-content > a.button {
    /* Hide Add payment method button from the my account menu because 
    adding new card works only from the shortcode */
    display: none;
}

