.stylee-brand-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 16px 50px; /* room for left/right buttons */
    box-sizing: border-box;
}

/* The scrolling track */
.stylee-brand-slider-container {
    display: flex;
    align-items: center;
    will-change: transform;
    gap: 10px;
    /* smooth continuous motion handled by JS */
}

/* Each brand logo card */
.stylee-brand-slide {
    flex-shrink: 0;
    width: 160px;          /* wide tile so logos breathe */
    padding: 0 32px;       /* generous horizontal gap */
    text-align: center;
    box-sizing: border-box;
}

.stylee-brand-slide a {
    display: block;
}

.stylee-brand-slide img {
    max-width: 110px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: filter 0.3s, transform 0.3s;
    display: block;
    margin: 0 auto;
}

.stylee-brand-slide img:hover {
    transform: scale(1.5);
}

/* ── Nav buttons: abs-positioned at the edges ── */
button.stylee-brand-prev,
button.stylee-brand-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.90);
    color: #444;
    border: none;
    font-size: 26px;
    line-height: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

button.stylee-brand-prev:hover,
button.stylee-brand-next:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transform: translateY(-50%) scale(1.12);
}

button.stylee-brand-prev { left: 6px; }
button.stylee-brand-next { right: 6px; }

/* ── Mobile ── */
@media (max-width: 768px) {
    .stylee-brand-slider { padding: 12px 40px; }

    .stylee-brand-slide {
        width: 110px;
        padding: 0 18px;
    }

    .stylee-brand-slide img {
        max-width: 75px;
        max-height: 44px;
    }

    button.stylee-brand-prev,
    button.stylee-brand-next {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}