
.catalogue-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
    justify-content: center;
}


.produit {
    display: flex;
    flex-direction: row;
    gap: 20px;
    border-radius: 10px;
    padding: 40px 25px;   
    width: 100%;
    max-width: 800px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
    text-decoration: none;
    color: black;
    min-height: 300px;   
}

.produit-img {
    width: 170px;
    height: 230px;       
    border-radius: 8px;
    object-fit: cover;
}


.details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.nom-produit {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
    color: #000;
}

.prix-produit {
    font-size: 1.1rem;
    color: #28a745;
    margin: 8px 0;
}

.description-produit {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #333;
}

.taille-produit {
    font-size: 0.9rem;
    color: #555;
}

.btn-panier {
    padding: 10px 15px;
    background: #ffa927;
    color: #000;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    align-self: flex-start;
    transition: 0.3s ease;
}

.btn-panier:hover {
    background: #ffa92779;
}

@media screen and (max-width: 600px) {
  .catalogue-container {
    padding: 15px;
    gap: 15px;
  }
  
  .produit {
    flex-direction: column;
    padding: 20px 15px;
    max-width: 100%;
    min-height: auto;
    align-items: center;
    text-align: center;
  }

  .produit-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 15px;
  }

  .details {
    justify-content: center;
  }

  .nom-produit {
    font-size: 1.1rem;
  }

  .prix-produit {
    font-size: 1rem;
  }

  .description-produit,
  .taille-produit {
    font-size: 0.85rem;
  }

  .btn-panier {
    align-self: center;
    width: 100%;
    max-width: 250px;
  }
}
