.active { display: none }
const lists = document.querySelectorAll('.dropdown-list');
lists.forEach(list => list.classList.add('active'));
document.querySelectorAll('.dropdown-item span').forEach((item, itemIndex) => {
item.addEventListener('click', function() {
lists.forEach((list, listIndex) => {
if (itemIndex === listIndex) {
list.classList.toggle('active');
}
});
});
});