*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

li {
  list-style: none;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #000;
  margin: 0;
  padding: 0;
}

/* End swiper part */

.main-details-container {
  display: flex;
  height: 100%;
}

/* Lef detail container */
.main-details-container .left-details-container {
  width: 50%;
  height: 100%;
}

/* Swiper carousel part */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* End swiper part */

.swiper-arrow {
  color: black;
  font-size: 5px;
  opacity: 0.7;
}

.swiper-arrow::before,
.swiper-arrow::after {
  font-size: 18px;
}

/* End swiper carousel */

.add-to-favorite {
  position: sticky;
  bottom: 8%;
  left: 100%;
  width: 15px;
  z-index: 99;
  margin-right: 30px;
}

/* Right detail elements */

.right-details-container {
  margin-right: 50px;
  margin-left: 50px;
  padding-top: 30px;
  width: 50%;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 18px;
  margin-bottom: 10px;
}

.form-container > form > ul {
  display: flex;
  flex-direction: column;
}

/* Start input radio design (Size) */

.size-container {
  display: flex;
  margin-bottom: 70px;
  padding: 0;
}

.size-container .sizebox {
  position: relative;
  margin-right: 35px;
  display: flex;
}

.size-container .sizebox > .label-size {
  border: none;
  padding: 5px;
  position: absolute;
  text-transform: uppercase;
  font-size: 0.9em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.size-container .sizebox > input[type="radio"] {
  position: absolute;
  z-index: 111;
  top: -5px;
  right: -32px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  opacity: 0;
}

/* End input radio design (Size) */

/* Variant colors  */

.variant-colors {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
  border-bottom: 1px solid black;
  margin-bottom: 40px;
}

/* color choice */
.variant-colors .color-choice {
  margin-top: 20px;
  display: flex;
  margin-bottom: 25px;
}

.variant-colors .color-choice > span {
  margin-right: 10px;
}

.variant-colors .color-container {
  display: flex;
}

.variant-colors .color-container .colorbox {
  margin-right: 60px;
}

.colorbox > input[type="radio"] {
  z-index: 1;
  width: 10px;
  height: 10px;
  position: absolute;
  appearance: none;
  margin: 0;
  font: inherit;
  color: currentColor;
  border: 0.1em solid rgb(0, 0, 0);
  border-radius: 50%;
}

.blueinput {
  cursor: pointer;
}

.redinput {
  cursor: pointer;
}

.blackinput {
  cursor: pointer;
}

/* Submit button */
.submit-button {
  width: 100%;
  background-color: red;
}

.submit-button > button {
  background-color: rgb(253, 247, 247);
  border: 1px solid black;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  width: 100%;
  align-items: center;
  cursor: pointer;
}

.submit-button > button .submit-left {
  display: flex;
  align-items: center;
}

.submit-button > button > div > span {
  color: rgb(0, 0, 0);
}

.price-button {
  display: flex;
  flex-direction: column;
}

.price-button p {
  margin-bottom: 5px;
}

.add-button {
  margin-left: 10px;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 250, "GRAD" 0, "opsz" 15;
}

/* Details cleaning*/

.details-cleaning {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  /* overflow: hidden; */
}

.details-cleaning .tabs {
  display: flex;
  /* overflow: hidden; */
}

.details-cleaning .tabs li {
  margin-right: 50px;
  /* overflow: hidden; */
}

.tabs-contents {
  position: relative;
  width: 100%;
  background-color: bisque;
}

.tabs-details-text {
  position: absolute;
}

.tabs-cleaning-text {
  position: absolute;
}

#detailsId {
  text-align: justify;
  opacity: 1;
}

#cleaningId {
  text-align: justify;
  opacity: 0;
}

#details-linkId {
  cursor: pointer;
  margin-bottom: 15px;
  border-bottom: 1px solid black;
  padding-bottom: 5px;
}

#cleaning-linkId {
  padding-bottom: 5px;
  cursor: pointer;
  margin-bottom: 15px;
}

/* The focus */
.colorfocused {
  outline: 2px solid rgb(84, 184, 255); /* Bordure bleue de 2px */
  outline-offset: 2px; /* Espacement entre l'outline et l'élément */
}

/* Ajouter une bordure inférieure seulement à l'élément de taille sélectionné */
.sizebox.sizefocused label {
  border: 0.5px solid rgb(0, 0, 0, 0.5);
  outline: 1px solid rgb(84, 184, 255); /* Bordure bleue de 2px */
  outline-offset: 1px;
}

/* Retirer la bordure inférieure des éléments de taille non sélectionnés */
.sizebox label {
  border-bottom: none;
}

/* Styles spécifiques pour le contenu CKEditor 5 */
.ckeditor-content ul,
.ckeditor-content ol {
  list-style: initial; /* Réactive les puces et les numéros */
  margin-left: 20px; /* Ajustez selon vos besoins */
}

.ckeditor-content ul {
  list-style-type: disc; /* Style des puces pour ul */
}

.ckeditor-content ol {
  list-style-type: decimal; /* Style des numéros pour ol */
}


@media (max-width: 600px) {
  .main-details-container {
    width: 100%;
    flex-direction: column;
  }

  .main-details-container .left-details-container {
    width: 100%;
  }

  .right-details-container {
    position: relative;
    top: 20px;
    padding: 50px;
    margin-right: 0px;
    margin-left: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

}