/* Estilos da página: imoveis_detalhe */

/* =========================
   ESTRUTURA E CARDS
========================= */
.property-wrapper {
  width: 100%;
}

.property-wrapper .card h5 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 12px;
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

/* =========================
   COMODIDADES E PROXIMIDADES
========================= */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
}

.chip.comodidade {
  background: var(--accent-soft);
  color: var(--color-sale);
}

.chip.infra {
  background: #eaf7ef;
  color: var(--color-success);
}

.chip.distancia {
  background: var(--surface-muted);
  color: #495057;
}

/* =========================
   GALERIA
========================= */
#carouselImovel {
  overflow: hidden;
  border-radius: 16px;
}

#carouselImovel img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform .4s ease;
}

#carouselImovel img:hover {
  transform: scale(1.02);
}

@media(max-width:768px){
  #carouselImovel img {
    height: 220px;
  }
}

.thumb {
  width: 100%;
  height: 85px;
  object-fit: cover;
  border-radius: 10px;
  opacity: .8;
  transition: .2s;
}

.thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* =========================
   SHARE BUTTONS
========================= */
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 14px;
  border-radius: 10px;

  font-size: 14px;
  color: var(--color-white);
  text-decoration: none;

  transition: .2s;
}

.btn-share:hover {
  transform: translateY(-2px);
}

.btn-share {
  border: 0;
  cursor: pointer;
}

.btn-share:hover,
.btn-share:focus {
  color: var(--color-white);
}

/* CORES */
.btn-share.whatsapp { background: #25D366; }
.btn-share.facebook { background: #1877F2; }
.btn-share.x { background: #000; }
.btn-share.linkedin { background: #0A66C2; }
.btn-share.telegram { background: #229ED9; }
.btn-share.email { background: var(--text-secondary); }

.btn-share.copy { background: #2a2f2c; }

/* =========================
   FORM FINAL
========================= */

/*
.lead-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 25px var(--shadow);
}
*/

/* =========================
   MAIS IMÓVEIS
========================= */
.more-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: .25s;
}

.more-card:hover {
  transform: translateY(-5px);
}

.more-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.carousel-item img {
  cursor: zoom-in;
  transition: .3s;
}

.carousel-item img:hover {
  filter: brightness(0.9);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.lightbox img {
  max-width: 92%;
  max-height: 88%;
  border-radius: 12px;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 0;
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
}

.lb-close {
  top: 20px;
  right: 20px;
}

.lb-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}


.lightbox-trigger{
  cursor:pointer;
}

.property-map{
  width:100%;
  height:300px;
  border:0;
  border-radius:8px;
}

.corretor-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.corretor-avatar-default {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f0f3f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin: 0 auto 12px;
}
