/* @import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap"); */

* {
  box-sizing: border-box;
}

.lado-esquerdo {
  margin-top: 10px;
  width: 66%;
  max-width: 900px;
  margin-right: 5px;
  float: left;
}

.lado-direito {
  margin-top: 10px;
  width: 33%;
  margin-left: 5px;
  float: right;
}

.titl {
  /*background-color: var(--lotes-primary-color);*/
  text-align: center;
  font-size: 40px;
  line-height: 1.06;
  padding: 2rem 2rem 1.5rem 2rem;
  color: var(--lotes-text-color);
  font-weight: 700;
  letter-spacing: 5%;
  /* text-transform: uppercase; */
  /*box-shadow: 0px 0px 3px 0px rgb(0,0,0, 0.2);*/
  /* border: 1px solid; */
  /* border-radius: 3px; */
}

.lados {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 2rem;
  /*background-color: var(--primary-color);*/
  justify-items: center;
}

.destacados {
  /* background: var(--lotes-primary-color); */
  margin-bottom: 2rem;
  /* box-shadow: 0px 0px 3px 0px var(--dark-text-color); */
  /*border-radius: 3px;*/
}

.destacados .titl {
  /* background: var(--lotes-primary-color); */
  padding-bottom: 0;
  color: var(--lotes-text-color);
  box-shadow: none;
}

.negocios {
  background-color: var(--negocios-primary-color);
  margin-bottom: 2rem;
  border-radius: 3px;
  box-shadow: 0px 0px 3px 0px var(--negocios-secondary-color);
}

.negocios .titl {
  background-color: var(--negocios-primary-color);
  padding-bottom: 0;
  color: var(--negocios-text-color);
  box-shadow: none;
}

.containerLeilao {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 4rem 4rem 4rem;
}

.flexer {
  display: flex;
}

.listagem_container {
  /*background-color: var(--secondary-color);*/
  margin: 50px 200px 0 200px;
}

.listagem_section {
  /*background-color: #fff;*/
}

.cardLeilao {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  cursor: pointer;
  background-color: var(--card-primary-color);
  border: 1px solid var(--card-secondary-color);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  min-height: 180px;
  flex-grow: 1;
  /*border-radius: 5px;*/
}

.cardLeilao-header img {
  display: block;
  max-width: 260px;
  height: 260px;
  object-fit: cover;
  /*border-radius: 5px;*/
}

.cardLeilao-body {
  width: 50%;
  flex-direction: column;
  padding: 20px;
  min-height: 150px;
}

.tamanho {
  width: 45%;
}

.card {
  cursor: pointer;
  margin: 20px;
  background-color: var(--card-primary-color);
  box-shadow: 0 0px 2px 0px #666;
  overflow: hidden;
  width: 300px;
  /*border-radius: 5px;*/
  transition: transform 0.2s cubic-bezier(0, 0, .5, 1);
  padding: 0;
  border-radius: 0;
}

.card:hover {
  transform: scale(102%);
}

.card-header {
  position: relative;
  background: white;
}

.lp_fav {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 30px !important;
  color: var(--primary-color);
}

.destacados .card {
  background-color: var(--destacados-primary-color);
}

.destacados .price-body {
  background-color: var(--highlight-color);
  border-top: 1px solid var(--light-text-color);
}

.destacados .price-body>.user {
  color: var(--dark-text-color);
}

.destacados .lp_fav {
  color: var(--light-text-color);
}

.destacados .info2,
.destacados .card-body {
  color: var(--destacados-text-color);
}

.card-header img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  min-height: 150px;
  color: var(--card-text-color);
  gap: 5px;
}

.price-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  /*border-top: 1px solid var(--card-secondary-color);*/
  color: var(--card-text-color);
  position: relative;
  z-index: 1;
  background-color: var(--primary-color);
}


.price-body>.user {
  color: var(--light-text-color);
}

.titulo {
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
  /* font-family: "Roboto", sans-serif; */
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}


.info2 {
  display: flex;
  vertical-align: top;
  font-size: 30px;
  justify-content: space-between;
  height: 76px;
  color: var(--card-text-color);
}

.desc {
  letter-spacing: 0px;
  font-size: 16px;
  text-align: left;
  /*line-height: 24px;*/
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  /*-webkit-line-clamp: 2; /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 10px;
  height: 40px;

}

.descLeilao {
  letter-spacing: 0px;
  font-size: 13px;
  text-align: left;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 10px;
  grid-column: 2 span;
}

.imgLeilao {
  width: 50%;
}

.p {
  font-size: 13px;
}

.tag {
  background: #cccccc;
  border-radius: 50px;
  font-size: 12px;
  margin: 0;
  color: #fff;
  padding: 2px 10px;
  text-transform: uppercase;
  cursor: pointer;
}

.tag-teal {
  background-color: #47bcd4;
}

.tag-purple {
  background-color: #5e76bf;
}

.tag-pink {
  background-color: #cd5b9f;
}

.card-body p {
  font-size: 13px;
}

.user {
  display: flex;
  margin-top: auto;
  font-size: 18px;
  font-weight: bold;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.fa-star {
  margin-left: 10px;
  size: 50px;
  font-size: 35px;
}

.fa-star.active {
  margin-left: 10px;
  font-size: 35px;
  color: var(--highlight-color);
}

.fa-star:hover {
  color: var(--highlight-color);
  cursor: pointer;
}


.fa-star.active:hover {
  color: var(--light-text-color);
  cursor: pointer;
}

/* .aDecorrer {
  max-height: 500px;
  overflow: hidden;
} */

/* .brevemente {
  max-height: 1000px;
  overflow: hidden;
} */

.clicked {
  max-height: 100%;
}

.vermais {
  display: flex;
  justify-content: center;
  padding-right: 20px;
  width: 100%;
  cursor: pointer
}

.vermais .vermaisButton {
  color: var(--dark-text-color);
  background-color: white;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--dark-text-color);
  padding: 1rem 3rem;
  cursor: pointer;
}

@media only screen and (max-width: 1700px) {
  .listagem_container {
    margin: 50px 75px 0 75px;
  }
}

@media only screen and (min-width: 744px) and (max-width: 1440px) {
  .destacados {
    max-height: 550px;
    overflow: hidden;
  }

  .aDecorrer,
  .brevemente,
  .terminados {
    max-height: 500px;
    overflow: hidden;
  }

  .clicked {
    max-height: 100%;
  }

  .lados {
    justify-content: center;
  }

  .lado-esquerdo {
    margin-top: 10px;
    width: 100%;
  }

  .lado-direito {
    margin-top: 10px;
    width: 100%;
    max-width: 900px;
  }

  .container {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .containerLeilao {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .cardLeilao {
    background-color: var(--card-primary-color);
    border: 1px solid var(--card-secondary-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    overflow: visible;
    min-height: 250px;
    #width: 100%;
    max-width: 550px;
    flex-grow: 0;
    border-radius: 10px;
  }

  .cardLeilao-header img {
    width: fit-content;
    width: 500px;
    height: 250px;
    object-fit: cover;
  }

  .cardLeilao-body {
    width: 70%;
    flex-direction: column;
    padding: 20px;
    min-height: 150px;
  }

  .titulo {
    letter-spacing: 0px;
    font-size: 13px;
    text-align: left;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 10px;
    white-space: inherit;
    min-height: 50px;
  }

  .imgLeilao {
    width: auto;
  }

  .card {
    /*width: auto;*/
  }

  .listagem_container {
    margin: 10px;
  }
}


@media only screen and (max-width: 743px) {
  .container {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .listagem_container {
    margin: 10px
  }

  .destacados {
    max-height: 1050px;
    overflow: hidden;
  }

  .aDecorrer,
  .terminados,
  .brevemente {
    max-height: 975px;
    overflow: hidden;
  }


}
