<script>
document.addEventListener("DOMContentLoaded", function() {
  const maxSelections = 5;
  const checkboxes = document.querySelectorAll('.elementor-field-type-acceptance input[type="checkbox"]');

  checkboxes.forEach(chk => {
    chk.addEventListener('change', function() {
      const checkedCount = document.querySelectorAll('.elementor-field-type-acceptance input[type="checkbox"]:checked').length;

      // Counter message
      const counter = document.querySelector('.blt-selection-counter');
      if (counter) counter.textContent = `📋 Please select exactly ${maxSelections} options below`;

      // Warning if limit exceeded
      const warning = document.querySelector('.blt-limit-warning');
      if (warning) warning.style.display = (checkedCount > maxSelections ? 'block' : 'none');

      // Progress hint
      const progress = document.querySelector('.blt-progress-hint');
      if (progress) progress.style.display = (checkedCount < maxSelections ? 'block' : 'none');

      // Enable submit button only if exactly 5 selected
      const submit = document.querySelector('.elementor-button[type="submit"]');
      if (submit) submit.disabled = (checkedCount !== maxSelections);
    });
  });
});

</script><?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://lynn.ladybug.solutions/wp-sitemap.xsl" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://lynn.ladybug.solutions/author/admin/</loc></url><url><loc>https://lynn.ladybug.solutions/author/nayyab/</loc></url></urlset>
