:root {
  --main-color: #d7a10d;
  --text-color: #000000;
  --bg-color: #ffffff;
  --font-size-small: 14.5px;
}

.meilleures-ventes {
  width: 100%;
  padding: 3rem 1rem;
  background-color: var(--bg-color);
}

.section-title {
  font-size: 2rem;
  color: var(--main-color);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.produit-box {
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  max-width: 1200px;
  margin: auto;
}

.produit-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-height: 300px;
  object-fit: cover;
}

.produit-info {
  padding-top: 1rem;
}

.produit-nom {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.produit-description {
  font-size: var(--font-size-small);
  color: #333;
  margin-bottom: 1rem;
}

.produit-prix-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.produit-prix {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--main-color);
}

.quantite-selector {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.quantite-selector button {
  background-color: var(--main-color);
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  font-size: 1.2rem;
  cursor: pointer;
}

.quantite-selector input {
  width: 50px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 1rem;
}

.btn-commander {
  width: 100%;
  padding: 0.8rem;
  background-color: var(--main-color);
  color: var(--bg-color);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
}

.btn-commander:hover {
  background-color: #b68d0c;
}

.btn-produits-container {
  text-align: center;
  margin-top: 2rem;
}

.btn-tous-produits {
  padding: 0.8rem 2rem;
  background-color: transparent;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s ease;
}

.btn-tous-produits:hover {
  background-color: var(--main-color);
  color: var(--bg-color);
}

/* Responsive */
@media screen and (min-width: 768px) {
  .produit-box {
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }

  .produit-image {
    flex: 1;
  }

  .produit-info {
    flex: 2;
  }
}
