@import url("./variable.css");
@import url("https://fonts.cdnfonts.com/css/avenir");

* {
  margin: 0;
  padding: 0;
  font-family: "Avenir";
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(128, 128, 128, 0.041);
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ffffff;
}

body {
  background-color: var(--sedima_background);
}
a {
  color: var(--sedima_gris_background);
  color: var(--sedima_gris_claire);
  text-decoration: none;
}
a.active {
  color: var(--sedima_jaune_sombre);
}
a:hover {
  color: var(--sedima_jaune_claire);
}
i {
  cursor: pointer;
  color: #ffffff;
}
.fa-heart {
  color: #ffffff;
}
.backgroundTheme {
  background-color: var(--sedima_background);
}
.backgroundThemejaune {
  background-color: var(--sedima_bleu_bleu);
  color: var(--sedima_gris_background);
}
.theme {
  color: var(--sedima_jaune_claire);
}
.theme2 {
  color: var(--sedima_jaune_sombre) !important;
}
#wrapper {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.content-page {
  flex: 1;
}

#menu ul,
#menu li {
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

#menu li {
  display: inline-block;
  position: relative;
  align-items: center;
}

#menu a {
  display: block;
  line-height: 64px;
  padding-left: 20px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  color: var(--sedima_jaune_claire);
}

#menu ul.sub-menus {
  height: auto;
  overflow: hidden;
  width: 350px;
  background: var(--sedima_gris_claire);
  position: absolute;
  z-index: 99;
  display: none;
  border: 7px solid var(--sedima_jaune_claire);
  border-radius: 15px;
  margin-right: -20%;
  right: -50%;
}
.sub-menus .first-section {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.sub-menus .titre {
  border-bottom: 1px solid var(--sedima_gris_background);
}

#menu ul.sub-menus li {
  display: block;
  text-align: left;
  width: 100%;
}
#menu ul.sub-menus a {
  color: #ffffff;
  font-size: 16px;
}
#menu li:hover ul.sub-menus {
  display: block;
}
#menu ul.sub-menus a:hover {
  background: var(--sedima_gris_claire);
  color: var(--sedima_jaune_claire);
}

.list-ul .list-ul-item:hover {
  background-color: var(--sedima_gris_claire);
  border-radius: 5px;
}
.list-ul .list-ul-item:hover span {
  color: var(--sedima_jaune_claire);
}

.list-ul .list-ul-item span {
  font-size: 16px;
  font-weight: bold;
  color: var(--sedima_gris_background);
  margin: 0 5px 0 5px;
}
.list-ul .list-ul-item img {
  background-color: var(--sedima_jaune_claire);
  padding: 5px;
  border-radius: 5px;
  width: 40px;
  height: 40px;
}

.custom_input {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 100%;
  width: 33em;
}

.input {
  font-size: 12px;
  padding: 10px 10px;
  width: 100%;
  padding-left: 36px;
  outline: none;
  background: #f1f1f1;
  color: #000000;
  border: 2px solid var(--sedima_jaune_claire);
  border-radius: 20px;
  transition: 0.3s ease;
}

.input:focus {
  background: #f2f2f2;
  border: 1px solid #e2e2e2;
  border-radius: 20px;
}

.input::placeholder {
  color: #9e9e9e;
}

.svg_icon {
  position: absolute;
  left: 10px;
  fill: var(--sedima_gris_background);
  width: 18px;
  height: 18px;
}

#svg_icon_delete {
  position: absolute;
  right: 20px;
  color: var(--sedima_jaune_claire);
  width: 18px;
  height: 18px;
}

.close-btn {
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 12px;
  width: 15px;
  height: 15px;
  background-color: var(--sedima_jaune_claire);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 15px;
  text-align: center;
  border-radius: 50%;
}

.input:not(:placeholder-shown) + #svg_icon_delete {
  display: block; /* Show when input has text */
}

#nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =================================================================*/
/* BUTTON  */
#cheachBtn {
}

.customBtn {
  padding: 10px 17px;
  background: var(--sedima_jaune_claire);
  color: white;
  font-size: 15px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 500;
}
.customBtn:hover {
  background: var(--sedima_jaune_sombre);
  color: #ffffff;
}
/* =================================================================*/
/* IMAGE TAILLE  */
.logo {
  width: 100px;
  height: 55px;
}
.icon-logo {
  width: 20px;
  height: 20px;
}
.icon-logo-like {
  width: 25px;
  height: 25px;
}
.icon-logo-notif {
  width: 25px;
  height: 25px;
}

.badge-panier {
  position: relative;
}
.indicator {
  position: absolute;
  top: 15%;
  right: -20%; /* Ajuster la marge droite selon vos besoins */
  background: var(--sedima_jaune_claire);
  color: var(--sedima_gris_background);
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; /* Taille minimale du badge */
  height: 21px; /* Hauteur du badge */
  font-size: 12px; /* Taille de police du texte du badge */
  padding: 4px 5px; /* Espacement interne du badge */
  line-height: 1; /* Hauteur de ligne pour centrer le texte verticalement */
}

.badge-panier-like {
  position: relative;
}
.indicator-like {
  position: absolute;
  top: 20%;
  right: -20%; /* Ajuster la marge droite selon vos besoins */
  background: var(--sedima_jaune_claire);
  color: var(--sedima_gris_background);
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; /* Taille minimale du badge */
  height: 21px; /* Hauteur du badge */
  font-size: 12px; /* Taille de police du texte du badge */
  padding: 4px 5px; /* Espacement interne du badge */
  line-height: 1;
}

.badge-notif {
  position: relative;
}
.indicator-notif {
  position: absolute;
  top: 16%;
  right: -10%; /* Ajuster la marge droite selon vos besoins */
  background: var(--sedima_jaune_claire);
  color: var(--sedima_gris_background);
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 23px;
  font-size: 12px;
  padding: 4px 5px;
  line-height: 1;
}

/** ===========================================================*/
/* CAROUSSEL */

/* CONTIENT LES REPONSE DU FILTRE */

.response-content {
  position: absolute;
  width: 82%;
  margin: auto;
  height: 40vh;
  margin-top: 10px;
  background: var(--sedima_background);
  z-index: 100;
  border-radius: 10px;
  transition: all 0.5s;
  overflow-y: auto;
}
.section-caroussel {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 48vh;
  display: flex;
  justify-content: space-between;
}
.section-caroussel-item1 {
  width: 20%;
  height: 100%;
}
.section-caroussel-item2 {
  width: 64%;
  height: 100%;
  background-color: var(--sedima_gris_claire);
}

.contente {
  position: relative;
  width: 100%;
  height: 45vh; /* Ou une autre valeur de hauteur */
  margin: 0;
  padding: 0;
}
#carouselExampleCaptions {
  width: 100%;
  height: 100%;
}

.carousel-inner {
  width: 100%;
  height: 100%;
}
.carousel-inner .carousel-item img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.carousel-categorie {
  height: 66px; /* Hauteur de la section des catégories */
  background-color: var(--sedima_jaune_claire);
  color: var(--colortextclaire);
  display: flex; /* Utiliser flexbox pour aligner les éléments sur une même ligne */
  align-items: center; /* Aligner verticalement les éléments sur l'axe Y */
  justify-content: left; /* Centrer les éléments sur l'axe X */
  text-align: center; /* Centrer le texte à l'intérieur des éléments */
}

.carousel-categorie img {
  width: 25px;
  height: 25px;
  margin-right: 5px; /* Ajouter une marge à droite de l'image */
  margin-left: 10px;
}

.carousel-categorie p {
  font-size: 20px;
  font-weight: 500;
  margin-right: 5px;
  margin-top: 15px;
  margin-left: 20px;
}

.list-categories {
  height: calc(100% - 71px);
  list-style: none; /* Supprime les puces de la liste */
  padding: 0; /* Supprime le remplissage par défaut de la liste */
  background-color: var(--sedima_jaune_claire);
  margin-top: 5px;
}
.list-categories .parent-sousliste:hover {
  background-color: var(--sedima_background);
  color: var(--sedima_jaune_claire);
}
.list-categories .parent-sousliste:hover .p-text {
  color: var(--sedima_jaune_claire) !important;
}

.parent-sousliste {
  position: relative;
  cursor: pointer;
}

.rigth-menus {
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: var(--sedima_jaune_claire);
  z-index: 9999;
  width: 250px;
  align-items: center;
  justify-content: start;
}
.rigth-menus div:hover {
  background-color: var(--sedima_background);
  color: var(--sedima_jaune_claire) !important;
}
.rigth-menus div:hover .span-text {
  color: var(--sedima_jaune_claire) !important;
}

.parent-sousliste:hover .rigth-menus {
  display: block;
}

.menu-list {
  padding: 0;
  margin: 0;
}

.sub-menu-list {
  margin: 0;
  padding: 0;
  display: none; /* Masque les sous-menus par défaut */
  position: absolute; /* Position absolue par rapport à l'élément parent */
  top: 0; /* Alignement du haut de la liste des sous-menus */
  left: 100%;
  background-color: var(--sedima_jaune_claire);
  z-index: 9999;
  width: 300px;
  align-items: center;
  justify-content: start;
}

.sub-menu-list li:hover {
  background-color: var(--sedima_background);
}
.sub-menu-list li:hover a span {
  color: var(--sedima_jaune_claire) !important;
}

.parent-sousliste:hover .rigth-menus {
  display: block;
}

.souscategorie:hover .sub-menu-list {
  display: block;
}

.promotion-section {
  width: 15%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.promotion-section .promo-item {
  width: 100%;
  height: 100%;
}
.promotion-section .promo-item:last-child {
  margin-top: 5px;
}
.promotion-section .promo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.promotion-section .promo-item img:hover {
  padding: 5px;
  background-color: var(--sedima_gris_background);
}
.promotion-section-responsive {
  display: none;
}

/* SECTION DES CARDT DE FILTRE */

.filtre-item {
  width: 100%; /* Width of card container */
  display: flex; /* Set inline elements */
  overflow-x: auto; /* Set overflow in horizontal scroll */
  overflow-y: hidden; /* Hidden overflow in vertical scroll */
  transition: ease-in-out 0.5s; /* Set transition effect */
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.filtre-item::-webkit-scrollbar-thumb {
  background: var(--sedima_jaune_claire);
}

.card-filter {
  cursor: pointer;
  min-width: 210px; /* Set min width of card */
  height: 120px; /* Set height of card */
  display: flex;
  justify-content: center;
  align-items: center;
  border: 6px solid var(--sedima_background);
  border-radius: 15px;
}
.card-filter span {
  font-size: 17px;
  font-weight: bold;
  color: var(--sedima_gris_background);
  align-self: flex-end;
}

.card-filter.active {
  border: 7px solid var(--sedima_jaune_claire);
}

/* Prepares a container to have cover background */
.has-bg-img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20%;
  background-color: white;
}

/* ELEMENT CACHER */

#links-icon-responsive {
  display: none;
}

.card__title {
  align-self: flex-end;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

/* produit card */
.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  justify-content: space-between;
  align-items: start;
}

.card-product {
  width: 250px;
  height: 340px;
  border: none; /* Bordure de la carte */
  border-radius: 10px; /* Coins arrondis */
  /* Flexbox pour organiser le contenu */
  display: flex;
  flex-direction: column;
}

.section-img {
  position: relative;
  height: 300px;
  overflow: hidden; /* Masquer le contenu qui dépasse de la section */
  border-top-left-radius: 10px; /* Coins arrondis */
  border-top-right-radius: 10px; /* Coins arrondis */
  background-color: white; /* Couleur de fond */
}

.section-img img {
  width: 250px; /* L'image occupe toute la largeur du conteneur */
  height: 100%; /* L'image occupe toute la hauteur du conteneur */
  object-fit: contain; 
  padding: 10px;
}

.card-info {
  background: var(--sedima_gris_claire);
  padding: 4px;
}

.card-info p {
  display: flex;
  align-items: center;
  color: white;
  margin: 0;
  text-transform: lowercase !important;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-info i {
  font-size: 15px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  25% {
    transform: scale(0.9);
  }
  50% {
    transform: scale(1.1);
  }
  75% {
    transform: scale(0.9);
  }
}

.likedAnimate {
  animation: pulse 0.5s ease-in-out 2;
}

.card-info-img i:first-child {
  font-size: 13px;
  margin-right: 5px; /* Espacement entre les images */
  background-color: var(--sedima_gris_claire); /* Arrière-plan blanc */
  border-radius: 50%; /* Bordure arrondie */
  padding: 5px; /* Espacement à l'intérieur de l'image de panier */
  line-height: 1; /* Hauteur de ligne pour centrer le texte verticalement */
}

.card-info-img i:last-child {
  color: #ffffff;
}

.card-footer {
  background-color: var(--sedima_jaune_claire);
  flex-grow: 1;
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  padding: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-footer p {
  color: var(--sedima_gris_background);
  text-align: center;
  margin: 0;
  padding: 0px;
  font-weight: bold;
  font-size: 20px;
}

.info-sup {
  position: absolute;
  top: 0%;
  right: 0%; /* Ajuster la marge droite selon vos besoins */
  background: var(--sedima_jaune_claire);
  color: var(--sedima_gris_background);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 25px; /* Taille minimale du badge */
  height: 25px; /* Hauteur du badge */
  font-size: 12px; /* Taille de police du texte du badge */
  padding: 4px 5px; /* Espacement interne du badge */
  line-height: 1; /* Hauteur de ligne pour centrer le texte verticalement */
  border-bottom-left-radius: 10px;
}

/* PAGINATION SECTION */
/* Styles généraux */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none; /* Supprimer les puces */
  padding: 0; /* Supprimer le remplissage */
}

.pagination li {
  margin-right: 5px; /* Réduire l'espacement entre les éléments */
}

.pagination li a {
  display: flex;
  align-items: center; /* Centrer verticalement le contenu */
  text-decoration: none; /* Supprimer la décoration de lien */
  font-size: 12px; /* Réduire la taille de la police */
  padding: 5px 8px; /* Ajuster le remplissage */
}

.pagination li img {
  width: 15px; /* Taille des images */
  height: 15px;
}

.pagination li a.page-link {
  border: none; /* Supprimer les bordures */
  background: none; /* Supprimer l'arrière-plan */
  color: var(--dark); /* Couleur du texte */
  padding: 0; /* Supprimer le remplissage */
}

.page-item.active {
  background-color: var(--sedima_jaune_claire);
  color: var(--sedima_gris_background);
  padding: 3px 7px;
  border-radius: 5px;
  line-height: 1;
}

/* Media queries pour les petits écrans */
@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si nécessaire */
    justify-content: center; /* Centre les éléments sur la nouvelle ligne */
  }

  .pagination li {
    margin-right: 5px; /* Réduire l'espacement entre les éléments */
  }

  .pagination li a {
    margin-top: 10px;
    font-size: 12px; /* Réduire la taille de la police */
  }

  .pagination li img {
    width: 16px; /* Réduire la taille des images */
    height: 16px;
  }

  .page-item.active {
    padding: 2px 5px; /* Réduire le rembourrage */
  }
}

/* CN=ONSULTER REENT */
.consulter-recent {
  background-color: var(--sedima_gris_claire);
}
.consulter-recent h4 {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.flex-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(200px, 1fr));
  grid-auto-rows: auto;
  grid-gap: 20px; /* espace entre les éléments */
}

/* produit card */

.card-product-mini {
  width: 180px;
  height: 250px;
  border: 1px solid #ddd; /* Bordure de la carte */
  border-radius: 10px; /* Coins arrondis */
  /* Flexbox pour organiser le contenu */
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  border: none;
}

.section-img-mini {
  position: relative;
  height: 200px;
  overflow: hidden; /* Masquer le contenu qui dépasse de la section */
  border-top-left-radius: 10px; /* Coins arrondis */
  border-top-right-radius: 10px; /* Coins arrondis */
  background-color: white; /* Couleur de fond */
}

.section-img-mini img {
  width: 180px;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.card-info-mini {
  background: var(--sedima_gris_claire);
  padding: 5px;
  margin: 0;
  border: none;
}

.card-info-mini p {
  color: white;
  margin: 0;
  font-size: 12px;
  text-transform: lowercase !important;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-info-mini i {
  font-size: 13px;
}

.card-footer-mini {
  background-color: var(--sedima_jaune_claire);
  flex-grow: 1; /* La section footer occupe la hauteur restante */
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  padding: 5px;
  display: flex;
  justify-content: space-between; /* Pour aligner les éléments à gauche et à droite */
  align-items: center; /* Pour centrer verticalement les éléments */
}
.card-footer-mini p {
  color: var(--textcolor);
  text-align: center;
  margin: 0;
  padding: 0px;
  font-weight: bold;
  font-size: 15px;
}

/* CONDITION ET SATISFACTION */

.satisfaction {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
}

.last-card {
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 20px !important;
  background-color: var(--sedima_background);
  padding: 10px;
}
.last-card div {
  width: 100%;
  height: 70%;
  overflow: hidden;
  border-radius: 20px !important;
}
.last-card div img {
  width: 130px;
  height: 130px;
  object-fit: cover;
}

.last-card h4 {
  font-size: 20px;
  font-weight: bold;
  color: var(--sedima_gris_background);
  margin: 0;
  padding: 0;
}
/* FOOTER */
#footer {
  margin: 0;
  padding: 0;
  bottom: 0;
  background: var(--sedima_gris_claire);
  color: var(--sedima_gris_background);
  font-family: Arial, sans-serif;
}

.footer-logo {
  width: 200px;
  height: 90px;
  margin-right: 10px;
}

.info-item {
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.info-item div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3px;
  text-align: left;
}

.info-item div img {
  width: 25px;
  height: 25px;
}

.info-item div p,
.info-item div a {
  margin: 0 5px;
  color: #555;
  text-decoration: none;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.links-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  border-radius: 50%;
  text-align: center;
  padding: 15px;
  background-color: var(--sedima_bleu_bleu);
  color: #fff;
  margin: 0 5px;
  transition: background-color 0.3s;
}

.links-icons:hover {
  background-color: var(--sedima_bleu_fonce);
}

.powered {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--sedima_gris_background);
  color: #ffffff;
  height: 30px;
  line-height: 1;
}

.powered p {
  margin: 0;
  padding: 0;
}

/* Media queries for small screens */
@media screen and (max-width: 768px) {
  .info-item .contact-info {
    flex-direction: column;
    text-align: center;
    align-items: self-start;
    margin: 10px;
  }
  .info-item .contact-info div {
    margin: 10px 0;
  }

  .footer-logo {
    width: 150px;
    height: 70px;
  }

  .links-icons {
    padding: 10px;
    margin: 5px;
  }
}

/*UTILITIES */

/* MODAL CUSTUM */
.modal-content {
  background-color: var(--sedima_jaune_claire);
  color: var(--sedima_gris_claire);
  border-radius: 20px;
}
.modal-content .modal-content-custom {
  background-color: var(--sedima_background);
  color: var(--sedima_gris_claire);
  border-radius: 20px;
  padding: 10px;
}

.modal-content .modal-footer {
  border: none;
}

/* COMPTE  CSS*/
.sidebar {
  background-color: #343a40;
  padding: 10px;
  border-radius: 10px;
}

.sidebar a {
  color: #adb5bd;
  text-decoration: none;
  display: block;
  padding: 10px 0px;
  border-radius: 5px;
  margin-bottom: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: #495057;
  color: #ffffff;
}

.content {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: calc(100vh - 40px);
  /* To ensure the content fits the screen height with padding */
  overflow-y: auto;
}
.content::-webkit-scrollbar-thumb {
  background: var(--sedima_jaune_claire);
}
.content::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(128, 128, 128, 0.041);
  border-radius: 10px;
}

.card-custom {
  background-color: #343a40;
  border-radius: 10px;
  padding: 15px;
  color: white;
  margin-bottom: 20px;
}



.table th,
.table td {
  vertical-align: middle !important;
}

.fixed-height-row {
  height: 600px;
  /* Adjust this value to your desired height */
  overflow-y: auto;
}

/* =================================================================*/
/* PAGINATION */

.pagination {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
}

.pagination li {
  display: inline-block;
  margin-right: 5px;
}

.pagination li a,
.pagination li span {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--sedima_background);
  color: var(--sedima_gris_background);
  text-decoration: none;
  border: 1px solid var(--sedima_gris_background);
  border-radius: 3px;
  cursor: pointer;
}

.pagination li.active a,
.pagination li.active span {
  background-color: var(--sedima_jaune_claire);
  color: var(--sedima_gris_background);
  border-color: var(--sedima_background);
}

.pagination li.disabled a,
.pagination li.disabled span {
  background-color: var(--sedima_background);
  color: var(--sedima_background);
  cursor: not-allowed;
}

.pagination li:first-child a,
.pagination li:first-child span {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.pagination li:last-child a,
.pagination li:last-child span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.pagination li:hover a,
.pagination li:hover span {
  background-color: var(--sedima_background);
  color: var(--dark);
}

.pagination li.active:hover a,
.pagination li.active:hover span {
  background-color: var(--sedima_jaune_sombre);
  border-color: var(--sedima_gris_background);
}

/* PROGRAMME CSS */

.card-fidelite {
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
  text-align: center;
  cursor: pointer;
}

.card-fidelite:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 40px;
  height: 40px;
  padding: 2px;
  object-fit: cover;
  margin-top: 20px;
  border-radius: 50%;
  border: 2px solid var(--sedima_jaune_claire);
}

.card-content-fidelite {
  padding: 5px;
}

.card-designation-fidelite {
  font-size: 1em;
  margin: 15px 0 10px;
  color: #333;
  font-weight: bold;
}

.card-points {
  font-size: 1em;
  color: #555;
}

.points {
  font-weight: bold;
  color: #000;
}

/* OFFRE SPECIALE */
.decorated-ou {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sedima_gris_background);
}

.decorated-ou::before,
.decorated-ou::after {
  content: "-------------------------";
}

.form-input-content {
  position: relative;
  display: flex;
  align-items: center;
}

.icon-input-logo {
  position: absolute;
  left: 0;
  height: 96%;
  width: 45px;
  margin-left: 1px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background-color: var(--sedima_jaune_claire);
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-img-logo {
  width: 30px;
  height: 30px;
}

.form-control-input {
  width: 100%;
  padding-left: 52px;
  padding-right: 10px;
  height: 50px;
  box-sizing: border-box;
  border: 1px solid var(--sedima_gris_background) !important;
  border-radius: 5px;
  font-size: 16px;
  background-color: white;
  font-weight: 300;
  font-style: oblique;
}

.form-control-input:focus {
  outline: none;
  border-color: var(--sedima_jaune_sombre);
}

/* ICONS BUTTON POUR LES ACTIONS */
.gooey-menu,
.gooey-menu *,
.gooey-menu *:before,
.gooey-menu *:after {
  box-sizing: border-box;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}

.gooey-menu {
  margin-right: 9%;
  margin-top: 15%;
  position: relative;
  float: right;
  filter: url("#goo");
  -webkit-filter: url("#goo");
}

.gooey-menu .button {
  position: relative;
  float: left;
  height: 30px;
  width: 30px;
  border-radius: 100%;
  border: 2px solid var(--sedima_gris_background);
  background: var(--sedima_jaune_claire);
  cursor: pointer;
  background-position: center;
  background-size: contain;
  z-index: 10;
}
.gooey-menu .button:hover {
  border-color: var(--sedima_background);
}
.gooey-menu .button i {
  position: relative;
  color: var(--sedima_gris_background);
  font-size: 15px !important;
  top: 0 !important;
  margin: 0 !important;
  margin-bottom: 10px !important;
}
.gooey-menu .button:not(:first-child) {
  position: absolute;
  right: 0;
  height: 0;
  width: 0;
  opacity: 0.5;
  border-width: 0;
  transform: scale(0);
  -webkit-transform: scale(0);
}
.gooey-menu .button:nth-child(3) {
  z-index: 1;
  transition: all 0.6s, border-color 0.3s;
  -webkit-transition: all 0.6s, border-color 0.3s;
}
.gooey-menu .button:nth-child(4) {
  z-index: 2;
  transition: all 1.2s, border-color 0.3s;
  -webkit-transition: all 1.2s, border-color 0.3s;
}
.gooey-menu .button:nth-child(5) {
  z-index: 3;
  transition: all 1.8s, border-color 0.3s;
  -webkit-transition: all 1.8s, border-color 0.3s;
}
.gooey-menu .button:nth-child(6) {
  z-index: 3;
  transition: all 1.8s, border-color 0.3s;
  -webkit-transition: all 1.8s, border-color 0.3s;
}
.gooey-menu .button .burger {
  position: absolute;
  top: calc(50% - 2px);
  right: calc(50% - 15px);
  height: 2px;
  width: 10px;
  border-radius: 0.15em;
  background: transparent;
  right: 33%;
}
.gooey-menu .button .burger:before,
.gooey-menu .button .burger:after {
  content: "";
  position: absolute;
  height: 2px;
  width: 10px;
  border-radius: 0.15em;
  background: #ffffff;
  left: 0%;
}
.gooey-menu .button .burger:before {
  top: calc(30% - 6px);
}
.gooey-menu .button .burger:after {
  top: calc(50% + 4px);
}

.gooey-menu .open-menus:checked ~ label .button .burger {
  top: 50%;
  height: 0;
}
.gooey-menu .open-menus:checked ~ label .button .burger:before,
.gooey-menu .open-menus:checked ~ label .button .burger:after {
  top: calc(50% - 2px);
}
.gooey-menu .open-menus:checked ~ label .button .burger:before {
  transform: rotate(-225deg);
  -webkit-transform: rotate(-225deg);
}
.gooey-menu .open-menus:checked ~ label .button .burger:after {
  transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
}

.gooey-menu .open-menus:checked ~ .button:not(:first-child) {
  top: 0;
  height: 30px;
  width: 30px;
  border-width: 2px;
  opacity: 1;
  transform: scale(1);
  -webkit-transform: scale(1);
  transition-timing-function: ease-in-out;
  -webkit-transition-timing-function: ease-in-out;
}
.gooey-menu .open-menus:checked ~ .button:nth-child(3) {
  right: 40px;
}

.gooey-menu .open-menus:checked ~ .button:nth-child(4) {
  right: 80px;
}

.gooey-menu .open-menus:checked ~ .button:nth-child(5) {
  right: 120px;
}
.gooey-menu .open-menus:checked ~ .button:nth-child(6) {
  right: 160px;
}

/* COMPTE  CSS*/

.content {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: calc(100vh - 20px);
  overflow-y: auto;
  transition: margin-left 0.2s ease, width 0.2s ease;
  width: calc(100% - 20px);
}

.card-custom {
  background-color: #343a40;
  border-radius: 10px;
  padding: 15px;
  color: white;
  margin-bottom: 20px;
}

.modal-header,
.modal-content-custom {
  background-color: var(--sedima_jaune_claire);
  color: white;
  border: none;
}


.table th,
.table td {
  vertical-align: middle !important;
}

fixed-height-row {
  height: 600px;
  /* Adjust this value to your desired height */
  overflow-y: auto;
}
.fixed-height-row::-webkit-scrollbar-thumb {
  background: var(--sedima_background);
}

/* Media query pour les écrans medium (tablettes et petits ordinateurs portables) */
@media (max-width: 991.98px) {
  #cheachBtn {
    display: none;
  }
  .logo {
    width: 150px;
    height: 45px;
  }
  #this-span {
    display: none;
  }
  .icon-logo {
    width: 15;
    height: 15;
  }
  .icon-logo-like {
    width: 15;
    height: 15;
  }
  .icon-logo-notif {
    width: 15;
    height: 15;
  }
}
/* Media query pour les écrans large (ordinateurs portables et ordinateurs de bureau) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Ajoutez des styles pour les écrans large ici */
  .custom_input {
    width: 15em;
  }
  .logo {
    width: 150px;
    height: 45px;
  }
}


/* media scree portable */
@media (max-width: 768px) {
  .card-filter {
    width: 150px;
    height: 80px;
  }
  .promotion-section-responsive {
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .promotion-section-responsive .promo-item {
    width: 100%;
    height: 100%;
  }
  .promotion-section-responsive .promo-item:last-child {
    margin-left: 5px;
  }
  .promotion-section-responsive img {
    width: 100%;
    height: 100%;
  }
  .section-caroussel {
    display: none;
  }
}

/* les plus peti */

@media (max-width: 768px) {
  .sidebar {
    padding: 10px;
  }

  .sidebar a {
    padding: 10px;
    font-size: 14px;
  }

  .content {
    height: auto;
    margin-top: 20px;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
  }
}
@media (min-width: 320px) and (max-width: 358.98px) {
  a {
    font-size: 10px;
  }
  .products-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px; /* Espacement entre les éléments */
    column-gap: 10px;
  }
  .last-card {
    width: 70px;
    height: 70px;
  }

  .last-card div img {
    width: 40px;
    height: 40px;
    object-fit: cover;
  }

  .last-card h4 {
    font-size: 8px;
  }
  .flex-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 10px; /* Espacement entre les éléments */
  }
  .card-product-mini {
    width: 140px;
    height: 230px;
  }
  .card-info-mini p {
    font-size: 10px;
  }
  .section-img-mini img {
    width: 140px;
  }
  .card-filter {
    width: 120px;
    height: 150px;
  }
  .card-filter span {
    font-size: 15px;
  }
  .last-card {
    width: 65px;
    height: 65px;
  }

  .last-card div img {
    width: 30px;
    height: 30px;
    object-fit: cover;
  }

  .last-card h4 {
    font-size: 8px;
  }
}
@media (min-width: 360px) and (max-width: 388.98px) {
  a {
    font-size: 10px;
  }
  .products-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px; /* Espacement entre les éléments */
  }
  .products-list > :nth-child(2n) {
    justify-self: end; /* Aligner le dernier élément à la fin de la ligne */
  }
  .card-product {
    width: 160px;
    height: 250px;
  }

  .card-product p {
    font-size: 10px;
  }
  .section-img {
    height: 220px;
  }
  .section-img img {
    width: 160px;
  }
  .flex-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(155px, 1fr));
    gap: 13px; /* Espacement entre les éléments */
  }
  .card-product-mini {
    width: 155px;
    height: 240px;
  }
  .card-filter {
    width: 120px;
    height: 150px;
  }
  .card-filter span {
    font-size: 15px;
  }
  .last-card {
    width: 70px;
    height: 70px;
  }

  .last-card div img {
    width: 30px;
    height: 30px;
    object-fit: cover;
  }

  .last-card h4 {
    font-size: 8px;
  }
}

@media (min-width: 390px) and (max-width: 450.98px) {
  a {
    font-size: 12px;
  }
  .products-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    gap: 6px; /* Espacement entre les éléments */
  }
  .products-list > :nth-child(2n) {
    justify-self: end; /* Aligner le dernier élément à la fin de la ligne */
  }
  .card-product {
    width: 170px;
    height: 250px;
  }
  .card-info p {
    font-size: 12px;
  }
  .card-footer p {
    font-size: 15px;
  }
  .section-img {
    height: 220px;
  }
  .section-img img {
    width: 160px;
  }
  .card-filter {
    width: 120px;
    height: 150px;
  }
  .card-filter span {
    font-size: 15px;
  }
  .last-card {
    width: 80px;
    height: 80px;
  }
  .flex-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 10px; /* Espacement entre les éléments */
  }
  .card-product-mini {
    width: 165px;
    height: 240px;
  }
  .last-card {
    width: 90px;
    height: 90px;
  }

  .last-card div img {
    width: 40px;
    height: 40px;
    object-fit: cover;
  }

  .last-card h4 {
    font-size: 8px;
  }
}

/* Media query pour les écrans extra-small (téléphones) */
@media (min-width: 452px) and (max-width: 575.98px) {
  .products-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    justify-content: space-between; /* Espacement égal entre les éléments */
    gap: 10px; /* Espacement entre les éléments */
    column-gap: 40px;
  }
  .products-list > :nth-child(2n) {
    justify-self: end; /* Aligner le dernier élément à la fin de la ligne */
  }
  .card-product {
    width: 210px;
    height: 300px;
  }

  .section-img {
    height: 250px;
  }
  .section-img img {
    width: 210px;
  }
  .card-filter {
    width: 120px;
    height: 150px;
  }
  .card-filter span {
    font-size: 15px;
  }
  .flex-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
  .last-card {
    width: 90px;
    height: 90px;
  }

  .last-card div img {
    width: 50px;
    height: 47px;
    object-fit: cover;
  }

  .last-card h4 {
    font-size: 8px;
  }
}

/* Media query pour les écrans small (tablettes) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .products-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    justify-content: space-between; /* Espacement égal entre les éléments */
    gap: 20px; /* Espacement entre les éléments */
    column-gap: 40px;
  }
  .products-list > :nth-child(2n) {
    justify-self: end; /* Aligner le dernier élément à la fin de la ligne */
  }
  .card-product {
    width: 210px;
    height: 300px;
  }
  .section-img {
    height: 250px;
  }
  .section-img img {
    width: 210px;
  }
  .card-filter {
    width: 130px;
    height: 140px;
  }
  .card-filter span {
    font-size: 13px;
  }
  .flex-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 10px;
  }
  /* LE DERNIER A LA FIN */
  .flex-container > :nth-child(2n) {
    justify-self: end;
  }
  .last-card {
    width: 120px;
    height: 120px;
  }

  .last-card div img {
    width: 60px;
    height: 60px;
    object-fit: cover;
  }

  .last-card h4 {
    font-size: 12px;
  }
}

/* Media query pour les écrans medium (tablettes et petits ordinateurs portables) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .products-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    justify-content: space-between;
    gap: 20px;
    column-gap: 40px;
  }
  .products-list > :nth-child(3n) {
    justify-self: end;
  }
  .card-product {
    width: 210px;
    height: 300px;
  }
  .section-img {
    height: 250px;
  }
  .section-img img {
    width: 210px;
  }
  .card-filter {
    height: 140px;
  }
  .card-filter span {
    font-size: 13px;
  }
  .flex-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 15px;
    column-gap: 40px;
  }

  .last-card {
    width: 160px;
    height: 150px;
  }

  .last-card div img {
    width: 80px;
    height: 80px;
    object-fit: cover;
  }

  .last-card h4 {
    font-size: 15px;
  }

  .info-item {
    flex-direction: column; /* Afficher les éléments en colonne */
    align-items: center;
  }

  .info-item div {
    margin-bottom: 20px; /* Augmenter l'espacement entre les éléments */
  }
}
/* Media query pour les écrans large (ordinateurs portables et ordinateurs de bureau) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .products-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    justify-content: space-between; /* Espacement égal entre les éléments */
    gap: 20px; /* Espacement entre les éléments */
    /* espacement row */
    column-gap: 100px;
  }
  .products-list > :nth-child(3n) {
    /* Style spécifique pour le troisième élément de chaque ligne */
    justify-self: end; /* Aligner le dernier élément à la fin de la ligne */
  }
  .flex-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 15px;
    column-gap: 40px;
  }
}
/* medaiwidth > 1200px jusqu'a 1400 */

@media (min-width: 1200px) and (max-width: 1399.98px) {
}

/* 1400 et plus */
@media (min-width: 1400px) {
}
.promotion-image {
  position: relative; /* Required for ::before and ::after to be positioned absolutely */
  width: 81rem;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 16px;
  padding: 0;
}

.promotion-image::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800%;
  background-color: var(--sedima_jaune_claire);
  box-shadow: 0 0 20px rgba(8, 8, 8, 0.5);
  animation: rotate 4s linear infinite, colorChange 1s linear infinite;
}

.promotion-image::after {
  content: "";
  position: absolute;
  inset: 10px;
  background-color: white;
  border-radius: 16px;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes colorChange {
  0%,
  100% {
    background-color: var(--sedima_jaune_claire);
  }
  20% {
    background-color: var(--sedima_background);
  }
  60% {
    background-color: var(--sedima_bleu_bleu);
  }
  80% {
    background-color: var(--sedima_gris_claire);
  }
}

.promotion-image img {
  width: 100%;
  height: auto;
  padding: 5px;
  border-radius: 16px;
  object-fit: calc(100vh);
  max-height: 480px;
  position: relative; /* Required to ensure z-index works correctly */
  z-index: 1; /* Ensures the image is above the pseudo-elements */
}

#filterMenu {
  /* display: none; */
  position: absolute;
  top: 50px;
  left: 12px;
  width: 100%;
  max-width: 600px;
  background-color: white;
  border: 7px solid var(--sedima_jaune_claire);
  border-radius: 15px;
  margin-right: -20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 5px;
}
#custom-select {
  /* display: none; */
  position: absolute;
  top: 70px;
  left: 0px;
  width: 100%;
  max-width: 100%;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 4000;
}
.title-promo-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: var(--sedima_jaune_claire);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.title-promo-title h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--sedima_gris_background);
  margin: 0;
  padding: 0;
}

.card-product:hover {
  transform: translateY(-5px); /* Décalage vers le haut au survol */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Ombre plus prononcée */
}

.promotion-description {
  animation: fadeInUp 3s ease; /* Animation d'apparition */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.select2-container .select2-selection.select2-selection--single {
  height: 37px;
}

.select2-container {
  width: 100% !important;
  z-index: 5000;
}

.select2-selection--multiple {
  overflow: hidden;
  word-wrap: break-word;
}

.select2-selection__rendered {
  max-height: 100px;
  /* Ajustez cette valeur en fonction de vos besoins */
  overflow-y: auto;
}

.select2-selection__choice {
  white-space: normal !important;
}

.btn-custom {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px; /* Bordure arrondie */
}
