/* Precium · site design · `design.descripcionLeerMas2211` (diseno-resto-2111, #25 of the users' study, U57-a: the product page's description folded to four lines with «Leer más»). Its own sheet, linked by leer-mas/SdReadMoreText.tsx, which only renders while the key is on. Every rule is scoped to the redesign and to the group's own classes; it paints nothing (no colour of its own). */

/* ---------- 1. The text folded to its first four lines, with the browser's «…» (every word stays in the HTML) ---------- */
[data-site-design="nuevo"] .sd-rm[data-rm="closed"] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }

/* ---------- 2. The gap under the text: the last paragraph's own margin never adds to it (folded or open, with or without the button, the next part sits where it sat) ---------- */
[data-site-design="nuevo"] .sd-rm > .sd-fc-text > :last-child > :last-child { margin-bottom: 0; }

/* ---------- 3. «Leer más» belongs to the text: closer to it than the box's other parts (16 px apart) ---------- */
[data-site-design="nuevo"] .sd-box:has(> .sd-fc-mark) > .sd-rm[data-rm] + .sd-fc-more.sd-rm__button { margin-top: var(--sd-s-8); }
