/* вечорки: search and filters of the catalogue, 1:1 from V-p-search, V-p-results, V-p-nothing, V-p-filters
   (and the dark twins, which are the same roles on the «Вечер» tokens). */

/* ---------------------------------------------------------------- the search line (V-p-search) */
.fsearch { position: relative; display: flex; align-items: center; gap: 12px; padding-top: 16px; flex-wrap: wrap; }
.fs-box { flex: 1 1 0; min-width: 0; height: 48px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px;
  border: var(--bw) solid var(--rule); background: var(--cream); cursor: text; }
.fs-box:focus-within { border-color: var(--orange); }
.fs-box > .ico { width: 24px; height: 24px; flex-shrink: 0; color: var(--ink); }
.fs-box input { flex: 1; min-width: 0; height: 44px; border: 0; padding: 0; background: transparent; color: var(--ink); font: 400 17px/24px 'Nunito Sans', system-ui, sans-serif; }
.fs-box input:focus { outline: none; }
.fs-box input::placeholder { color: var(--graphite); }
.fs-box input::-webkit-search-cancel-button { display: none; }
.fs-clear { display: flex; color: var(--graphite); flex-shrink: 0; }
.fs-clear .ico { width: 16px; height: 16px; }
.fs-cancel { flex-shrink: 0; font-size: 17px; line-height: 24px; font-weight: 600; color: var(--orange-deep); text-decoration: none; }
.fs-cancel[hidden] { display: none; }
@media (min-width: 834px) { .fsearch-phone { display: none; } }

.fs-panel { flex: 1 0 100%; display: flex; flex-direction: column; gap: 24px; padding: 24px 0 8px; }
.fs-panel[hidden], .fs-recent[hidden] { display: none; }
.fs-l { display: block; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--graphite); padding: 0; }
.fs-recent ul { display: flex; flex-direction: column; }
.fs-recent li { display: flex; align-items: center; gap: 12px; height: 56px; }
.fs-recent li + li { border-top: 1px solid var(--line); }
.fs-rec { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-size: 17px; line-height: 24px; }
.fs-rec:hover { color: var(--ink); }
.fs-rec .ico { width: 18px; height: 18px; color: var(--graphite); flex-shrink: 0; }
.fs-rec-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-rec-x { display: flex; border: 0; background: none; padding: 8px; margin-right: -8px; color: var(--graphite); cursor: pointer; }
.fs-rec-x .ico { width: 16px; height: 16px; }
.fs-group { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.fs-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-wrap .bbtn { font-weight: 400; }
.fs-occ { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.fs-occ::-webkit-scrollbar { display: none; }
.fs-occ .chip { font-weight: 400; flex-shrink: 0; }

/* ---------------------------------------------------------------- results (V-p-results) */
.find .chips { align-items: center; }
@media (min-width: 834px) { .find .chips { overflow: visible; flex-wrap: wrap; } }
@media (max-width: 833px) { .find-q > .crumbs { display: none; } }
.ftabs { margin-top: 24px; height: 44px; box-sizing: border-box; padding: 4px; border-radius: 999px; background: var(--paper); display: flex; gap: 4px; max-width: 520px; }
.ftabs a { flex: 1; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink);
  font-size: 15px; line-height: 1; }
.ftabs a span { font-size: 13px; line-height: 18px; color: var(--graphite); }
.ftabs a.on { background: var(--ink); color: var(--cream); font-weight: 600; }
.ftabs a.on span { color: var(--cream); opacity: .75; }
.fres { display: flex; flex-direction: column; gap: 4px; padding-top: 24px; }
.fres + .fres { gap: 12px; }
.fres-h { display: flex; align-items: baseline; gap: 10px; }
.fh { font: 400 28px/32px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.fn { font-size: 17px; line-height: 24px; color: var(--graphite); }
.fres-f { margin-left: auto; align-self: center; }
.frows { display: grid; grid-template-columns: 1fr; column-gap: 48px; }
@media (min-width: 834px) { .frows { grid-template-columns: 1fr 1fr; } }
.frow { display: flex; gap: 14px; padding: 14px 0; align-items: flex-start; border-top: 1px solid var(--line); }
.frow:first-child { border-top: 0; }
@media (min-width: 834px) { .frow:nth-child(2) { border-top: 0; } }
.frow-ph { width: 96px; height: 96px; flex-shrink: 0; border-radius: 16px; background: var(--paper); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.frow-ph > img { width: 100%; height: 100%; object-fit: cover; }
.frow-ph .art-light, .frow-ph .art-dark { width: 64%; height: auto; object-fit: contain; }
.frow-b { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.frow-n { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.frow-n:hover { color: var(--orange-deep); }
.frow-m { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 13px; line-height: 18px; color: var(--graphite); }
.frow-m .bprice { font-size: 13px; line-height: 18px; letter-spacing: .04em; }
.frow-d { font-size: 13px; line-height: 18px; color: var(--graphite); font-style: italic; }
.fnote { height: 30px; margin-bottom: -4px; display: flex; justify-content: flex-end; align-items: flex-end; gap: 4px; pointer-events: none; color: var(--orange); transform: translateY(-10px) rotate(-2deg); }
.fnote .hand-24 { font-size: 22px; }
.fnote .ico { width: 34px; height: 16px; }
.fdishes .dc { width: 150px; }
.fdishes.dc-row-page .dc { width: calc((100% - 12px) / 2); }
@media (min-width: 600px) { .fdishes.dc-row-page .dc { width: calc((100% - 36px) / 4); } }
@media (min-width: 1100px) { .fdishes.dc-row-page .dc { width: calc((100% - 60px) / 6); } }
.fd-t { display: flex; flex-direction: column; }
.fd-p { font-size: 13px; line-height: 18px; color: var(--graphite); }

/* ---------------------------------------------------------------- nothing found (V-p-nothing) */
.fnone { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 0 0; text-align: center; }
.fnone-art { height: 200px; width: auto; }
.fnone > .art-light, .fnone > .art-dark { height: 200px; width: auto; }
.fnone-t { font: 400 28px/32px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); padding-top: 8px; }
.fnone-p { font-size: 17px; line-height: 24px; color: var(--graphite); max-width: 280px; }
.fnone-b { margin-top: 8px; height: 48px; padding: 0 22px 0 24px; font-size: 17px; }
.fnone-l { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--graphite); padding-top: 12px; }
.fnone-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.fnone-chips .bbtn { font-weight: 400; }
.fnone-f { padding-top: 12px; }

/* ---------------------------------------------------------------- the filters sheet (V-p-filters) */
.fsheet { position: relative; }
.fsheet > summary { list-style: none; cursor: pointer; font-weight: 600; padding: 0 18px 0 14px; }
.fsheet > summary::-webkit-details-marker { display: none; }
.fsheet > summary .ico { width: 22px; height: 22px; }
.fsheet > summary .n { font-weight: 600; opacity: 1; min-width: 20px; height: 20px; border-radius: 999px; background: var(--cream); color: var(--orange-deep);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; padding: 0 5px; box-sizing: border-box; }
.fs-dim { display: none; }
.fs-body { display: none; }
.fsheet[open] .fs-body { display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; background: var(--cream); color: var(--ink); text-align: left; }
.fs-grab { display: block; width: 40px; height: 4px; border-radius: 999px; background: var(--rule); margin: 0 auto; opacity: .6; }
.fs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fs-t { font: 400 28px/32px 'Dela Gothic One', 'Arial Black', sans-serif; color: var(--orange); }
.fs-head-r { display: flex; align-items: center; gap: 16px; }
.fs-reset { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--orange-deep); text-decoration: none; }
.fs-x { width: 48px; height: 32px; box-sizing: border-box; border-radius: 999px; border: var(--bw) solid var(--rule); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.fs-x .ico { width: 16px; height: 16px; }
.fs-group legend { margin-bottom: 10px; }
.fs-price { display: flex; gap: 8px; flex-wrap: wrap; }
.fs-seg, .fs-chip { position: relative; cursor: pointer; }
.fs-seg input, .fs-chip input, .fs-switch { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fs-seg > span { height: 40px; padding: 0 16px; box-sizing: border-box; display: inline-flex; align-items: center; border-radius: 999px; border: var(--bw) solid var(--rule); }
.fs-seg .bprice { font-size: 17px; line-height: 24px; font-weight: 400; letter-spacing: .04em; }
.fs-seg input:checked + span { background: var(--orange); border-color: var(--orange); }
.fs-seg input:checked + span .pi { color: #fff; }
.fs-seg input:checked + span .po { color: rgba(255, 255, 255, .55); }
.fs-seg input:checked + span .bprice { font-weight: 600; }
.fs-chips { display: flex; flex-wrap: wrap; gap: 6px; row-gap: 8px; }
.fs-chip > span { height: 32px; padding: 0 12px; box-sizing: border-box; display: inline-flex; align-items: center; border-radius: 999px; border: var(--bw) solid var(--rule);
  font-size: 13px; line-height: 1; white-space: nowrap; color: var(--ink); }
.fs-chip input:checked + span { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; }
.fs-seg input:focus-visible + span, .fs-chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.fs-rows { display: flex; flex-direction: column; }
.fs-row { display: flex; align-items: center; gap: 12px; height: 56px; border-top: 1px solid var(--line); cursor: pointer; font-size: 17px; line-height: 24px; }
.fs-row > span { flex: 1; }
.fs-row::after { content: ""; width: 44px; height: 26px; box-sizing: border-box; border-radius: 999px; border: var(--bw) solid var(--rule); flex-shrink: 0;
  background: radial-gradient(circle 10px at 12px 50%, var(--rule) 9.5px, transparent 10px); }
.fs-row:has(.fs-switch:checked)::after { background: radial-gradient(circle 10px at calc(100% - 12px) 50%, #fff 9.5px, transparent 10px) var(--orange); border-color: var(--orange); }
.fs-row:has(.fs-switch:focus-visible)::after { outline: 3px solid var(--orange); outline-offset: 2px; }
.fs-foot { display: flex; }
.fs-show { width: 100%; justify-content: space-between; padding: 0 28px; }

@media (max-width: 833px) {
  .fsheet[open] .fs-dim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(42, 42, 40, .42); }
  .fsheet[open] .fs-body { position: fixed; left: 0; right: 0; bottom: 0; top: 56px; z-index: 41; padding: 12px 24px 0; border-radius: 28px 28px 0 0; overflow-y: auto;
    overscroll-behavior: contain; animation: fs-up 360ms cubic-bezier(.2, .8, .2, 1) both; }
  .fs-foot { position: sticky; bottom: 0; margin: auto -24px 0; padding: 16px 24px 24px; background: rgba(255, 251, 248, .78); -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3); border-top: 1px solid var(--line); }
}
@media (max-width: 833px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fs-foot { background: rgba(29, 26, 24, .78); } }
@media (max-width: 833px) { :root[data-theme="dark"] .fs-foot { background: rgba(29, 26, 24, .78); } }
@media (min-width: 834px) {
  .fsheet[open] .fs-body { position: absolute; top: calc(100% + 8px); left: 0; z-index: 41; width: 390px; max-height: min(640px, calc(100vh - 160px)); overflow-y: auto; padding: 20px 24px 24px;
    border-radius: 28px; border: var(--bw) solid var(--line); box-shadow: 0 18px 48px rgba(42, 42, 40, .16); }
  .fres-f .fsheet[open] .fs-body, .fnone-f .fsheet[open] .fs-body { left: auto; right: 0; }
  .fnone-f .fsheet[open] .fs-body { left: 50%; right: auto; transform: translateX(-50%); }
  .fs-grab { display: none; }
}
@keyframes fs-up { from { transform: translateY(32px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fsheet[open] .fs-body { animation: none; } }
html.fs-lock, html.fs-lock body { overflow: hidden; }

/* «Удиви меня»: the place's own photo fills the well */
.sp-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.sp-cover ~ .bphoto-label:empty { display: none; }
