body{
    padding: 0;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif !important;
}

/*fin gestion du responsive*/
/*gestion des couleurs*/
:root{
    --blanc: #ffffff;
    --jaune: #FFC836;
    --noir: #000000;
    --gris: #6E6E6E;
    --shadows: rgba(0, 0, 0, 0.1);
    
}
/*gestion des marges et paddings*/
:root{
    --padding-popup: 20px;
    --margin-popup: 20px;
    --borderRadius-popup: 16px;
    --border-popup: 1px solid var(--noir);
    --borderRadius-button: 8px;
    --border-button: 8px solid var(--jaune);
}
/*fin gestion des couleurs*/


/*-------------------   
PAGE SELECTION.HTML
--------------------*/
/* pop-up de contenu + image*/
.menu-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: var(--padding-popup);
    max-width: 698px;
    width: 100%;
    min-height: 517px;
    background-color: var(--blanc);
    border-radius: var(--borderRadius-popup);
    border: #000000 1px solid;
}
@media screen and (max-width: 768px) {
    .menu-box {
        width: 90%;
        height: auto;
    }
    .menu-button {
        width: 100%;
    }
}

.image-fond-selection {
    z-index: -1000;
    position: fixed;
}

.h2selection {
    max-width: 158px;
    width: 100%;
    max-height: 53px;
    height: 100%;
    font-size: 42px;
    line-height: 100%;
    padding: var(--padding-popup);
    margin: 0;
}
.text-selection {
    padding: var(--padding-popup);
    max-width: 566px;
    width: 100%;
    max-height: 66px;
    height: 100%;
    font-size: 28px;
    line-height: 100%;
}
.button-group {
    display: flex;
    justify-content: center;
    gap : 30px;
    flex-wrap: wrap;
}
.menu-button {
    border-radius: var(--borderRadius-button);
    border: var(--border-button);
    max-width: 285px;
    width: 100%;
    max-height: 202px;
    height: 100%;
    background-color: var(--blanc);
    justify-content: center;
    flex-wrap: wrap;
}
.image-selection {
    max-width: 141px;
    width: 100%;
    max-height: 96px;
    height: 100%;
    margin-top: 39px;
}
.text-button {
    max-width: 130px;
    width: 100%;
    max-height: 33px;
    height: 100%;
    font-size: 26px;
    margin-top: 141px;
}

/*--------------------
PAGE COMMANDE.HTML
--------------------*/
.absolute {
    position: relative;
}
.container {
    max-width: 1980px;
    max-height: 1080px;
    margin: 0 auto;
    
}
.col-85,
.col-15 {
  box-sizing: border-box;
 /* max-width: 1080px;
  position: sticky;*/
}
.row {
    display: flex;
    flex-wrap:  wrap;
}
header {
    height: 126px;
    display: flex;
    align-items: center;
    justify-content: space-between;
   /* background-color: black;*/
    box-sizing: border-box;
    z-index: 1000; 
    max-width: 100%;
    
    
}
.menu-scroll {
    display: flex;
    overflow-x: hidden;
    overflow-y: hidden;
    flex-wrap: nowrap;
    height: 126px;
    /*display: inline-block;
    box-sizing: border-box;
    white-space: nowrap;*/
   /* background-color: green;*/
    min-width: 0;
    gap: 16px;
    justify-items: center;
    
}

.col-85 {
    flex: 0 0 78%;
    min-height: 1080px;
    height: auto;
    /*background-color: aqua;*/
    min-width: 0;
}
.col-15 {
    flex: 0 0 22%;
    min-height: 1080px;
    height: auto;
    background-color: #F1F1F1;
    flex-direction: column;
    display: flex; /* AJOUT */
}
#product-container {
    margin-left: 56px;
}

#container-order {
    flex: 1; /* AJOUT */
    overflow-y: auto; /* AJOUT */
}
.order-summary{
    justify-items: center;
}

footer {
   /* background-color: rgb(255, 255, 255);*/
   position: absolute;
   bottom: 0;
    z-index: 10;
    padding: 10px;
    justify-content: end;
    flex-shrink: 0; /* AJOUT */
    display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  
    
}


/*gestion des boutons du col-85*/
.cat-button {
    max-width: 120px;
    height: 120px;
    margin: 2px;
    
    border: 4px solid #FFC836;
    border-radius: var(--borderRadius-button);
    background-color: var(--blanc);
    justify-content: center;
   
}
.image-menu {
    max-width: 80px;
    height: 80px;
}
.product-button {
    max-width: 165px;
    height: 296px;
    border-radius: var(--borderRadius-button);
    border: #6E6E6E 1px solid;
    background-color: var(--blanc);
    margin:16px;
}
#popup {
    z-index: 1000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    padding: var(--padding-popup);
    max-width: 698px;
    width: 100%;
    max-height: 517px;
    background-color: var(--blanc);
    border-radius: var(--borderRadius-popup);
    border: #000000 1px solid;
    display: none;
    justify-items: center;
    overflow-y: auto;

}
#popup p {
    padding: 30px
}
.arrow {
    height: 126px;
    background-color: var(--blanc);
    border: none;
}
.image-product{
    object-fit: cover;
    width: 150px;
    height: 150px;
}

/*gestion bouton col-15*/
.payement-button {
    min-width: 125px;
    min-height: 52px;
    border: #000000 2px solid;
    border-radius: var(--borderRadius-button);
    padding: 10px;
}
    
.payement-button:hover {
    background-color: var(--jaune);
    border: none;
}

#logo-wacdo{
    width: 32px;
    height: 28px;
    margin-top: 50px;
    margin-left: 45%;
}
.order-separator{
    border: 1px solid black;
    
    width: 100%;
}
@media screen and (max-width: 768px) {
 #product-container{
        margin-left: 0;
        justify-content: center;
    }
    .col-85 {
        flex: 0 0 100%;
        min-height: auto;
        height: auto;
    }
    
}
/* gestion bouton de la pop-up */
.popup-button {
    max-width: 285px;
    height: 202px;
    border-radius: 8px;
    border: 8px solid #FFC836;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.2s ease;
   margin-top: 15px;
    justify-content: center;
    margin-right: 26px;
    
    
    
  }
  .image-popup {
    width: 165px;
    height: 124px;
  }
  #close-popup {
    background-color: #ffffff;
    border: none;
  }
  #order-actions{
    width: 100%;
    gap: 16px;
    justify-items: center;
  }
  .title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .title-container .close-button {
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-left: 10px;
    background: none;
    border: none;
  }
  .delete-button{
    border: none;
  }
 /* Par défaut, la flèche est cachée, et la zone grise est visible */
#order-toggle {
    display: none;
  }
  
  #container-order {
    max-height: none;
    overflow: visible;
    transition: none;

  }
  #pop-up p {
    padding-bottom: 20px;
  }
  
  /* Comportement mobile pour le col-15 */
  @media (max-width: 935px) {
    .col-85 {
      flex: 0 0 100%;
      min-height: auto;
      height: auto;
    }
    .col-15{
        position: fixed;
        display: flex;
      min-height: 0;
    }
    #order-toggle {
      display: block;
      background: none;
      border: none;
      text-align: center;
      font-size: 1.2rem;
      margin: 1rem auto;
      cursor: pointer;
    }
  
    #container-order {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      display: none;
    }
  
    
    footer {
      position: fixed;
      bottom: 0;
      width: 100%;
      background-color: #fff;
      z-index: 1000;
      box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    }
    .order-summary{
        display: none;
    }
    .order-separator {
        display: none;
    }
    .popup-button{
        margin-top: 60px
    }
    #popup {
        width: 90%;
    }
  }
  @media (max-width: 500px) {
    .image-popup{
        display: none;
    }
    .popup-button {
        min-width: 155px;
        height: auto;
        
        margin-right: 0;
        font-weight: bold;
        justify-items: center;
        margin-right: 20px;
    }
    
  }
  /*pour le toggle de la colonne 15*/
  .col-15-toggle {
    display: flex;
    z-index: 1000;
    position: fixed;
    height: 100%;
    width: 100%;
    overflow-y: auto;
  }
  .order-summary-toggle{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  .order-separator-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 1px;
    background-color: #000000;
  }
  
    
    
  
  /*----------
  PAGE CHEVALET.HTML
    ----------*/
    #chevalet-contenair{
        
        justify-items: center;
    }
    #chevalet-button {
        margin-top: 834px;
        padding: 12px 24px;
        font-size: 18px;
        color: #000000;
        background-color: #FFC836;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease-in-out;
        display: flex;
        margin: auto;
        margin-top: 30px;
        z-index: 1000;
      }
      .code-inputs {
        display: flex;
        gap: 16px;
        justify-content: center;
        margin: 20px 0;
      }
      .code-chevalet {
        width: 40px;
        height: 50px;
        font-size: 32px;
        font-weight: bold;
        text-align: center;
        border: none;
        border-bottom: 4px solid #ccc;
        outline: none;
        overflow: hidden;
      }
      
      input::-webkit-outer-spin-button,
      input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
      }
      input[type=number] {
        -moz-appearance: textfield;
      }
      .code-chevalet:focus {
        border-bottom: 4px solid #333;
      }

      /*----------
      PAGE FIN.HTML
        ----------*/
        #fin-container{
            justify-items: center;
            display: flex;
            flex-direction: column;
        }
        
        #fin-button {
            margin-top: 20px;
            padding: 12px 24px;
            font-size: 18px;
            color: #000000;
            background-color: #FFC836;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: background-color 0.3s ease-in-out;
            display: flex;
            margin: auto;
            margin-top: 30px;
            z-index: 1000;
          }
          
          #fint-button:hover {
            background-color: #FFC836;
          }
          #end-font{
            font-family: "Allison", cursive;
            font-size: 48px;
            font-style: normal;
          }
      