# Platform Section Management

## Admin Filters

The Category & Sections page now provides four scoped views:

- All Sections: all platform values; read-only ordering because rows use different order spaces.
- Mobile App: records with `platform_type = mobile`.
- Website: records with `platform_type = web`.
- Shared: records with `platform_type = both`.

Search is applied inside the active platform and matches either category or section names. Category section/product counts are also platform-scoped.

## Ordering

- Mobile uses the existing `sections.sort_order` and `banner_sections.sort_order` fields. Existing mobile APIs and sorting logic remain unchanged.
- Website uses `sections.web_sort_order` and `banner_sections.web_sort_order`.
- Website banner insertion positions use `banners.web_banner_positions`; mobile retains `banners.banner_positions`.
- Shared reorder updates both mobile and website order values.
- Drag ordering is intentionally disabled in All Sections because that view mixes independent order spaces.

## Visibility

- Website queries include `web` and `both` through `visibleOn('web')`.
- Mobile queries include `mobile` and `both` through `visibleOn('mobile')`.
- Existing legacy app sections were classified as `mobile`; explicitly created website sections remain `web`.

## Validation

- Current section counts: 64 Mobile, 4 Website, 0 Shared.
- Platform search for `Explore` returns the All homepage category in the Website view.
- Transactional reorder check confirmed website order changed while mobile order remained unchanged.
