.brand-tags {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Viewport com fade nas bordas para indicar conteúdo escondido */
.brand-tags-viewport {
    position: relative;
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.brand-tags-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 20px;
    scrollbar-width: none; /* Firefox */
}

    .brand-tags-track::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

/* Pill individual */
.brand-tag {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    color: #444;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

    .brand-tag:hover {
        color: #c0202f;
        border-color: #f3c9cc;
        box-shadow: 0 4px 10px rgba(192, 32, 47, 0.12);
        transform: translateY(-2px);
        text-decoration: none;
    }

    .brand-tag.is-active {
        background: #c0202f;
        border-color: #c0202f;
        color: #fff;
        box-shadow: 0 4px 12px rgba(192, 32, 47, 0.28);
    }

/* Setas de navegação */
.brand-tags-nav {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #666;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

    .brand-tags-nav:hover {
        background: #c0202f;
        color: #fff;
        transform: scale(1.06);
    }

    .brand-tags-nav:active {
        transform: scale(0.96);
    }

    .brand-tags-nav.is-disabled {
        opacity: 0.3;
        pointer-events: none;
    }

/* Mobile: esconde as setas, mantém scroll por toque */
@media (max-width: 576px) {
    .brand-tags-nav {
        display: none;
    }

    .brand-tags {
        padding: 14px 8px;
    }

    .brand-tag {
        padding: 8px 16px;
        font-size: 13px;
    }
}
