import"./hoisted.jAcVTPu2.js";const o=document.querySelectorAll("#faq-filters button"),l=document.querySelectorAll(".faq-item");o.forEach(e=>{e.addEventListener("click",()=>{const s=e.getAttribute("data-filter");o.forEach(t=>{t.classList.remove("bg-[#C85A32]","text-white"),t.classList.add("bg-white","text-stone-700")}),e.classList.remove("bg-white","text-stone-700"),e.classList.add("bg-[#C85A32]","text-white"),l.forEach(t=>{const c=t.getAttribute("data-category");s==="all"||c===s?t.style.display="block":t.style.display="none"})})});document.querySelectorAll(".faq-toggle").forEach(e=>{e.addEventListener("click",()=>{const s=e.closest(".faq-item");if(!s)return;const t=s.querySelector(".faq-content"),c=s.querySelector(".faq-icon");if(t&&c){const i=t.classList.contains("hidden");t.classList.toggle("hidden"),c.textContent=i?"−":"+"}})});