Bug Fixes
- Section counter - Now updates correctly when deleting items
- Empty sections - Automatically hidden when all items are removed
- Bought section state - Fixed persistence of expanded/collapsed state on iOS Safari and after HTMX swaps (#3)
Technical Changes
- Added
updateSectionAfterDelete()helper function - Changed Alpine.js initialization to use
init()method for reliable state restoration - Added
getCompletedSectionState()for safe localStorage access on iOS