/*
 * Lock the order of the top-level HomePage sections.
 *
 * The HomePage stream is tagged with `home-no-reorder` (form_classname on
 * HomePageStreamBlock). We hide the move-up / move-down / drag controls of the
 * top-level blocks only, so editors can still add, delete and edit sections but
 * not reshuffle the page layout.
 *
 * Scoping is intentionally tight: we target only the controls in each
 * top-level block's own panel header. Nested sequences (e.g. the products
 * ListBlock) live under `.w-panel__content` and keep their own reordering.
 */
.home-no-reorder
  > [data-streamfield-stream-container]
  > [data-streamfield-child]
  > .w-panel
  > .w-panel__header
  [data-streamfield-action="MOVE_UP"],
.home-no-reorder
  > [data-streamfield-stream-container]
  > [data-streamfield-child]
  > .w-panel
  > .w-panel__header
  [data-streamfield-action="MOVE_DOWN"],
.home-no-reorder
  > [data-streamfield-stream-container]
  > [data-streamfield-child]
  > .w-panel
  > .w-panel__header
  [data-streamfield-action="DRAG"] {
  display: none !important;
}
