.product-store {
  background-color: var(--background-color-3);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 20px 30px;
}

.product-store-header {
  text-align: center;
}

.remise-message {
  text-align: center;
  font-weight: bold;
  animation: popBounce 1s ease-in-out 3;
}

/* Grille produits 2 par ligne */
.product-store-content-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-left: auto;
  margin-right: auto;
}

.product-name {
  margin: 12px 0;
  text-align: center;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary-color);
  line-height: 1.4;
  margin: 0 auto;
  width: 80%;
}

/* Carte produit */
.product-store-item {
  background-color: var(--background-color-1);
  border: 2px solid rgb(255 215 0 / 18%);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Image produit */
.product-image {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.product-store-item:hover .product-image {
  transform: scale(1.05);
}

/* Nom produit */
.product-store-name {
  margin: 10px 0;
  text-align: center;
  display: flex;
  justify-content: center;
}

/* Infos prix */
.product-info-wrapper {
  margin-bottom: 10px;
}

/* Bouton commander */
.btn-add-cart {
  background-color: var(--primary-color);
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-add-cart:hover {
  background-color: #1e7e34;
}

/* Avis */
.rating-container {
  margin-top: 10px;
  text-align: center;
  font-size: 20px;
  color: rgba(255, 213, 0, 0.9);
}

.sort-form {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.sort-form label {
  color: var(--primary-color);
  font-weight: 600;
  align-self: center;
}

.sort-form select {
  width: 80%;
}

.sort-form select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.btn-sort {
  background-color: var(--primary-color);
  border: none;
  color: white;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-sort:hover {
  background-color: #1e7e34;
}

.category-anchor-menu {
  position: relative;
  max-width: 600px;
  margin: 0 auto 20px auto;
  width: 100%;
}

.btn-toggle-menu {
  width: 100%;
  align-items: center;
  font-size: 16px;
  color: var(--primary-color);
  border: 1px solid var(--background-color-2);
  border-radius: 6px;
  background-color: var(--background-color-1);
  box-sizing: border-box;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  user-select: none;
}

.category-list li a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  transition: background-color 0.25s ease, color 0.25s ease;
  font-weight: 600;
  border-radius: 0;
}

.category-list li:last-child a {
  border-bottom: none;
}

.category-list li a:hover {
  background-color: var(--primary-color);
  color: white;
  border-radius: 8px;
}

.category-list.show {
  display: flex !important;
  max-height: 400px;
  /* hauteur suffisante pour la liste */
  overflow-y: auto;
  /* active le scroll vertical si contenu dépasse */
  border: 1px solid transparent;
  border-color: var(--background-color-2);
  align-items: center;
  flex-direction: column;
  background-color: var(--background-color-1);
}