/* Fiche annonce pro - style moderne, sobre et responsive */
.fiche-pro-main {
  max-width: 900px;
  margin: 2em auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(60,60,60,0.08);
  overflow: hidden;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.fiche-pro-photos {
  width: 100%;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
}
.fiche-pro-mainimg {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.fiche-pro-header {
  padding: 1.7em 2.2em 0.7em 2.2em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}
.fiche-pro-title {
  font-size: 2em;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.2em;
}
.fiche-pro-ville {
  font-size: 1.1em;
  color: #888;
  margin-left: 0.6em;
  font-weight: 500;
}
.fiche-pro-prix {
  font-size: 2em;
  color: #1a7f37;
  font-weight: 700;
}
.fiche-pro-quick {
  display: flex;
  gap: 1.5em;
  font-size: 1.12em;
  color: #444;
  margin: 1.2em 2.2em 0.8em 2.2em;
}
.fiche-pro-quick span {
  display: flex;
  align-items: center;
  gap: 0.35em;
}
.fiche-pro-description {
  padding: 0.7em 2.2em 0.9em 2.2em;
  font-size: 1.09em;
  color: #222;
  line-height: 1.6;
}
.fiche-pro-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.7em 0 1.2em 0;
}
.fiche-pro-table td {
  padding: 0.5em 1.5em 0.5em 2.2em;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  font-size: 1em;
}
.fiche-pro-table td:first-child {
  font-weight: 600;
  color: #888;
  width: 170px;
}
.fiche-pro-map {
  width: 100%;
  height: 240px;
  margin: 1.2em 0 0.5em 0;
  border-radius: 12px;
  overflow: hidden;
}
.fiche-pro-actions {
  display: flex;
  gap: 1.2em;
  justify-content: flex-end;
  padding: 1.1em 2.2em 1.2em 2.2em;
  border-top: 1px solid #eee;
}
.fiche-pro-actions button {
  background: #1a7f37;
  color: #fff;
  font-size: 1.07em;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.7em 1.6em;
  cursor: pointer;
  transition: background 0.18s;
}
.fiche-pro-actions button:hover {
  background: #145e27;
}
@media (max-width: 700px) {
  .fiche-pro-main {max-width: 99vw;}
  .fiche-pro-header, .fiche-pro-description, .fiche-pro-quick, .fiche-pro-actions {padding: 1em;}
  .fiche-pro-table td {padding-left: 1em;}
}
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.fiche-pro-header {
  padding: 1.7em 2.2em 0.7em 2.2em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}
.fiche-pro-title {
  font-size: 2em;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.2em;
}
.fiche-pro-ville {
  font-size: 1.1em;
  color: #888;
  margin-left: 0.6em;
  font-weight: 500;
}
.fiche-pro-prix {
  font-size: 2em;
  color: #1a7f37;
  font-weight: 700;
}
.fiche-pro-quick {
  display: flex;
  gap: 1.5em;
  font-size: 1.12em;
  color: #444;
  margin: 1.2em 2.2em 0.8em 2.2em;
}
.fiche-pro-quick span {
  display: flex;
  align-items: center;
  gap: 0.35em;
}
.fiche-pro-description {
  padding: 0.7em 2.2em 0.9em 2.2em;
  font-size: 1.09em;
  color: #222;
  line-height: 1.6;
}
.fiche-pro-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.7em 0 1.2em 0;
}
.fiche-pro-table td {
  padding: 0.5em 1.5em 0.5em 2.2em;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  font-size: 1em;
}
.fiche-pro-table td:first-child {
  font-weight: 600;
  color: #888;
  width: 170px;
}
.fiche-pro-map {
  width: 100%;
  height: 240px;
  margin: 1.2em 0 0.5em 0;
  border-radius: 12px;
  overflow: hidden;
}
.fiche-pro-actions {
  display: flex;
  gap: 1.2em;
  justify-content: flex-end;
  padding: 1.1em 2.2em 1.2em 2.2em;
  border-top: 1px solid #eee;
}
.fiche-pro-actions button {
  background: #1a7f37;
  color: #fff;
  font-size: 1.07em;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.7em 1.6em;
  cursor: pointer;
  transition: background 0.18s;
}
.fiche-pro-actions button:hover {
  background: #145e27;
}
@media (max-width: 700px) {
  .fiche-pro-main {max-width: 99vw;}
  .fiche-pro-header, .fiche-pro-description, .fiche-pro-quick, .fiche-pro-actions {padding: 1em;}
  .fiche-pro-table td {padding-left: 1em;}
}


/* Styles pour le prix/m² et le label d'opération */
.fiche-pro-prix-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3em;
}

.fiche-pro-prix-m2 {
  display: flex;
  align-items: center;
  gap: 0.8em;
  font-size: 0.9em;
}

.prix-m2-value {
  color: #666;
  font-weight: 500;
}

.operation-label {
  background: #1a7f37;
  color: white;
  padding: 0.2em 0.6em;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 700px) {
  .fiche-pro-prix-m2 {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3em;
  }
}

/* Masquer le bouton Contactar en haut à droite */
.fiche-btn-contact,
#fiche-contact-btn {
  display: none !important;
}

/* Masquer le bouton "Envoyer un message" dans la section actions */
.fiche-pro-actions button:nth-child(2) {
  display: none !important;
}

/* Masquer tous les boutons chat dans le header */
.fiche-pro-header button[class*="chat"],
.fiche-pro-header .chat-button,
.fiche-pro-header button:has(i.fa-comment),
.fiche-pro-header button:has(i.fa-comments),
.fiche-pro-header button:has(i.fas.fa-comment),
.fiche-pro-header button:has(i.fas.fa-comments),
.fiche-pro-header button[onclick*="chat"],
.fiche-pro-header button[onclick*="Chat"],
.fiche-pro-header button[onclick*="contact"],
.fiche-pro-header button[onclick*="Contact"] {
  display: none !important;
}

/* Masquer les boutons avec icône chat dans le header */
.fiche-pro-header button i.fa-comment,
.fiche-pro-header button i.fa-comments,
.fiche-pro-header button i.fas.fa-comment,
.fiche-pro-header button i.fas.fa-comments {
  display: none !important;
}

.fiche-pro-header button:has(i.fa-comment),
.fiche-pro-header button:has(i.fa-comments) {
  display: none !important;
}

/* Masquer le bouton flottant bulle de chat */
button[class*="chat"][style*="position: fixed"],
button[class*="chat"][style*="position:fixed"],
button[class*="chat"][style*="fixed"],
button.chat-bubble,
button.chat-button[style*="fixed"],
button[onclick*="showContactOptionsModal"][style*="fixed"],
button[onclick*="showContactOptionsModal"][style*="position"],
button:has(i.fa-comment)[style*="fixed"],
button:has(i.fa-comments)[style*="fixed"],
button:has(i.fas.fa-comment)[style*="fixed"],
button:has(i.fas.fa-comments)[style*="fixed"],
.fiche-pro-main button[class*="chat"][style*="fixed"],
.fiche-modal-content button[class*="chat"][style*="fixed"],
.fiche-page-wrapper button[class*="chat"][style*="fixed"] {
  display: none !important;
}

/* Masquer tous les boutons ronds avec icône chat (boutons flottants) */
button[style*="border-radius: 50%"][style*="fixed"]:has(i.fa-comment),
button[style*="border-radius: 50%"][style*="fixed"]:has(i.fa-comments),
button[style*="border-radius:50%"][style*="fixed"]:has(i.fa-comment),
button[style*="border-radius:50%"][style*="fixed"]:has(i.fa-comments) {
  display: none !important;
}

/* Masquer tous les boutons avec icône chat/bulle (règle générale) */
button i.fa-comment,
button i.fa-comments,
button i.fas.fa-comment,
button i.fas.fa-comments,
button:has(i.fa-comment),
button:has(i.fa-comments),
button:has(i.fas.fa-comment),
button:has(i.fas.fa-comments) {
  display: none !important;
}

/* Masquer les boutons qui ouvrent le modal de contact */
button[onclick*="showContactOptionsModal"],
button[onclick*="handleContact"],
button[onclick*="openContact"] {
  display: none !important;
}
