/*!
 * page-listing.css — lista opon (listing.php). Prefiks klas: lst-. Korzysta z tokenów z oponeus-ui.css (--ou-*).
 */

/* ---------- Układ ---------- */
.lst { padding-top: 20px; padding-bottom: 24px; }
.lst-head { margin-bottom: 18px; }
.lst-h1 { font-size: 26px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.01em; }
@media (min-width: 992px) { .lst-h1 { font-size: 32px; } }
.lst-sub { margin: 0; color: var(--ou-muted); font-size: 14.5px; }
.lst-sub strong { color: var(--ou-ink); font-weight: 600; }
.lst-sub__sep { margin: 0 6px; color: var(--ou-line-strong); }

.lst-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 992px) { .lst-layout { grid-template-columns: 280px minmax(0, 1fr); } }
.lst-main { min-width: 0; outline: none; }

/* ikony: body.ou-body svg {height:auto} z oponeus-ui.css ma wyższą specyficzność niż .ou-ico — stąd prefiks */
body.ou-body .lst .ou-ico, body.ou-body .lst-toast .ou-ico { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
.lst-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ou-primary); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; }
.lst-badge--light { background: #fff; color: var(--ou-primary); }

/* ---------- Filtry ---------- */
.lst-filters__panel { background: #fff; }
.lst-filters__head { display: flex; align-items: center; gap: 10px; padding: 0 0 12px; border-bottom: 1px solid var(--ou-line); }
.lst-filters__title { display: flex; align-items: center; gap: 8px; margin: 0 !important; font-size: 18px !important; }
.lst-filters__clear { margin-left: auto; font-size: 13.5px; font-weight: 500; }
.lst-filters__close { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ou-ink) !important; }
.lst-filters__close:hover { background: var(--ou-bg-soft); text-decoration: none !important; }
body.ou-body .lst-filters__close .ou-ico { width: 22px; height: 22px; }
.lst-filters__foot { display: none; }
.lst-filters__backdrop { display: none; }

.lst-form { display: block; }
.lst-group { border: 0; border-bottom: 1px solid var(--ou-line); margin: 0; padding: 16px 0; min-width: 0; }
.lst-group:last-of-type { border-bottom: 0; }
.lst-group__title { display: flex; align-items: center; gap: 8px; float: left; width: 100%; padding: 0; margin: 0 0 10px; font-weight: 600; font-size: 14.5px; color: var(--ou-ink); }
.lst-group__title + * { clear: both; }
.lst-label { display: block; font-size: 12.5px; font-weight: 500; color: var(--ou-muted); margin: 0 0 4px; }
.lst-sublabel { display: flex; align-items: center; gap: 6px; margin: 4px 0 8px !important; font-size: 13px; color: var(--ou-text); }
body.ou-body .lst-sublabel .ou-ico { width: 16px; height: 16px; color: var(--ou-muted); }
.lst-help { margin: 8px 0 0 !important; font-size: 12.5px; color: var(--ou-muted); line-height: 1.45; }
.lst-select.ou-select, .lst .ou-input { min-height: 42px; font-size: 14.5px; padding-top: 8px; padding-bottom: 8px; }

/* sezon — kafelki */
.lst-seasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lst-seg { position: relative; display: block; cursor: pointer; margin: 0; }
.lst-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lst-seg__box { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; min-height: 64px; padding: 8px 6px; border: 1.5px solid var(--ou-line-strong); border-radius: var(--ou-radius-sm); font-size: 13.5px; font-weight: 500; color: var(--ou-ink); background: #fff; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.lst-seg__box small { color: var(--ou-muted); font-size: 11.5px; font-weight: 400; line-height: 1.2; }
.lst-seg__box > span { line-height: 1.25; }
body.ou-body .lst-seg__box .ou-ico { width: 18px; height: 18px; color: var(--ou-muted); }
body.ou-body .lst-seg--letnia .ou-ico { color: #c77700; }
body.ou-body .lst-seg--zimowa .ou-ico { color: var(--ou-blue); }
body.ou-body .lst-seg--wielosezonowa .ou-ico { color: var(--ou-green); }
.lst-seg:hover .lst-seg__box { border-color: var(--ou-ink); }
.lst-seg input:checked + .lst-seg__box { border-color: var(--ou-primary); background: var(--ou-primary-soft); box-shadow: inset 0 0 0 1px var(--ou-primary); }
.lst-seg input:focus-visible + .lst-seg__box { outline: 3px solid var(--ou-focus); outline-offset: 2px; }
.lst-seg.is-empty { cursor: not-allowed; opacity: .5; }

/* rozmiar */
.lst-size { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lst-size .ou-select { padding-left: 10px; padding-right: 28px; background-position: right 8px center; background-size: 16px; }

/* checkboxy */
.lst-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lst-checks--scroll { max-height: 264px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-width: thin; }
.lst-checks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
.lst-checks li { margin: 0; padding: 0; }
.lst-checks li[hidden] { display: none; }
.lst-check { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 6px; margin: 0; border-radius: var(--ou-radius-sm); cursor: pointer; font-size: 14px; line-height: 1.3; color: var(--ou-text); }
.lst-check:hover { background: var(--ou-bg-soft); }
.lst-check input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: var(--ou-primary); cursor: pointer; }
.lst-check__label { flex: 1 1 auto; min-width: 0; }
.lst-check__hint { display: block; font-size: 12px; color: var(--ou-muted); }
.lst-checks--cols .lst-check__hint { display: inline; }
.lst-check small { color: var(--ou-muted); font-size: 12px; flex: 0 0 auto; }
.lst-checks__empty { padding: 8px 6px; font-size: 13px; color: var(--ou-muted); }
.lst-brand-q.ou-input { min-height: 40px; margin-bottom: 8px; font-size: 14px; }

/* klasy etykiety (pigułki) */
.lst-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lst-pill { position: relative; margin: 0; cursor: pointer; }
.lst-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lst-pill > span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 36px; padding: 0 10px; border-radius: var(--ou-radius-sm); border: 1.5px solid var(--ou-line-strong); background: #fff; font-weight: 700; font-size: 14px; color: var(--ou-ink); }
.lst-pill:hover > span { border-color: var(--ou-ink); }
.lst-pill input:checked + span { border-color: var(--ou-primary); background: var(--ou-primary); color: #fff; }
.lst-pill input:focus-visible + span { outline: 3px solid var(--ou-focus); outline-offset: 2px; }

/* cena */
.lst-price-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 8px; }
.lst-price-range__sep { padding-bottom: 10px; color: var(--ou-muted); }

/* ---------- Pasek narzędzi (sortowanie) ---------- */
.lst-toolbar { display: flex; align-items: center; gap: 12px; padding: 0 0 14px; }
.lst-toolbar__count { margin: 0 !important; font-size: 14px; color: var(--ou-muted); }
.lst-toolbar__count strong { color: var(--ou-ink); }
.lst-sort { display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; }
.lst-sort__label { font-size: 13.5px; color: var(--ou-muted); white-space: nowrap; margin: 0; }
.lst-sort__select.ou-select { min-height: 42px; width: auto; min-width: 200px; font-size: 14px; padding-top: 8px; padding-bottom: 8px; }
.lst-filter-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; background: var(--ou-ink); color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none !important; }
.lst-filter-btn:hover { background: #000; }

/* ---------- Chipy aktywnych filtrów ---------- */
.lst-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; }
.lst-chips li { margin: 0; }
.lst-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 10px 4px 12px; border-radius: 999px; background: var(--ou-primary-soft); border: 1px solid #ffd2bd; color: var(--ou-ink) !important; font-size: 13px; font-weight: 500; text-decoration: none !important; }
body.ou-body .lst-chip .ou-ico { width: 14px; height: 14px; color: var(--ou-primary); }
.lst-chip:hover { border-color: var(--ou-primary); }
.lst-chip--clear { background: transparent; border-color: transparent; color: var(--ou-primary) !important; text-decoration: underline !important; }

/* ---------- Dostawa ---------- */
.lst-delivery { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; margin: 0 0 16px; border-radius: var(--ou-radius); background: var(--ou-green-soft); color: #0b5132; font-size: 13.5px; line-height: 1.45; }
body.ou-body .lst-delivery .ou-ico { color: var(--ou-green); margin-top: 1px; }
.lst-delivery p { margin: 0 !important; }
.lst-delivery__note { color: #2c6b4c; }
.lst-delivery__sep { margin: 0 4px; }

/* ---------- Siatka produktów ---------- */
.lst-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) and (max-width: 991.98px) { .lst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .lst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .lst-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lst-card { margin: 0; padding: 0; min-width: 0; }
.lst-card__in {
  position: relative; display: grid; height: 100%;
  grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "media body" "buy buy";
  gap: 12px 14px; padding: 14px; border: 1px solid var(--ou-line); border-radius: var(--ou-radius); background: #fff;
  transition: box-shadow .2s var(--ou-ease), border-color .2s;
}
.lst-card__in:hover { border-color: var(--ou-line-strong); box-shadow: var(--ou-shadow); }
@media (min-width: 640px) {
  .lst-card__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "body" "buy"; grid-template-rows: auto 1fr auto; padding: 16px; }
}

.lst-card__media { grid-area: media; position: relative; display: flex; flex-direction: column; align-items: center; }
.lst-card__img { display: flex; align-items: center; justify-content: center; width: 100%; height: 150px; border-radius: var(--ou-radius-sm); background: var(--ou-bg-softer); overflow: hidden; }
.lst-card__img img { width: auto; height: 100%; max-height: 150px; object-fit: contain; }
@media (min-width: 640px) { .lst-card__img { height: 180px; } .lst-card__img img { max-height: 170px; } }
.lst-card__img svg.lst-card__ph { width: 92px; height: 132px; opacity: .92; }
@media (min-width: 640px) { .lst-card__img svg.lst-card__ph { width: 112px; height: 160px; } }
.lst-card__phnote { margin-top: 4px; font-size: 11px; color: var(--ou-muted); }
.lst-season { position: absolute; top: 6px; left: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 999px; background: #fff; box-shadow: var(--ou-shadow-sm); font-size: 11.5px; font-weight: 600; color: var(--ou-ink); }
body.ou-body .lst-season .ou-ico { width: 15px; height: 15px; }
body.ou-body .lst-season--letnia .ou-ico { color: #c77700; }
body.ou-body .lst-season--zimowa .ou-ico { color: var(--ou-blue); }
body.ou-body .lst-season--wielosezonowa .ou-ico { color: var(--ou-green); }
@media (max-width: 639.98px) { .lst-season span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .lst-season { padding: 4px; } }

.lst-card__body { grid-area: body; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lst-card__brand { margin: 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ou-muted); text-transform: uppercase; letter-spacing: .04em; }
.lst-class { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.lst-class--premium { background: #1d2125; color: #fff; }
.lst-class--middle { background: var(--ou-blue-soft); color: var(--ou-blue); }
.lst-class--budget { background: var(--ou-green-soft); color: var(--ou-green); }
.lst-card__title { margin: 0 !important; font-size: 17px !important; line-height: 1.25 !important; font-weight: 700; }
.lst-card__title a { color: var(--ou-ink) !important; }
.lst-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: var(--ou-radius); }
.lst-card__title a:hover { color: var(--ou-primary) !important; text-decoration: none !important; }
.lst-card__title a:focus-visible { outline: none; }
.lst-card__title a:focus-visible::after { outline: 3px solid var(--ou-focus); outline-offset: 2px; }
.lst-card__size { margin: 0 !important; font-size: 14px; font-weight: 600; color: var(--ou-primary); }
.lst-card__idx { color: var(--ou-ink); font-weight: 500; }

/* etykieta UE */
.lst-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 2px; }
.lst-label__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.lst-label__list li { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 3px 6px 3px 5px; border-radius: 6px; background: var(--ou-bg-soft); font-size: 12.5px; color: var(--ou-ink); }
body.ou-body .lst-label__list .ou-ico { width: 15px; height: 15px; color: var(--ou-muted); }
.lst-cls { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 5px; border-radius: 4px 10px 10px 4px; color: #fff; font-weight: 700; font-size: 12px; line-height: 1; }
.lst-cls--A { background: #00843d; }
.lst-cls--B { background: #3f9a32; }
.lst-cls--C { background: #9a8e00; color: #fff; }
.lst-cls--D { background: #b86b00; }
.lst-cls--E { background: #c62828; }
.lst-cls--F, .lst-cls--G { background: #8f1d1d; }
.lst-cls--na { background: transparent; color: var(--ou-muted); font-weight: 500; }
.lst-noise { font-weight: 600; white-space: nowrap; }
.lst-noise b { display: inline-block; margin-left: 2px; padding: 0 4px; border-radius: 3px; background: var(--ou-ink); color: #fff; font-size: 11px; }
.lst-eprel { position: relative; z-index: 1; font-size: 12.5px; font-weight: 500; text-decoration: underline !important; text-underline-offset: 2px; }

.lst-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 0; padding: 0; }
.lst-tags li { display: inline-flex; align-items: center; gap: 3px; margin: 0; padding: 1px 7px; border: 1px solid var(--ou-line); border-radius: 4px; font-size: 11.5px; font-weight: 500; color: var(--ou-text); background: #fff; }
body.ou-body .lst-tags .ou-ico { width: 13px; height: 13px; color: var(--ou-blue); }

/* zakup */
.lst-card__buy { grid-area: buy; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "stock stock" "price price4" "ship ship" "form form"; gap: 4px 10px; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--ou-line); }
@media (min-width: 640px) { .lst-card__buy { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stock" "price" "price4" "ship" "form"; } }
.lst-card__buy > p { margin: 0 !important; }
.lst-stock { grid-area: stock; display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; }
body.ou-body .lst-stock .ou-ico { width: 15px; height: 15px; }
.lst-stock--ok { color: var(--ou-green); }
.lst-stock--low { color: #a14a00; }
.lst-price { grid-area: price; display: flex; align-items: baseline; gap: 4px; color: var(--ou-ink); }
.lst-price strong { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.lst-price span { font-size: 13px; color: var(--ou-muted); }
.lst-price4 { grid-area: price4; font-size: 12.5px; color: var(--ou-muted); text-align: right; }
@media (min-width: 640px) { .lst-price4 { text-align: left; } }
.lst-price4 strong { color: var(--ou-ink); font-weight: 600; white-space: nowrap; }
.lst-price4--na { font-style: italic; }
.lst-ship { grid-area: ship; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ou-text); }
body.ou-body .lst-ship .ou-ico { width: 16px; height: 16px; color: var(--ou-green); }
.lst-ship strong { color: var(--ou-green); font-weight: 600; }
.lst-buy { grid-area: form; position: relative; z-index: 1; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 8px; margin: 8px 0 0; }
.lst-buy__qty.ou-select { min-height: 44px; padding: 8px 26px 8px 10px; font-size: 14px; background-position: right 6px center; background-size: 16px; }
.lst-buy__btn.ou-btn { min-height: 44px; padding: 8px 12px; font-size: 14px; }
.lst-buy__btn.is-added { background: var(--ou-green); border-color: var(--ou-green); }
.lst-buy__btn.is-busy { opacity: .7; cursor: progress; }

/* ---------- Paginacja ---------- */
.lst-pager { margin: 28px 0 8px; }
.lst-pager ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 0; padding: 0; }
.lst-pager li { margin: 0; }
.lst-pager a, .lst-pager span.is-current, .lst-pager .lst-pager__nav { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--ou-radius-sm); border: 1px solid var(--ou-line-strong); background: #fff; color: var(--ou-ink) !important; font-weight: 500; font-size: 14px; text-decoration: none !important; }
.lst-pager a:hover { border-color: var(--ou-ink); }
.lst-pager span.is-current { background: var(--ou-ink); border-color: var(--ou-ink); color: #fff !important; font-weight: 600; }
.lst-pager .is-disabled { opacity: .45; cursor: default; }
.lst-pager__gap { padding: 0 4px; color: var(--ou-muted); }
@media (max-width: 559.98px) { .lst-pager__nav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .lst-pager__nav { padding: 0 !important; } }

/* ---------- Pusty wynik ---------- */
.lst-empty { padding: 32px 20px; border: 1px dashed var(--ou-line-strong); border-radius: var(--ou-radius-lg); text-align: center; background: var(--ou-bg-softer); }
.lst-empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ou-primary-soft); color: var(--ou-primary); margin-bottom: 12px; }
body.ou-body .lst-empty__icon .ou-ico { width: 30px; height: 30px; }
.lst-empty__title { font-size: 20px !important; }
.lst-empty__sugg { list-style: none; margin: 16px auto; padding: 0; max-width: 460px; text-align: left; display: grid; gap: 6px; }
.lst-empty__sugg li { padding: 10px 14px; border-radius: var(--ou-radius-sm); background: #fff; border: 1px solid var(--ou-line); font-size: 14px; }
.lst-empty__sugg a { font-weight: 600; }
.lst-empty__search { display: flex; gap: 8px; max-width: 460px; margin: 16px auto; }
.lst-empty__search .ou-input { flex: 1 1 auto; min-width: 0; }

/* ---------- Linki i poradnik ---------- */
.lst-more { display: grid; gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--ou-line); }
@media (min-width: 992px) { .lst-more { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.lst-links__title { font-size: 16px !important; margin-bottom: 10px !important; }
.lst-links__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.lst-links__list li { margin: 0; }
.lst-links__list a { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 12px; border: 1px solid var(--ou-line); border-radius: 999px; font-size: 13px; color: var(--ou-ink) !important; text-decoration: none !important; background: #fff; }
.lst-links__list a:hover { border-color: var(--ou-primary); color: var(--ou-primary) !important; }
.lst-guide { margin-top: 36px; padding: 24px; border-radius: var(--ou-radius-lg); background: var(--ou-bg-soft); max-width: none; }
.lst-guide h2 { font-size: 19px; }
.lst-guide p { font-size: 14.5px; max-width: 900px; }
.lst-guide p:last-child { margin-bottom: 0; }

/* ---------- Komunikat (dodano do koszyka) ---------- */
.lst-toast { position: fixed; left: 50%; bottom: 20px; z-index: 1200; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: var(--ou-radius); background: var(--ou-ink); color: #fff; box-shadow: var(--ou-shadow-lg); font-size: 14px; }
.lst-toast[hidden] { display: none; }
.lst-toast p { margin: 0 !important; flex: 1 1 auto; min-width: 0; }
.lst-toast a { color: #fff !important; font-weight: 600; text-decoration: underline !important; white-space: nowrap; }
body.ou-body .lst-toast .ou-ico { color: #6fdc9d; }
body.ou-body .lst-toast--error .ou-ico { color: #ffb4a8; }

.lst-main.is-loading .lst-grid { opacity: .45; pointer-events: none; transition: opacity .15s; }

/* ---------- Mobile / tablet: filtry w szufladzie, przyklejony pasek sortowania ---------- */
@media (max-width: 991.98px) {
  .lst-toolbar { position: sticky; top: 0; z-index: 50; margin: 0 calc(var(--ou-gutter) * -1) 12px; padding: 8px var(--ou-gutter); background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--ou-line); -webkit-backdrop-filter: saturate(1.4) blur(6px); backdrop-filter: saturate(1.4) blur(6px); }
  .lst-sort__select.ou-select { min-width: 0; max-width: 210px; }
  .lst-filters { position: fixed; inset: 0; z-index: 1100; visibility: hidden; pointer-events: none; }
  .lst-filters__backdrop { display: block; position: absolute; inset: 0; background: rgba(17, 20, 24, .5); opacity: 0; transition: opacity .2s; }
  .lst-filters__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(420px, 100%); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .25s var(--ou-ease); box-shadow: var(--ou-shadow-lg); }
  .lst-filters__head { flex: 0 0 auto; padding: 8px 8px 8px 16px; }
  .lst-form { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 16px; -webkit-overflow-scrolling: touch; }
  .lst-filters__foot { flex: 0 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ou-line); background: #fff; }
  .lst-filters__foot .ou-btn--ghost[aria-disabled="true"] { opacity: .5; pointer-events: none; }
  .lst-filters.is-open, .lst-filters:target { visibility: visible; pointer-events: auto; }
  .lst-filters.is-open .lst-filters__backdrop, .lst-filters:target .lst-filters__backdrop { opacity: 1; }
  .lst-filters.is-open .lst-filters__panel, .lst-filters:target .lst-filters__panel { transform: none; }
  .lst-checks--scroll { max-height: none; overflow: visible; }
  body.lst-noscroll { overflow: hidden; }
}
@media (max-width: 479.98px) {
  .lst-h1 { font-size: 23px; }
  .lst-sort__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lst-sort__select.ou-select { max-width: 190px; }
  .lst-delivery { font-size: 13px; }
  .lst-guide { padding: 18px; }
}
@media (min-width: 992px) {
  .lst-filters { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .lst-filters__panel, .lst-filters__backdrop, .lst-card__in { transition: none; }
}
@media print {
  .lst-filters, .lst-toolbar, .lst-buy, .lst-pager, .lst-more, .lst-toast { display: none !important; }
  .lst-layout { grid-template-columns: 1fr; }
}

/* Integracja: bardzo wąskie ekrany (320–359 px) */
@media (max-width: 359.98px) {
  .lst-sort { min-width: 0; flex: 1 1 auto; }
  .lst-sort__select.ou-select { max-width: 100%; min-width: 0; width: 100%; }
}
