.vf-brand-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.vf-brand-slider-viewport {
  flex: 1 1 auto;
  overflow: hidden;
}

.vf-brand-slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.35s ease;
}

.vf-brand-slider-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 calc((100% - 5 * 1.5rem) / 6);
  text-decoration: none;
}

.vf-brand-slider-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.25;
  overflow: hidden;
  background: #111;
}

.vf-brand-slider-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) brightness(0.85);
  transition: transform 0.3s ease;
}

.vf-brand-slider-item:hover .vf-brand-slider-bg {
  transform: scale(1.05);
}

.vf-brand-slider-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0.05) 100%);
}

.vf-brand-slider-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46%;
  height: 46%;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.vf-brand-slider-name {
  margin-top: 1rem;
  font-family: var(--font-century-gothic, inherit);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #000;
  text-align: center;
}

.vf-brand-slider-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.vf-brand-slider-nav:hover {
  background: #fe0000;
}

.vf-brand-slider-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: #000;
}

.vf-brand-slider-nav .material-icons {
  font-size: 1.5rem;
}

.vf-brand-slider-pagination {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  width: 60vw;
}

.vf-brand-slider-pagination-bar {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #d9d9d9;
  cursor: pointer;
  border: none;
  padding: 0;
}

.vf-brand-slider-pagination-bar.is-active {
  background: #fe0000;
}

@media (max-width: 1200px) {
  .vf-brand-slider-item {
    flex: 0 0 calc((100% - 3 * 1.5rem) / 4);
  }
}

@media (max-width: 767px) {
  .vf-brand-slider {
    padding: 1rem 0;
  }

  .vf-brand-slider-item {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }

  .vf-brand-slider-name {
    font-size: 0.95rem;
  }

  .vf-brand-slider-nav {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .vf-brand-slider {
    padding: 1rem 0;
    gap: 0;
  }

  .vf-brand-slider-viewport {
    padding: 0 2.5rem;
  }

  .vf-brand-slider-item {
    flex: 0 0 100%;
  }

  .vf-brand-slider-nav {
    position: absolute;
    top: calc(50% - 1.5rem);
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
  }

  .vf-brand-slider-prev {
    left: 0;
  }

  .vf-brand-slider-next {
    right: 0;
  }

  .vf-brand-slider-nav .material-icons {
    font-size: 1.15rem;
  }
}
