/* Találati lista lapozó (közös: Autó oldalon az auto-desk-layout.css-ben is, Piactéren ez a fájl). */
.listing-pager {
  --lp-line: #d4d4d4;
  --lp-text: #111111;
  --lp-muted: #8a8f98;
  --lp-cur-bg: #f3f4f8;
  --lp-cur-line: #dcdfe8;
  --lp-accent: #f0c52c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin: 24px 0 8px;
  padding: 8px 0;
  font-family: inherit;
}
.listing-pager[hidden] {
  display: none !important;
}
html[data-theme="dark"] .listing-pager {
  --lp-line: #3a3a3a;
  --lp-text: #ffffff;
  --lp-muted: #9aa0aa;
  --lp-cur-bg: #22252b;
  --lp-cur-line: #3a3f48;
}
.listing-pager__pages {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.listing-pager__btn {
  -webkit-appearance: none;
  appearance: none;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--lp-muted);
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
}
.listing-pager__btn:hover:not(:disabled):not(.is-current) {
  color: var(--lp-text);
  background: var(--lp-cur-bg);
}
.listing-pager__btn.is-current {
  color: var(--lp-text);
  font-weight: 700;
  background: var(--lp-cur-bg);
  border-color: var(--lp-cur-line);
  cursor: default;
}
.listing-pager__btn--step {
  font-weight: 700;
}
.listing-pager__btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.listing-pager__btn:focus-visible,
.listing-pager__select-wrap select:focus-visible {
  outline: 3px solid var(--lp-accent);
  outline-offset: 2px;
}
.listing-pager__gap {
  min-width: 24px;
  text-align: center;
  color: var(--lp-muted);
}
.listing-pager.is-busy .listing-pager__pages {
  opacity: 0.55;
  pointer-events: none;
}
.listing-pager__size {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lp-text);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}
.listing-pager__select-wrap {
  position: relative;
  display: inline-block;
}
.listing-pager__select-wrap select {
  -webkit-appearance: none;
  appearance: none;
  height: 48px;
  min-width: 108px;
  padding: 0 52px 0 16px;
  border: 2px solid var(--lp-line);
  border-radius: 8px;
  background: transparent;
  color: var(--lp-text);
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
}
.listing-pager__select-wrap::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  width: 44px;
  border-left: 1px solid var(--lp-line);
  border-radius: 0 6px 6px 0;
  background: var(--lp-cur-bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%238a8f98' stroke-width='1.8'/%3E%3C/svg%3E")
    center / 16px 10px no-repeat;
  pointer-events: none;
}
@media (max-width: 700px) {
  .listing-pager {
    justify-content: center;
    gap: 12px;
  }
  .listing-pager__btn {
    min-width: 38px;
    height: 40px;
    padding: 0 8px;
    font-size: 15px;
  }
  .listing-pager__size,
  .listing-pager__select-wrap select {
    font-size: 15px;
  }
}
