/* 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) {
  /* «Фильтры» opens the row on the left: the panel hangs from its left edge, not off the screen (owner 12.11) */
  .list-filters .fsheet[open] > .fs-body { left: 0; right: auto; }
}
@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; }

/* ---- audit 11.2026, zone catalog: the quick chips, the map, what is on, the sheet's order */
.list-filters { flex-wrap: wrap; row-gap: var(--space-8); }
.list-filters .list-map {
  flex: none; order: 1; height: var(--control-s); min-height: var(--control-s); border-radius: var(--radius-s);
  padding: 0 var(--space-12); gap: var(--space-6); font: 600 15px/22px var(--font-text); white-space: nowrap;
  background: transparent; border: var(--border-control) solid var(--rule); color: var(--ink);
}
.list-filters .list-map .ico { width: 18px; height: 18px; }
.list-filters .list-quick { order: 2; flex-wrap: wrap; overflow: visible; }
.list-filters .list-quick > .chip { gap: var(--space-6); }
.list-filters .list-quick > .chip .ico { width: 14px; height: 14px; }
.list-filters .fsheet > summary .n {
  min-width: 20px; height: 20px; padding: 0 var(--space-6); border-radius: var(--radius-xs); box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; background: var(--cream); color: var(--ink); font: 700 12px/1 var(--font-text);
}
.fsheet .fs-body .fs-reset { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-8); }
.fsheet .fs-body .fs-reset[hidden] { display: none; }
.fsheet .fs-body .fs-chip .n { margin-left: var(--space-6); font-weight: 400; color: var(--graphite); }
.fsheet .fs-body .fs-chip input:checked + span .n { color: inherit; }
.fsheet .fs-body .fs-seg > span { font: 600 15px/20px var(--font-text); }
.fsheet .fs-body .fs-seg input:checked + span { color: var(--white); }
.fs-more > summary { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--space-8); cursor: pointer; list-style: none;
  font: 600 15px/20px var(--font-text); color: var(--orange-deep); }
.fs-more > summary::-webkit-details-marker { display: none; }
.fs-more[open] > summary { display: none; }
.pager span[aria-current] { background: var(--orange-strong); border-color: var(--orange-strong); color: var(--white); }
.pager-next { display: flex; width: max-content; margin: var(--space-32) auto 0; gap: var(--space-8); }
.pager-next + .pager { margin-top: var(--space-16); }
.find-h-page { margin: var(--space-24) 0 0; font: 400 22px/28px var(--font-display); color: var(--ink); }
.lp-back { display: none; }
@media (min-width: 834px) {
  .list-filters .list-quick { flex-wrap: nowrap; overflow-x: auto; }
}
@media (max-width: 833px) {
  /* the phone gets the quick chips back, wrapped under «Фильтры» and the map, never sideways (audit F0.0) */
  .list-filters .list-quick { display: flex; flex-basis: 100%; }
  .list-filters .list-quick > .list-wide { display: none; }
  .list-filters .fsheet { flex: 1 1 0; }
  .find-root > .crumbs { display: none; }
}
@media (max-width: 767px) {
  .lp-back { display: inline-flex; align-items: center; gap: var(--space-4); min-height: 44px; margin-top: var(--space-8);
    font: 600 15px/20px var(--font-text); color: var(--ink); text-decoration: none; }
  .lp-back .ico { width: 18px; height: 18px; }
  /* the first card is big but its name and its line stay over the tab bar (F0.4) */
  .find .lp-places > .wow-featured { aspect-ratio: 342 / 260; }
}

/* a list's card: the bill in words, today's status, the street or the dish that matched */
.wow-venue .wow-bill { white-space: nowrap; }
.wow-venue .wow-where { font: 400 12px/16px var(--font-text); opacity: .86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.wow-featured .wow-where { font-size: 14px; line-height: 18px; }
.wow-no-photo .wow-where { color: var(--graphite); opacity: 1; }
/* a name keeps its words: two lines, no cut inside a word (F3.7) */
.lp-places .wow-venue .wow-photo-copy h2 { overflow-wrap: normal; word-break: normal; hyphens: manual; }
