.product-selection {
  padding: 4rem 0;
  text-align: center;
  color:#6b6157;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}
.product-selection .h2{
  color:#6b6157;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: normal;
}


.product-selection-text {
  color: #6B6157;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Badge Cadeau BeerMe */
.gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 163, 0, 0.1);
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 1.5rem;
}

.gift-icon {
  color: #722F37;
}

.gift-text {
  color: #722F37;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Titres des étapes */
.product-selection .h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #161311;
  margin-bottom: 0.75rem !important;
  letter-spacing: 0.5px;
  text-align: left;
}

/* Groupes de boutons de choix */
.choice-group {
  display: flex;
  flex-wrap: wrap; /* Passe les boutons sur plusieurs lignes */
  gap: 12px;
  margin-bottom: 2rem;
}

/* Bouton d'options individuel */
.choice-btn {
  flex: 1; /* Distribue équitablement l'espace sur chaque ligne */
  min-width: max-content; /* S'assure que le texte du bouton ne se coupe pas */
  padding: 14px 16px;
  border: 1px solid #e1d8cf;
  cursor: pointer;
  font-size: 0.95rem;
  color: #4a3e3d;
  background: #faf8f5;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top:1px;
}

.choice-btn:hover {
  border-color: #722F37;
  background: #fffdfa;
  transform: translateY(-1px);
}

.choice-btn.active {
  border-color: #722F37;
  background: #722F37;
  color: #F9F7F2;;
}

/* Affichage du produit */
.product-display-right{
  background-color: rgba(226,222,208,0.5);
  border-radius: 2px;
}
.product-display {
  margin-top: 20px;
  text-align: center;
}

.product-display img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: 12px;
  background-color: #faf8f5;
  padding: 1rem;
  transition: transform 0.3s ease;
}

/* Bouton d'ajout au panier */
.add-to-cart {
  padding: 1.1rem;
  font-size: 1.1rem;
  font-weight: 700;
  background-color: #722F37;
  color: #E2DED0;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin:1.5rem;
}

.add-to-cart:hover {
  background-color: #e09200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 163, 0, 0.4);
}

.add-to-cart:active {
  transform: translateY(0);
}

/* Switch (pour mode Cadeau / Pour moi) */
.switch-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2rem;
  justify-content: center;
}

.switch-wrapper input {
  display: none;
}

.switch {
  width: 48px;
  height: 26px;
  background: #e1d8cf;
  border-radius: 30px;
  position: relative;
  transition: .25s;
}

.switch::after {
  content: "";
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: .25s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.switch-wrapper input:checked + .switch {
  background: #722F37;
}

.switch-wrapper input:checked + .switch::after {
  transform: translateX(22px);
}
