    /* All component styles below resolve --bf-* tokens loaded by
       baly-food-tokens.css (registered globally). */

    .baly-vendors-app{
      font-family:var(--bf-font);
      color:var(--bf-fg);
      direction:rtl;
      position:relative;
    }

    /* ── Filter bar ─────────────────────────────────────
       Sticky behaviour driven by baly-food-sticky.js (JS-fixed) so
       it survives Elementor's overflow:hidden + transform
       containing-block traps. The JS computes its top offset live —
       header + cat-slider height when both are stuck, just header
       when only the bar is stuck.

       At rest the bar is transparent so the page palette shows
       through. Frosted-glass white turns on only when pinned,
       driven by .is-stuck (added by the JS controller). */
    .baly-vendors-app .bv-filterbar{
      position:relative;
      display:flex;
      flex-wrap:nowrap;
      align-items:center;
      gap:8px;
      padding:12px 4px;
      margin:0 -4px 8px;
      background:transparent;
      transition:background .15s var(--bf-ease-out), box-shadow .15s var(--bf-ease-out), padding .15s var(--bf-ease-out);
    }
    /* The chips scroll horizontally; the tools stay pinned at the inline-end
       so their popovers escape the scroll's overflow clipping. */
    .baly-vendors-app .bv-chips{
      display:flex;
      flex-wrap:nowrap;
      align-items:center;
      gap:6px;
      flex:1 1 auto;
      min-width:0;
      overflow-x:auto;
      scrollbar-width:none;
      padding:2px;
    }
    .baly-vendors-app .bv-chips::-webkit-scrollbar{display:none}
    .baly-vendors-app .bv-tools{ flex:0 0 auto; display:flex; align-items:center; gap:8px; }
    /* When pinned to the viewport (.is-stuck added by baly-food-sticky.js)
       the filter bar carries the bottom shadow for the whole stacked
       sticky stack (cat slider sits above it with only a hairline
       separator). Solid white because some themes globally disable
       backdrop-filter, leaving rgba+blur visually broken.

       Bottom corners rounded so the panel reads as a card; top corners
       stay sharp because they sit flush against the cat-slider above
       (or directly under the user's site header when there's no cat
       slider on the page). */
    .baly-vendors-app .bv-filterbar.is-stuck{
      background:var(--bf-white);
      padding:12px 16px;
      box-shadow:0 8px 18px rgba(10,10,10,.05);
      border-bottom-left-radius:var(--bf-radius-lg);
      border-bottom-right-radius:var(--bf-radius-lg);
    }

    /* Filter chip — design ref .fchip */
    .baly-vendors-app .fchip{
      flex:none;
      box-sizing:border-box;
      min-height:34px; /* uniform pill height across all chips, incl. the PRO chip */
      padding:9px 14px;
      border-radius:var(--bf-radius-pill);
      font-family:inherit;
      font-size:13px;
      font-weight:700;
      border:1px solid var(--bf-border);
      background:var(--bf-white);
      color:var(--bf-grey-700);
      cursor:pointer;
      transition:all .12s var(--bf-ease-out);
      white-space:nowrap;
      display:inline-flex;
      align-items:center;
      gap:7px;
      line-height:1;
    }
    .baly-vendors-app .fchip:hover{
      color:var(--bf-fg);
      background:var(--bf-grey-50);
      border-color:var(--bf-grey-300);
    }
    .baly-vendors-app .fchip.active{
      background:var(--bf-brand);
      color:var(--bf-white);
      border-color:var(--bf-brand);
      box-shadow:0 4px 12px var(--bf-brand-20);
    }
    .baly-vendors-app .fchip svg{ width:13px; height:13px; flex:none; }

    /* PRO mark inside the PRO fchip */
    .baly-vendors-app .fchip.pro{ padding:5px 6px; }
    .baly-vendors-app .fchip .pro-mark{
      display:inline-flex;
      align-items:center;
      background:var(--bf-pro);
      color:var(--bf-white);
      padding:4px 10px;
      border-radius:var(--bf-radius-pill);
      line-height:1;
    }
    .baly-vendors-app .fchip .pro-mark img{
      height:14px;
      width:auto;
      display:block;
    }
    .baly-vendors-app .fchip.pro.active{
      background:var(--bf-brand);
      border-color:var(--bf-brand);
    }
    .baly-vendors-app .fchip.pro.active .pro-mark{
      background:rgba(255,255,255,.18);
    }

    @media (max-width:600px){
      .baly-vendors-app .bv-filterbar{ padding:10px 4px; gap:5px; }
      .baly-vendors-app .fchip{ padding:7px 11px; font-size:12px; gap:5px; min-height:30px; }
      .baly-vendors-app .fchip svg{ width:11px; height:11px; }
      .baly-vendors-app .fchip .pro-mark{ padding:3px 8px; }
      .baly-vendors-app .fchip .pro-mark img{ height:12px; }
    }

    /* ── Grid ────────────────────────────────────────── */
    .baly-vendors-app .bv-grid{
      display:grid;
      grid-template-columns:repeat(4, minmax(0, 1fr));
      gap:14px;
      padding-top:14px;
    }
    @media (max-width:1100px){.baly-vendors-app .bv-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}}
    @media (max-width:820px) {.baly-vendors-app .bv-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}}
    @media (max-width:480px) {.baly-vendors-app .bv-grid{grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px}}

    /* ── Card (anatomy mirrors .vl-card) ────────────── */
    .baly-vendors-app .card{
      position:relative;
      display:flex;
      flex-direction:column;
      background:var(--bf-white);
      border-radius:var(--bf-radius-lg);
      overflow:hidden;
      box-shadow:0 1px 3px rgba(10,10,10,.04), 0 1px 2px rgba(10,10,10,.03);
      transition:transform .2s var(--bf-ease-out), box-shadow .2s var(--bf-ease-out);
    }
    .baly-vendors-app .card:hover{
      transform:translateY(-3px);
      box-shadow:0 14px 30px rgba(10,10,10,.10), 0 4px 8px rgba(10,10,10,.06);
    }

    .baly-vendors-app .imgwrap{
      position:relative;
      aspect-ratio:2/1;
      background:var(--bf-grey-100);
      overflow:hidden;
    }
    .baly-vendors-app .imgwrap::after{
      content:"";
      position:absolute; inset:0;
      pointer-events:none;
      background:linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,0) 60%, rgba(0,0,0,.10) 100%);
    }
    .baly-vendors-app .imgwrap img.main{
      width:100%; height:100%;
      object-fit:cover;
      display:block;
    }

    .baly-vendors-app .pro-badge-cover{
      position:absolute;
      top:10px; left:10px;
      z-index:3;
      background:var(--bf-pro);
      color:var(--bf-white);
      padding:5px 10px;
      border-radius:var(--bf-radius-pill);
      font-size:11px;
      font-weight:700;
      line-height:1.1;
      letter-spacing:.01em;
      display:inline-flex;
      align-items:center;
      gap:6px;
      box-shadow:var(--bf-shadow-1);
      direction:rtl;
    }
    .baly-vendors-app .pro-badge-cover .pro-svg{
      height:14px; width:auto;
      display:block; flex:none;
      border-radius:3px;
    }
    .baly-vendors-app .pro-badge-cover .pro-text{ line-height:1; white-space:nowrap; }
    @media (max-width:480px){
      .baly-vendors-app .pro-badge-cover{ padding:4px 6px; gap:0; }
      .baly-vendors-app .pro-badge-cover .pro-text{ display:none; }
    }

    .baly-vendors-app .badge-rating{
      position:absolute;
      bottom:10px; left:10px;
      z-index:2;
      background:#FFF8E1;
      border:1px solid #F5E3A6;
      color:var(--bf-grey-900);
      direction:ltr;
      unicode-bidi:isolate;
      font-size:12px; font-weight:700;
      line-height:1.1;
      padding:4px 9px 4px 10px;
      border-radius:var(--bf-radius-pill);
      display:inline-flex;
      align-items:center;
      gap:4px;
      box-shadow:var(--bf-shadow-1);
    }
    .baly-vendors-app .badge-rating svg{ width:12px; height:12px; flex:none; }

    .baly-vendors-app .badge-discount{
      position:absolute;
      top:10px; right:10px;
      z-index:2;
      background:var(--bf-brand);
      color:var(--bf-white);
      direction:ltr;
      font-size:13px; font-weight:700;
      line-height:1.1;
      padding:6px 12px;
      border-radius:var(--bf-radius-pill);
      box-shadow:var(--bf-shadow-1);
    }

    .baly-vendors-app .logo-chip{
      position:absolute;
      right:10px; bottom:10px;
      z-index:2;
      width:46px; height:46px;
      border-radius:var(--bf-radius-md);
      background:var(--bf-white);
      border:2px solid var(--bf-white);
      box-shadow:0 2px 10px rgba(0,0,0,.16);
      overflow:hidden;
      display:flex; align-items:center; justify-content:center;
    }
    .baly-vendors-app .logo-chip img{
      width:100%; height:100%;
      object-fit:cover;
      display:block;
    }

    .baly-vendors-app .content{
      padding:10px 12px 11px;
      display:flex;
      flex-direction:column;
      gap:4px;
    }
    .baly-vendors-app .name{
      margin:0;
      font-family:var(--bf-font);
      font-weight:900;
      font-synthesis-weight:none;
      font-size:15px;
      line-height:1.25;
      letter-spacing:-.01em;
      color:var(--bf-grey-900);
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      text-align:right;
    }

    /* Meta — time on right (success), delivery on left (brand).
       Icon style mirrors the vendor-menu page's .stat .ic chrome:
       small rounded square with a tinted background. */
    .baly-vendors-app .meta{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:8px;
      color:var(--bf-grey-800);
      font-size:12px;
      font-weight:700;
    }
    .baly-vendors-app .meta .cell{
      display:inline-flex;
      align-items:center;
      gap:6px;
      white-space:nowrap;
    }
    .baly-vendors-app .meta .ico{
      width:22px; height:22px;
      border-radius:var(--bf-radius-sm);
      flex:none;
      display:inline-flex;
      align-items:center;
      justify-content:center;
    }
    .baly-vendors-app .meta .ico svg{
      width:12px; height:12px;
      display:block;
    }
    .baly-vendors-app .meta .ico-brand{
      background:var(--bf-brand-lighter);
      color:var(--bf-brand);
    }
    .baly-vendors-app .meta .ico-success{
      background:var(--bf-success-light);
      color:var(--bf-success);
    }
    .baly-vendors-app .meta .num{
      direction:ltr;
      unicode-bidi:isolate;
      font-feature-settings:"tnum" 1;
    }
    .baly-vendors-app .meta .free{
      color:var(--bf-success);
      font-weight:800;
    }
    @media (max-width:480px){
      .baly-vendors-app .meta{ font-size:11.5px; }
      .baly-vendors-app .meta .cell{ gap:5px; }
      .baly-vendors-app .meta .ico{ width:20px; height:20px; }
      .baly-vendors-app .meta .ico svg{ width:11px; height:11px; }
      .baly-vendors-app .logo-chip{ width:42px; height:42px; }
      .baly-vendors-app .name{ font-size:14px; }
    }

    .baly-vendors-app .card .card-hit{
      position:absolute; inset:0; z-index:5;
      text-indent:-9999px;
    }

    .baly-vendors-app .empty,
    .baly-vendors-app .err{
      grid-column:1/-1;
      padding:1.5rem 1rem;
      text-align:center;
      color:var(--bf-grey-600);
      background:var(--bf-grey-50);
      border-radius:var(--bf-radius-md);
    }

    /* ── Sticky CTA — design-system .cta-btn pattern ── */
    .baly-vendors-app .baly-cta-bar{
      position:fixed;
      left:0; right:0;
      bottom:max(20px, env(safe-area-inset-bottom));
      z-index:2147483647;
      display:flex;
      justify-content:center;
      pointer-events:none;
      transition:transform .25s var(--bf-ease-out), opacity .25s var(--bf-ease-out);
    }
    /* Slide out of view once the footer is reached (toggled by the inline JS). */
    .baly-vendors-app .baly-cta-bar.is-hidden-bottom{
      transform:translateY(160%);
      opacity:0;
      pointer-events:none;
    }
    .baly-vendors-app .baly-cta-bar-inner{
      width:calc(100% - 48px);
      max-width:520px;
      display:flex;
      justify-content:center;
      pointer-events:auto;
    }
    .baly-vendors-app .baly-cta-btn{
      width:100%;
      display:grid;
      grid-template-columns:auto 1fr auto;
      align-items:center;
      gap:14px;
      padding:16px 22px;
      background:var(--bf-brand);
      color:var(--bf-white);
      border:none;
      border-radius:var(--bf-radius-pill);
      font-family:var(--bf-font);
      font-size:16px;
      font-weight:800;
      text-decoration:none;
      box-shadow:var(--bf-shadow-brand);
      cursor:pointer;
      transition:transform .15s ease, background .15s ease, box-shadow .15s ease;
    }
    .baly-vendors-app .baly-cta-btn:hover{
      transform:translateY(-2px);
      background:var(--bf-brand-hover);
      box-shadow:0 8px 28px rgba(0,67,255,.32);
    }
    .baly-vendors-app .baly-cta-btn:active{ transform:translateY(0); }
    .baly-vendors-app .baly-cta-btn:focus-visible{
      outline:2px solid var(--bf-brand-active);
      outline-offset:3px;
    }
    .baly-vendors-app .baly-cta-ic{
      width:36px; height:36px;
      border-radius:var(--bf-radius-pill);
      background:rgba(255,255,255,.18);
      display:flex; align-items:center; justify-content:center;
      flex:none;
    }
    .baly-vendors-app .baly-cta-ic svg{ width:20px; height:20px; }
    .baly-vendors-app .baly-cta-txt{
      text-align:start;
      display:flex;
      flex-direction:column;
      gap:2px;
      line-height:1.1;
      min-width:0;
      overflow:hidden;
    }
    .baly-vendors-app .baly-cta-txt > span:first-child{
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .baly-vendors-app .baly-cta-txt .sub{
      font-size:11.5px;
      font-weight:600;
      opacity:.85;
    }
    .baly-vendors-app .baly-cta-chev{ display:flex; align-items:center; opacity:.85; flex:none; }
    .baly-vendors-app .baly-cta-chev svg{ width:14px; height:14px; }
    .baly-vendors-app .baly-cta-spacer{ height:96px; }

    @media (max-width:520px){
      .baly-vendors-app .baly-cta-bar{ bottom:14px; }
      .baly-vendors-app .baly-cta-bar-inner{ width:calc(100% - 28px); max-width:none; }
      .baly-vendors-app .baly-cta-btn{ padding:13px 16px; font-size:14px; gap:10px; }
      .baly-vendors-app .baly-cta-ic{ width:30px; height:30px; }
      .baly-vendors-app .baly-cta-ic svg{ width:16px; height:16px; }
      .baly-vendors-app .baly-cta-txt .sub{ font-size:10.5px; }
    }

    /* ── Filter / sort tools (ported from the /vendors page, .baly-vpage) ──
       Mirrors asset/css/vendors-page.css, rescoped to .baly-vendors-app. */
    .baly-vendors-app .tool-btn{
      flex:none; height:40px; padding:0 16px; border-radius:var(--bf-radius-pill);
      font-family:inherit; font-size:13.5px; font-weight:700;
      border:1px solid var(--bf-border); background:#fff; color:var(--bf-grey-800);
      cursor:pointer; display:inline-flex; align-items:center; gap:8px; line-height:1; white-space:nowrap;
      transition:background .12s, border-color .12s; position:relative;
    }
    .baly-vendors-app .tool-btn:hover{ background:var(--bf-grey-50); border-color:var(--bf-grey-300); }
    .baly-vendors-app .tool-btn svg{ width:16px; height:16px; }
    .baly-vendors-app .tool-btn.has-value{ border-color:var(--bf-brand); color:var(--bf-brand); background:var(--bf-brand-lighter); }
    .baly-vendors-app .tool-btn .pill-count{ background:var(--bf-brand); color:#fff; font-size:11px; font-weight:700; min-width:18px; height:18px; padding:0 5px; border-radius:var(--bf-radius-pill); display:inline-flex; align-items:center; justify-content:center; }
    .baly-vendors-app .tool-btn .sort-val{ color:var(--bf-brand); font-weight:700; }

    .baly-vendors-app .pop-wrap{ position:relative; }
    .baly-vendors-app .pop{
      position:absolute; top:calc(100% + 10px); z-index:60;
      background:#fff; border:1px solid var(--bf-border); border-radius:var(--bf-radius-xl);
      box-shadow:var(--bf-shadow-3); padding:6px; min-width:240px;
      opacity:0; transform:translateY(-6px) scale(.98); pointer-events:none; transform-origin:top left;
      transition:opacity .14s var(--bf-ease-out), transform .14s var(--bf-ease-out);
    }
    .baly-vendors-app .pop.open{ opacity:1; transform:none; pointer-events:auto; }
    .baly-vendors-app .pop-left{ left:0; }
    .baly-vendors-app .sort-item{
      display:flex; align-items:center; gap:10px; width:100%; text-align:start;
      padding:11px 12px; border:none; background:none; border-radius:var(--bf-radius-md);
      font-family:inherit; font-size:14px; font-weight:600; color:var(--bf-grey-800); cursor:pointer;
    }
    .baly-vendors-app .sort-item:hover{ background:var(--bf-grey-50); }
    .baly-vendors-app .sort-item .check{ margin-inline-start:auto; width:18px; height:18px; color:var(--bf-brand); opacity:0; }
    .baly-vendors-app .sort-item.active{ color:var(--bf-brand); }
    .baly-vendors-app .sort-item.active .check{ opacity:1; }

    .baly-vendors-app .filters{ min-width:330px; max-width:330px; padding:0; }
    .baly-vendors-app .filters-head{ display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border-bottom:1px solid var(--bf-border-subtle); }
    .baly-vendors-app .filters-head h3{ margin:0; font-size:16px; font-weight:700; }
    .baly-vendors-app .filters-head .clear{ background:none; border:none; font-family:inherit; font-size:13px; font-weight:700; color:var(--bf-brand); cursor:pointer; padding:4px; }
    .baly-vendors-app .filters-body{ padding:18px; display:flex; flex-direction:column; gap:20px; max-height:60vh; overflow-y:auto; }
    .baly-vendors-app .fgroup-label{ font-size:13px; font-weight:700; color:var(--bf-grey-900); margin-bottom:10px; display:block; }
    .baly-vendors-app .opt-row{ display:flex; flex-wrap:wrap; gap:8px; }
    .baly-vendors-app .opt{
      height:38px; padding:0 14px; border-radius:var(--bf-radius-pill); border:1px solid var(--bf-border);
      background:#fff; color:var(--bf-grey-700); font-family:inherit; font-size:13px; font-weight:700;
      cursor:pointer; display:inline-flex; align-items:center; gap:6px; line-height:1; transition:all .12s;
    }
    .baly-vendors-app .opt:hover{ border-color:var(--bf-grey-300); background:var(--bf-grey-50); }
    .baly-vendors-app .opt svg{ width:14px; height:14px; }
    .baly-vendors-app .opt.active{ background:var(--bf-brand); border-color:var(--bf-brand); color:#fff; }
    .baly-vendors-app .opt .star{ color:#FFB800; }
    .baly-vendors-app .opt.active .star{ color:#fff; }
    .baly-vendors-app .opt .num{ direction:ltr; unicode-bidi:isolate; }
    .baly-vendors-app .filters-foot{ display:flex; gap:10px; padding:14px 18px; border-top:1px solid var(--bf-border-subtle); }
    .baly-vendors-app .filters-foot .btn{ flex:1; height:46px; border-radius:var(--bf-radius-pill); font-family:inherit; font-size:14px; font-weight:700; cursor:pointer; border:1px solid var(--bf-border); background:#fff; color:var(--bf-grey-800); }
    .baly-vendors-app .filters-foot .btn.primary{ background:var(--bf-brand); border-color:var(--bf-brand); color:#fff; flex:2; }
    .baly-vendors-app .filters-foot .btn:hover{ background:var(--bf-grey-50); }
    .baly-vendors-app .filters-foot .btn.primary:hover{ background:var(--bf-brand-hover); }

    /* active-filter summary pills */
    .baly-vendors-app .active-pills{ display:flex; flex-wrap:wrap; gap:8px; padding:0 2px 10px; }
    .baly-vendors-app .active-pills:empty{ display:none; }
    .baly-vendors-app .apill{ display:inline-flex; align-items:center; gap:6px; height:32px; padding:0 6px 0 12px; border-radius:var(--bf-radius-pill); background:var(--bf-brand-lighter); color:var(--bf-brand); font-size:12.5px; font-weight:700; border:1px solid var(--bf-brand-light); font-family:inherit; }
    .baly-vendors-app .apill button{ display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border:none; background:rgba(0,67,255,.12); color:var(--bf-brand); border-radius:50%; cursor:pointer; padding:0; }
    .baly-vendors-app .apill button svg{ width:11px; height:11px; }
    .baly-vendors-app .apill.clear-all{ background:none; border:1px dashed var(--bf-grey-300); color:var(--bf-grey-600); padding:0 14px; cursor:pointer; font-family:inherit; font-size:12.5px; font-weight:700; }
    .baly-vendors-app .apill.clear-all:hover{ border-color:var(--bf-grey-600); color:var(--bf-grey-800); }

    /* scrim for the mobile filter sheet */
    .baly-vendors-app .bv-scrim{ position:fixed; inset:0; background:rgba(10,10,10,.4); z-index:55; opacity:0; pointer-events:none; transition:opacity .2s; }
    .baly-vendors-app .bv-scrim.show{ opacity:1; pointer-events:auto; }

    @media (max-width:680px){
      /* filters become a bottom sheet */
      .baly-vendors-app .filters{ position:fixed; left:0; right:0; bottom:0; top:auto; min-width:0; max-width:none; width:100%; border-radius:var(--bf-radius-2xl) var(--bf-radius-2xl) 0 0; transform:translateY(100%); transition:transform .26s var(--bf-ease-out); max-height:88vh; z-index:60; }
      .baly-vendors-app .filters.open{ transform:none; }
      .baly-vendors-app .filters-body{ max-height:none; }
    }
