/* ROUND7B: one compact row; the existing sheet holds the full catalogue navigation. */
.list-filters {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-width: 0;
  margin: var(--space-24) 0;
  padding: 0;
  overflow: visible;
  flex-wrap: nowrap;
}
.list-filters .list-quick {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: var(--space-8);
  overflow-x: auto;
  padding-block: var(--space-4);
  scrollbar-width: none;
}
.list-quick::-webkit-scrollbar { display: none; }
.list-filters .list-quick > .chip,
.list-filters .fsheet > summary.fs-open {
  flex: none;
  height: var(--control-s);
  min-height: var(--control-s);
  border-radius: var(--radius-s);
  padding: 0 var(--space-12);
  font: 600 15px/22px var(--font-text);
  white-space: nowrap;
}
.list-filters .list-quick > .chip:not(.on) {
  background: transparent;
  border-color: var(--rule);
  color: var(--ink);
}
.list-filters .fsheet { flex: none; order: 1; }
.list-filters .fsheet > summary.fs-open {
  order: 0;
  background: var(--ink);
  border: var(--border-control) solid var(--ink);
  color: var(--cream);
}
.list-filters .fs-open .ico { color: inherit; }
.list-filter-short { display: none; }
.fsheet .fs-body .fs-l { margin: 0 0 var(--space-8); font-weight: 600; }
.fsheet .fs-body .fs-chips { gap: var(--space-8); }
.fsheet .fs-body .chip,
.fsheet .fs-body .bbtn,
.fsheet .fs-body .fs-chip > span,
.hub .hub-chips > label {
  min-height: var(--control-s);
  border-radius: var(--radius-s);
  font-weight: 600;
}
.fsheet .fs-body .chip { height: auto; padding-block: var(--space-4); }
.fsheet .fs-body .chip img { width: 32px; height: 32px; }
.fsheet .fs-body .fs-chip > span { height: var(--control-s); }
.fsheet .fs-body .fs-chip input:checked + span {
  background: var(--orange-strong);
  border-color: var(--orange-strong);
  color: var(--white);
}
.fsheet .fs-body .fs-wrap { margin-top: 0; gap: var(--space-8); }
.fsheet .fs-body .bbtn-grey {
  background: transparent;
  border: var(--border-control) solid var(--rule);
  color: var(--ink);
}
.fsheet .fs-body .fs-price { border-radius: var(--radius-s); }
.fsheet .fs-body .fs-seg > span { border-radius: var(--radius-s); font-weight: 600; }
.fsheet .fs-body .fs-show { border-radius: var(--radius-m); font-weight: 600; }
.fsheet .fs-body .fs-x { border-radius: var(--radius-m); }
.fsheet[open] > .fs-body {
  border-radius: var(--radius-sheet);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.fsheet .fs-body .fs-foot {
  background: var(--surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.list-filters a:focus-visible,
.list-filters summary:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 2px;
}
.hub .hub-chips > label { background: transparent; }
.lp .lp-cover { border-radius: var(--radius-m); }
.lp .ct-glass { border-radius: var(--radius-xs); font-weight: 600; }
@media (min-width: 834px) {
  .list-filters .fsheet[open] > .fs-body { left: auto; right: 0; }
}
@media (max-width: 833px) {
  .list-filter-long { display: none; }
  .list-filter-short { display: inline; }
  .fsheet[open] > .fs-body { border-radius: var(--radius-sheet) var(--radius-sheet) 0 0; }
  /* Телефон (владелец, 22.10): ряд быстрых фильтров не листается вбок, вместо него одна кнопка «Фильтры» на всю ширину */
  .list-filters .list-quick { display: none; }
  .list-filters .fsheet { flex: 1 1 auto; }
  .list-filters .fsheet > summary.fs-open {
    width: 100%;
    height: var(--control-m, 48px);
    min-height: var(--control-m, 48px);
    justify-content: center;
    gap: var(--space-8);
    border-radius: var(--radius-m);
  }
}
@media (max-width: 767px) {
  .lp > .lp-cover { margin-top: var(--space-16); }
  .bf .fx-foot__links > a:last-child { border-bottom: 0; }
  .bf > .fx-foot__in > .bf-minsk { border-top: 0; }
}
/* the filters row sits 24 px over the cards at every width, as on the home page: on a computer the section's padding
   and the grid's margin stacked another 64 px under it (owner, 05.11: «откуда тут отступ») */
.find > .list-filters + .sec,
.find > .list-filters + .fres { padding-top: 0; }
.find > .list-filters + .sec > .lp-places { margin-top: 0; }
