.listing-facet-select {
  min-width: 140px;
}

#listingArea table tbody {
  transition: opacity 160ms ease;
}

#listingArea table[aria-busy="true"] tbody {
  opacity: 0.52;
}

.listing-delivery-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.listing-delivery-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid #bfd3d7;
  border-radius: 999px;
  background: #edf5f6;
  color: #315861;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.listing-delivery-badge.is-delivery {
  border-color: #b9d5c9;
  background: #eaf5ef;
  color: #2e5f4d;
}

.active-listing-filters {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding-top: 3px;
}

.active-listing-filters[hidden] {
  display: none !important;
}

.active-listing-filter {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 6px 8px 6px 11px;
  border: 1px solid #b9d0d4;
  border-radius: 999px;
  background: #edf5f6;
  color: #294750;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.active-listing-filter:hover {
  border-color: #477f8a;
  background: #dfecee;
  color: #21414a;
}

.active-listing-filter:focus-visible {
  outline: 3px solid rgba(53, 111, 123, 0.25);
  outline-offset: 2px;
}

.active-listing-filter-remove {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(41, 71, 80, 0.11);
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 720px) {
  .listing-facet-select {
    width: 100%;
    min-width: 0;
  }

  .active-listing-filters {
    gap: 6px;
  }

  .active-listing-filter {
    max-width: 100%;
  }

  .active-listing-filter > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
