/* Styles pour le slider des produits phares */

.produits-phares-section {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
}

.produits-phares-title {
  font-size: 2em;
  color: #fff;
  margin-bottom: 40px;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  background: #111;
  padding: 10px 0;
  width: 100%;
  display: block;
}

.produits-phares-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.produits-phares-container {
  width: 100%;
  overflow: hidden;
}

.produits-phares-grid {
  width: 100%;
  min-height: 350px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.produit-phare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;






  box-sizing: content-box !important;


}
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;






  box-sizing: content-box !important;


}






}









  flex: 0 0 25%;
  padding: 15px;
  box-sizing: border-box;


}

.produit-phare-card:hover {
  transform: translateY(-8px);
}

.produit-phare-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 1.2rem auto 0.5rem auto;
  background: #fff !important;
  border-radius: 50%;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: block;
}
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 15px;
}

.produit-phare-info h3 {
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
  text-align: center;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.produit-phare-poids {
  font-size: 0.9em;
  color: #444;
  margin-bottom: 5px;
  text-align: center;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.produit-phare-ref {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  margin-top: 5px !important;
}

.produit-phare-ref span {
  display: inline-block !important;
  color: #333 !important;
  padding: 2px 12px !important;
  border-radius: 2px !important;
  font-size: 0.75em !important;
  text-align: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;


}

.volaille .produit-phare-ref span {
  background-color: #ffdd44 !important;

  color: #000 !important;
}

.viande .produit-phare-ref span {
  background-color: #bc2426 !important;

  color: #fff !important;
}

.transforme .produit-phare-ref span {
  background-color: #de6378 !important;

  color: #fff !important;
}

.mer .produit-phare-ref span {
  background-color: #5ecbeb !important;

  color: #000 !important;
}

.legume .produit-phare-ref span {
  background-color: #368556 !important;

  color: #fff !important;
}

.emballage .produit-phare-ref span {
  background-color: #9e9a47 !important;

  color: #fff !important;
}

/* Fin du fix pour les produits phares */

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  box-sizing: border-box;
}

.slider-prev, .slider-next {
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.slider-prev:hover, .slider-next:hover {
  background: rgba(0,0,0,0.8);
}

.slider-pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  margin: 0 5px;

  transition: background 0.3s;
}

.pagination-dot.active {
  background: rgba(255,255,255,0.8);
}

/* Responsive */
@media (max-width: 992px) {
  .produit-phare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;






  box-sizing: content-box !important;


}
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;






  box-sizing: content-box !important;


}






}









    flex: 0 0 33.33%;
  }
}

@media (max-width: 768px) {
  .produit-phare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;






  box-sizing: content-box !important;


}
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;






  box-sizing: content-box !important;


}






}









    flex: 0 0 50%;
  }
  
  .produit-phare-img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  margin: 1.2rem auto 0.5rem auto;
  background: #fff !important;
  border-radius: 50%;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.11);
  display: block;
}
    height: 150px;
  }
}

@media (max-width: 480px) {
  .produit-phare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;






  box-sizing: content-box !important;


}
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;






  box-sizing: content-box !important;


}






}









    flex: 0 0 100%;
  }
} 