.prop-card {
  width: 21rem;
  height: 19rem;
  border-radius: 5px;
  margin: auto;
}

.top-section {
  height: 70%;
  display: flex;
  flex: 1; /* Ocupa el 80% del contenedor */
  background-color: #f4f4f4;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.text-section {
  width: 100%; /* Ocupa el 40% del ancho */
  padding: 30px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  text-align: left;
}

.text-section h2 {
  font-size: 25px;
  margin: 0 0 10px;
  color: #21333A;
}

.text-section p {
  font-size: 14px;
  color: #21333A;
  /*margin-bottom: auto; !* Empuja el botón hacia abajo *!*/
}

.more-info {
  font-family: Adam-Bold;
  position: absolute;
  bottom: 0;
  right: 2px;
  /* text-decoration: underline; */
  /* background-color: #21333A; */
  color: #000000;
  padding: 2px 10px;
  font-size: 17px;
}

.image-section {
  width: 100%;
  height: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
}

.card-img {
  max-width: 100%;
  max-height: 100%;
}

.bottom-section {
  height: 30%; /* Ocupa el 30% del contenedor */
  background-color: #21333A;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.info-section {
  width: 95%;
  height: 65%;
  display: flex;
  justify-content: space-between;
  align-content: center;
  flex-wrap: nowrap;
  gap: 12px;
  background-color: #ffffff;
  border-radius: 10rem; /* Bordes redondeados */
  padding: 15px 12px 15px 10px;
  line-height: 1.3;
  overflow: hidden;
}

.price-info {
  font-size: 25px !important;
  font-weight: bold;
}

price-info-item {
  margin-top: 10px;
}

.info-item {
  white-space: wrap; /* Texto en una sola línea */
  text-overflow: ellipsis; /* Agrega "..." si el texto excede */
  padding-right: 5px;
  border-right: 2px solid #ccc; /* Línea vertical */
  height: 90%;
}

.info-item h3 {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #2a2a2a;
  margin: 0 0 5px;
}

.info-item p {
  font-size: 14px;
  color: #555;
  margin: auto;
  text-overflow: fade;
  text-align: center;
}

.info-item:last-child {
  border-right: none;
}

@media (max-width: 576px) {
  .prop-card {
    width: 100%;
    height: 13rem;
    margin: auto;
  }

  .text-section h2 {
    font-size: 15px;
  }

  .text-section p {
    font-size: 10px;
  }

  .more-info {
    font-size: 13px;
  }

  .price-info {
    font-size: 15px !important;
  }

  .info-item h3 {
    font-size: 10px;
  }

  .info-item p {
    font-size: 9px;
  }

  .info-section {
    width: 96%;
    height: 66%;
    gap: 11px;
    padding: 11px 12px 15px 10px;
    line-height: 1.2;
  }
}


@media (max-width: 400px) {

  .info-section {
    width: 96%;
    height: 66%;
    gap: 6px;
    padding: 5px 12px 15px 12px;
    line-height: 1.1;
    font-size: 10px;
  }

  .info-item {
    width: 40%;
    height: 90%;
  }

  .info-item h3 {
    font-size: 9px;
  }

  .info-item p {
    font-size: 8px;
  }

  @media (max-width: 370px) {

    .info-section {
      width: 96%;
      height: 66%;
      gap: 4px;
      padding: 5px 12px 15px 12px;
      line-height: 1.1;
      font-size: 10px;
    }

    .info-item {
      width: 40%;
      height: 90%;
    }

    .info-item h3 {
      font-size: 8px;
    }

    .info-item p {
      font-size: 6.9px;
    }
    .price-info {
      font-size: 12px !important;
    }

    .info-item h3 {
      margin: 0;
    }
  }
}
