
body, html {
    background-color: #000;
}

.main-section{
    background-image: url('../images/header/arriere_plan.webp');
    color: white;
    padding: 100px 0;
    text-align: center;
}

/* Styles pour l'élément de menu */
.menu-item {
    background-color: #121212;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 15px;
  }

  /* Image du menu */
  .menu-item-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 50%; /* Cercle pour l'image */
    overflow: hidden;
  }

  .menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Contenu du menu */
  .menu-item-content {
    flex-grow: 1;
  }

  /* En-tête de l'élément de menu */
  .menu-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .menu-item-title {
    font-size: 18px;
    font-family: 'Merriweather' !important;
    font-weight: bold;
    color: #fff;
    margin: 0;
  }

  .menu-item-dots {
    flex-grow: 1;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        transparent,
        transparent 4px,
        #555 4px,
        #555 8px
    );
    margin: 0 10px;
  }

  .menu-item-price {
    font-size: 16px;
    color: #f7840d; /* Couleur dorée pour le prix */
    white-space: nowrap;
    font-family: 'Open Sans' !important;
  }

  /* Description du menu */
  .menu-item-description {
    font-size: 14px;
    color: #ccc;
    font-family: 'Open Sans' !important;
    margin-top: 5px;
  }

  .menu-badge {
    background-color: #faa93d;
    color: #000;
    font-size: 11px;
    font-family: 'Open Sans' !important;
    padding: 5px 10px;
    margin: 10px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600px;
  }

  .menu-item-content .add_cart{
    color: #f7840d;
    }
    .menu-item-content .add_cart:hover{
        color: #faa93d;
    }

    .pagination-container {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

  .pagination {
      list-style: none;
      display: flex;
      padding: 0;
  }

  .page-item {
      margin: 0 5px;
  }

  .page-link {
      display: inline-block;
      padding: 10px 15px;
      color: #333;
      background-color: #f5f5f5;
      border: 1px solid #ddd;
      border-radius: 5px;
      text-decoration: none;
      font-size: 16px;
  }

  .page-item.active .page-link {
      background-color: #f7840d; /* Couleur similaire à l'image */
      color: #fff;
      border-color: #faa93d;
  }

  .page-link:hover {
      background-color: #faa93d;
      color: #000;
  }

  .page-item:last-child .page-link {
      padding: 10px 20px;
  }


  /* Conteneur global pour centrer l'ensemble */
  .search-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 300px;
    margin: 10px;
}


.container {
    width: 100%;
}

/* Taille pour les petits écrans */
@media (min-width: 640px) {
    .container {
        max-width: 960px;
    }
}

/* Taille pour les écrans moyens */
@media (min-width: 768px) {
    .container {
        max-width: 1140px;
    }
}

/* Taille pour les grands écrans */
@media (min-width: 1024px) {
    .container {
        max-width: 1366px;
    }
}

/* Taille pour les très grands écrans */
@media (min-width: 1280px) {
    .container {
        max-width: 1600px;
    }
}



.search-input {
    width: 100%;
    padding: 10px 50px 10px 15px; /* Décalage à droite pour laisser de l'espace au bouton */
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #1c1c1c;
    color: #fff;
    font-size: 16px;
}

.search-input::placeholder {
    color: #aaa;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.search-button svg {
    width: 24px;
    height: 24px;
    color: #f7840d; /* Couleur similaire au style pagination */
}

.search-button:hover svg {
    color: #faa93d;
}


/* Champs de formulaire */
.form-custom {
    /* border: 1px solid #ddd; */
    border-radius: 0; /* Désactive complètement le border-radius */
    padding: 10px 15px;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.form-custom:focus {
    border-color: #000;
    /* box-shadow: 0 0 5px rgba(247, 132, 13, 0.5); */
    box-shadow: none; /* Supprime l'effet bleu/orange */
    outline: none; /* Supprime l'outline par défaut */
}

/* Couleur du placeholder par défaut */
.form-custom::placeholder {
    color: #6c757d; /* Gris par défaut */
    transition: color 0.3s ease, opacity 0.3s ease; /* Douce transition */
}

/* Couleur du placeholder lorsque le champ est en focus */
.form-custom:focus::placeholder {
    color: #fff; /* Blanc au focus */
    opacity: 0.5; /* Optionnel : ajustez l'opacité si souhaité */
}

.cart-container {
  background-color: #1c1c1c;
  padding: 20px;
  border-radius: 5px;
  color: #fff;
  width: 100%;

  max-width: 300px;
}

.container-fixed{
    position: fixed;
    bottom: 20px;
    transform: translateY(-20px);
}

.cart-container h3 {
  font-size: 20px;
  font-weight: bold;
}

hr {
  border: none;
  border-top: 1px solid #f7840d;
  margin: 10px 0;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.cart-item img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
}

.cart-item-details {
  flex-grow: 1;
  margin-left: 10px;
}

.cart-item-details p {
  margin: 0;
  font-weight: bold;
  color: #fff;
}

.cart-item-details span {
  font-size: 14px;
  color: #f7840d;
}

.remove-item {
  background: transparent;
  border: none;
  color: #d9534f;
  font-size: 18px;
  cursor: pointer;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  font-size: 16px;
  font-weight: bold;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
}

.view-cart {
  background-color: #f7840d;
  border: none;
  padding: 10px 20px;
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
  font-weight: bold;
}

.view-cart a, .checkout a{
  color: #f5f5f5;
  text-decoration: none;
}

.view-cart:hover {
  background-color: #faa93d;
}

.checkout {
  background-color: transparent;
  border: none;
  padding: 10px 20px;
  color: #fff;
  cursor: pointer;
  border-radius: 3px;
  font-weight: bold;
}

.checkout:hover {
  background-color: #faa93d;
}

/* Style des options dans la liste déroulante */
.select2-container--bootstrap .select2-results__option {
  background-color: #1a1a1a !important;
  color: #fff !important;
  padding: 12px 20px;
  line-height: 1.6;
}

/* Espacement au survol des options */
.select2-container--bootstrap .select2-results__option:hover {
  background-color: #444 !important;
}



.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    color: white;
    border: 1px solid white;
    border-radius: .2rem;
    padding: 0 5px 0 0;
    cursor: pointer;
    float: left;
    margin-top: .3em;
    margin-right: 5px;
}

.select2-container--bootstrap4 .select2-selection__placeholder {
    color: #6c757d;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    color: white;
    background-color: #121212;
}
/* Augmenter la position du modal pour le rapprocher du haut */
.modal-dialog {
    max-width: 90%; /* Largeur personnalisée */
    margin: auto;
}

/* Désactiver le scroll sur les écrans larges */
@media (min-width: 768px) {
    .modal-xl .modal-content {
        max-height: 100vh; /* Ajuste à la hauteur de l'écran */
        overflow: hidden; /* Supprime le scroll */
    }
}

/* Permettre le scroll sur les écrans mobiles */
@media (max-width: 767px) {
    .modal-xl .modal-content {
        max-height: 90vh; /* Hauteur ajustée pour mobile */
        overflow-y: auto; /* Active le scroll vertical */
    }
}

/* Limiter la hauteur du modal pour permettre le défilement */
.modal-dialog-scrollable .modal-content {
    max-height: 80vh; /* Ajuste la hauteur totale */
    overflow-y: auto; /* Ajoute le défilement si nécessaire */
}


/* Corriger la superposition du menu déroulant */
.select-role {
    position: relative; /* Assure une bonne position locale */
    z-index: 1055 !important; /* Garantit que le sélecteur est au-dessus des autres */
}

.select-product{
    position: relative; /* Assure une bonne position locale */
    z-index: 1055 !important; /* Garantit que le sélecteur est au-dessus des autres */
}

.select-role option {
    z-index: 1055; /* S'assure que les options sont bien visibles */
}

/* Forcer les dropdowns Bootstrap à s'afficher au premier plan */
.dropdown-menu {
    z-index: 1060 !important;
}




/* Champs de formulaire */
.form-custom-user {
  /* border: 1px solid #ddd; */
  border-radius: 0; /* Désactive complètement le border-radius */
  padding: 10px 15px;
  margin-bottom: 4px;
  border: 1px solid #333 !important;
  font-size: 16px;
  color: #fff;
  background-color: #1a1a1a !important;
  transition: border-color 0.3s ease;
}

.form-custom-user:focus {
  color: #fff;
  background-color: #1a1a1a !important;
  /* box-shadow: 0 0 5px rgba(247, 132, 13, 0.5); */
  box-shadow: none; /* Supprime l'effet bleu/orange */
  outline: none; /* Supprime l'outline par défaut */
}

/* Couleur du placeholder par défaut */
.form-custom-user::placeholder {
  color: #fff;
  transition: color 0.3s ease, opacity 0.3s ease; /* Douce transition */
}

/* Couleur du placeholder lorsque le champ est en focus */
.form-custom-user:focus::placeholder {
  color: #fff; /* Blanc au focus */
  opacity: 0.5; /* Optionnel : ajustez l'opacité si souhaité */
}

.cart-container-width {
  background-color: #1c1c1c;
  padding: 20px;
  border-radius: 5px;
  color: #fff;
  width: 100%;
  max-width: 600px;
}

.cart-container-edit {
    background-color: #1c1c1c;
    padding: 20px;
    border-radius: 5px;
    color: #fff;
    width: 100%;
    /* max-width: 800px; */
}

.iti__country-name, .iti__flag-box{
    color: #000!important;
}

.deleted{
  text-decoration: none;
}


.menu-item-description .texte, .modal .modal-title,.modal .modal-body{
    color: white;
    text-decoration: none;
}


.djobo-background-store input[type="tel"] {
    width: 100%; /* Utiliser toute la largeur disponible */

    padding: 10px; /* Espacement interne pour plus de confort */
    font-size: 16px; /* Taille du texte */
    background-color: #000; /* Fond noir si souhaité */
    color: #fff; /* Texte blanc */
    border: 1px solid #fff; /* Bordure blanche */
}

.modal{
    z-index: 2000;
}



.iti {
    width: 100%; /* Le conteneur principal suit la largeur de l'input */
}

.iti__country-list {
  width: 200px;
  overflow-x: hidden;
}

.iti__dropdown {
    width: 100% !important; /* Le dropdown s'aligne à l'input */
    z-index: 1050; /* Pour éviter qu'il soit masqué */
}

/* Style général pour le menu mobile */
@media (max-width: 768px) {

    .menu-item-title {
        font-size: 15px;
        margin: 0;
    }

    .menu-item-dots {
        background: repeating-linear-gradient(
            to right,
            transparent,
            transparent 2px,
            #555 2px,
            #555 4px
        );
        margin: 0 5px;
    }

    .menu-item-price {
        font-size: 12px;
    }

     /* Description du menu */
    .menu-item-description {
        font-size: 12px;
    }

    .menu-badge {
        font-size: 10px;
        padding: 3px 5px;
        margin: 6px 7px;
        border-radius: 2px;
        font-weight: 400px;
    }


    .menu-item-description .categories
    {
      font-size: 12px;
    }

    .menu-item-content .add_cart{
        font-size: 13px;
    }


    .iti__country-list {
        width: 388px;
        overflow-x: hidden;
      }

}

.menu-item a{
    text-decoration: none;
}


.menu-item-products strong, .menu-item-products li{
 color:#ddd;
}

.menu-item-products .compte{
    color: #f7840d;
}


.menu-item-description .categories{
    color: #f7840d;
    text-decoration:underline
}
