Goal: Truncate long product titles with an ellipsis on mobile and desktop.
Solution provided: Add CSS to the product title element (.full-unstyled-link) using overflow:hidden, display:-webkit-box, -webkit-box-orient:vertical, and -webkit-line-clamp to limit visible lines. Initially applied within a mobile media query (max-width: 768px) for 3 lines.
Adjustment: To show fewer lines (2 instead of 3), change -webkit-line-clamp from 3 to 2.
Desktop application: Remove the @media query so the CSS applies site-wide (PC and mobile) with -webkit-line-clamp: 2.
Technical notes:
-webkit-line-clamp limits the number of lines shown and, combined with the other properties, produces an ellipsis for overflow.
A media query restricts styles to specific screen sizes; removing it applies styles globally.
Outcome: The user confirmed the fix works (2-line truncation) and can be applied to PC by removing the media query. Screenshots illustrate the before/after truncation effect. The discussion is resolved.