/* ŁapDeal Listing V44 — tylko mobile. Wspólne okno kategorii + wybór auta.
   Reguły nie ingerują w desktopowe kategorie i standardowe filtry V2. */
@media (max-width:690px) {
  #ld2CategoryLevels .ld2-category-root-popup .ld2-category-columns.ld2-cv-active.is-mobile-branch .ld2-category-branch {
    display:flex!important;
    flex-direction:column;
    padding:0 0 env(safe-area-inset-bottom,0px)!important;
    gap:0;
  }
  #ld2CategoryLevels .ld2-cv-nav {
    display:flex;align-items:center;gap:12px;
    flex:0 0 auto;padding:12px 15px;
    background:#fff;border-bottom:1px solid #e9edf3;
  }
  #ld2CategoryLevels .ld2-cv-back {
    display:grid;place-items:center;flex:0 0 42px;
    width:42px;height:42px;border:1px solid #dbe3ec;
    border-radius:11px;background:#f7f9fc;color:#293d52;
    font:600 24px/1 Arial,system-ui,sans-serif;cursor:pointer;
  }
  #ld2CategoryLevels .ld2-cv-nav-title {display:flex;flex-direction:column;gap:3px;min-width:0}
  #ld2CategoryLevels .ld2-cv-nav-title strong {font:700 17px/1.25 Arial,system-ui,sans-serif;color:#1e344d}
  #ld2CategoryLevels .ld2-cv-nav-title span {font:500 12px/1.3 Arial,system-ui,sans-serif;color:#75849a}
  #ld2CategoryLevels .ld2-cv-crumbs {
    display:flex;flex:0 0 auto;align-items:center;gap:6px;
    overflow-x:auto;scrollbar-width:none;white-space:nowrap;
    padding:12px 15px 6px;
  }
  #ld2CategoryLevels .ld2-cv-crumbs::-webkit-scrollbar {display:none}
  #ld2CategoryLevels .ld2-cv-crumbs span {
    flex:0 0 auto;display:inline-flex;align-items:center;
    max-width:min(230px,75vw);min-height:28px;padding:5px 10px;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    border:1px solid #edf0f4;background:#f7f9fc;border-radius:30px;
    color:#52667b;font:600 11px/1.2 Arial,system-ui,sans-serif;
  }
  #ld2CategoryLevels .ld2-cv-hint {
    margin:0;padding:7px 16px 11px;
    color:#62738a;font:400 13px/1.5 Arial,system-ui,sans-serif;
  }
  #ld2CategoryLevels .ld2-cv-list {
    display:flex;flex:1 1 auto;flex-direction:column;gap:4px;
    min-height:70px;overflow-y:auto;overscroll-behavior:contain;
    padding:2px 12px 18px;
  }
  #ld2CategoryLevels .ld2-cv-row {
    appearance:none;width:100%;min-height:51px;
    display:flex;align-items:center;gap:12px;text-align:left;
    border:1px solid transparent;border-radius:11px;
    background:#fff;color:#20364d;
    padding:7px 12px;cursor:pointer;
    font:600 14px/1.35 Arial,system-ui,sans-serif;
  }
  #ld2CategoryLevels .ld2-cv-row:hover,#ld2CategoryLevels .ld2-cv-row:focus-visible {
    background:#fff5ed;border-color:#ffe1cb;outline:none;
  }
  #ld2CategoryLevels .ld2-cv-row-icon {
    display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;
    border-radius:10px;background:#f4f7fa;color:#f56b2e;
    font:700 13px/1 Arial,system-ui,sans-serif;
  }
  #ld2CategoryLevels .ld2-cv-row>span:nth-child(2){flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #ld2CategoryLevels .ld2-cv-arrow {margin-left:auto;color:#95a4b4;font:400 23px/1 Arial,system-ui,sans-serif}
  #ld2CategoryLevels .ld2-cv-status {padding:12px;margin:0;color:#68798e;font:400 13px/1.55 Arial,system-ui,sans-serif}
  #ld2CategoryLevels .ld2-cv-review {
    margin:8px 3px;padding:18px 14px;border-radius:12px;
    background:#f7f9fc;color:#25405b;font:600 14px/1.6 Arial,system-ui,sans-serif;
  }
  #ld2CategoryLevels .ld2-cv-footer {
    position:sticky;bottom:0;z-index:3;
    display:flex;flex:0 0 auto;flex-direction:column;gap:8px;
    padding:13px 14px calc(12px + env(safe-area-inset-bottom,0px));
    background:#fff;border-top:1px solid #edf0f4;
    box-shadow:0 -8px 22px rgba(18,39,63,.05);
  }
  #ld2CategoryLevels .ld2-cv-apply {
    appearance:none;display:block;width:100%;min-height:48px;
    border:0;border-radius:11px;background:#f66a29;color:#fff;
    padding:11px 14px;text-align:center;
    font:700 14px/1.35 Arial,system-ui,sans-serif;
    cursor:pointer;
  }
  #ld2CategoryLevels .ld2-cv-apply:hover,#ld2CategoryLevels .ld2-cv-apply:focus-visible{background:#e85b1c;outline:2px solid #ffb18c;outline-offset:2px}
  #ld2CategoryLevels .ld2-cv-change-category {
    appearance:none;align-self:center;padding:4px 12px;
    border:0;background:transparent;color:#576f88;
    font:600 12px/1.45 Arial,system-ui,sans-serif;cursor:pointer;
  }
  #ld2CategoryLevels .ld2-cv-retry {
    padding:11px 15px;margin:6px 4px;align-self:flex-start;
    border:1px solid #f4c8ae;border-radius:9px;
    background:#fff4eb;color:#a5491d;font:600 13px/1.3 Arial,system-ui,sans-serif;
  }
}
@media (max-width:690px){
  /* Zapobiega przywracaniu starej listy z kolejnych poziomów kategorii. */
  #ld2CategoryLevels .ld2-pretty-wrap:not(.ld2-category-root-picker) > .ld2-pretty-pop {
    display:none!important;
  }
}
