
/* === Structure de la top-bar === */
.nm-top-bar {
  position: sticky;
  z-index: 10;
}
.nm-top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 35px;
  line-height: 34px;
  background-color: #ffd100;
  color: #000;
  font-family: 'Gustavo', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  overflow: hidden;
  padding: 0 10px; /* ajustez si nécessaire */
}

/* Flex items fixes */
.top-bar-social,
.top-bar-actions {
  flex: 0 0 auto;
}

/* Slider centré */
.top-bar-slider {
  flex: 1 1 auto;
  text-align: center;
  overflow: hidden;
}

/* Slides superposées */
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: slideFade 10s infinite ease-in-out;
}

/* Délais pour alterner */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }

/* Image réduite */
.top-bar-slider img {
  height: 20px;
  width: auto;
  display: inline-block;
  padding: 5px;
}

/* Animation cross-fade */
@keyframes slideFade {
  0%, 45%   { opacity: 1; z-index: 1; }
  50%, 95%  { opacity: 0; z-index: 2; }
  100%      { opacity: 1; z-index: 1; }
}

/* Responsivité */
@media (max-width: 768px) {
  .nm-top-bar-content {
    height: 35px;
    line-height: 30px;
    font-size: 14px;
  }
	
	  .top-bar-slider .tp-logo {
    height: 2530px;
    margin-left: 2px;
  }
	
	    .top-bar-social {
        display:none
    }
}

/* === OVERRIDE ULTIME POUR LA TOP-BAR === */
#nm-top-bar .nm-top-bar-text p {
  margin-block-end:   20px !important;
}

/* Taille et marge pour le logo Trustpilot */
.top-bar-slider .tp-logo {
  height: 30px;    /* ajustez en px si besoin */
  width: auto;
  display: inline-block;
  margin-bottom: 5px; /* espace entre texte et logo */
  margin-left: 4px; /* espace entre texte et logo */
  vertical-align: middle;
}

.nm-top-bar-social {
	float: none;
	padding-right: 0px; 
}
