.brands-slider {
    width: 100%;
    position: relative;
}

.brands-slider__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.brands-slider__header h2 {
    font-size: var(--s24);
    font-weight: 600;

}

.brands-slider__controls {
    display: flex;
    gap: .5rem;
}

.brands-slider__controls button {
    background: none;
    border-radius: 50%;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brands-slider__wrapper {
    overflow: hidden;
    position: relative;
}

.brands-slider__track {
    display: flex;
    gap: 2rem;
    padding: .5rem;
    transition: transform 0.4s ease;
    will-change: transform;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -ms-overflow-style: none;
    scrollbar-width: none;
}
.brands-slider__track::-webkit-scrollbar {
    display: none;
}

.brand-slide {
    flex: 0 0 auto;
    width: 18rem;
    height: 8.625rem;

    scroll-snap-align: start;

    text-align: center;
    border: 1px solid rgba(226, 226, 226, 1);
    border-radius: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 1.5rem;

    background: white;
}

.brand-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: .5rem;
}

.brand-slide__placeholder {
    display: block;
    width: 100%;
    height: 100px;
    line-height: 100px;
    background: #eee;
    border-radius: .5rem;
    color: #777;
}

.brands-all__container {
    width: 100%;
    display: flex;
    justify-content: center;

    margin-top: 2rem;
}
.brands-all__container a {
    display: block;

    min-width: 16rem;
    padding: .8rem;

    text-align: center;
    color: rgba(84, 84, 84, 1);
    font-size: var(--s17);
    font-weight: 600;

    border-radius: .5rem;
    background: rgba(242, 242, 242, 1);
}