body {
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 0;
}

.produits {
    padding: 40px 20px;
    text-align: center;
}

.produits-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.produit-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.produit-item:hover {
    transform: translateY(-5px);
}

.produit-item img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
}

.produit-item h2 {
    font-size: 18px;
    color: #0044cc;
    margin-top: 15px;
}

.fiche-produit {
    background: #fff;
    margin: 30px auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 700px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.fiche-produit img {
    max-width: 100%;
    border-radius: 10px;
}

.prix {
    font-size: 22px;
    font-weight: bold;
    margin-top: 20px;
    color: #008000;
}

.description {
    margin-top: 20px;
    font-size: 16px;
    color: #555;
}

.btn-ajouter {
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.produits-similaires {
    margin-top: 60px;
    padding: 20px;
}

.similaires-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.similaires-grid a {
    text-align: center;
    color: #0044cc;
    text-decoration: none;
}

.similaires-grid img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}


body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

header {
    background: #ffffff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eaeaea;
}

header img {
    height: 40px;
}

header nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

header nav a:hover {
    text-decoration: underline;
}

.filters {
    margin-bottom: 30px;
}

.filters a {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    margin-right: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.filters a:hover {
    background-color: #0056b3;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    flex: 1 1 calc(33.333% - 20px);
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 130px; /* ou 130px si tu veux encore plus petit */
  object-fit: cover;
  border-radius: 6px;
}
.card {
  padding: 10px;
  margin-bottom: 20px;
}
.card-body {
  padding: 10px;
}
.card-title {
  font-size: 16px;
}
.card-text {
  font-size: 13px;
}
.price {
  font-size: 14px;
}
.btn {
  font-size: 13px;
  padding: 6px 12px;
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    font-size: 14px;
    color: #555;
}

.price {
    color: green;
    font-size: 16px;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.btn:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 500px) {
    .card {
        flex: 1 1 100%;
    }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media only screen and (max-width: 420px) {
  .row {
    display: block;
  }

  .col-md-4 {
    width: 100% !important;
    margin-bottom: 15px;
  }

  .card img {
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto 10px;
  }

  .card-title {
    font-size: 18px;
    font-weight: bold;
  }

  .card-text {
    font-size: 16px;
  }

  .btn {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .text-end {
    text-align: center !important;
  }
}

.menu-social-icons {
  margin-top: 20px;
  text-align: center;
}

.menu-social-icons a {
  display: inline-block;
  margin: 0 10px;
}

.menu-social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.menu-social-icons img:hover {
  transform: scale(1.2);
}


body {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

body.loaded {
  opacity: 1;
}

.social-icons {
  display: flex;
  justify-content: center; /* change en flex-end pour droite */
  gap: 12px;
  margin-top: 20px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

