.restaurant-card{
  background: var(--card-bg, #fff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,0.06));
  display: flex;
  gap:12px;
  align-items: stretch;
  padding: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.restaurant-card:hover{ transform: translateY(-3px); box-shadow: 0 18px 40px rgba(33,48,43,0.08); }

.restaurant-card__link {
    text-decoration: none;
    color: inherit;
}

.restaurant-card__link:hover h3,
.restaurant-card .name a:hover {
    color: #007B5A;
    text-decoration: underline;
}

.restaurant-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.restaurant-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.restaurant-card .thumbnail{
  flex: 0 0 110px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  background:#f4f6f4;
}
.restaurant-card .thumbnail img{ width:100%; height:100%; object-fit:cover; display:block; }

.restaurant-card .info{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.restaurant-card .name, .restaurant-card .name { margin:0; font-size:1.05rem; color:var(--accent-strong,#006644); font-weight: 600; }
.restaurant-card .meta{ 
  margin:0; 
  font-size:0.88rem; 
  color:var(--muted,#6b6f67); 
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.restaurant-card .desc{ 
  margin:0; 
  font-size:0.9rem; 
  color:#555; 
  line-height:1.6; 
  padding: 0.5rem 0;
  max-height: 4.8rem;
  overflow: hidden;
  text-align: justify;
}

/* Styles pour le bouton toggle description */
.restaurant-card .btn-toggle-desc {
  transition: color 0.2s ease;
}

.restaurant-card .btn-toggle-desc:hover {
  color: #005f45 !important;
  font-weight: 600;
}

.restaurant-card .desc-full {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Styles pour les catégories badges */
.restaurant-card .categories-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.5rem 0;
}

.restaurant-card .categories-badges span {
  transition: all 0.2s ease;
}

.restaurant-card .categories-badges span:hover {
  transform: scale(1.02);
  background: #005f45 !important;
}

/* Amélioration de l'adresse */
.restaurant-card .adresse {
  color: #888;
  font-size: 0.85rem;
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  font-style: italic;
}

/* Amélioration du lien */
.restaurant-card .btn-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #007B5A;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  background: #f0f8f5;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.restaurant-card .btn-link:hover {
  background: #007B5A;
  color: white;
  transform: translateX(3px);
}

/* Amélioration du rating */
.restaurant-card .rating {
  font-weight: 600;
  color: #FFB800;
}

@media (max-width:520px){
  .restaurant-card{ flex-direction:row; gap:10px; padding:10px; }
  .restaurant-card .thumbnail{ flex:0 0 86px; height:70px; }
}

/* Responsive Design Additional */
@media (max-width: 768px) {
  .restaurant-card {
    flex-direction: column;
    padding: 1rem;
  }

  .restaurant-card .thumbnail {
    flex: 0 0 auto;
    width: 100%;
    height: 180px;
  }

  .restaurant-card .name {
    font-size: 1.2rem;
  }

  .restaurant-card .meta {
    font-size: 0.85rem;
  }

  .restaurant-card .desc {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .restaurant-card {
    padding: 0.8rem;
  }

  .restaurant-card .thumbnail {
    height: 160px;
  }

  .restaurant-card .name {
    font-size: 1.1rem;
  }

  .restaurant-card .meta {
    font-size: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .restaurant-card .desc {
    font-size: 0.85rem;
  }

  .restaurant-card .btn-link {
    width: 100%;
    text-align: center;
  }

  .restaurant-card .categories-badges span {
    font-size: 0.8rem;
  }
}
