/* Ajustement pour très petits écrans */
@media (max-width: 400px) {
  .carousel-wrapper {
    gap: 8px;
    padding: 0;
  }

  .carousel-viewport {
    width: 280px; /* Encore plus adapté aux petits écrans */
  }

  .carousel-track .suggestion-card {
    width: 270px; /* Cartes plus petites sur très petits écrans */
  }

  .nav-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
} /* SECTION PROPERTY SUGGESTIONS - Ultra simple */
.property-suggestions-section {
  padding-bottom: 60px;
  background: white;
}
.suggestion-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.suggestion-card:focus-visible {
  outline: 2px solid #7fb3c3;
  outline-offset: 3px;
}
.suggestions-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 60px;
  font-family: "GillSansMTPro-Light", sans-serif;
}

/* GRILLE NORMALE (si 2 cartes ou moins) */
.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CARROUSEL (si plus de 2 cartes) */
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.carousel-viewport {
  width: 840px; /* 2 cartes de 405px + gap de 30px */
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.4s ease;
}

.carousel-track .suggestion-card {
  width: 405px; /* Largeur plus grande pour les cartes */
  flex-shrink: 0;
}

/* BOUTONS DE NAVIGATION */
.nav-btn {
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  color: #7fb3c3;
  transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
  border-color: #7fb3c3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* STYLES DES CARTES */
.suggestion-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e5e5e5;
}

.suggestion-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.suggestion-image img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: fill;
  transition: transform 0.3s ease;
}

.suggestion-pad {
  padding: 8px;
}

.suggestion-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 16px;
  margin-top: 20px;
}

.suggestion-name {
  font-size: 19px;
  color: #000000;
  font-family: "GillSansMTPro-Medium", sans-serif;
  margin: 0;
}

.suggestion-price {
  font-size: 21px;
  color: #333;
  font-family: "GillSansMTPro-Medium", sans-serif;
  margin: 0;
}

.suggestion-location {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.suggestion-location svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.suggestion-location span {
  font-size: 16px;
  color: #1A1A1A;
  font-family: "GillSansMTPro-Light", sans-serif;
  font-weight: 300;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .suggestions-grid {
    grid-template-columns: 1fr;
  }

  .carousel-wrapper {
    /* GARDER flex-direction: row sur mobile aussi */
    gap: 10px; /* Gap plus petit pour laisser plus de place */
    padding: 0 5px;
  }

  .carousel-viewport {
    width: 310px; /* Plus large pour voir toute la carte */
  }

  .carousel-track {
    gap: 15px; /* Gap réduit sur mobile */
  }

  .carousel-track .suggestion-card {
    width: 300px; /* Cartes mobile */
  }

  .nav-btn {
    width: 35px; /* Plus petites pour gagner de la place */
    height: 35px;
    font-size: 16px;
  }
}
