/* Proteção global contra overflow lateral */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.ediculas-grid {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100%;
}

.actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}


body {
  overflow-x: hidden;
}

/* CARD */
.edicula-card {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* HOVER */
.edicula-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,.15);
}

/* IMAGEM */
.edicula-img {
  position: relative;
  width: 100%;
}

.edicula-img img {
  width: 100%;
  aspect-ratio: 16 / 9; /* 🔥 chave da responsividade */
  object-fit: cover;
  display: block;
}

/* PREÇO */
.price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #0d6efd;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

/* CORPO */
.edicula-body {
  padding: 15px;
  flex: 1; /* 🔥 faz todos os cards terem altura consistente */
  display: flex;
  flex-direction: column;
}

/* TÍTULO */
.edicula-body h5 {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 16px;
}

/* ENDEREÇO */
.endereco {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

/* TAGS */
.tags {
  margin-bottom: 10px;
}

.tags span {
  display: inline-block;
  background: #f3f3f3;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin: 3px 3px 0 0;
  white-space: nowrap;
}

/* AÇÕES */
.actions {
  margin-top: auto; /* 🔥 fixa os botões no fundo */
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* RESPONSIVIDADE FINA */
@media (max-width: 1200px) {
  .edicula-body h5 {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .edicula-body {
    padding: 12px;
  }

  .price {
    font-size: 13px;
    padding: 5px 12px;
  }
}

@media (max-width: 480px) {
  .edicula-body h5 {
    font-size: 14px;
  }

  .endereco {
    font-size: 13px;
  }
}


/*.edicula-card {*/
/*  border-radius: 16px;*/
/*  overflow: hidden;*/
/*  background: #fff;*/
/*  transition: all 0.3s ease;*/
/*  width: 100%;*/
/*}*/

/*.edicula-card:hover {*/
/*  transform: translateY(-6px);*/
/*  box-shadow: 0 15px 30px rgba(0,0,0,.15);*/
/*}*/

/*.edicula-img {*/
/*  position: relative;*/
/*}*/

/*.edicula-img img {*/
/*  width: 100%;*/
/*  height: 220px;*/
/*  object-fit: cover;*/
/*}*/

/*.price {*/
/*  position: absolute;*/
/*  bottom: 12px;*/
/*  right: 12px;*/
/*  background: #0d6efd;*/
/*  color: #fff;*/
/*  padding: 6px 14px;*/
/*  border-radius: 20px;*/
/*  font-weight: 600;*/
/*}*/

/*.edicula-body {*/
/*  padding: 15px;*/
/*}*/

/*.edicula-body h5 {*/
/*  font-weight: 600;*/
/*  margin-bottom: 5px;*/
/*}*/

/*.endereco {*/
/*  font-size: 14px;*/
/*  color: #666;*/
/*}*/

/*.tags span {*/
/*  display: inline-block;*/
/*  background: #f3f3f3;*/
/*  padding: 4px 10px;*/
/*  border-radius: 20px;*/
/*  font-size: 12px;*/
/*  margin: 3px;*/
/*}*/

/*.actions {*/
/*  margin-top: 12px;*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*}*/

/*@media (max-width: 768px) {*/
/*  .edicula-img img {*/
/*    height: 180px;*/
/*  }*/
/*}*/

