.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Style pour le drop down code privilège */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Style pour le bouton du dropdown */
.dropdown-button {
  padding: 10px;
  cursor: pointer;
  border: 1px solid #ccc;
}

/* Style pour la liste déroulante */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style pour les éléments de la liste déroulante */
.dropdown-content a {
  padding: 12px 16px;
  display: block;
  text-decoration: none;
  color: #333;
}

/* Style pour la zone de saisie */
.input-field {
  display: none;
  padding: 10px;
  margin-top: 10px;
}
/* Fin dropdown code privilège */

/* Bouton produit hors stock */
.btn-hors-stock {
  padding: 0.5rem 2rem;
  border-radius: 5px;
  background-color: dimgrey;
  color: white;
  transition: transform 0.3s ease;
}

.btn-hors-stock:hover {
  background-color: gray;
}
/* Fin bouton produit hors stock */

/* Bouton ajout produit sans variation vue liste */
.btn-plus-add {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn-plus-add:hover {
  cursor: pointer;
  transform: scale(1.1);
}
/* Fin bouton ajout produit sans variation vue liste */
