.vcs-brand-carousel {
    --vcsbc-gap: 24px;
    position: relative;
    width: 100%;
    padding: 0 46px 46px;
}

.vcs-brand-carousel__viewport {
    overflow: hidden;
    width: 100%;
}

.vcs-brand-carousel__track {
    display: flex;
    gap: var(--vcsbc-gap);
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.vcs-brand-carousel__track::-webkit-scrollbar {
    display: none;
}

.vcs-brand-carousel__item {
    align-items: center;
    background: #fff;
    display: flex;
    flex: 0 0 120px;
    height: 80px;
    justify-content: center;
    min-width: 0;
    padding: 8px 12px;
    scroll-snap-align: start;
}

.vcs-brand-carousel__item img {
    display: block;
    filter: grayscale(1);
    height: auto;
    max-height: 62px;
    max-width: 100%;
    object-fit: contain;
    transition: filter .2s ease, transform .2s ease;
    width: auto;
}

.vcs-brand-carousel__item:hover img,
.vcs-brand-carousel__item:focus-visible img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.vcs-brand-carousel__arrow {
    align-items: center;
    background: transparent;
    border: 0;
    color: #777;
    cursor: pointer;
    display: flex;
    font-size: 42px;
    height: 48px;
    justify-content: center;
    padding: 0;
    position: absolute;
    top: 16px;
    width: 38px;
}

.vcs-brand-carousel__arrow:hover {
    color: #f47b20;
}

.vcs-brand-carousel__arrow--prev { left: 0; }
.vcs-brand-carousel__arrow--next { right: 0; }

.vcs-brand-carousel__all {
    bottom: 0;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

.vcs-brand-carousel__all a {
    background: #f47b20;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    text-decoration: none;
    text-transform: uppercase;
}

@media (max-width: 575px) {
    .vcs-brand-carousel {
        --vcsbc-gap: 14px;
        padding-bottom: 44px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .vcs-brand-carousel__item {
        height: 70px;
        padding: 8px;
    }

    .vcs-brand-carousel__item img { max-height: 52px; }
    .vcs-brand-carousel__arrow { top: 11px; width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .vcs-brand-carousel__track { scroll-behavior: auto; }
    .vcs-brand-carousel__item img { transition: none; }
}
