/* Fonts et couleurs */
body {
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff7fb;
  color: #333;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #822b6a;
}

header {
  text-align: center;
  padding: 30px 20px 10px;
  background-color: #fce4ec;
  border-bottom: 1px solid #e6bad0;
}

.logo-container {
  margin-bottom: 10px;
}
.logo {
  width: 200px;
  max-width: 90%;
}

/* Filtres */
.filters {
  background-color: #fdf0f6;
  padding: 20px;
  border-top: 1px solid #ecc9db;
  border-bottom: 1px solid #ecc9db;
}

.filters h2 {
  margin-top: 0;
  color: #6e1e4c;
}

.filters form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.filters label {
  font-weight: bold;
}

.filters select,
.filters input[type="range"] {
  padding: 6px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.filters button {
  background-color: #a03d80;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filters button:hover {
  background-color: #84285f;
}

/* Produits */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.product-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(160, 60, 120, 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.product-price {
  color: #c0399f;
  font-weight: bold;
  margin-bottom: 10px;
}

.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.actions button {
  background-color: #a83a85;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.actions button:hover {
  background-color: #891c65;
}

.actions input {
  width: 40px;
  text-align: center;
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Pied de page */
footer {
  text-align: center;
  padding: 20px;
  background-color: #fce4ec;
  color: #555;
  font-size: 0.9em;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 600px) {
  .filters form {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-img {
    height: 180px;
  }
}
