/********************************************************************** 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 {
  /*width: 66px;
  height: 44px;
  background-image: url('../images/common/iconos.svg'); /* AsegÃºrate de que estÃ© correctamente subida 
  background-repeat: no-repeat;
  background-size: auto;*/
    width: 66px;
    height: 44px;
    background-image: url(../../images/common/iconos.svg);
    background-repeat: no-repeat;
    background-size: auto;
    background-size: calc(100 * 10%);
/* ajusta si el sprite necesita scaling */
}

.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 *********************************************************************************/
.card-icon {
  /*width: 66px;
  height: 44px;
  background-image: url('../images/common/iconos.svg'); /* AsegÃºrate de que estÃ© correctamente subida 
  background-repeat: no-repeat;
  background-size: auto;*/
    width: 66px;
    height: 44px;
    background-image: url(../../images/common/iconos.svg);
    background-repeat: no-repeat;
    background-size: auto;
    background-size: calc(100 * 10%);
/* ajusta si el sprite necesita scaling */
}

/* Posiciones del sprite en orden */
.icon-pago-seguro {
  background-position: -67px -1730px;
}

.icon-envio-gratis {
  background-position: 1px -1730px;
  scale: 140%;
}

.icon-atencion {
  background-position: -138px -1730px;
}

.icon-tallas {
  background-position: -540px -996px;
}

.icon-bizum {
  background-position: -476px -1663px;
}

.icon-express {
  background-position: -600px -1665px;
  scale: 150%;
}

.icon-carte-bancaire {
  background-position: -600px -1665px;
}

.icon-klarna {
  background-position: -397px -1330px;
  scale: 150%;
}
.icon-apple {
  background-position: -62px -1334px;
  scale: 170%;
}


@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;
  }*/
}