/* Styles pour la fonctionnalité cart */
.bodyCartHidden{
  right: -30vw;
  transition: right 0.4s ease;
}
.bodyCartVisible{
  right: 0;
    transition: right 0.4s ease;
}

.bodyCart{
    overflow: visible;
    position: fixed;
    width: 30vw;
    left: auto;
    z-index: 10001;
    top: 0;
    height: 100vh;
    background-color: white;
}

.bodyCartClose{
  margin-right: 15px;
  cursor: pointer;
}

.HeaderBodyCart{
  height: 73px;
  padding: 15px 0px 15px 30px;
  border-bottom: 1px solid #dfdfdf;
  display: flex;
  align-items: center;
  justify-content: space-between;
    
}
#BodyCartProduct{
  padding: var(--space-1);
  height: calc(100% - 1.5rem - 100px);
  overflow-y: auto;
}
.product_cart{
  display: flex;
  align-items: center;
  padding: 8px;
  justify-content: space-between;
  align-items: flex-start;
  
}
.logoAndProduct{
  display: flex;
  align-items: center;
  justify-content: center;
}
.image_product_cart{
  width:80px;
  height:80px;
}

.nbProduct{
  margin-top: 5px;
  margin-left: 15px;
}
.nom_product_cart{
  font-size: 1.1rem;
}
.imageandproductbody{
  display: flex;
}
.body_product_cart{
    margin-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.price_product_cart_little {
  display: none;
}
  @media only screen and (max-width: 1024px) {
    .bodyCart{
      width: 85vw;
    }
    .bodyCartHidden {
      right: -85vw;
      transition: right 0.4s ease;
    }
  }
  
  @media only screen and (max-width:  768px) {
    
    .price_product_cart_big {
      display: none;
    }
    .price_product_cart_little {
      display: block;
    }
    .image_product_cart{
      width:120px;
      height:120px;
    }
    
  }
  .roquette_cart_ajax_btn a{
    
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: calc(100% - 2rem);
    left: 1rem;
    border: none;
    background: black;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    padding: 1rem 2rem;
    cursor: pointer;
  }
  .roquette_cart_ajax_btn svg{
    margin-bottom: 3px;
  }
  .roquette_cart_ajax_btn a:hover{
    background-color: var(--col1);
  }
  .roquette_cart_ajax_btn{
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 1rem;
    height: 50px;
  }
  .paiement_cart_plugins , .total_cart_plugins{
    margin-left: 10px;
  }
 
  .quantity_product_cart{
    display: flex;
    align-items: center;
  }
  .quantity-input{
    margin-left:5px;
  }
  .delete_product{
     margin-left:5px; 
    text-decoration: underline;
    color: #282828B3;
    font-size: 12px;
    cursor: pointer;
  }
  .delete_product:hover{
    color: #b3b3b3b3;
  }

  .countoncart{
    position: absolute;
    display: flex;
    justify-content: center;
    margin-left: 25px;
    margin-bottom: 8px;
    background-color: var(--col1);
    border-radius: 10px;
    width: 20px;
  }
  #cart-header{
    cursor: pointer;
  }
  #loader-cart {
    position: absolute;
    margin: 0 auto;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white; /* Couleur du loader */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 30vh auto;
    display: none; /* Démarrez masqué */
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  /* Styles pour la fonctionnalité cart */
  .mb4{
    margin-bottom: 4rem;
  }