.container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  width: 100%;
  gap: 10px;
  flex-wrap: nowrap;
}

.logo-container {
  flex: 0 0 auto;
}

.logo {
  height: 50px;
  max-width: 100%;
  cursor: pointer;
}

.center {
  flex: 1 1 auto;
  overflow: hidden;
  padding: 0 10px;
  min-width: 0;
}

.scroll-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 25s linear infinite;
  font-weight: bold;
  color: #333;
  font-size: 1.2em;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.right-side {
  flex: 0 0 auto;
  padding-left: 10px;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .logo {
    height: 40px;
  }

  .scroll-text {
    font-size: 0.9em;
  }

  .right-side {
    font-size: 0.8em;
  }
}








/* Menu latéral caché */
.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    z-index: 1000;
}

.side-menu a {
    padding: 10px 30px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.2s;
}

.side-menu a:hover {
    background-color: #575757;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}

.menu-btn {
    font-size: 20px;
    cursor: pointer;
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    color: #111;
}




.header-actions {
    display: flex;
    align-items: center; /* aligne verticalement sur la même ligne */
    justify-content: flex-end; /* pousse à droite, ajustable */
    gap: 1rem; /* espace entre le menu et le panier */
    position: relative; /* si nécessaire pour le panier fixed */
}

/* Ajustement pour le bouton menu */
.menu-wrapper {
    margin: 0;
}

#togglePanier {
    margin: 0;
}


.header-actions {
    display: flex;
    align-items: center;       /* aligne verticalement menu et panier */
    justify-content: space-between; /* menu à gauche, panier à droite */
    width: 100%;
    padding: 0 1rem;           /* petit padding horizontal */
    box-sizing: border-box;
}

/* Supprimer marges inutiles si besoin */
.menu-left,
.panier-right {
    margin: 0;
}

