/* Scoped to: mobile-launch-template-everything-you-need */
(function() {
  'use strict';
  var componentRoots = document.querySelectorAll('[data-component-slug="mobile-launch-template-everything-you-need"]');
  componentRoots.forEach(function(componentRoot) {
    // Helper to query within component, with fallback to document for sibling elements
    var $ = function(sel) { 
      return componentRoot.querySelector(sel) || document.querySelector('[data-component-slug="mobile-launch-template-everything-you-need"] ~ ' + sel) || document.querySelector(sel);
    };
    var $$ = function(sel) { 
      var results = componentRoot.querySelectorAll(sel);
      return results.length ? results : document.querySelectorAll(sel);
    };
    // Original component JS runs in this scope
    document.querySelectorAll(".accordion-item").forEach((item) => { item.addEventListener("click", () => { item.classList.toggle("active"); const answer = item.nextElementSibling; if (answer && answer.classList.contains("accordion-answer")) { answer.style.display = answer.style.display === "block" ? "none" : "block"; } }); });
  });
})();