/* Grille à 3 colonnes pour desktop */
.property-listings .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Slider pour mobile */
@media (max-width: 767px) {
    .property-listings .grid {
        display: block;
    }
    .property-listings .grid .nfs-listing-col {
        margin-bottom: 16px;
    }
    .property-listings .grid.slick-initialized .nfs-listing-col {
        margin-bottom: 0;
    }
}

/* Style pour le slider */
.property-listings .grid.slick-slider {
    margin: 0 -8px;
}
.property-listings .grid .slick-slide {
    padding: 0 8px;
}
.property-listings .grid .nfs-listing-col {
    width: 100%;
}

/* Style pour les points */
.property-listings .slick-dots {
    text-align: center;
    padding: 10px 0;
}
.property-listings .slick-dots li {
    display: inline-block;
    margin: 0 5px;
}
.property-listings .slick-dots li button {
    font-size: 0; /* Cacher le texte (chiffres) */
    width: 10px;
    height: 10px;
    background: #ccc;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}
.property-listings .slick-dots li.slick-active button {
    background: #0073aa;
}

<style>
/* === GRID LAYOUT (responsive + Safari safe) === */
.nfs-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

/* Fallback pour très petits écrans (Safari inclus) */
@media (max-width: 480px) {
  .nfs-listing-grid {
    grid-template-columns: 1fr !important;
  }
}

/* === CARD === */
.nfs-listing-card {
  background: #fff;
  border-radius: 16px;   /* arrondi cadre */
  overflow: hidden;      /* force tout le contenu à suivre l’arrondi */
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  -webkit-box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nfs-listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  -webkit-box-shadow: 0 6px 16px rgba(0,0,0,0.12); /* Safari */
}

.nfs-listing-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* === IMAGE === */
.nfs-listing-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* === CONTENT === */
.nfs-listing-content {
  padding: 14px 16px;
  font-family: 'Poppins', sans-serif;
}
.nfs-listing-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #222;
}
.nfs-listing-side {
  font-size: 13px;
  color: #666;
  margin: 0 0 8px;
}

/* ICONS ROW */
.nfs-listing-infos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #555;
  margin: 0 0 10px;
}
.nfs-listing-infos span {
  display: flex;
  align-items: center;
}

/* PRICE */
.nfs-listing-price {
  font-size: 15px;
  font-weight: 600;
  color: #d09344; /* accent couleur dorée */
  margin: 8px 0 0;
  border-top: 1px solid #eee;
  padding-top: 8px;
}
</style>
