/* Precium · site design · the blue band's row of departments, for everybody (v17-remate, 18-11-2026; no key: it fixes a fault every visitor sees). Linked by DesignScope on every page of the redesign right after the base sheet and cabeceras (lib/site-design/banda-fila.ts): the base sheet keeps its name and no HTML cache has to be emptied. Every rule scoped to [data-site-design="nuevo"] .sd-band-nav, colours never touched. */
/* Why (measured in Chrome with the real type): from 1.280 the departments carry their words (ESPEC §5.1) and the row of today needs 1.374 px with three pills (Chollos, the event, Cupones); the page's body clips what overflows, so from 1.280 to 1.405 px «Tecnología» was cut, «Más» left the row and the page slid sideways (94 px at 1.280, 109 with a classic scroll bar), and with a fourth pill («Regalos», season.regalosT31) «Más» was out at every desktop width. These are the rules of banda.ef69a2cc.css (codigo1811 · ebooks-puente, its key design.bandaSd1811), now for everybody, plus the words' room for their ink (§1): with this sheet that key adds nothing. Each state starts 16 px after the width it needs, so a classic scroll bar fits. */

/* 1. From 1.280 «Más» stays whole at the end of the row: if a department's words ever did not fit (another type, a longer event), the departments give way first, their words cut with an ellipsis, never «Más». The word clipped for its ellipsis keeps 2 px of room on each side for its ink (padding with an equal negative margin: no box moves); with the clip alone the end of «Motor» and «hogar» and the hook of «Juguetes» lost a column of ink at every width from 1.280, 1.440 and over too (v17-remate-rev-correccion, 19-11-2026) */
@media (min-width: 1280px) {
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__more { flex: none; }
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__dep:not(.sd-band-nav__more) { flex: 0 1 auto; min-width: 38px; }
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__dep:not(.sd-band-nav__more) .sd-band-nav__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; margin: 0 -2px; }
}

/* 2. A tighter row where the 10's spacing does not fit: from 1.280 to 1.439 px, and from 1.440 with a fourth pill (the 10's spacing stays from 1.440 with three) */
@media (min-width: 1280px) and (max-width: 1439.98px) {
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__in { gap: 2px; }
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__savings { margin-right: var(--sd-s-6); }
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__saving { padding: 0 var(--sd-s-10); }
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__dep { gap: 5px; padding: 0 6px; }
}
@media (min-width: 1440px) {
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__in:has(> .sd-band-nav__savings > :nth-child(4)) { gap: 2px; }
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__in:has(> .sd-band-nav__savings > :nth-child(4)) > .sd-band-nav__savings { margin-right: var(--sd-s-6); }
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__in:has(> .sd-band-nav__savings > :nth-child(4)) .sd-band-nav__saving { padding: 0 var(--sd-s-10); }
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__in:has(> .sd-band-nav__savings > :nth-child(4)) .sd-band-nav__dep { gap: 5px; padding: 0 6px; }
}

/* 3. Where even so the words do not fit, the departments with their icon only, as from 1.024 to 1.279 (ESPEC §5.1): to 1.309 px with three pills, to 1.405 with four; «Más» keeps its word. Their words stay for screen readers (from 1.024 to 1.279 the base sheet hid them from everybody: a button with no name) */
@media (min-width: 1024px) and (max-width: 1309.98px) {
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__dep:not(.sd-band-nav__more) .sd-band-nav__label { display: inline; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (min-width: 1280px) and (max-width: 1309.98px) {
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__dep:not(.sd-band-nav__more) { padding: 0 9px; }
}
@media (min-width: 1310px) and (max-width: 1405.98px) {
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__in:has(> .sd-band-nav__savings > :nth-child(4)) .sd-band-nav__dep:not(.sd-band-nav__more) .sd-band-nav__label { display: inline; position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  [data-site-design="nuevo"] .sd-band-nav .sd-band-nav__in:has(> .sd-band-nav__savings > :nth-child(4)) .sd-band-nav__dep:not(.sd-band-nav__more) { padding: 0 9px; }
}
