/* Shared centered modal for Najnowsze, categories and Gratisy. */

.lp50-category-controls > button.lp50-filter-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  margin: 0;
  border: 1px solid #216845;
  border-radius: 999px;
  box-shadow: none;
  background: #ecf7ef;
  color: #216845;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

@media (max-width: 760px) {
  body .lpflt-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: calc(100% - 24px);
    max-width: none;
    max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 20px;
  }
}
