/* Precium · site design · two touch-ups, for a keyboard and for a phone (v17 remates-movil, 18-11-2026). Every rule scoped
   to [data-site-design="nuevo"], no colour nor size of its own. Linked by DesignScope after the base sheet
   (lib/site-design/remates-movil.ts), so the base sheet keeps its name and no cached page is left behind.

   1. A whole focus ring in the strips of chips that slide. The base draws the keyboard's ring 2 px wide at 2 px from the
      chip (4 px in all), but a strip that slides (overflow-x: auto, so it clips at its padding box) kept 2 px of padding,
      or none: tabbing through it, every chip lost the top and bottom edges of its ring and the first one its left edge.
      While one of its chips has the keyboard's focus a strip takes 4 px of padding and gives them back from its margin, to
      the pixel, so no chip and nothing after the strip moves; at rest, with a mouse or a finger, nothing changes at all.
      The strips with the base's margins (a plain .sd-chip-row, the filter bar's chips) share one rule; a strip that a
      group's sheet sizes with a class of its own gets its own rule, with that sheet's numbers: the search's strips
      (buscar: no padding nor margin), the directory /c (categoria: 12 px above, 24 below, 32 from 768 px), the tabs (24 px
      below them, and on the home their box's 24 px from 768 px, which collapses with theirs), the rankings' shortcuts
      (capped at their column), and on a phone the strips that bleed to the screen's edges (the home's «Lo que más se
      busca», a list's chips), the product sheet's groups (its box's 16 px) and the search's quick row on a phone (no
      padding, and its 4 px above melt into the 16 or 18 px below the block before it, .sd-srch-intent or the page's
      title: a negative margin adds to that shared one, so -4 px above take the room from it; below, 12 px instead of 16,
      since the next block has no margin above). Left alone: the band's strip of sections (its ring's top edge would still
      sit under the band's row, z-index 60).
   2. «Ver promoción en <tienda>», the exit of a shop's coupon without a code, kept the base button's single line (nowrap,
      42 px high): a long shop name went past the button and the card, and the page slid sideways (on
      /tienda/philips-home-appliances-es at 320 px, 325 px wide; at 768 and 1024 px the name stuck out of the button). It
      now wraps, in balanced lines, like the coupon's other buttons (.sd-mc-coupon .sd-chollos-code .sd-btn), with 8 px
      around the label instead of 16 at its sides: a label that has 8 px or more at each side keeps its line, its 42 px and
      its place exactly as today (with 16, some labels that fit, a few px from the edge, would have gone to two lines); one
      that sticks out or nearly touches the edge goes to two lines, 52 px. */

[data-site-design="nuevo"] :is([class="sd-chip-row"], .sd-filterbar__chips):has(:focus-visible) { padding: 4px; margin: -4px; scroll-padding-inline: 4px; }
[data-site-design="nuevo"] .sd-chip-row.sd-srch-list:not(.sd-chip-row--wrap, .sd-srch-phone):has(:focus-visible) { padding: 4px; margin: -4px; scroll-padding-inline: 4px; }
[data-site-design="nuevo"] .sd-chip-row.sd-cat-groups:has(:focus-visible) { padding: 4px; margin: calc(var(--sd-s-12) - 2px) -4px calc(var(--sd-s-24) - 4px); scroll-padding-inline: 4px; }
[data-site-design="nuevo"] .sd-tabs:has(:focus-visible) { padding: 4px; margin: -4px -4px calc(var(--sd-s-24) - 2px); scroll-padding-inline: 4px; }
@media (max-width: 767px) {
  [data-site-design="nuevo"] .sd-rk-shortcut [class="sd-chip-row"]:has(:focus-visible) { max-width: calc(100% + 4px); }
  [data-site-design="nuevo"] .sd-hp-searched .sd-chip-row--wrap:has(:focus-visible) { padding-block: 4px; margin-block: -2px; scroll-padding-inline: var(--sd-margin); }
  [data-site-design="nuevo"] .sd-section > nav > .sd-lista-chips:has(:focus-visible) { padding-block: 4px; margin-block: -2px; scroll-padding-inline: var(--sd-margin); }
  [data-site-design="nuevo"] .sd-fc-groups:has(:focus-visible) { padding: 4px; margin: -2px -4px; scroll-padding-inline: 4px; }
  [data-site-design="nuevo"] .sd-box:has(> .sd-fc-mark) > :not(.sd-box__head):not(.sd-fc-mark) + .sd-fc-groups:has(:focus-visible) { margin-top: calc(var(--sd-s-16) - 2px); }
  [data-site-design="nuevo"] .sd-chip-row.sd-srch-phone:has(:focus-visible) { padding: 4px; margin: -4px -4px calc(var(--sd-s-16) - 4px); scroll-padding-inline: 4px; }
}
@media (min-width: 768px) {
  [data-site-design="nuevo"] .sd-chip-row.sd-cat-groups:has(:focus-visible) { margin-bottom: calc(var(--sd-s-32) - 4px); }
  [data-site-design="nuevo"] .sd-hp-compared__tabs:has(> .sd-tabs :focus-visible) { margin-bottom: calc(var(--sd-s-24) - 2px); }
}

[data-site-design="nuevo"] .sd-mc-coupon__actions > .sd-btn { height: auto; min-height: var(--sd-h-42); padding: var(--sd-s-8); text-align: center; white-space: normal; overflow-wrap: anywhere; text-wrap: balance; }
