/* Precium · site design · chollos-filtros (design.chollosFiltros1911): the piece of the lists of drops with filters and order. Every rule scoped to [data-site-design="nuevo"] and to the piece (.sd-cl), colours only from the --sd-* variables. Rules copied from the listings' sheet (lista.*.css), never imported: /c/ does not change. codigo1911 (the three reviews): the «ⓘ» beside the line of facts, the drawer without «Ordenar por» nor its own button, the categories' row never past two lines, the active filters in one row on a phone, the targets for the finger, the list's start below the sticky bar. */

/* The head: the line of facts (the figure, the dates) and its «ⓘ» beside it; its panel opens under the line, inside the screen */
[data-site-design="nuevo"] .sd-cl-facts { position: relative; display: flex; align-items: center; gap: 4px; margin: 0 0 var(--sd-s-12); min-width: 0; }

[data-site-design="nuevo"] .sd-cl-facts > .sd-chollos-facts { flex: 0 1 auto; min-width: 0; margin: 0; font-size: var(--sd-t-14); line-height: var(--sd-l-14); }

[data-site-design="nuevo"] .sd-cl .sd-chollos-facts b { color: var(--sd-ink); font-weight: var(--sd-w-700); font-variant-numeric: tabular-nums; }

[data-site-design="nuevo"] .sd-cl .sd-cl-facts .sd-lista-pop { position: static; flex: none; }

/* (a target of 32 × 32 for the finger that does not make the line taller: it overlaps the room around it) */
[data-site-design="nuevo"] .sd-cl .sd-cl-facts .sd-lista-pop__summary { justify-content: center; min-width: 32px; min-height: 32px; margin: -6px 0; border-radius: var(--sd-r-8); }

[data-site-design="nuevo"] .sd-cl .sd-cl-facts .sd-lista-pop__panel { left: 0; right: 0; width: auto; max-width: 420px; }

/* The row «Campaña» of a shop with several */
[data-site-design="nuevo"] .sd-cl-campana { display: flex; flex-direction: column; gap: var(--sd-s-6); margin: var(--sd-s-4) 0 var(--sd-s-8); min-width: 0; }

[data-site-design="nuevo"] .sd-cl-rowlabel { margin: 0; font-size: var(--sd-t-13); line-height: var(--sd-l-13); font-weight: var(--sd-w-550); color: var(--sd-ink-2); }

/* (on a phone the row's word goes: the row keeps its name «Campaña», and the first row of cards stays in the first screen) */
@media (max-width: 767px) {
  [data-site-design="nuevo"] .sd-cl-rowlabel { display: none; }
}

/* The order: its icon only on a phone while it is the default; another order says its words */
[data-site-design="nuevo"] .sd-cl-sort { position: relative; display: inline-flex; flex: none; }

[data-site-design="nuevo"] .sd-cl-sort__icon { display: none; }

@media (max-width: 767px) {
  [data-site-design="nuevo"] .sd-cl-sort:not(.sd-cl-sort--puesto) .sd-cl-sort__icon { display: block; position: absolute; top: 8px; left: 12px; z-index: 1; color: var(--sd-ink); pointer-events: none; }

  [data-site-design="nuevo"] .sd-cl-sort:not(.sd-cl-sort--puesto) .sd-dropdown > .sd-chip { gap: 0; padding-left: 36px; font-size: 0; }
}

/* The categories' row under the bar: it slides on a phone and a tablet and wraps from 1.024, never past two lines there (its chips stop at 10 and «Más (N)» opens the drawer). The room around it is its wrapper's: the strip keeps the focus ring's own room (remates-movil) */
[data-site-design="nuevo"] .sd-cl-cats { margin: var(--sd-s-4) 0 var(--sd-s-8); min-width: 0; }

@media (min-width: 1024px) {
  [data-site-design="nuevo"] .sd-cl-cats .sd-chip-row { flex-wrap: wrap; overflow: visible; }
}

[data-site-design="nuevo"] .sd-cl .sd-chip { max-width: 100%; }

[data-site-design="nuevo"] .sd-cl .sd-chip-row .sd-chip { flex: none; }

/* The options of the dropdowns: a finger's room (they were 34 px) */
[data-site-design="nuevo"] .sd-cl .sd-option { min-height: 40px; }

/* The list dims while the next one loads (the list's navigation) */
[data-site-design="nuevo"] .sd-cl .sd-lista-nav[data-busy="true"] .sd-cl-list { opacity: .55; pointer-events: none; transition: opacity .2s ease .15s; }

@media (prefers-reduced-motion: reduce) {
  [data-site-design="nuevo"] .sd-cl .sd-lista-nav[data-busy="true"] .sd-cl-list { transition: none; }
}

[data-site-design="nuevo"] .sd-cl-list { min-width: 0; }

/* The active filters: they wrap on a computer and slide in one row on a phone (with many, they pushed the cards 300 px down) */
[data-site-design="nuevo"] .sd-cl-active { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sd-s-8); margin: var(--sd-s-4) 0 var(--sd-s-8); min-width: 0; }

[data-site-design="nuevo"] .sd-cl-active__list { display: flex; flex-wrap: wrap; gap: var(--sd-s-8); margin: 0; padding: 0; list-style: none; min-width: 0; }

[data-site-design="nuevo"] .sd-cl-active__label { max-width: 16rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

[data-site-design="nuevo"] .sd-cl-active__clear { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--sd-s-4); font-size: var(--sd-t-14); line-height: var(--sd-l-14); font-weight: var(--sd-w-550); color: var(--sd-link); text-decoration: none; white-space: nowrap; }

[data-site-design="nuevo"] .sd-cl-active__clear:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
  [data-site-design="nuevo"] .sd-cl-active { flex-wrap: nowrap; }

  [data-site-design="nuevo"] .sd-cl-active__list { flex: 0 1 auto; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }

  [data-site-design="nuevo"] .sd-cl-active__list::-webkit-scrollbar { display: none; }

  [data-site-design="nuevo"] .sd-cl-active__list > li { flex: none; }

  [data-site-design="nuevo"] .sd-cl-active__clear { flex: none; }
}

/* The results bar: the figure and «Precios con IVA, sin envío · Cómo ordenamos» (the figure for screen readers only on a phone: the head says it). After a filter or a page the list's start comes into view below the sticky bar */
[data-site-design="nuevo"] .sd-cl-results { scroll-margin-top: calc(var(--sd-row-h, 0px) + 76px); }

[data-site-design="nuevo"] .sd-cl-count { margin: 0; color: var(--sd-ink-2); }

[data-site-design="nuevo"] .sd-cl-count b { color: var(--sd-ink); font-weight: var(--sd-w-700); font-variant-numeric: tabular-nums; }

[data-site-design="nuevo"] .sd-cl .sd-lista-pop { position: relative; display: inline-flex; }

[data-site-design="nuevo"] .sd-cl .sd-lista-pop__summary { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; list-style: none; cursor: pointer; font-size: var(--sd-t-14); line-height: var(--sd-l-14); font-weight: var(--sd-w-550); color: var(--sd-ink-2); border-radius: var(--sd-r-8); }

[data-site-design="nuevo"] .sd-cl .sd-lista-pop__summary::-webkit-details-marker { display: none; }

[data-site-design="nuevo"] .sd-cl .sd-lista-pop__summary:hover,
[data-site-design="nuevo"] .sd-cl .sd-lista-pop[open] > .sd-lista-pop__summary { color: var(--sd-ink); }

[data-site-design="nuevo"] .sd-cl .sd-lista-pop__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: min(300px, calc(100vw - 32px)); padding: var(--sd-s-16); border-radius: var(--sd-r-20); background: var(--sd-pop); color: var(--sd-ink-soft); box-shadow: var(--sd-pop-shadow); font-size: var(--sd-t-14); line-height: var(--sd-l-14); font-weight: var(--sd-w-400); }

[data-site-design="nuevo"] .sd-cl .sd-lista-pop__panel p { margin: 0 0 var(--sd-s-8); }

[data-site-design="nuevo"] .sd-cl .sd-lista-pop__panel p:last-child { margin-bottom: 0; }

/* (after the rules above, so they hold: the panel of the results bar at the whole width of a phone) */
@media (max-width: 767px) {
  [data-site-design="nuevo"] .sd-cl-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  [data-site-design="nuevo"] .sd-cl .sd-cl-results { position: relative; }

  [data-site-design="nuevo"] .sd-cl .sd-cl-results .sd-lista-pop { position: static; }

  [data-site-design="nuevo"] .sd-cl .sd-cl-results .sd-lista-pop__panel { left: 0; right: 0; width: auto; }
}

/* A narrow phone (360): the first row of cards inside the first screen — one step less of title and of room between the blocks (remate: with five filters it still ended 17 px under a 740 px screen) */
@media (max-width: 389px) {
  [data-site-design="nuevo"] .sd-cl .sd-chollos-head .sd-page-title { margin-bottom: var(--sd-s-2); }

  [data-site-design="nuevo"] .sd-cl .sd-chollos-head h1 { font-size: var(--sd-t-20); line-height: var(--sd-l-20); }

  [data-site-design="nuevo"] .sd-cl-facts { margin-bottom: var(--sd-s-2); }

  [data-site-design="nuevo"] .sd-cl-cats,
  [data-site-design="nuevo"] .sd-cl-active { margin: 0 0 var(--sd-s-2); }

  [data-site-design="nuevo"] .sd-cl .sd-filterbar { padding-block: 4px; }

  [data-site-design="nuevo"] .sd-cl .sd-cl-results { margin-bottom: var(--sd-s-4); }

  [data-site-design="nuevo"] .sd-cl .sd-chollos-grid { margin-top: var(--sd-s-4); }
}

/* The form without JavaScript (folded under «Filtros y orden») and the drawer's form */
[data-site-design="nuevo"] .sd-cl-nojs { display: none; margin: var(--sd-s-8) 0 var(--sd-s-16); }

[data-site-design="nuevo"] .sd-cl-nojs__summary { list-style: none; cursor: pointer; }

[data-site-design="nuevo"] .sd-cl-nojs__summary::-webkit-details-marker { display: none; }

[data-site-design="nuevo"] .sd-cl-nojs__fold[open] > .sd-cl-form { margin-top: var(--sd-s-12); padding: var(--sd-s-16); border: 1px solid var(--sd-line); border-radius: var(--sd-r-24); }

[data-site-design="nuevo"] .sd-cl-form { display: flex; flex-direction: column; gap: var(--sd-s-8); min-width: 0; }

/* in the drawer, no «Ordenar por» (the bar has it) and no button of its own (its foot's «Ver resultados» sends it) */
[data-site-design="nuevo"] .sd-dialog .sd-cl-form__set--orden,
[data-site-design="nuevo"] .sd-dialog .sd-cl-form__submit { display: none; }

[data-site-design="nuevo"] .sd-cl-form__set { margin: 0 0 var(--sd-s-8); padding: 0; border: 0; min-width: 0; }

[data-site-design="nuevo"] .sd-cl-form__legend { margin: 0 0 var(--sd-s-6); padding: 0; font-size: var(--sd-t-15); line-height: var(--sd-l-15); font-weight: var(--sd-w-700); color: var(--sd-ink); }

[data-site-design="nuevo"] .sd-cl-form__opt { display: flex; align-items: center; gap: var(--sd-s-10); min-height: 40px; font-size: var(--sd-t-15); line-height: var(--sd-l-15); color: var(--sd-ink); cursor: pointer; }

[data-site-design="nuevo"] .sd-cl-form__opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--sd-accent); }

[data-site-design="nuevo"] .sd-cl-form__opt--alone { padding: var(--sd-s-4) var(--sd-s-4) var(--sd-s-8); }

[data-site-design="nuevo"] .sd-cl-form__label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

[data-site-design="nuevo"] .sd-cl-form__count { flex: none; font-size: var(--sd-t-14); color: var(--sd-ink-2); font-variant-numeric: tabular-nums; }

[data-site-design="nuevo"] .sd-cl-form__range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sd-s-8); }

[data-site-design="nuevo"] .sd-cl-form__field { display: flex; flex-direction: column; gap: 4px; font-size: var(--sd-t-13); line-height: var(--sd-l-13); color: var(--sd-ink-2); }

[data-site-design="nuevo"] .sd-cl-form__field input { box-sizing: border-box; width: 100%; height: var(--sd-h-42); padding: 0 var(--sd-s-12); border: 1px solid var(--sd-line); border-radius: var(--sd-r-12); background: var(--sd-paper); color: var(--sd-ink); font: inherit; font-size: var(--sd-t-15); }

[data-site-design="nuevo"] .sd-cl-form__field input:focus-visible,
[data-site-design="nuevo"] .sd-cl-form__opt input:focus-visible { outline: 2px solid var(--sd-focus); outline-offset: 2px; }

[data-site-design="nuevo"] .sd-cl-form__submit { margin-top: var(--sd-s-8); }

/* «Ver los 24 siguientes», the pages and «Mostrando 1–24 de 2.311» */
[data-site-design="nuevo"] .sd-cl-paging { display: flex; flex-direction: column; align-items: center; gap: var(--sd-s-12); margin-top: var(--sd-s-32); }

[data-site-design="nuevo"] .sd-cl-paging > .sd-btn { width: 100%; }

[data-site-design="nuevo"] .sd-cl .sd-cl-paging .sd-pages { margin-top: 0; }

[data-site-design="nuevo"] .sd-cl-paging__note { margin: 0; font-size: var(--sd-t-13); line-height: var(--sd-l-13); color: var(--sd-ink-2); font-variant-numeric: tabular-nums; text-align: center; }

/* «Lo último» by days */
[data-site-design="nuevo"] .sd-cl-day + .sd-cl-day { margin-top: var(--sd-s-32); }

/* The empty states and the campaign that ended */
[data-site-design="nuevo"] .sd-cl-empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sd-s-12); margin: var(--sd-s-16) 0 0; padding: var(--sd-s-20) var(--sd-s-24); border-radius: var(--sd-r-24); background: var(--sd-grey); }

[data-site-design="nuevo"] .sd-cl-empty__title { margin: 0; font-size: var(--sd-t-17); line-height: var(--sd-l-17); font-weight: var(--sd-w-700); color: var(--sd-ink); }

[data-site-design="nuevo"] .sd-cl-empty__list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; font-size: var(--sd-t-15); line-height: var(--sd-l-15); }

[data-site-design="nuevo"] .sd-cl-empty__link { display: inline-flex; align-items: center; min-height: 36px; }

[data-site-design="nuevo"] .sd-cl-empty__actions { display: flex; flex-wrap: wrap; gap: var(--sd-s-8); }

/* «Campañas en marcha» */
[data-site-design="nuevo"] .sd-cl-h2 { margin: 0 0 var(--sd-s-12); font-size: var(--sd-t-22); line-height: var(--sd-l-22); font-weight: var(--sd-w-700); color: var(--sd-ink); }

[data-site-design="nuevo"] .sd-cl-more { margin-top: var(--sd-s-8); }

[data-site-design="nuevo"] .sd-cl-more__summary { list-style: none; cursor: pointer; }

[data-site-design="nuevo"] .sd-cl-more__summary::-webkit-details-marker { display: none; }

[data-site-design="nuevo"] .sd-cl-more[open] > .sd-cl-more__summary { margin-bottom: var(--sd-s-8); }

/* Remate de la fase 2 (the three reviews of 20-11) */

/* The «ⓘ» of the savings section title: the method where it is, a native disclosure (it jumped 7.542 px to a closed fold, and on Black Friday to an anchor its page has not) */
[data-site-design="nuevo"] .sd-section__heading:has(.sd-cl-info) { position: relative; }

[data-site-design="nuevo"] .sd-cl-info { display: inline-flex; align-items: center; }

[data-site-design="nuevo"] .sd-cl-info .sd-lista-pop { position: relative; display: inline-flex; }

[data-site-design="nuevo"] .sd-cl-info .sd-lista-pop__summary { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; list-style: none; cursor: pointer; color: var(--sd-ink-2); border-radius: var(--sd-r-8); }

[data-site-design="nuevo"] .sd-cl-info .sd-lista-pop__summary::-webkit-details-marker { display: none; }

[data-site-design="nuevo"] .sd-cl-info .sd-lista-pop__summary:hover,
[data-site-design="nuevo"] .sd-cl-info .sd-lista-pop[open] > .sd-lista-pop__summary { color: var(--sd-ink); }

[data-site-design="nuevo"] .sd-cl-info .sd-lista-pop__summary:focus-visible { outline: 2px solid var(--sd-focus); outline-offset: 2px; }

[data-site-design="nuevo"] .sd-cl-info .sd-lista-pop__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: min(340px, calc(100vw - 32px)); padding: var(--sd-s-16); border-radius: var(--sd-r-20); background: var(--sd-pop); color: var(--sd-ink-soft); box-shadow: var(--sd-pop-shadow); font-size: var(--sd-t-14); line-height: var(--sd-l-14); font-weight: var(--sd-w-400); }

[data-site-design="nuevo"] .sd-cl-info .sd-lista-pop__panel p { margin: 0 0 var(--sd-s-8); }

[data-site-design="nuevo"] .sd-cl-info .sd-lista-pop__panel p:last-child { margin-bottom: 0; }

/* (on a phone, the panel at the heading's whole width: never past the screen) */
@media (max-width: 767px) {
  [data-site-design="nuevo"] .sd-cl-info .sd-lista-pop { position: static; }

  [data-site-design="nuevo"] .sd-cl-info .sd-lista-pop__panel { left: 0; right: 0; width: auto; }
}

/* The tip of the section of the savings of Black Friday, as today */
[data-site-design="nuevo"] .sd-cl-tip { max-width: 60rem; margin: 0 0 var(--sd-s-12); font-size: var(--sd-t-14); line-height: var(--sd-l-14); color: var(--sd-ink-2); }

/* «También hay N bajadas de precio con estos filtros →» and «Y N productos más baratos que en otras tiendas →», after the pages */
[data-site-design="nuevo"] .sd-cl-cruce { display: flex; justify-content: center; margin: var(--sd-s-24) 0 0; min-width: 0; }

[data-site-design="nuevo"] .sd-cl-cruce__link { gap: 4px; }

/* The drawer: the leaves under their group, «Marca» with its search box */
[data-site-design="nuevo"] .sd-cl-form__opt--sub { padding-left: var(--sd-s-24); }

[data-site-design="nuevo"] .sd-cl-marcas { display: flex; flex-direction: column; min-width: 0; }

[data-site-design="nuevo"] .sd-cl-form__search { display: block; margin: 0 0 var(--sd-s-8); }

[data-site-design="nuevo"] .sd-cl-form__search input { box-sizing: border-box; width: 100%; height: var(--sd-h-42); padding: 0 var(--sd-s-12); border: 1px solid var(--sd-line); border-radius: var(--sd-r-12); background: var(--sd-paper); color: var(--sd-ink); font: inherit; font-size: var(--sd-t-15); }

[data-site-design="nuevo"] .sd-cl-form__search input:focus-visible { outline: 2px solid var(--sd-focus); outline-offset: 2px; }

[data-site-design="nuevo"] .sd-cl-form__all { align-self: flex-start; min-height: 40px; padding: 0; border: 0; background: none; color: var(--sd-link); font: inherit; font-size: var(--sd-t-15); font-weight: var(--sd-w-550); cursor: pointer; }

[data-site-design="nuevo"] .sd-cl-form__all:focus-visible { outline: 2px solid var(--sd-focus); outline-offset: 2px; }

[data-site-design="nuevo"] .sd-cl-form__none { margin: var(--sd-s-4) 0; font-size: var(--sd-t-14); line-height: var(--sd-l-14); color: var(--sd-ink-2); }

/* «Campañas en marcha»: one row that slides on a phone and a tablet, wrapping from 1.024 (ESPEC §1.2) */
[data-site-design="nuevo"] .sd-cl-campanas__fila { min-width: 0; }

[data-site-design="nuevo"] .sd-cl-campanas .sd-chip-row .sd-chip { flex: none; max-width: 100%; }

@media (min-width: 1024px) {
  [data-site-design="nuevo"] .sd-cl-campanas__fila .sd-chip-row { flex-wrap: wrap; overflow: visible; }
}

/* On a phone: the active filters' row and the bar fade at their end when they hold more than the screen shows */
@media (max-width: 767px) {
  [data-site-design="nuevo"] .sd-cl-active__list[data-desborda="true"] { -webkit-mask-image: linear-gradient(to right, black calc(100% - 32px), transparent); mask-image: linear-gradient(to right, black calc(100% - 32px), transparent); }

  [data-site-design="nuevo"] .sd-cl .sd-filterbar::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 24px; background: linear-gradient(to right, transparent, var(--sd-paper)); pointer-events: none; }
}
