/* WRAPPER */
.searchandfilter {
  width: 100%;
}

/* MAIN ROW */
.searchandfilter ul {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
}

/* EACH FIELD */
.searchandfilter li {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* LABEL */
.searchandfilter label {
  font-size: 13px;
  margin-bottom: 6px;
  color: #555;
}

/* INPUTS + SELECT */
.searchandfilter select,
.searchandfilter input[type="text"] {
  width: 100%;
  padding: 14px;
  border: none;
  background: #f3f3f3;
  border-radius: 6px;
  font-size: 14px;
}

/* SEARCH FIELD ICON STYLE */
.searchandfilter input[type="text"] {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23ff2c75' height='18' viewBox='0 0 24 24' width='18'><path d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16a6.471 6.471 0 004.23-1.57l.27.28v.79l5 5 1.49-1.49-5-5zM9.5 14A4.5 4.5 0 119.5 5a4.5 4.5 0 010 9z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* RESET BUTTON (RIGHT SIDE) */
.searchandfilter .sf-field-reset {
  flex: 0 0 auto;
  align-self: flex-end;
}

.searchandfilter input[type="reset"] {
  padding: 12px 18px;
  border: 1px solid #ff2c75;
  color: #ff2c75;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
}

/* REMOVE SUBMIT BUTTON (OPTIONAL if using auto submit) */
.searchandfilter .sf-field-submit {
  display: none;
}

@media (max-width: 768px) {
  .searchandfilter ul {
    flex-direction: column;
  }

  .searchandfilter .sf-field-reset {
    width: 100%;
  }

  .searchandfilter input[type="reset"] {
    width: 100%;
  }
}