/* Autoplay kľúč */
/* Track – posuvná časť */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: transparent;
  padding: 20px 0;
  max-width: 90vw;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  max-width: 90vw;
}

.badges-box {
    width: 90%;
  margin:0 auto;
  overflow:hidden;
}
@media screen and (max-width: 480px) {
  .badges-box {
    width: 70%;
  }
}


/* Každá značka */
.vyrobca-item {
  flex: 0 0 200px;
  margin: 0 10px;
  margin-right: 20px;
  background: var(--white);
  text-align: center;
  padding: 10px 10px;
  font-size: 24px;
  font-size: 24px;
  border-radius:25px;
  z-index: 0; 
}
.vyrobca-item img {
  transition: transform 0.33s ease-in-out;
}
.vyrobca-item:hover img {
  transform: scale(1.1);
}

/* Obrázok */
.vyrobca-img {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vyrobca-img img {
  max-height: 60px;
  max-width: 100%;
}

/* Texty */
.vyrobca-name {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
}
.vyrobca-count {
  color: #777;
  font-size: 13px;
}


/* Šípky – iba dizajnovo, funkčnosť bez JS nie je */
.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.carousel-nav span {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #444;
  pointer-events: auto;
  user-select: none;
  cursor: default;
}

/* Responsivita */
@media (max-width: 767px) {
  .vyrobca-item {
    flex: 0 0 140px;
  }
}
@media (max-width: 480px) {
  .vyrobca-item {
    flex: 0 0 120px;
  }
}


/* ARROWS */
.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.carousel-arrow {
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: background 0.3s;
}
.carousel-arrow:hover {
  background: #ddd;
}
