.wrapper {
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.filters {
  max-width: 768px;
  width: 100vw;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;

  overflow-y: auto;

  @media screen and (max-width: 768px) {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
}

.field {
  width: 100%;
  height: fit-content;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  h2 {
    text-align: center;
  }

  &.ingredients {
    grid-column: 1 / 3;
  }
}

.row {
  position: relative;

  width: 100%;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.col {
  position: relative;
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 8px;

  padding: 4px 12px;

  app-button {
    width: fit-content;
    align-self: center;

    margin-top: 8px;
  }
}

.search-box {
  width: 320px;

  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translate(-50%, +100%);

  z-index: 2;
}

.footer {
  width: 100%;
  padding-top: 32px;

  display: flex;
  flex-wrap: nowrap;
  gap: 16px;

  app-button {
    width: 100%;
  }
}
