Stratigraphic stacking patterns in marginal marine environments are strongly influenced by shoreline migration, which governs the development of key sequence surfaces, system tracts, and reservoir quality sand bodies. This paper aims to characterize the evolution of shoreline trajectories during the Early to Middle Miocene in the Huizhou Sag of the Pearl River Mouth Basin and to assess their influence on the development of lithologic sand bodies. We integrated high-resolution 3D seismic interpretation with well-log and sedimentological data to identify clinoform geometries and classify shoreline trajectories. Transitions between trajectory types were used to delineate sequence stratigraphic surfaces, and seismic geomorphologic analysis was applied to characterize the morphology and distribution of associated strip sand bodies. Two types of clinoforms and four primary shoreline trajectory styles have been identified: descending regressive, ascending regressive (concave up), retreating transgressive, and ascending regressive (convex up). Whereas descending regressive trajectories coincide with sequence boundaries, the transition from concave up to transgressive marks the maximum regressive surface. The shift from a retreating transgressive to a convex-up regressive trajectory defines the maximum flooding surface. Seismic sedimentological analysis reveals a strong genetic relationship between shoreline trajectories and sand body types. Whereas beach ridge sand bodies are associated with descending regressive trajectories, barrier bar systems correspond to retreating transgressive ones. Shoreline trajectory analysis supports the construction of high-resolution sequence stratigraphic frameworks and enables predictive mapping of lithologic traps. This approach enhances the understanding of sedimentary processes in deltaic and marginal marine systems, providing practical value for hydrocarbon exploration targeting stratigraphic reservoirs.