.marcas-bar {
  background: #fff;
  padding: 10px 0;
  border-top: 1px solid #e6e6e6;
  overflow: hidden;
}

.marcas-bar__track {
  display: flex;
  width: max-content;
  animation: marcas-scroll 36s linear infinite;
}

.marcas-bar:hover .marcas-bar__track,
.marcas-bar:focus-within .marcas-bar__track {
  animation-play-state: paused;
}

.marcas-bar__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0 36px;
  list-style: none;
  margin: 0;
  padding: 0 18px;
}

.marcas-bar__list li {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.marcas-bar__list img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 32px;
  max-width: 112px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  background: transparent;
}

@keyframes marcas-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media only screen and (max-width: 767px) {
  .marcas-bar {
    padding: 8px 0;
  }

  .marcas-bar__list {
    gap: 0 24px;
    padding: 0 12px;
  }

  .marcas-bar__list img {
    max-height: 24px;
    max-width: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marcas-bar__track {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .marcas-bar__list {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
  }
}
