.boutique-container {
  max-width: 1200px;
  margin: 120px auto 40px;
  padding: 0 20px;
}
.boutique-header h1 {
  font-size: 3rem;
  color: #a75d67;
  text-align: center;
  margin-bottom: 2rem;
}

/* ============ DÉBUT DES MODIFICATIONS ============ */

.boutique-controls-wrapper {
  position: relative;
  margin-bottom: 2.5rem;
}
.boutique-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 12px;
  /* Ajout d'une bordure et ombre plus douce */
  border: 1px solid #fdeef4; 
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}
.filter-group {
  flex: 1;
  min-width: 180px;
}
.filter-group input, .filter-group select {
  width: 100%;
  padding: 14px 20px; /* Plus d'espace intérieur */
  border: 1px solid #fdeef4; /* Bordure rose pâle */
  border-radius: 25px;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: #fffafc; /* Fond rose très clair */
  color: #4c3a4c; /* Couleur du texte */
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

/* Style pour le placeholder du champ de recherche */
.filter-group input::placeholder { 
  color: #a75d67;
  opacity: 0.7;
}

/* Effet au focus (clic) */
.filter-group input:focus, .filter-group select:focus {
  border-color: #d46a92; /* Bordure rose vif */
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(212, 106, 146, 0.2); /* Lueur rose */
  outline: none;
}

/* Remplacement de la flèche moche du select */
.filter-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Icône flèche SVG, avec la couleur rose #d46a92 encodée */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23d46a92' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 45px; /* Laisse de la place pour la flèche */
}

/* ============ FIN DES MODIFICATIONS ============ */


.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}
.product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.product-link {
  text-decoration: none;
  color: inherit;
}
.product-image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  padding: 10px;
  box-sizing: border-box;
}
.product-card:hover .product-image-container img {
  transform: scale(1.05);
}
.product-info {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-info h3 {
  font-size: 1.6rem;
  color: #a75d67;
  margin: 0 0 0.5rem;
}
.product-info p.price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #4c3a4c;
  margin: 0 0 1rem;
}
.out-of-stock-badge {
    background-color: #c62828;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.product-actions {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.product-actions .add-to-cart-form {
  flex-grow: 1;
}
.btn-action {
  font-family: 'Poppins', sans-serif;
  padding: 12px 15px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  box-sizing: border-box;
}
.btn-add {
  background: #d46a92;
  color: white;
}
.btn-add:hover {
  background: #a75d67;
}
.btn-precommander {
  background: #ff9800;
  color: white;
}
.btn-precommander:hover {
  background: #f57c00;
}
.btn-like {
  flex-shrink: 0;
  width: 46px;
  padding: 0;
  border: 2px solid #d46a92;
  background: white;
  color: #d46a92;
  font-size: 1.2rem;
}
.btn-like.liked, .btn-like:hover {
  background: #d46a92;
  color: white;
}