body {
  font-family: 'Poppins', sans-serif;
  background-color: #f1f8e9;
  margin: 0;
  padding: 20px;
}

h1 {
  text-align: center;
  color: #2e7d32;
}

.catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  padding-bottom: 15px;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-title {
  padding: 10px;
  font-weight: bold;
  color: #33691e;
  text-align: center;
}

.price {
  text-align: center;
  font-size: 16px;
  color: #1b5e20;
  margin-bottom: 10px;
}

.card input[type="checkbox"] {
  display: block;
  margin: 0 auto 10px;
  transform: scale(1.2);
}

.summary {
  text-align: center;
  margin-top: 30px;
}

.summary p {
  font-size: 18px;
  font-weight: bold;
  color: #2e7d32;
}

.summary button {
  background: #2e7d32;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.summary button:hover {
  background: #1b5e20;
}


.filter-menu {
  text-align: center;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background-color: #43a047;
  color: #fff;
}

.card {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
}

.card.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.card {
  transition: opacity 0.3s ease-in-out;
}
	
	
	.card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: none;
}

.card.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}


.retour-btn {
  display: inline-block;
  margin: 30px auto;
  padding: 12px 25px;
  background: linear-gradient(135deg, #2e7d32, #66bb6a);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}
.retour-btn:hover {
  background: linear-gradient(135deg, #1b5e20, #43a047);
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}


    #welcome-box {
        background-color: #f0fff0;
        border: 2px solid #4CAF50;
        padding: 15px;
        border-radius: 10px;
        text-align: center;
        margin: 20px auto;
        max-width: 600px;
        font-family: 'Arial', sans-serif;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 1s ease, transform 1s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    #welcome-box.show {
        opacity: 1;
        transform: translateY(0);
    }

    #welcome-box img {
        width: 40px;
        height: 30px;
        vertical-align: middle;
        margin-right: 10px;
    }

    #welcome-box h2 {
        color: #2e7d32;
        font-size: 22px;
    }

    #welcome-box p {
        font-size: 16px;
        color: #444;
        margin-top: 10px;
    }

