/********************************************************************** DESK *********************************************************************************/
.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.card-container-mobile {
    display: none;
}

.payment-card {
  background-color: #fef7f2;
  padding: 20px;
  max-width: 200px;
  text-decoration: none;
  color: #111;
  /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);*/
  transition: 1.5s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 186px;
}

.payment-card:hover {
  /*transform: translateY(-4px);*/
  z-index: 2;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transform: scale(1);
}

.card-icon {
  border-radius: 6px;
  display: inline-block;
  align-self: flex-start;
}

.card-icon img {
  /*height: 20px;*/
  display: block;
}

.payment-card h2 {
  /*font-size: 1rem;
  font-weight: 700;*/
  margin: 0;
  color: #000;
  font-family: "DM Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.payment-card p {
  /*font-size: 0.9rem;*/
  margin: 0;
  color: #000;
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.payment-card .link {
  /*color: #000;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;*/
  color: #000;
  font-family: "DM Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration-line: underline;
  cursor: pointer;
}


/* Responsivo: en pantallas pequeÃ±as, columnas 
@media (max-width: 768px) {
  .card-grid {
    flex-direction: column;
    align-items: center;
  }

  .payment-card {
    width: 90%;
  }
}

/********************************************************************** MOBILE *********************************************************************************/



@media (max-width: 768px) {
    .card-container-mobile {
      display: block;
    }

    .card-grid {
      display: none;
    }

    .card-container-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .card-mobile {
    display: flex;
    align-items: center;
    background-color: #fffaf5;
    padding: 16px;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
  }

  .card-mobile:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .card-image-mobile img {
    width: 60px;
    height: auto;
    padding: 6px;
  }

  .card-content-mobile {
    display: flex;
    flex-direction: column;
  }

  .card-title-mobile {
    /*font-size: 1rem;
    font-weight: bold;*/
    color: #000;
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0 0 6px;
  }

  .card-text-mobile {
    /*font-size: 0.9rem;*/
    margin: 0;
    color: #000;
    font-family: "DM Sans";
    font-size: 10px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
  }

  .card-text-mobile .link {
    color: #000;
    font-family: "DM Sans";
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
  }

  /*#atencion-personalizada-img {
    width: auto;
  }*/
}