.pbs-mobile {
  display: none;
}

.pbs-mobile *,
.pbs-mobile *::before,
.pbs-mobile *::after {
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .pbs-mobile {
    display: block;
    width: 100%;
    color: #2b2f33;
    font: inherit;
  }

  .pbs-mobile__trigger {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 0.7rem 1rem;
    border: 1px solid #e4e7ea;
    border-radius: 0.45rem;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .pbs-mobile__trigger-icon {
    position: relative;
    width: 20px;
    height: 16px;
    flex: 0 0 20px;
    background:
      linear-gradient(#9aa1a8, #9aa1a8) 0 3px / 20px 1px no-repeat,
      linear-gradient(#9aa1a8, #9aa1a8) 0 8px / 20px 1px no-repeat,
      linear-gradient(#9aa1a8, #9aa1a8) 0 13px / 20px 1px no-repeat;
  }

  .pbs-mobile__trigger-icon::before,
  .pbs-mobile__trigger-icon::after {
    position: absolute;
    width: 4px;
    height: 4px;
    border: 1px solid #9aa1a8;
    border-radius: 50%;
    background: #fff;
    content: '';
  }

  .pbs-mobile__trigger-icon::before {
    top: 1px;
    left: 5px;
    box-shadow: 7px 10px 0 -1px #fff, 7px 10px 0 0 #9aa1a8;
  }

  .pbs-mobile__trigger-icon::after {
    top: 6px;
    right: 4px;
  }

  .pbs-mobile__drawer {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: flex;
    justify-content: flex-end;
  }

  .pbs-mobile__drawer[hidden] {
    display: none !important;
  }

  .pbs-mobile__backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(18, 25, 32, 0.42);
  }

  .pbs-mobile__panel {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(100vw, 540px);
    height: 100%;
    max-height: 100dvh;
    flex-direction: column;
    background: #fff;
    box-shadow: -8px 0 30px rgba(18, 25, 32, 0.16);
  }

  .pbs-mobile__header {
    display: flex;
    min-height: 58px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e0e4e8;
    background: #fff;
  }

  .pbs-mobile__title {
    margin: 0;
    color: inherit;
    font: inherit;
    font-size: 1.35rem;
    font-weight: 600;
  }

  .pbs-mobile__close {
    position: relative;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .pbs-mobile__close span::before,
  .pbs-mobile__close span::after {
    position: absolute;
    top: 17px;
    left: 8px;
    width: 21px;
    height: 1px;
    background: #8b9299;
    content: '';
  }

  .pbs-mobile__close span::before {
    transform: rotate(45deg);
  }

  .pbs-mobile__close span::after {
    transform: rotate(-45deg);
  }

  .pbs-mobile__body {
    min-height: 0;
    flex: 1 1 auto;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .pbs-mobile__mount,
  .pbs-mobile__mount > .pbs-filter {
    width: 100%;
  }

  .pbs-mobile__mount > .pbs-filter {
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .pbs-mobile__mount > .pbs-filter > .pbs-filter__header {
    display: none;
  }

  .pbs-mobile__missing {
    margin: 0;
    padding: 1rem;
    color: #737b84;
  }

  .pbs-mobile__footer {
    display: grid;
    grid-template-columns: minmax(100px, 0.8fr) minmax(170px, 1.25fr);
    gap: 0.75rem;
    flex: 0 0 auto;
    padding: 0.75rem max(0.75rem, env(safe-area-inset-right))
      max(0.75rem, env(safe-area-inset-bottom))
      max(0.75rem, env(safe-area-inset-left));
    border-top: 1px solid #e0e4e8;
    background: #fff;
    box-shadow: 0 -8px 22px rgba(18, 25, 32, 0.06);
  }

  .pbs-mobile__reset,
  .pbs-mobile__apply {
    min-height: 48px;
    margin: 0;
    padding: 0.65rem 0.8rem;
    border: 0;
    border-radius: 0.45rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  .pbs-mobile__reset {
    background: #f2f3f4;
    color: #4c5258;
  }

  .pbs-mobile__apply {
    background: #ffa005;
    color: #fff;
  }

  .pbs-mobile__apply:disabled {
    cursor: wait;
    opacity: 0.72;
  }

  html.pbs-mobile-open,
  body.pbs-mobile-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }
}

@media (max-width: 767px) {
  .pbs-mobile__panel {
    width: 100vw;
  }
}
