/* Základní nastavení wrapperu */

.vc-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vc-carousel__track {
  position: relative;
  display: grid;
  gap: 1.5rem;
  width: 100%;
  grid-template-columns: repeat(var(--vc-per-view, 1), minmax(0, 1fr));
}

.vc-carousel__track > * {
  min-width: 0;
}

/* Položky karuselu */
.vc-carousel__item--active {
  display: block;
}

.vc-carousel__item--hidden {
  display: none !important;
}

.vc-carousel [hidden] {
  display: none !important;
}

/* Navigační šipky */
.vc-carousel__nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.75rem;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

.vc-carousel__nav-btn {
  pointer-events: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  color: #51282b;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.vc-carousel__nav-btn:hover,
.vc-carousel__nav-btn:focus-visible {
  background-color: transparent;
}

.vc-carousel__nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Tečky */
.vc-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-self: center;
  margin-top: 0.5rem;
}

.vc-carousel__dot {
  width: 10px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid #51282b;
  background-color: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
    font-size: 0;
}

.vc-carousel__dot.is-active {
  background-color: #51282b;
  transform: scale(1.15);
}

.vc-carousel__dot:hover,
.vc-carousel__dot:focus-visible {
  background-color: rgba(0, 0, 0, 0.55);
}

@media (pointer: coarse) {
  .vc-carousel__nav-btn {
    width: 3rem;
    height: 3rem;
    font-size: 30px;
      font-weight: 300;
  }

  .vc-carousel__dots {
    gap: 0.75rem;
  }
}
