/* 17-catalog-mobile.css — what only the phone's catalogue has (task 114); everything else on it is 16-phone.css. Linked
   by Pages/Index.cshtml (@section Styles) on the phone page only, after 16-phone.css. Semantic tokens only. */

/* «Теми»: Категорії · Роки · Зняті over the list, in the sheet's own padding. */
.cm-tree__modes {
  margin: 0 0 var(--space-2);
  padding-left: 0;
  mask-image: none;
}

.cm-filters__reset {
  margin-top: var(--space-3);
}

/* «Теми» · «Фільтри» held under the bar of tabs and search while the cards scroll (task 134): the bar is sticky at the
   header's foot (16-phone.css) and 44 px tall, this row right under it, one layer below so the bar's opened search
   covers it. The same glass as .ui-m-bar (16-phone.css) — change them together. */
.ui-m-bar + .ui-m-filters {
  position: sticky;
  top: calc(var(--m-header) + var(--m-bar, var(--touch)));
  z-index: 9;
  margin-top: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: saturate(1.4) blur(14px);
}

/* «Набори | Мініфігурки» (task 178) under the title, the whole width: two halves of one switch. */
.cm-kind {
  display: flex;
  margin: 0 0 var(--space-2);
}

.cm-kind .ui-segmented__option {
  flex: 1 1 0;
  justify-content: center;
}
